24#ifndef TVM_TIRX_OP_MEMORY_H_
25#define TVM_TIRX_OP_MEMORY_H_
Managed reference to ExprNode.
Definition base_expr.h:359
Managed reference class to IntImmNode.
Definition expr.h:152
Non-nullable source-location metadata.
Definition location.h:91
Reference-counted handle to a canonical named operator.
Definition op.h:147
Typed reference/view over any Expr whose ExprNode::ty is PrimType.
Definition base_expr.h:447
Definition base_expr.h:161
static TVM_TIRX_DLL PrimType UInt(int bits, int lanes=1)
Construct an unsigned integer type with fixed lanes.
static TVM_TIRX_DLL PtrType VoidPtrType(ffi::String storage_scope="")
Construct an opaque pointer with void element type.
Managed reference to TypeNode.
Definition base_expr.h:80
Reference to the shared immutable unknown location.
Definition location.h:105
Canonical primitive operators and their registration.
TVM_TIRX_DLL const Op & tensor_data_ptr_op()
Project the physical pointer associated with a TensorVar definition.
TVM_TIRX_DLL const Op & isnullptr_op()
Test whether a pointer is null.
TVM_TIRX_DLL const Op & atomic_add_op()
atomic add instruction, corresponding e.g. to atomicAdd in CUDA.
TVM_TIRX_DLL const Op & ptr_byte_offset_op()
Cast a handle to a typed pointer after adding a byte offset.
TVM_TIRX_DLL const Op & static_handle_op()
Create a function local static handle that iniitalizes to nullptr.
TVM_TIRX_DLL const Op & reinterpret_op()
Reinterpret the bits of a value as an explicit primitive or pointer type.
TVM_TIRX_DLL const Op & assume_aligned_op()
Assume a tensor's base address has the given constant byte alignment.
TVM_TIRX_DLL const Op & handle_add_byte_offset_op()
Add a byte offset to an opaque pointer.
TVM_TIRX_DLL const Op & decl_tensor_op()
Declare a tensor view with exactly one TensorType in ty_args.
TVM_TIRX_DLL const Op & address_of_op()
Return the address of a tensor element or addressable variable.
TVM_TIRX_DLL const Op & masked_store_op()
Masked tensor store.
TVM_TIRX_DLL Expr reinterpret(Type target_ty, Expr value, Location loc=UnknownLoc())
perform reinterpret cast value to type.
TVM_TIRX_DLL const Op & undef_op()
Returns an initialized but arbitrary value.
Expr ConstHandle(int64_t value, Location loc=UnknownLoc())
Construct an opaque pointer from its integer payload.
Definition memory.h:75
TVM_TIRX_DLL const Op & alloc_tensor_op()
Allocate a tensor with exactly one TensorType in ty_args.
TVM_TIRX_DLL const Op & prefetch_op()
Prefetch a memory address.
TVM_TIRX_DLL const Op & masked_load_op()
Masked tensor load.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition attr.h:23
#define TVM_TIRX_DLL
Definition base.h:83