tvm
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
abi.h File Reference

Abi operations for TIRx. More...

#include <tvm/ir/attrs.h>
#include <tvm/ir/op.h>
#include <tvm/ir/prim/expr.h>
Include dependency graph for abi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tvm::tirx::CallFFIKernelAttr
 Launch metadata for call_ffi_kernel. More...
 

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::tirx
 Backend-defined execution hierarchy nodes shared by layouts and tile calls.
 

Enumerations

enum  tvm::tirx::TVMStructFieldKind : int {
  tvm::tirx::kDLTensorAddr , tvm::tirx::kDLTensorData , tvm::tirx::kDLTensorShape , tvm::tirx::kDLTensorStrides ,
  tvm::tirx::kDLTensorNDim , tvm::tirx::kDLTensorTypeCode , tvm::tirx::kDLTensorTypeBits , tvm::tirx::kDLTensorTypeLanes ,
  tvm::tirx::kDLTensorByteOffset , tvm::tirx::kDLTensorDeviceId , tvm::tirx::kDLTensorDeviceType , tvm::tirx::kDLTensorKindBound_ ,
  tvm::tirx::kTVMValueContent , tvm::tirx::kTVMFFIAnyTypeIndex , tvm::tirx::kTVMFFIAnyZeroPadding , tvm::tirx::kTVMFFIAnyUnionValue ,
  tvm::tirx::kTVMValueKindBound_ , tvm::tirx::kInt64ArrayElem
}
 

Functions

TVM_TIRX_DLL const Op & tvm::tirx::call_extern_op ()
 Call an external C function with argument and result types supplied by the caller.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_pure_extern_op ()
 Call a pure external C function with types supplied by the caller.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_llvm_intrin_op ()
 Invoke an LLVM intrinsic.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_llvm_pure_intrin_op ()
 Invoke a pure LLVM intrinsic.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_spirv_pure_glsl450_op ()
 Invoke a pure GLSL450 SPIR-V intrinsic.
 
TVM_TIRX_DLL const Op & tvm::tirx::abi_field_get_op ()
 Read a runtime structure field.
 
TVM_TIRX_DLL const Op & tvm::tirx::abi_field_set_op ()
 Write a runtime structure field.
 
TVM_TIRX_DLL const Op & tvm::tirx::throw_last_error_op ()
 Raise the last runtime error.
 
TVM_TIRX_DLL const Op & tvm::tirx::stack_alloca_op ()
 Allocate stack storage for runtime values.
 
TVM_TIRX_DLL const Op & tvm::tirx::stack_make_shape_op ()
 Construct a stack-allocated shape tuple.
 
TVM_TIRX_DLL const Op & tvm::tirx::stack_make_dltensor_op ()
 Construct a stack-allocated DLTensor.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_packed_op ()
 Invoke a runtime packed function.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_ffi_kernel_op ()
 Launch a kernel using the packed-function argument convention.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_cpacked_op ()
 Invoke a C packed function.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_packed_lowered_op ()
 Invoke a packed function using an explicit argument stack.
 
TVM_TIRX_DLL const Op & tvm::tirx::call_cpacked_lowered_op ()
 Invoke a C packed function using an explicit argument stack.
 

Detailed Description

Abi operations for TIRx.