StmtVisitor.
More...
#include <stmt_functor.h>
|
| virtual void | VisitExpr (const Expr &e) |
| | Visitor to Exprs, can be overriden to do recursive changes to Exprs.
|
| |
| virtual void | VisitBufferDef (const BufferVar &buffer, bool alloc_data) |
| | Visit buffer at definition site (AllocBuffer, DeclBuffer, SBlock alloc_buffers). Visits buffer shape, strides, elem_offset via VisitExpr.
|
| |
| virtual void | VisitBufferUse (const BufferVar &buffer) |
| | Visit buffer at use site (BufferStore, BufferLoad, SBlock reads/writes). By default, this is a no-op, as buffer fields (shape, strides, elem_offset) are visited at their definition site.
|
| |
| void | VisitStmt_ (const BindNode *op) override |
| |
| void | VisitStmt_ (const AttrStmtNode *op) override |
| |
| void | VisitStmt_ (const IfThenElseNode *op) override |
| |
| void | VisitStmt_ (const ForNode *op) override |
| |
| void | VisitStmt_ (const WhileNode *op) override |
| |
| void | VisitStmt_ (const ReturnNode *op) override |
| |
| void | VisitStmt_ (const BreakNode *op) override |
| |
| void | VisitStmt_ (const ContinueNode *op) override |
| |
| void | VisitStmt_ (const AllocBufferNode *op) override |
| |
| void | VisitStmt_ (const DeclBufferNode *op) override |
| |
| void | VisitStmt_ (const BufferStoreNode *op) override |
| |
| void | VisitStmt_ (const AssertStmtNode *op) override |
| |
| void | VisitStmt_ (const SeqStmtNode *op) override |
| |
| void | VisitStmt_ (const EvaluateNode *op) override |
| |
| void | VisitStmt_ (const SBlockNode *op) override |
| |
| void | VisitStmt_ (const SBlockRealizeNode *op) override |
| |
| void | VisitStmt_ (const ScopeIdDefStmtNode *op) override |
| |
| void | VisitStmt_ (const tirx::TilePrimitiveCallNode *op) override |
| |
◆ VisitBufferDef()
Visit buffer at definition site (AllocBuffer, DeclBuffer, SBlock alloc_buffers). Visits buffer shape, strides, elem_offset via VisitExpr.
- Parameters
-
| buffer | The buffer being defined. |
| alloc_data | If true, the buffer's data pointer is a new allocation (AllocBuffer); if false, data references an existing variable (DeclBuffer). |
◆ VisitBufferUse()
Visit buffer at use site (BufferStore, BufferLoad, SBlock reads/writes). By default, this is a no-op, as buffer fields (shape, strides, elem_offset) are visited at their definition site.
◆ VisitExpr()
◆ VisitStmt_() [1/18]
◆ VisitStmt_() [2/18]
◆ VisitStmt_() [3/18]
◆ VisitStmt_() [4/18]
◆ VisitStmt_() [5/18]
◆ VisitStmt_() [6/18]
◆ VisitStmt_() [7/18]
◆ VisitStmt_() [8/18]
◆ VisitStmt_() [9/18]
◆ VisitStmt_() [10/18]
◆ VisitStmt_() [11/18]
◆ VisitStmt_() [12/18]
◆ VisitStmt_() [13/18]
◆ VisitStmt_() [14/18]
◆ VisitStmt_() [15/18]
◆ VisitStmt_() [16/18]
◆ VisitStmt_() [17/18]
◆ VisitStmt_() [18/18]
The documentation for this class was generated from the following file: