|
tvm
|
Classes | |
| class | Allocator |
| struct | Buffer |
| class | Executable |
| The executable emitted by the VM compiler. More... | |
| struct | Instruction |
| A single virtual machine instruction. More... | |
| class | MemoryManager |
| class | Storage |
| reference to storage. More... | |
| class | StorageObj |
| An object representing a storage allocation. More... | |
| class | VirtualMachine |
| The virtual machine. More... | |
| class | VMClosure |
| reference to closure. More... | |
| class | VMClosureObj |
| An object representing a vm closure. More... | |
| struct | VMFrame |
| A representation of a stack frame. More... | |
| struct | VMFunction |
| A representation of a Relay function in the VM. More... | |
Typedefs | |
| using | RegName = int64_t |
| A register name. More... | |
| using | Index = int64_t |
| An alias for the integer type used ubiquitously in the VM. More... | |
Enumerations | |
| enum | Opcode { Opcode::Move = 0U, Opcode::Ret = 1U, Opcode::Invoke = 2U, Opcode::InvokeClosure = 3U, Opcode::InvokePacked = 4U, Opcode::AllocTensor = 5U, Opcode::AllocTensorReg = 6U, Opcode::AllocADT = 7U, Opcode::AllocClosure = 8U, Opcode::GetField = 9U, Opcode::If = 10U, Opcode::LoadConst = 11U, Opcode::Goto = 12U, Opcode::GetTag = 13U, Opcode::LoadConsti = 14U, Opcode::Fatal = 15U, Opcode::AllocStorage = 16U, Opcode::ShapeOf = 17U, Opcode::ReshapeTensor = 18U, Opcode::DeviceCopy = 19U, Opcode::KillRegister = 20U } |
| An enumeration of Relay's opcodes. More... | |
| enum | AllocatorType { kNaive = 1, kPooled } |
| using tvm::runtime::vm::Index = typedef int64_t |
An alias for the integer type used ubiquitously in the VM.
| using tvm::runtime::vm::RegName = typedef int64_t |
A register name.
|
strong |
An enumeration of Relay's opcodes.
The opcode is used to implement instruction as a tagged union.
1.8.13