Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Compiler_IR_Terminator Struct Reference

Explicit terminator for one IR basic block. More...

#include <Compiler_IR_Model.H>

Collaboration diagram for Aleph::Compiler_IR_Terminator:
[legend]

Public Attributes

Compiler_IR_Terminator_Kind kind = Compiler_IR_Terminator_Kind::None
 Terminator category.
 
Source_Span span
 Source region associated with the terminator.
 
Compiler_IR_Value_Id condition_value = 0
 Branch condition value, if any.
 
Compiler_IR_Value_Id return_value = 0
 Return value, if any.
 
DynArray< Compiler_IR_Block_Id > successors
 Successor blocks in deterministic order.
 

Detailed Description

Explicit terminator for one IR basic block.

Definition at line 199 of file Compiler_IR_Model.H.

Member Data Documentation

◆ condition_value

Compiler_IR_Value_Id Aleph::Compiler_IR_Terminator::condition_value = 0

Branch condition value, if any.

Definition at line 203 of file Compiler_IR_Model.H.

Referenced by TEST(), and TEST().

◆ kind

Compiler_IR_Terminator_Kind Aleph::Compiler_IR_Terminator::kind = Compiler_IR_Terminator_Kind::None

Terminator category.

Definition at line 201 of file Compiler_IR_Model.H.

Referenced by Aleph::Compiler_IR_Block::is_terminated(), TEST(), TEST(), and TEST().

◆ return_value

Compiler_IR_Value_Id Aleph::Compiler_IR_Terminator::return_value = 0

Return value, if any.

Definition at line 204 of file Compiler_IR_Model.H.

Referenced by TEST().

◆ span

Source_Span Aleph::Compiler_IR_Terminator::span

Source region associated with the terminator.

Definition at line 202 of file Compiler_IR_Model.H.

◆ successors

DynArray<Compiler_IR_Block_Id> Aleph::Compiler_IR_Terminator::successors

Successor blocks in deterministic order.

Definition at line 205 of file Compiler_IR_Model.H.

Referenced by TEST().


The documentation for this struct was generated from the following file: