tvm
Classes | Namespaces | Typedefs | Enumerations
bytecode.h File Reference

The bytecode for the 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::relax_vm::Instruction
 A single virtual machine instruction. More...
 
class  tvm::runtime::relax_vm::Instruction::Arg
 The auxiliary data structure for instruction argument. More...
 

Namespaces

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

Typedefs

using tvm::runtime::relax_vm::ExecWord = int64_t
 The storage type for the bytecode in the VM. More...
 
using tvm::runtime::relax_vm::RegName = ExecWord
 A register name. More...
 
using tvm::runtime::relax_vm::Index = ExecWord
 An alias for the integer type used ubiquitously in the VM. More...
 

Enumerations

enum class  tvm::runtime::relax_vm::Opcode { tvm::runtime::relax_vm::Call = 1U , tvm::runtime::relax_vm::Ret = 2U , tvm::runtime::relax_vm::Goto = 3U , tvm::runtime::relax_vm::If = 4U }
 An enumeration of Relax's opcodes. More...
 

Detailed Description

The bytecode for the virtual machine.