CFG_Block¶
- class CFG_Block (abstract, logical)¶
Basic block in the Control Flow Graph.
Note on correspondence between PIR and LIR: Any given language construct will map to a range of LIR instructions that may span multiple blocks. Any particular CFG_Block may contain instructions from multiple different expressions and statements. The CFG_Block subtype and its Physical edge back into the PIR are (in general) not related to the instructions within the block, but are merely about the jump that happens at the end of the block. Check the CFG_Standard_Block.Start_Physical/Start_Role fields for why the block was started.
- Direct parents:
inherits Execution_Node
- Ancestor classes and implemented interfaces:
- Direct child classes:
subclass CFG_Entry_Block
subclass CFG_Exit_Block
subclass CFG_Standard_Block
Field
Kind
Type
Description
Parent (from Logical_IR_Root)
semantic
class Routine
Physical (from Logical_IR_Root)
semantic to physical
class Physical_IR_Root