|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
One SSA instruction producing an optional explicit result value. More...
#include <SSA.H>
Public Attributes | |
| Compiler_SSA_Instruction_Kind | kind = Compiler_SSA_Instruction_Kind::Constant |
| Instruction category. | |
| Compiler_SSA_Value_Id | result_id = 0 |
Produced value id, or 0 for void instructions. | |
| Compiler_Type_Id | type_id = 0 |
| Result or stored type. | |
| Source_Span | span |
| Source region associated with the instruction. | |
| Compiler_Operator_Kind | op = Compiler_Operator_Kind::Invalid |
| Unary/binary operator when relevant. | |
| Compiler_IR_Global_Slot_Id | global_slot_id = compiler_ir_invalid_id() |
| Referenced global slot, when relevant. | |
| Compiler_IR_Function_Id | function_id = compiler_ir_invalid_id() |
| Referenced callee function, when relevant. | |
| DynArray< Compiler_SSA_Value_Id > | operands |
| Input SSA values in deterministic order. | |
| std::string | text |
| Constant spelling or debug payload. | |
| bool | bool_value = false |
| Decoded boolean payload for bool constants. | |
One SSA instruction producing an optional explicit result value.
| Compiler_IR_Function_Id Aleph::Compiler_SSA_Instruction::function_id = compiler_ir_invalid_id() |
| Compiler_IR_Global_Slot_Id Aleph::Compiler_SSA_Instruction::global_slot_id = compiler_ir_invalid_id() |
| Compiler_SSA_Instruction_Kind Aleph::Compiler_SSA_Instruction::kind = Compiler_SSA_Instruction_Kind::Constant |
Instruction category.
Definition at line 138 of file SSA.H.
Referenced by Aleph::Compiler_SSA_Detail::rename_recursive().
| Compiler_Operator_Kind Aleph::Compiler_SSA_Instruction::op = Compiler_Operator_Kind::Invalid |
| DynArray<Compiler_SSA_Value_Id> Aleph::Compiler_SSA_Instruction::operands |
| Compiler_SSA_Value_Id Aleph::Compiler_SSA_Instruction::result_id = 0 |
| Source_Span Aleph::Compiler_SSA_Instruction::span |
| std::string Aleph::Compiler_SSA_Instruction::text |
| Compiler_Type_Id Aleph::Compiler_SSA_Instruction::type_id = 0 |