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:470
PrimExpr extent
The extent of the iteration.
Definition stmt.h:472
ffi::Optional< PrimExpr > step
The loop step. It is one if not specified.
Definition stmt.h:487
PrimVar loop_var
The loop variable.
Definition stmt.h:468
◆ ForNode() [1/2]
| tvm::ForNode::ForNode |
( |
ffi::UnsafeInit |
tag | ) |
|
|
inlineexplicit |
◆ ForNode() [2/2]
◆ HasTrivialStep()
| bool tvm::ForNode::HasTrivialStep |
( |
| ) |
const |
Check it is a loop without nontrivial loop step.
◆ RegisterReflection()
| static void tvm::ForNode::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::ForNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"ir.For" |
, |
|
|
ForNode |
, |
|
|
StmtNode |
|
|
) |
| |
◆ annotations
| ffi::Map<ffi::String, ffi::Any> tvm::ForNode::annotations |
Additional annotations about the loop.
Entries are interpreted by the consuming dialect. Transformations preserve annotations unless they explicitly handle the corresponding semantics.
◆ body
The body of the for loop.
◆ extent
The extent of the iteration.
◆ kind
The kind of the for loop.
◆ loop_var
◆ min
The minimum value of iteration.
◆ step
| ffi::Optional<PrimExpr> tvm::ForNode::step |
The loop step. It is one if not specified.
The documentation for this class was generated from the following file: