Jlm
Public Member Functions | Private Attributes | List of all members
jlm::llvm::ExitNode Class Referencefinal

#include <cfg.hpp>

Inheritance diagram for jlm::llvm::ExitNode:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::ExitNode:
Collaboration graph
[legend]

Public Member Functions

 ~ExitNode () noexcept override
 
 ExitNode (ControlFlowGraph &cfg)
 
size_t nresults () const noexcept
 
const Variableresult (size_t index) const
 
void append_result (const Variable *v)
 
const std::vector< const Variable * > results () const noexcept
 
- Public Member Functions inherited from jlm::llvm::ControlFlowGraphNode
virtual ~ControlFlowGraphNode () noexcept
 
ControlFlowGraphcfg () const noexcept
 
size_t NumOutEdges () const noexcept
 
ControlFlowGraphEdgeOutEdge (size_t n) const
 
outedge_iterator_range OutEdges () const
 
ControlFlowGraphEdgeadd_outedge (ControlFlowGraphNode *sink)
 
void remove_outedge (size_t n)
 
void remove_outedges ()
 
size_t NumInEdges () const noexcept
 
inedge_iterator_range InEdges () const
 
void divert_inedges (llvm::ControlFlowGraphNode *new_successor)
 
void remove_inedges ()
 
bool no_predecessor () const noexcept
 
bool single_predecessor () const noexcept
 
bool no_successor () const noexcept
 
bool single_successor () const noexcept
 
bool is_branch () const noexcept
 
bool has_selfloop_edge () const noexcept
 

Private Attributes

std::vector< const Variable * > results_
 

Additional Inherited Members

- Protected Member Functions inherited from jlm::llvm::ControlFlowGraphNode
 ControlFlowGraphNode (ControlFlowGraph &cfg)
 

Detailed Description

Definition at line 119 of file cfg.hpp.

Constructor & Destructor Documentation

◆ ~ExitNode()

jlm::llvm::ExitNode::~ExitNode ( )
overridedefaultnoexcept

◆ ExitNode()

jlm::llvm::ExitNode::ExitNode ( ControlFlowGraph cfg)
inlineexplicit

Definition at line 124 of file cfg.hpp.

Member Function Documentation

◆ append_result()

void jlm::llvm::ExitNode::append_result ( const Variable v)
inline

Definition at line 142 of file cfg.hpp.

◆ nresults()

size_t jlm::llvm::ExitNode::nresults ( ) const
inlinenoexcept

Definition at line 129 of file cfg.hpp.

◆ result()

const Variable* jlm::llvm::ExitNode::result ( size_t  index) const
inline

Definition at line 135 of file cfg.hpp.

◆ results()

const std::vector<const Variable *> jlm::llvm::ExitNode::results ( ) const
inlinenoexcept

Definition at line 148 of file cfg.hpp.

Member Data Documentation

◆ results_

std::vector<const Variable *> jlm::llvm::ExitNode::results_
private

Definition at line 154 of file cfg.hpp.


The documentation for this class was generated from the following files: