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

Public Member Functions

bool contains (ControlFlowGraphNode *node) const
 
std::unique_ptr< AggregationNode > & lookup (ControlFlowGraphNode *node)
 
void insert (ControlFlowGraphNode *node, std::unique_ptr< AggregationNode > anode)
 
void remove (ControlFlowGraphNode *node)
 

Static Public Member Functions

static std::unique_ptr< AggregationMapcreate (ControlFlowGraph &cfg)
 

Private Attributes

std::unordered_map< ControlFlowGraphNode *, std::unique_ptr< AggregationNode > > map_
 

Detailed Description

Aggregation map

It associates CFG nodes with aggregation subtrees.

Definition at line 122 of file aggregation.cpp.

Member Function Documentation

◆ contains()

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

Definition at line 126 of file aggregation.cpp.

◆ create()

static std::unique_ptr<AggregationMap> jlm::llvm::AggregationMap::create ( ControlFlowGraph cfg)
inlinestatic

Definition at line 152 of file aggregation.cpp.

◆ insert()

void jlm::llvm::AggregationMap::insert ( ControlFlowGraphNode node,
std::unique_ptr< AggregationNode anode 
)
inline

Definition at line 140 of file aggregation.cpp.

◆ lookup()

std::unique_ptr<AggregationNode>& jlm::llvm::AggregationMap::lookup ( ControlFlowGraphNode node)
inline

Definition at line 132 of file aggregation.cpp.

◆ remove()

void jlm::llvm::AggregationMap::remove ( ControlFlowGraphNode node)
inline

Definition at line 146 of file aggregation.cpp.

Member Data Documentation

◆ map_

std::unordered_map<ControlFlowGraphNode *, std::unique_ptr<AggregationNode> > jlm::llvm::AggregationMap::map_
private

Definition at line 170 of file aggregation.cpp.


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