|
QuISP
|
This class represents IR (intermediate representation) instruction. Program consists of Instructions. More...
#include <opcode.h>

Public Member Functions | |
| Instruction (std::tuple< Operands... > args, std::string label="") | |
| Instruction (std::tuple< Operands... > args, Label label) | |
| std::string | toString () const |
| returns string representation for debugging | |
| template<size_t N = 0, typename T > | |
| void | toStringArgs (const T &t, std::stringstream &s) const |
Public Attributes | |
| int | opcode |
| std::tuple< Operands... > | args |
| std::string | label |
This class represents IR (intermediate representation) instruction. Program consists of Instructions.
| OpLit | |
| Operands |
|
inline |
|
inline |
|
inline |
returns string representation for debugging
|
inline |
| std::tuple<Operands...> quisp::runtime::Instruction< OpLit, Operands >::args |
| std::string quisp::runtime::Instruction< OpLit, Operands >::label |
| int quisp::runtime::Instruction< OpLit, Operands >::opcode |