tvm
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Namespaces | Typedefs | Enumerations
bytecode.h File Reference

The bytecode for Relay virtual machine. More...

#include <tvm/runtime/data_type.h>
#include <tvm/runtime/logging.h>
#include <iostream>
#include <vector>
Include dependency graph for bytecode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tvm::runtime::vm::Instruction
 A single virtual machine instruction. More...
 

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::runtime
 
 tvm::runtime::vm
 

Typedefs

using tvm::runtime::vm::RegName = int64_t
 A register name. More...
 
using tvm::runtime::vm::Index = int64_t
 An alias for the integer type used ubiquitously in the VM. More...
 

Enumerations

enum class  tvm::runtime::vm::Opcode {
  tvm::runtime::vm::Move = 0U , tvm::runtime::vm::Ret = 1U , tvm::runtime::vm::Invoke = 2U , tvm::runtime::vm::InvokeClosure = 3U ,
  tvm::runtime::vm::InvokePacked = 4U , tvm::runtime::vm::AllocTensor = 5U , tvm::runtime::vm::AllocTensorReg = 6U , tvm::runtime::vm::AllocADT = 7U ,
  tvm::runtime::vm::AllocClosure = 8U , tvm::runtime::vm::GetField = 9U , tvm::runtime::vm::If = 10U , tvm::runtime::vm::LoadConst = 11U ,
  tvm::runtime::vm::Goto = 12U , tvm::runtime::vm::GetTag = 13U , tvm::runtime::vm::LoadConsti = 14U , tvm::runtime::vm::Fatal = 15U ,
  tvm::runtime::vm::AllocStorage = 16U , tvm::runtime::vm::ShapeOf = 17U , tvm::runtime::vm::ReshapeTensor = 18U , tvm::runtime::vm::DeviceCopy = 19U ,
  tvm::runtime::vm::KillRegister = 20U
}
 An enumeration of Relay's opcodes. More...
 

Detailed Description

The bytecode for Relay virtual machine.