tvm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::tirx::AllocBufferNode Class Reference

Allocate a buffer and declare it in scope. More...

#include <stmt.h>

Inheritance diagram for tvm::tirx::AllocBufferNode:
Collaboration diagram for tvm::tirx::AllocBufferNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("tirx.AllocBuffer", AllocBufferNode, StmtNode)
 
- Public Member Functions inherited from tvm::tirx::StmtNode
 StmtNode ()=default
 
 StmtNode (Span span)
 
 TVM_OBJECT_ENABLE_SCRIPT_PRINTER ()
 
 TVM_FFI_DECLARE_OBJECT_INFO ("tirx.Stmt", StmtNode, Object)
 

Static Public Member Functions

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

Public Attributes

Buffer buffer
 The buffer being allocated and declared. More...
 
ffi::Map< ffi::String, ffi::Any > annotations
 Additional annotations about the allocation. More...
 
- Public Attributes inherited from tvm::tirx::StmtNode
Span span
 Span that points to the original source code. Reserved debug information. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::tirx::StmtNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 
static constexpr const uint32_t _type_child_slots = 15
 

Detailed Description

Allocate a buffer and declare it in scope.

Member Function Documentation

◆ RegisterReflection()

static void tvm::tirx::AllocBufferNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::tirx::AllocBufferNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "tirx.AllocBuffer"  ,
AllocBufferNode  ,
StmtNode   
)

Member Data Documentation

◆ annotations

ffi::Map<ffi::String, ffi::Any> tvm::tirx::AllocBufferNode::annotations

Additional annotations about the allocation.

These annotations can be used as auxiliary hint to future transformations.

◆ buffer

Buffer tvm::tirx::AllocBufferNode::buffer

The buffer being allocated and declared.


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