|
hoshi-lang dev
Yet another programming language
|
#include <IR.h>

Public Member Functions | |
| IR ()=default | |
| IR (Opcode opcode, const yoi::vec< IROperand > &operands, IRDebugInfo debugInfo) | |
| yoi::wstr | to_string () const |
Public Attributes | |
| enum yoi::IR::Opcode | opcode |
| yoi::vec< IROperand > | operands |
| IRDebugInfo | debugInfo |
Static Public Attributes | |
| static enum_range< Opcode > | IROpCodeEnumRange |
|
strong |
|
default |
| IR | ( | IR::Opcode | opcode, |
| const yoi::vec< IROperand > & | operands, | ||
| IRDebugInfo | debugInfo | ||
| ) |
| yoi::wstr to_string | ( | ) | const |
Definition at line 74 of file IR.cpp.
References IR::opcode, IR::operands, and yoi::string2wstring().
Referenced by LLVMCodegen::generateInstruction().


| IRDebugInfo debugInfo |
Definition at line 369 of file IR.h.
Referenced by IRFunctionOptimizer::controlFlowOptimization(), LLVMCodegen::generateInstruction(), IRFunctionOptimizer::generatePushOp(), and LLVMCodegen::handleIntrinsicCall().
|
static |
| enum yoi::IR::Opcode opcode |
Definition at line 367 of file IR.h.
Referenced by LLVMCodegen::generateInstruction(), IRFunctionOptimizer::handleInstruction(), LLVMCodegen::handleIntrinsicCall(), IRLinker::patchInstruction(), and IR::to_string().