FreeTensor
Loading...
Searching...
No Matches
move_out_first_or_last_iter.h
Go to the documentation of this file.
1#ifndef FREE_TENSOR_MOVE_OUT_FIRST_OR_LAST_ITER_H
2#define FREE_TENSOR_MOVE_OUT_FIRST_OR_LAST_ITER_H
3
4#include <unordered_map>
5
6#include <func.h>
7#include <pass/z3_simplify.h>
8
9namespace freetensor {
10
12 protected:
13 Stmt visit(const For &op) override;
14};
15
35inline Stmt moveOutFirstOrLastIter(const Stmt &op) {
36 return MoveOutFirstOrLastIter()(op);
37}
38
40
41} // namespace freetensor
42
43#endif // FREE_TENSOR_MOVE_OUT_FIRST_OR_LAST_ITER_H
Definition: move_out_first_or_last_iter.h:11
Stmt visit(const For &op) override
Definition: move_out_first_or_last_iter.cc:6
Definition: z3_simplify.h:116
#define DEFINE_PASS_FOR_FUNC(pass)
Definition: func.h:88
Definition: allocator.h:9
Stmt moveOutFirstOrLastIter(const Stmt &op)
Definition: move_out_first_or_last_iter.h:35