clang API Documentation
#include <Consumed.h>
Public Member Functions | |
ConsumedBlockInfo () | |
~ConsumedBlockInfo () | |
ConsumedBlockInfo (unsigned int NumBlocks, PostOrderCFGView *SortedGraph) | |
bool | allBackEdgesVisited (const CFGBlock *CurrBlock, const CFGBlock *TargetBlock) |
void | addInfo (const CFGBlock *Block, ConsumedStateMap *StateMap, bool &AlreadyOwned) |
void | addInfo (const CFGBlock *Block, ConsumedStateMap *StateMap) |
ConsumedStateMap * | borrowInfo (const CFGBlock *Block) |
void | discardInfo (const CFGBlock *Block) |
ConsumedStateMap * | getInfo (const CFGBlock *Block) |
bool | isBackEdge (const CFGBlock *From, const CFGBlock *To) |
bool | isBackEdgeTarget (const CFGBlock *Block) |
Definition at line 198 of file Consumed.h.
Definition at line 203 of file Consumed.h.
Definition at line 204 of file Consumed.h.
clang::consumed::ConsumedBlockInfo::ConsumedBlockInfo | ( | unsigned int | NumBlocks, |
PostOrderCFGView * | SortedGraph | ||
) | [inline] |
Definition at line 206 of file Consumed.h.
References clang::PostOrderCFGView::begin(), and clang::PostOrderCFGView::end().
void clang::consumed::ConsumedBlockInfo::addInfo | ( | const CFGBlock * | Block, |
ConsumedStateMap * | StateMap, | ||
bool & | AlreadyOwned | ||
) |
Definition at line 1042 of file Consumed.cpp.
References clang::CFGBlock::getBlockID(), and clang::consumed::ConsumedStateMap::intersect().
void clang::consumed::ConsumedBlockInfo::addInfo | ( | const CFGBlock * | Block, |
ConsumedStateMap * | StateMap | ||
) |
Definition at line 1062 of file Consumed.cpp.
References clang::CFGBlock::getBlockID(), and clang::consumed::ConsumedStateMap::intersect().
bool clang::consumed::ConsumedBlockInfo::allBackEdgesVisited | ( | const CFGBlock * | CurrBlock, |
const CFGBlock * | TargetBlock | ||
) |
Definition at line 1027 of file Consumed.cpp.
References clang::CFGBlock::getBlockID(), clang::CFGBlock::pred_begin(), and clang::CFGBlock::pred_end().
ConsumedStateMap * clang::consumed::ConsumedBlockInfo::borrowInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1078 of file Consumed.cpp.
References clang::CFGBlock::getBlockID().
void clang::consumed::ConsumedBlockInfo::discardInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1085 of file Consumed.cpp.
References clang::CFGBlock::getBlockID().
ConsumedStateMap * clang::consumed::ConsumedBlockInfo::getInfo | ( | const CFGBlock * | Block | ) |
Definition at line 1091 of file Consumed.cpp.
References clang::CFGBlock::getBlockID().
bool clang::consumed::ConsumedBlockInfo::isBackEdge | ( | const CFGBlock * | From, |
const CFGBlock * | To | ||
) |
Definition at line 1103 of file Consumed.cpp.
References clang::CFGBlock::getBlockID().
bool clang::consumed::ConsumedBlockInfo::isBackEdgeTarget | ( | const CFGBlock * | Block | ) |
Definition at line 1110 of file Consumed.cpp.
References clang::CFGBlock::getBlockID(), clang::CFGBlock::pred_begin(), clang::CFGBlock::pred_end(), and clang::CFGBlock::pred_size().