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

#include <cfg.hpp>

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

Public Member Functions

 ~EntryNode () noexcept override
 
 EntryNode (ControlFlowGraph &cfg)
 
size_t narguments () const noexcept
 
const llvm::Argumentargument (size_t index) const
 
llvm::Argumentappend_argument (std::unique_ptr< llvm::Argument > arg)
 
std::vector< llvm::Argument * > arguments () 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< std::unique_ptr< llvm::Argument > > arguments_
 

Additional Inherited Members

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

Detailed Description

Definition at line 76 of file cfg.hpp.

Constructor & Destructor Documentation

◆ ~EntryNode()

jlm::llvm::EntryNode::~EntryNode ( )
overridedefaultnoexcept

◆ EntryNode()

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

Definition at line 81 of file cfg.hpp.

Member Function Documentation

◆ append_argument()

llvm::Argument* jlm::llvm::EntryNode::append_argument ( std::unique_ptr< llvm::Argument arg)
inline

Definition at line 99 of file cfg.hpp.

◆ argument()

const llvm::Argument* jlm::llvm::EntryNode::argument ( size_t  index) const
inline

Definition at line 92 of file cfg.hpp.

◆ arguments()

std::vector<llvm::Argument *> jlm::llvm::EntryNode::arguments ( ) const
inlinenoexcept

Definition at line 106 of file cfg.hpp.

◆ narguments()

size_t jlm::llvm::EntryNode::narguments ( ) const
inlinenoexcept

Definition at line 86 of file cfg.hpp.

Member Data Documentation

◆ arguments_

std::vector<std::unique_ptr<llvm::Argument> > jlm::llvm::EntryNode::arguments_
private

Definition at line 116 of file cfg.hpp.


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