FreeTensor
Loading...
Searching...
No Matches
pluto.h
Go to the documentation of this file.
1#ifndef FREE_TENSOR_PLUTO_H
2#define FREE_TENSOR_PLUTO_H
3
4#include <stmt.h>
5
6namespace freetensor {
7
8std::pair<Stmt, std::pair<ID, int>>
9plutoFuse(const Stmt &ast, const ID &loop0, const ID &loop1, int nestLevel0,
10 int nestLevel1, int fusableOverlapThreshold,
11 int fusableNonOverlapTolerance, bool doSimplify = true);
12std::pair<Stmt, std::pair<ID, int>> plutoPermute(const Stmt &ast,
13 const ID &loop, int nestLevel,
14 bool doSimplify = true);
15
16} // namespace freetensor
17
18#endif
Definition: allocator.h:9
std::pair< Stmt, std::pair< ID, int > > plutoFuse(const Stmt &ast, const ID &loop0, const ID &loop1, int nestLevel0, int nestLevel1, int fusableOverlapThreshold, int fusableNonOverlapTolerance, bool doSimplify=true)
Definition: pluto.cc:1223
Ref< StmtNode > Stmt
Definition: ast.h:152
std::pair< Stmt, std::pair< ID, int > > plutoPermute(const Stmt &ast, const ID &loop, int nestLevel, bool doSimplify=true)
Definition: pluto.cc:1239