Home
last modified time | relevance | path

Searched refs:CurrBlock (Results 1 – 12 of 12) sorted by relevance

/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h158 for (const auto *CurrBlock : *SortedGraph) { in walk()
159 VisitedBlocks.insert(CurrBlock); in walk()
161 V.enterCFGBlock(CurrBlock); in walk()
167 for (CFGBlock::const_pred_iterator SI = CurrBlock->pred_begin(), in walk()
168 SE = CurrBlock->pred_end(); in walk()
184 V.enterCFGBlockBody(CurrBlock); in walk()
187 for (const auto &BI : *CurrBlock) { in walk()
206 V.exitCFGBlockBody(CurrBlock); in walk()
213 for (CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(), in walk()
214 SE = CurrBlock->succ_end(); in walk()
[all …]
DConsumed.h219 bool allBackEdgesVisited(const CFGBlock *CurrBlock,
247 bool splitState(const CFGBlock *CurrBlock,
/external/clang/lib/Analysis/
DThreadSafety.cpp693 for (const auto *CurrBlock : *SortedGraph) { in traverseCFG()
694 int CurrBlockID = CurrBlock->getBlockID(); in traverseCFG()
697 VisitedBlocks.insert(CurrBlock); in traverseCFG()
702 for (CFGBlock::const_pred_iterator PI = CurrBlock->pred_begin(), in traverseCFG()
703 PE = CurrBlock->pred_end(); PI != PE; ++PI) { in traverseCFG()
736 for (CFGBlock::const_iterator BI = CurrBlock->begin(), in traverseCFG()
737 BE = CurrBlock->end(); BI != BE; ++BI) { in traverseCFG()
751 for (CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(), in traverseCFG()
752 SE = CurrBlock->succ_end(); SI != SE; ++SI) { in traverseCFG()
774 for (const auto *CurrBlock : *SortedGraph) { in findBlockLocations()
[all …]
DConsumed.cpp1032 bool ConsumedBlockInfo::allBackEdgesVisited(const CFGBlock *CurrBlock, in allBackEdgesVisited() argument
1035 assert(CurrBlock && "Block pointer must not be NULL"); in allBackEdgesVisited()
1038 unsigned int CurrBlockOrder = VisitOrder[CurrBlock->getBlockID()]; in allBackEdgesVisited()
1261 bool ConsumedAnalyzer::splitState(const CFGBlock *CurrBlock, in splitState() argument
1269 dyn_cast_or_null<IfStmt>(CurrBlock->getTerminator().getStmt())) { in splitState()
1293 dyn_cast_or_null<BinaryOperator>(CurrBlock->getTerminator().getStmt())) { in splitState()
1332 CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(); in splitState()
1369 for (const auto *CurrBlock : *SortedGraph) { in run()
1371 CurrStates = BlockInfo.getInfo(CurrBlock); in run()
1384 for (const auto &B : *CurrBlock) { in run()
[all …]
/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp238 BasicBlock *CurrBlock = LastCondBlock; in FlattenParallelAndOr() local
240 for (;CurrBlock != FirstCondBlock; in FlattenParallelAndOr()
241 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
242 BranchInst *BI = dyn_cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr()
DMemorySSA.cpp1213 BasicBlock *CurrBlock = CacheAccess->getBlock(); in UpwardsDFSWalk() local
1216 if (DT->dominates(CurrBlock, OriginalBlock) && in UpwardsDFSWalk()
1217 (CurrBlock != OriginalBlock || !FollowingBackedge || in UpwardsDFSWalk()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp251 BasicBlock *CurrBlock = LastCondBlock; in FlattenParallelAndOr() local
253 for (; CurrBlock != FirstCondBlock; in FlattenParallelAndOr()
254 CurrBlock = CurrBlock->getSinglePredecessor()) { in FlattenParallelAndOr()
255 BranchInst *BI = dyn_cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp410 void updateIncomingBlock(BasicBlock *CurrBlock, BasicBlock *OldPred,
1115 void LoopInterchangeTransform::updateIncomingBlock(BasicBlock *CurrBlock, in updateIncomingBlock() argument
1118 for (auto I = CurrBlock->begin(); isa<PHINode>(I); ++I) { in updateIncomingBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp419 void updateIncomingBlock(BasicBlock *CurrBlock, BasicBlock *OldPred,
1322 void LoopInterchangeTransform::updateIncomingBlock(BasicBlock *CurrBlock, in updateIncomingBlock() argument
1325 for (PHINode &PHI : CurrBlock->phis()) { in updateIncomingBlock()
DNewGVN.cpp3395 const BasicBlock *CurrBlock = getBlockForValue(V); in iterateTouchedInstructions() local
3398 if (CurrBlock != LastBlock) { in iterateTouchedInstructions()
3399 LastBlock = CurrBlock; in iterateTouchedInstructions()
3400 bool BlockReachable = ReachableBlocks.count(CurrBlock); in iterateTouchedInstructions()
3401 const auto &CurrInstRange = BlockInstRange.lookup(CurrBlock); in iterateTouchedInstructions()
3407 << getBlockName(CurrBlock) in iterateTouchedInstructions()
3411 updateProcessedCount(CurrBlock); in iterateTouchedInstructions()
DGVN.cpp1633 const BasicBlock &CurrBlock) { in eraseTranslateCacheEntry() argument
1634 for (const BasicBlock *Pred : predecessors(&CurrBlock)) { in eraseTranslateCacheEntry()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DGVN.h138 void eraseTranslateCacheEntry(uint32_t Num, const BasicBlock &CurrBlock);