FreeTensor
Loading...
Searching...
No Matches
permute.h
Go to the documentation of this file.
1#ifndef FREE_TENSOR_PERMUTE_H
2#define FREE_TENSOR_PERMUTE_H
3
4#include <string>
5#include <vector>
6
7#include <mutator.h>
8
9namespace freetensor {
10
11std::pair<Stmt, std::vector<ID>> permute(
12 const Stmt &ast, const std::vector<ID> &loopsId,
13 const std::function<std::vector<Expr>(std::vector<Expr>)> &transformFunc);
14
15} // namespace freetensor
16
17#endif // FREE_TENSOR_PERMUTE_H
Definition: allocator.h:9
Ref< StmtNode > Stmt
Definition: ast.h:152
std::pair< Stmt, std::vector< ID > > permute(const Stmt &ast, const std::vector< ID > &loopsId, const std::function< std::vector< Expr >(std::vector< Expr >)> &transformFunc)
Definition: permute.cc:86