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

Strongly Connected Component. More...

#include <cfg-structure.hpp>

Public Member Functions

 StronglyConnectedComponent (const std::unordered_set< ControlFlowGraphNode * > &nodes)
 
constiterator begin () const
 
constiterator end () const
 
bool contains (ControlFlowGraphNode *node) const
 
size_t nnodes () const noexcept
 

Private Types

using constiterator = util::PtrIterator< ControlFlowGraphNode, std::unordered_set< ControlFlowGraphNode * >::const_iterator >
 

Private Attributes

std::unordered_set< ControlFlowGraphNode * > nodes_ {}
 

Detailed Description

Strongly Connected Component.

Definition at line 26 of file cfg-structure.hpp.

Member Typedef Documentation

◆ constiterator

using jlm::llvm::StronglyConnectedComponent::constiterator = util:: PtrIterator<ControlFlowGraphNode, std::unordered_set<ControlFlowGraphNode *>::const_iterator>
private

Definition at line 28 of file cfg-structure.hpp.

Constructor & Destructor Documentation

◆ StronglyConnectedComponent()

jlm::llvm::StronglyConnectedComponent::StronglyConnectedComponent ( const std::unordered_set< ControlFlowGraphNode * > &  nodes)
inlineexplicit

Definition at line 32 of file cfg-structure.hpp.

Member Function Documentation

◆ begin()

StronglyConnectedComponent::constiterator jlm::llvm::StronglyConnectedComponent::begin ( ) const

Definition at line 17 of file cfg-structure.cpp.

◆ contains()

bool jlm::llvm::StronglyConnectedComponent::contains ( ControlFlowGraphNode node) const
inline

Definition at line 43 of file cfg-structure.hpp.

◆ end()

StronglyConnectedComponent::constiterator jlm::llvm::StronglyConnectedComponent::end ( ) const

Definition at line 23 of file cfg-structure.cpp.

◆ nnodes()

size_t jlm::llvm::StronglyConnectedComponent::nnodes ( ) const
inlinenoexcept

Definition at line 49 of file cfg-structure.hpp.

Member Data Documentation

◆ nodes_

std::unordered_set<ControlFlowGraphNode *> jlm::llvm::StronglyConnectedComponent::nodes_ {}
private

Definition at line 55 of file cfg-structure.hpp.


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