tvm
|
Classes | |
struct | Instruction |
A single virtual machine instruction. More... | |
class | Executable |
The executable emitted by the VM compiler. More... | |
class | VMClosureObj |
An object representing a vm closure. More... | |
class | VMClosure |
reference to closure. More... | |
struct | VMFunction |
A representation of a Relay function in the VM. More... | |
struct | VMFrame |
A representation of a stack frame. More... | |
class | VirtualMachine |
The virtual machine. 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 class | Opcode { Move = 0U , Ret = 1U , Invoke = 2U , InvokeClosure = 3U , InvokePacked = 4U , AllocTensor = 5U , AllocTensorReg = 6U , AllocADT = 7U , AllocClosure = 8U , GetField = 9U , If = 10U , LoadConst = 11U , Goto = 12U , GetTag = 13U , LoadConsti = 14U , Fatal = 15U , AllocStorage = 16U , ShapeOf = 17U , ReshapeTensor = 18U , DeviceCopy = 19U , KillRegister = 20U } |
An enumeration of Relay's opcodes. More... | |
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.