|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
One basic block of IR instructions. More...
#include <Compiler_IR_Model.H>
Public Member Functions | |
| bool | is_terminated () const noexcept |
| Returns whether the block already has a terminator. | |
Public Attributes | |
| Compiler_IR_Block_Id | id = compiler_ir_invalid_id() |
| Stable block id. | |
| std::string | label |
| Deterministic debug label. | |
| Source_Span | span |
| Aggregate span covered by instructions and terminator. | |
| DynArray< Compiler_IR_Instruction > | instructions |
| Linear instruction list. | |
| Compiler_IR_Terminator | terminator |
| Explicit block terminator. | |
| DynArray< Compiler_IR_Block_Id > | predecessors |
| Predecessor block ids. | |
One basic block of IR instructions.
Definition at line 209 of file Compiler_IR_Model.H.
|
inlinenoexcept |
Returns whether the block already has a terminator.
Definition at line 219 of file Compiler_IR_Model.H.
References Aleph::Compiler_IR_Terminator::kind, Aleph::None, and terminator.
| Compiler_IR_Block_Id Aleph::Compiler_IR_Block::id = compiler_ir_invalid_id() |
Stable block id.
Definition at line 211 of file Compiler_IR_Model.H.
Referenced by Aleph::Compiler_IR_Builder::create_block(), Aleph::Compiler_IR_Lowering::Module_Builder::create_block(), and TEST().
| DynArray<Compiler_IR_Instruction> Aleph::Compiler_IR_Block::instructions |
Linear instruction list.
Definition at line 214 of file Compiler_IR_Model.H.
| std::string Aleph::Compiler_IR_Block::label |
Deterministic debug label.
Definition at line 212 of file Compiler_IR_Model.H.
Referenced by Aleph::Compiler_IR_Lowering::Module_Builder::create_block(), and TEST().
| DynArray<Compiler_IR_Block_Id> Aleph::Compiler_IR_Block::predecessors |
Predecessor block ids.
Definition at line 216 of file Compiler_IR_Model.H.
| Source_Span Aleph::Compiler_IR_Block::span |
Aggregate span covered by instructions and terminator.
Definition at line 213 of file Compiler_IR_Model.H.
| Compiler_IR_Terminator Aleph::Compiler_IR_Block::terminator |
Explicit block terminator.
Definition at line 215 of file Compiler_IR_Model.H.
Referenced by is_terminated(), TEST(), TEST(), and TEST().