/external/clang/lib/Analysis/ |
D | CFGReachabilityAnalysis.cpp | 28 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()
|
D | UninitializedValues.cpp | 119 return vals[block->getBlockID()]; in getValueVector() 160 llvm::errs() << block->getBlockID() << " :"; in printVector() 218 enqueuedBlocks[(*PO_I)->getBlockID()] = false; in DataflowWorklist() 232 if (!Successor || enqueuedBlocks[Successor->getBlockID()]) in enqueueSuccessors() 235 enqueuedBlocks[Successor->getBlockID()] = true; in enqueueSuccessors() 257 assert(enqueuedBlocks[B->getBlockID()] == true); in dequeue() 258 enqueuedBlocks[B->getBlockID()] = false; in dequeue() 585 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse() 614 unsigned &SV = SuccsVisited[Pred->getBlockID()]; in getUninitUse() 636 unsigned BlockID = Block->getBlockID(); in getUninitUse() [all …]
|
D | ReachableCode.cpp | 278 if (!Reachable[Start->getBlockID()]) { in scanFromBlock() 280 Reachable[Start->getBlockID()] = true; in scanFromBlock() 321 unsigned blockID = B->getBlockID(); in scanFromBlock() 376 unsigned blockID = block->getBlockID(); in enqueue() 389 unsigned blockID = PredBlock->getBlockID(); in isDeadCodeRoot() 453 if (Reachable[Block->getBlockID()]) in scanBackwards() 494 if (Reachable[Block->getBlockID()]) in scanBackwards() 668 if (reachable[block->getBlockID()]) in FindUnreachableCode()
|
D | LiveVariables.cpp | 50 if (block && !enqueuedBlocks[block->getBlockID()]) { in enqueueBlock() 51 enqueuedBlocks[block->getBlockID()] = true; in enqueueBlock() 77 enqueuedBlocks[b->getBlockID()] = false; in dequeue() 547 if (!everAnalyzedBlock[block->getBlockID()]) in computeLiveness() 548 everAnalyzedBlock[block->getBlockID()] = true; in computeLiveness() 576 return A->getBlockID() < B->getBlockID(); in dumpBlockLiveness() 583 llvm::errs() << "\n[ B" << (*it)->getBlockID() in dumpBlockLiveness()
|
D | Consumed.cpp | 1038 unsigned int CurrBlockOrder = VisitOrder[CurrBlock->getBlockID()]; in allBackEdgesVisited() 1041 if (*PI && CurrBlockOrder < VisitOrder[(*PI)->getBlockID()] ) in allBackEdgesVisited() 1053 auto &Entry = StateMapsArray[Block->getBlockID()]; in addInfo() 1068 auto &Entry = StateMapsArray[Block->getBlockID()]; in addInfo() 1079 assert(StateMapsArray[Block->getBlockID()] && "Block has no block info"); in borrowInfo() 1081 return StateMapsArray[Block->getBlockID()].get(); in borrowInfo() 1085 StateMapsArray[Block->getBlockID()] = nullptr; in discardInfo() 1092 auto &Entry = StateMapsArray[Block->getBlockID()]; in getInfo() 1101 return VisitOrder[From->getBlockID()] > VisitOrder[To->getBlockID()]; in isBackEdge() 1112 unsigned int BlockVisitOrder = VisitOrder[Block->getBlockID()]; in isBackEdgeTarget() [all …]
|
D | ThreadSafety.cpp | 694 int CurrBlockID = CurrBlock->getBlockID(); in traverseCFG() 710 int PrevBlockID = (*PI)->getBlockID(); in traverseCFG() 758 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG() 765 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG() 775 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations() 808 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations() 1401 const CFGBlockInfo *PredBlockInfo = &BlockInfo[PredBlock->getBlockID()]; in getEdgeLockset() 2127 BlockInfo[CFGraph->getEntry().getBlockID()].Reachable = true; in runAnalysis() 2144 FactSet &InitialLockset = BlockInfo[FirstBlock->getBlockID()].EntrySet; in runAnalysis() 2196 int CurrBlockID = CurrBlock->getBlockID(); in runAnalysis() [all …]
|
D | ThreadSafetyCommon.cpp | 773 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() 800 BlockMap[B->getBlockID()] = BB; in enterCFG() 826 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock() 836 CurrentBB->addPredecessor(BlockMap[Pred->getBlockID()]); in handlePredecessor() 837 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor() 908 ++BBInfo[Succ->getBlockID()].ProcessedPredecessors; in handleSuccessorBackEdge()
|
D | CFG.cpp | 4015 std::pair<unsigned, unsigned> P((*I)->getBlockID(), j); in StmtPrinterHelper() 4339 Helper.setBlockID(B.getBlockID()); in print_block() 4345 OS << "\n [B" << B.getBlockID(); in print_block() 4459 OS << " B" << B->getBlockID(); in print_block() 4499 OS << " B" << B->getBlockID(); in print_block()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 80 reachable.insert(CB->getBlockID()); in checkEndAnalysis() 99 if (reachable.count(CB->getBlockID())) in checkEndAnalysis() 107 if (!visited.count(CB->getBlockID())) in checkEndAnalysis() 111 if (reachable.count(CB->getBlockID())) in checkEndAnalysis() 173 visited.insert(CB->getBlockID()); in FindUnreachableEntryPoints() 180 if (!reachable.count((*I)->getBlockID())) { in FindUnreachableEntryPoints() 183 reachable.insert(CB->getBlockID()); in FindUnreachableEntryPoints() 184 if (!visited.count((*I)->getBlockID())) in FindUnreachableEntryPoints()
|
D | TestAfterDivZeroChecker.cpp | 155 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 165 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap()
|
D | DeadStoresChecker.cpp | 77 return reachable[block->getBlockID()]; in isReachable() 91 llvm::BitVector::reference isReachable = reachable[block->getBlockID()]; in computeReachableBlocks()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | Dominators.h | 96 llvm::errs() << "(" << (*I)->getBlockID() in dump() 98 << DT->getNode(*I)->getIDom()->getBlock()->getBlockID() in dump() 100 else llvm::errs() << "(" << (*I)->getBlockID() in dump() 101 << "," << (*I)->getBlockID() << ")\n"; in dump()
|
D | PostOrderCFGView.h | 57 if (VisitedBlockIDs.test(Block->getBlockID())) in insert() 59 VisitedBlockIDs.set(Block->getBlockID()); in insert() 67 return VisitedBlockIDs.test(Block->getBlockID()); in alreadySet()
|
D | Consumed.h | 215 VisitOrder[(*BI)->getBlockID()] = VisitOrderCounter++; in ConsumedBlockInfo()
|
D | ThreadSafetyCommon.h | 364 return BlockMap[B->getBlockID()]; in lookupBlock()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | CheckerContext.h | 178 unsigned getBlockID() const { in getBlockID() function 179 return NB.getContext().getBlock()->getBlockID(); in getBlockID()
|
D | CoreEngine.h | 197 Block->getBlockID()); in blockCount()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 180 FunctionSummaries->markVisitedBasicBlock(Entry->getBlockID(), in ExecuteWorkList() 303 FunctionSummaries->markVisitedBasicBlock(Blk->getBlockID(), in HandleBlockEdge() 340 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
|
D | ExprEngine.cpp | 2564 << Loc.castAs<BlockEntrance>().getBlock()->getBlockID(); in getNodeLabel() 2639 Out << "Edge: (B" << E.getSrc()->getBlockID() << ", B" in getNodeLabel() 2640 << E.getDst()->getBlockID() << ')'; in getNodeLabel()
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 210 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall() 214 States[cfg->getEntry().getBlockID()] = FoundPathWithNoRecursiveCall; in checkForRecursiveFunctionCall() 224 unsigned ID = CurBlock->getBlockID(); in checkForRecursiveFunctionCall() 241 unsigned next_ID = (*I)->getBlockID(); in checkForRecursiveFunctionCall() 313 if (!live[B->getBlockID()]) { in CheckFallThrough() 340 if (!live[B.getBlockID()]) in CheckFallThrough()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 638 unsigned getBlockID() const { return BlockID; } in getBlockID() function 649 OS << "BB#" << getBlockID(); in printAsOperand()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 127 unsigned getBlockID() const { return BlockID; } in getBlockID() function
|
/external/clang/docs/ |
D | InternalsManual.rst | 1362 (accessible via ``CFGBlock::getBlockID()``). Currently the number is based on
|