Home
last modified time | relevance | path

Searched refs:getBlockID (Results 1 – 17 of 17) sorted by relevance

/freebsd-9-stable/contrib/llvm/tools/clang/lib/Analysis/
DCFGReachabilityAnalysis.cpp28 const unsigned DstBlockID = Dst->getBlockID(); in isReachable()
37 return reachable[DstBlockID][Src->getBlockID()]; in isReachable()
46 ReachableSet &DstReachability = reachable[Dst->getBlockID()]; in mapReachability()
57 if (visited[block->getBlockID()]) in mapReachability()
59 visited[block->getBlockID()] = true; in mapReachability()
64 DstReachability[block->getBlockID()] = true; in mapReachability()
DUninitializedValues.cpp118 return vals[block->getBlockID()]; in getValueVector()
159 llvm::errs() << block->getBlockID() << " :"; in printVector()
217 enqueuedBlocks[(*PO_I)->getBlockID()] = false; in DataflowWorklist()
231 if (!Successor || enqueuedBlocks[Successor->getBlockID()]) in enqueueSuccessors()
234 enqueuedBlocks[Successor->getBlockID()] = true; in enqueueSuccessors()
256 assert(enqueuedBlocks[B->getBlockID()] == true); in dequeue()
257 enqueuedBlocks[B->getBlockID()] = false; in dequeue()
527 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse()
553 unsigned &SV = SuccsVisited[Pred->getBlockID()]; in getUninitUse()
575 unsigned BlockID = Block->getBlockID(); in getUninitUse()
[all …]
DReachableCode.cpp58 unsigned blockID = block->getBlockID(); in enqueue()
71 unsigned blockID = PredBlock->getBlockID(); in isDeadCodeRoot()
133 if (Reachable[Block->getBlockID()]) in scanBackwards()
174 if (Reachable[block->getBlockID()]) in scanBackwards()
269 if (!Reachable[Start->getBlockID()]) { in ScanReachableFromBlock()
271 Reachable[Start->getBlockID()] = true; in ScanReachableFromBlock()
284 unsigned blockID = B->getBlockID(); in ScanReachableFromBlock()
323 if (reachable[block->getBlockID()]) in FindUnreachableCode()
DConsumed.cpp1076 unsigned int CurrBlockOrder = VisitOrder[CurrBlock->getBlockID()]; in allBackEdgesVisited()
1079 if (*PI && CurrBlockOrder < VisitOrder[(*PI)->getBlockID()] ) in allBackEdgesVisited()
1091 ConsumedStateMap *Entry = StateMapsArray[Block->getBlockID()]; in addInfo()
1097 StateMapsArray[Block->getBlockID()] = new ConsumedStateMap(*StateMap); in addInfo()
1100 StateMapsArray[Block->getBlockID()] = StateMap; in addInfo()
1110 ConsumedStateMap *Entry = StateMapsArray[Block->getBlockID()]; in addInfo()
1117 StateMapsArray[Block->getBlockID()] = StateMap; in addInfo()
1123 assert(StateMapsArray[Block->getBlockID()] && "Block has no block info"); in borrowInfo()
1125 return StateMapsArray[Block->getBlockID()]; in borrowInfo()
1129 unsigned int BlockID = Block->getBlockID(); in discardInfo()
[all …]
DLiveVariables.cpp51 if (block && !enqueuedBlocks[block->getBlockID()]) { in enqueueBlock()
52 enqueuedBlocks[block->getBlockID()] = true; in enqueueBlock()
91 enqueuedBlocks[b->getBlockID()] = false; in dequeue()
567 if (!everAnalyzedBlock[block->getBlockID()]) in computeLiveness()
568 everAnalyzedBlock[block->getBlockID()] = true; in computeLiveness()
585 return A->getBlockID() < B->getBlockID(); in compare_entries()
611 llvm::errs() << "\n[ B" << (*it)->getBlockID() in dumpBlockLiveness()
DThreadSafety.cpp1320 int CurrBlockID = CurrBlock->getBlockID(); in traverseCFG()
1336 int PrevBlockID = (*PI)->getBlockID(); in traverseCFG()
1384 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG()
1391 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()
1403 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations()
1436 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations()
1698 const CFGBlockInfo *PredBlockInfo = &BlockInfo[PredBlock->getBlockID()]; in getEdgeLockset()
2366 BlockInfo[CFGraph->getEntry().getBlockID()].Reachable = true; in runAnalysis()
2383 FactSet &InitialLockset = BlockInfo[FirstBlock->getBlockID()].EntrySet; in runAnalysis()
2440 int CurrBlockID = CurrBlock->getBlockID(); in runAnalysis()
[all …]
DCFG.cpp3520 std::pair<unsigned, unsigned> P((*I)->getBlockID(), j); in StmtPrinterHelper()
3824 Helper.setBlockID(B.getBlockID()); in print_block()
3830 OS << "\n [B" << B.getBlockID(); in print_block()
3934 OS << " B" << (*I)->getBlockID(); in print_block()
3964 OS << " B" << (*I)->getBlockID(); in print_block()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp84 reachable.insert(CB->getBlockID()); in checkEndAnalysis()
103 if (reachable.count(CB->getBlockID())) in checkEndAnalysis()
111 if (!visited.count(CB->getBlockID())) in checkEndAnalysis()
115 if (reachable.count(CB->getBlockID())) in checkEndAnalysis()
177 visited.insert(CB->getBlockID()); in FindUnreachableEntryPoints()
181 if (!reachable.count((*I)->getBlockID())) { in FindUnreachableEntryPoints()
184 reachable.insert(CB->getBlockID()); in FindUnreachableEntryPoints()
185 if (!visited.count((*I)->getBlockID())) in FindUnreachableEntryPoints()
DDeadStoresChecker.cpp77 return reachable[block->getBlockID()]; in isReachable()
91 llvm::BitVector::reference isReachable = reachable[block->getBlockID()]; in computeReachableBlocks()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
DDominators.h92 llvm::errs() << "(" << (*I)->getBlockID() in dump()
94 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID() in dump()
96 else llvm::errs() << "(" << (*I)->getBlockID() in dump()
97 << "," << (*I)->getBlockID() << ")\n"; in dump()
160 OS << "BB#" << BB->getBlockID(); in WriteAsOperand()
DPostOrderCFGView.h57 if (VisitedBlockIDs.test(Block->getBlockID())) in insert()
59 VisitedBlockIDs.set(Block->getBlockID()); in insert()
67 return VisitedBlockIDs.test(Block->getBlockID()); in alreadySet()
DConsumed.h210 VisitOrder[(*BI)->getBlockID()] = VisitOrderCounter++; in ConsumedBlockInfo()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp179 FunctionSummaries->markVisitedBasicBlock(Entry->getBlockID(), in ExecuteWorkList()
290 FunctionSummaries->markVisitedBasicBlock(Blk->getBlockID(), in HandleBlockEdge()
327 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
DExprEngine.cpp2272 << Loc.castAs<BlockEntrance>().getBlock()->getBlockID(); in getNodeLabel()
2347 Out << "Edge: (B" << E.getSrc()->getBlockID() << ", B" in getNodeLabel()
2348 << E.getDst()->getBlockID() << ')'; in getNodeLabel()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCoreEngine.h199 Block->getBlockID()); in blockCount()
/freebsd-9-stable/contrib/llvm/tools/clang/lib/Sema/
DAnalysisBasedWarnings.cpp118 if (!live[b.getBlockID()]) { in CheckFallThrough()
145 if (!live[B.getBlockID()]) in CheckFallThrough()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/Analysis/
DCFG.h555 unsigned getBlockID() const { return BlockID; } in getBlockID() function