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

Split of an iterator. More...

#include <iter_affine_map.h>

Inheritance diagram for tvm::sym::IterSplitExprNode:
Collaboration diagram for tvm::sym::IterSplitExprNode:

Public Member Functions

 IterSplitExprNode (IterMark source, PrimExpr lower_factor, PrimExpr extent, PrimExpr scale)
 
 IterSplitExprNode (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.IterSplitExpr", IterSplitExprNode, IterMapExprNode)
 
- Public Member Functions inherited from tvm::sym::IterMapExprNode
 TVM_FFI_DECLARE_OBJECT_INFO ("sym.IterMapExpr", IterMapExprNode, ExprNode)
 
- Public Member Functions inherited from tvm::ExprNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::ExprNode
static void RegisterReflection ()
 

Public Attributes

IterMark source
 The source marked iterator.
 
PrimExpr lower_factor
 The lower factor to split the source.
 
PrimExpr extent
 The extent of the split.
 
PrimExpr scale
 Additional scale.
 
- Public Attributes inherited from tvm::ExprNode
Location loc = UnknownLoc()
 Location that points to the original source code. Reserved debug information.
 
Type ty = MissingType()
 The deduced or annotated type of the expression.
 

Static Public Attributes

static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
- Static Public Attributes inherited from tvm::sym::IterMapExprNode
static constexpr const uint32_t _type_child_slots = 2
 
- Static Public Attributes inherited from tvm::ExprNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 64
 

Detailed Description

Split of an iterator.

result = floormod(floordiv(source, lower_factor), extent) * scale

Constructor & Destructor Documentation

◆ IterSplitExprNode() [1/2]

tvm::sym::IterSplitExprNode::IterSplitExprNode ( IterMark  source,
PrimExpr  lower_factor,
PrimExpr  extent,
PrimExpr  scale 
)
inlineexplicit

◆ IterSplitExprNode() [2/2]

tvm::sym::IterSplitExprNode::IterSplitExprNode ( ffi::UnsafeInit  )
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

static void tvm::sym::IterSplitExprNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::sym::IterSplitExprNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "sym.IterSplitExpr"  ,
IterSplitExprNode  ,
IterMapExprNode   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

constexpr TVMFFISEqHashKind tvm::sym::IterSplitExprNode::_type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
staticconstexpr

◆ extent

PrimExpr tvm::sym::IterSplitExprNode::extent

The extent of the split.

◆ lower_factor

PrimExpr tvm::sym::IterSplitExprNode::lower_factor

The lower factor to split the source.

◆ scale

PrimExpr tvm::sym::IterSplitExprNode::scale

Additional scale.

◆ source

IterMark tvm::sym::IterSplitExprNode::source

The source marked iterator.


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