tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
tvm::s_tir::IterVar Class Reference

Iteration Variable, represents an iteration over an integer interval. More...

#include <iter_var.h>

Inheritance diagram for tvm::s_tir::IterVar:
Collaboration diagram for tvm::s_tir::IterVar:

Public Member Functions

 IterVar (ffi::Optional< Range > dom, PrimVar var, IterVarType iter_type, ffi::String thread_tag="", Location loc=UnknownLoc())
 
 IterVar (ffi::ObjectPtr< IterVarNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (IterVar, PrimExpr, IterVarNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (IterVarNode)
 
- Public Member Functions inherited from tvm::PrimExpr
TVM_TIRX_DLL PrimExpr (Call call)
 Construct from a call after checking that its result type is PrimType.
 
TVM_TIRX_DLL PrimExpr (int32_t value)
 construct from integer.
 
TVM_TIRX_DLL PrimExpr (float value)
 construct from float.
 
 PrimExpr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (PrimExpr, TypedExpr< PrimType >, ExprNode)
 
- Public Member Functions inherited from tvm::TypedExpr< PrimType >
PrimType ty () const
 
 TypedExpr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (TypedExpr, Expr, ExprNode)
 
- Public Member Functions inherited from tvm::Expr
bool operator== (const Expr &other) const =delete
 
bool operator!= (const Expr &other) const =delete
 
bool operator< (const Expr &other) const =delete
 
 Expr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Expr, ffi::ObjectRef, ExprNode)
 

Static Public Attributes

static constexpr bool _type_container_is_exact = true
 
- Static Public Attributes inherited from tvm::PrimExpr
static constexpr bool _type_container_is_exact = false
 
- Static Public Attributes inherited from tvm::TypedExpr< PrimType >
static constexpr bool _type_container_is_exact
 

Detailed Description

Iteration Variable, represents an iteration over an integer interval.

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

Constructor & Destructor Documentation

◆ IterVar() [1/2]

tvm::s_tir::IterVar::IterVar ( ffi::Optional< Range >  dom,
PrimVar  var,
IterVarType  iter_type,
ffi::String  thread_tag = "",
Location  loc = UnknownLoc() 
)

◆ IterVar() [2/2]

tvm::s_tir::IterVar::IterVar ( ffi::ObjectPtr< IterVarNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::s_tir::IterVar::TVM_DEFINE_OBJECT_REF_COW_METHOD ( IterVarNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::s_tir::IterVar::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( IterVar  ,
PrimExpr  ,
IterVarNode   
)

Member Data Documentation

◆ _type_container_is_exact

constexpr bool tvm::s_tir::IterVar::_type_container_is_exact = true
staticconstexpr

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