A for loop, with possible type annotations.
More...
#include <stmt.h>
A for loop, with possible type annotations.
}
PrimExpr min
The minimum value of iteration.
Definition: stmt.h:592
ffi::Optional< PrimExpr > step
The loop step. It is one if not specified.
Definition: stmt.h:616
PrimExpr extent
The extent of the iteration.
Definition: stmt.h:594
PrimVar loop_var
The loop variable.
Definition: stmt.h:590
◆ HasTrivialStep()
| bool tvm::tirx::ForNode::HasTrivialStep |
( |
| ) |
const |
Check it is a loop without nontrivial loop step.
◆ RegisterReflection()
| static void tvm::tirx::ForNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::tirx::ForNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"tirx.For" |
, |
|
|
ForNode |
, |
|
|
StmtNode |
|
|
) |
| |
◆ annotations
| ffi::Map<ffi::String, ffi::Any> tvm::tirx::ForNode::annotations |
Additional annotations about the loop.
These annotations can be used as auxiliary hint to future transformations. An annotation should not change the control flow semantics of the loop and can be ignored in most passes.
◆ body
| Stmt tvm::tirx::ForNode::body |
The body of the for loop.
◆ extent
The extent of the iteration.
◆ kind
The kind of the for loop.
◆ loop_var
| PrimVar tvm::tirx::ForNode::loop_var |
◆ min
The minimum value of iteration.
◆ step
| ffi::Optional<PrimExpr> tvm::tirx::ForNode::step |
The loop step. It is one if not specified.
◆ thread_binding
| ffi::Optional<IterVar> tvm::tirx::ForNode::thread_binding |
The documentation for this class was generated from the following file: