A for loop, with possible type annotations.
More...
#include <stmt.h>
A for loop, with possible type annotations.
}
PrimExpr begin
The inclusive beginning of iteration.
Definition stmt.h:486
PrimExpr step
The required loop step, including an explicit typed one for unit stride.
Definition stmt.h:490
PrimExpr end
The exclusive end of iteration.
Definition stmt.h:488
PrimVar var
The loop variable.
Definition stmt.h:484
◆ ForObj() [1/2]
| tvm::ForObj::ForObj |
( |
ffi::UnsafeInit |
tag | ) |
|
|
inlineexplicit |
◆ ForObj() [2/2]
◆ HasTrivialStep()
Check it is a loop without nontrivial loop step.
◆ RegisterReflection()
| static void tvm::ForObj::RegisterReflection |
( |
| ) |
|
|
inlinestatic |
◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()
| tvm::ForObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL |
( |
"ir.For" |
, |
|
|
ForObj |
, |
|
|
StmtObj |
|
|
) |
| |
◆ annotations
| ffi::Map<ffi::String, ffi::Any> tvm::ForObj::annotations |
Additional annotations about the loop.
Entries are interpreted by the consuming dialect. Transformations preserve annotations unless they explicitly handle the corresponding semantics.
◆ begin
The inclusive beginning of iteration.
◆ body
The body of the for loop.
◆ end
The exclusive end of iteration.
◆ kind
The kind of the for loop.
◆ step
The required loop step, including an explicit typed one for unit stride.
◆ var
The documentation for this class was generated from the following file:
- 3rdparty/tvm-tirx/include/tvm/ir/stmt.h