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

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

#include <iter_affine_map.h>

Inheritance diagram for tvm::sym::IterSumExprObj:
Collaboration diagram for tvm::sym::IterSumExprObj:

Public Member Functions

 IterSumExprObj (PrimExpr base)
 
 IterSumExprObj (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("sym.IterSumExpr", IterSumExprObj, IterMapExprObj)
 
- Public Member Functions inherited from tvm::sym::IterMapExprObj
 TVM_FFI_DECLARE_OBJECT_INFO ("sym.IterMapExpr", IterMapExprObj, ExprObj)
 
- Public Member Functions inherited from tvm::ExprObj
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Expr", ExprObj, ffi::Object)
 

Static Public Member Functions

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

Public Attributes

ffi::Array< IterSplitExpr > args
 The args to the sum.
 
PrimExpr base
 The base offset.
 
- Public Attributes inherited from tvm::ExprObj
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::IterMapExprObj
static constexpr const uint32_t _type_child_slots = 2
 
- Static Public Attributes inherited from tvm::ExprObj
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

◆ IterSumExprObj() [1/2]

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

◆ IterSumExprObj() [2/2]

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

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::sym::IterSumExprObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "sym.IterSumExpr"  ,
IterSumExprObj  ,
IterMapExprObj   
)

Member Data Documentation

◆ _type_s_eq_hash_kind

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

◆ args

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

The args to the sum.

◆ base

PrimExpr tvm::sym::IterSumExprObj::base

The base offset.


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