clang  6.0.0svn
Public Member Functions | List of all members
clang::consumed::ConsumedBlockInfo Class Reference

#include "clang/Analysis/Analyses/Consumed.h"

Public Member Functions

 ConsumedBlockInfo ()=default
 
 ConsumedBlockInfo (unsigned int NumBlocks, PostOrderCFGView *SortedGraph)
 
bool allBackEdgesVisited (const CFGBlock *CurrBlock, const CFGBlock *TargetBlock)
 
void addInfo (const CFGBlock *Block, ConsumedStateMap *StateMap, std::unique_ptr< ConsumedStateMap > &OwnedStateMap)
 
void addInfo (const CFGBlock *Block, std::unique_ptr< ConsumedStateMap > StateMap)
 
ConsumedStateMapborrowInfo (const CFGBlock *Block)
 
void discardInfo (const CFGBlock *Block)
 
std::unique_ptr< ConsumedStateMapgetInfo (const CFGBlock *Block)
 
bool isBackEdge (const CFGBlock *From, const CFGBlock *To)
 
bool isBackEdgeTarget (const CFGBlock *Block)
 

Detailed Description

Definition at line 198 of file Consumed.h.

Constructor & Destructor Documentation

◆ ConsumedBlockInfo() [1/2]

clang::consumed::ConsumedBlockInfo::ConsumedBlockInfo ( )
default

◆ ConsumedBlockInfo() [2/2]

clang::consumed::ConsumedBlockInfo::ConsumedBlockInfo ( unsigned int  NumBlocks,
PostOrderCFGView SortedGraph 
)
inline

Member Function Documentation

◆ addInfo() [1/2]

void clang::consumed::ConsumedBlockInfo::addInfo ( const CFGBlock Block,
ConsumedStateMap StateMap,
std::unique_ptr< ConsumedStateMap > &  OwnedStateMap 
)

Definition at line 1043 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ addInfo() [2/2]

void clang::consumed::ConsumedBlockInfo::addInfo ( const CFGBlock Block,
std::unique_ptr< ConsumedStateMap StateMap 
)

Definition at line 1059 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ allBackEdgesVisited()

bool clang::consumed::ConsumedBlockInfo::allBackEdgesVisited ( const CFGBlock CurrBlock,
const CFGBlock TargetBlock 
)

◆ borrowInfo()

ConsumedStateMap * clang::consumed::ConsumedBlockInfo::borrowInfo ( const CFGBlock Block)

Definition at line 1073 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ discardInfo()

void clang::consumed::ConsumedBlockInfo::discardInfo ( const CFGBlock Block)

Definition at line 1080 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ getInfo()

std::unique_ptr< ConsumedStateMap > clang::consumed::ConsumedBlockInfo::getInfo ( const CFGBlock Block)

Definition at line 1085 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ isBackEdge()

bool clang::consumed::ConsumedBlockInfo::isBackEdge ( const CFGBlock From,
const CFGBlock To 
)

Definition at line 1093 of file Consumed.cpp.

References clang::CFGBlock::getBlockID().

◆ isBackEdgeTarget()

bool clang::consumed::ConsumedBlockInfo::isBackEdgeTarget ( const CFGBlock Block)

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