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

Namespaces

 tvm
 Performance counters for profiling via the PAPI library.
 
 tvm::runtime
 
 tvm::runtime::vm
 

Typedefs

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

Enumerations

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

Detailed Description

The bytecode for the virtual machine.