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

Fuse multiple iterators by summing them with scaling. More...

#include <iter_affine_map.h>

Inheritance diagram for tvm::sym::IterSumExprNode:
Collaboration diagram for tvm::sym::IterSumExprNode:

Public Member Functions

 IterSumExprNode (PrimExpr base)
 
 IterSumExprNode (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.IterSumExpr", IterSumExprNode, 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

ffi::Array< IterSplitExpr > args
 The args to the sum.
 
PrimExpr base
 The base offset.
 
- 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

Fuse multiple iterators by summing them with scaling.

result = sum(args) + base

Constructor & Destructor Documentation

◆ IterSumExprNode() [1/2]

tvm::sym::IterSumExprNode::IterSumExprNode ( PrimExpr  base)
inlineexplicit

◆ IterSumExprNode() [2/2]

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

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::sym::IterSumExprNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "sym.IterSumExpr"  ,
IterSumExprNode  ,
IterMapExprNode   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

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

◆ args

ffi::Array<IterSplitExpr> tvm::sym::IterSumExprNode::args

The args to the sum.

◆ base

PrimExpr tvm::sym::IterSumExprNode::base

The base offset.


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