clang 20.0.0git
|
#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) |
ConsumedStateMap * | borrowInfo (const CFGBlock *Block) |
void | discardInfo (const CFGBlock *Block) |
std::unique_ptr< ConsumedStateMap > | getInfo (const CFGBlock *Block) |
bool | isBackEdge (const CFGBlock *From, const CFGBlock *To) |
bool | isBackEdgeTarget (const CFGBlock *Block) |
Definition at line 210 of file Consumed.h.
|
default |
|
inline |
Definition at line 217 of file Consumed.h.
void ConsumedBlockInfo::addInfo | ( | const CFGBlock * | Block, |
ConsumedStateMap * | StateMap, | ||
std::unique_ptr< ConsumedStateMap > & | OwnedStateMap | ||
) |
Definition at line 1013 of file Consumed.cpp.
References clang::Block.
void ConsumedBlockInfo::addInfo | ( | const CFGBlock * | Block, |
std::unique_ptr< ConsumedStateMap > | StateMap | ||
) |
Definition at line 1028 of file Consumed.cpp.
References clang::Block.
bool ConsumedBlockInfo::allBackEdgesVisited | ( | const CFGBlock * | CurrBlock, |
const CFGBlock * | TargetBlock | ||
) |
Definition at line 999 of file Consumed.cpp.
References clang::CFGBlock::getBlockID(), clang::CFGBlock::pred_begin(), and clang::CFGBlock::pred_end().
ConsumedStateMap * ConsumedBlockInfo::borrowInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1041 of file Consumed.cpp.
References clang::Block.
void ConsumedBlockInfo::discardInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1048 of file Consumed.cpp.
References clang::Block.
std::unique_ptr< ConsumedStateMap > ConsumedBlockInfo::getInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1053 of file Consumed.cpp.
References clang::Block, and isBackEdgeTarget().
Definition at line 1061 of file Consumed.cpp.
References clang::CFGBlock::getBlockID().