tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::tir::IterVarNode Class Reference

An iteration variable representing an iteration over a one dimensional interval. More...

#include <var.h>

Inheritance diagram for tvm::tir::IterVarNode:
Collaboration diagram for tvm::tir::IterVarNode:

Public Member Functions

PrimExpr ToPrimExpr () const final
 
 TVM_DECLARE_FINAL_OBJECT_INFO (IterVarNode, PrimExprConvertibleNode)
 
- Public Member Functions inherited from tvm::PrimExprConvertibleNode
virtual ~PrimExprConvertibleNode ()
 
 TVM_DECLARE_BASE_OBJECT_INFO (PrimExprConvertibleNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

Range dom
 the domain of iteration, if known, can be None For the intermediate schedule node, before schedule. More...
 
Var var
 The looping variable. More...
 
IterVarType iter_type
 The type of the IterVar. More...
 
String thread_tag
 additional tag on the iteration variable, set this if this is bound already to a known thread tag. More...
 
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Static Public Attributes

static constexpr const char * _type_key = "tir.IterVar"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
- Static Public Attributes inherited from tvm::PrimExprConvertibleNode
static constexpr const char * _type_key = "ir.PrimExprConvertible"
 

Detailed Description

An iteration variable representing an iteration over a one dimensional interval.

The dtype of the extent of the dom of the IterVar must match the dtype of the internal Var.

Member Function Documentation

◆ RegisterReflection()

static void tvm::tir::IterVarNode::RegisterReflection ( )
inlinestatic

◆ ToPrimExpr()

PrimExpr tvm::tir::IterVarNode::ToPrimExpr ( ) const
inlinefinalvirtual

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::tir::IterVarNode::TVM_DECLARE_FINAL_OBJECT_INFO ( IterVarNode  ,
PrimExprConvertibleNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::tir::IterVarNode::_type_key = "tir.IterVar"
staticconstexpr

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::tir::IterVarNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ dom

Range tvm::tir::IterVarNode::dom

the domain of iteration, if known, can be None For the intermediate schedule node, before schedule.

◆ iter_type

IterVarType tvm::tir::IterVarNode::iter_type

The type of the IterVar.

◆ span

Span tvm::tir::IterVarNode::span
mutable

Span that points to the original source code. Reserved debug information.

◆ thread_tag

String tvm::tir::IterVarNode::thread_tag

additional tag on the iteration variable, set this if this is bound already to a known thread tag.

◆ var

Var tvm::tir::IterVarNode::var

The looping variable.


The documentation for this class was generated from the following file: