| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A 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()
|
| H A D | UninitializedValues.cpp | 133 return vals[block->getBlockID()]; in getValueVector() 174 llvm::errs() << block->getBlockID() << " :"; in printVector() 560 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse() 611 unsigned &SV = SuccsVisited[Pred->getBlockID()]; in getUninitUse() 632 unsigned BlockID = Block->getBlockID(); in getUninitUse() 642 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse() 844 wasAnalyzed[block->getBlockID()] = true; in runOnBlock() 853 if (wasAnalyzed[pred->getBlockID()]) { in runOnBlock() 944 wasAnalyzed[cfg.getEntry().getBlockID()] = true; in runUninitializedVariablesAnalysis() 948 PBH.currentBlock = block->getBlockID(); in runUninitializedVariablesAnalysis() [all …]
|
| H A D | ProgramPoint.cpp | 63 << castAs<BlockEntrance>().getBlock()->getBlockID(); in printJson() 69 << ", \"block_id\": " << FEP->getBlock()->getBlockID() in printJson() 137 Out << "Edge\", \"src_id\": " << E.getSrc()->getBlockID() in printJson() 138 << ", \"dst_id\": " << E.getDst()->getBlockID() << ", \"terminator\": "; in printJson()
|
| H A D | ReachableCode.cpp | 326 if (!Reachable[Start->getBlockID()]) { in scanFromBlock() 328 Reachable[Start->getBlockID()] = true; in scanFromBlock() 369 unsigned blockID = B->getBlockID(); in scanFromBlock() 425 unsigned blockID = block->getBlockID(); in enqueue() 438 unsigned blockID = PredBlock->getBlockID(); in isDeadCodeRoot() 501 if (Reachable[Block->getBlockID()]) in scanBackwards() 541 if (Reachable[Block->getBlockID()]) in scanBackwards() 712 if (reachable[block->getBlockID()]) in FindUnreachableCode()
|
| H A D | Consumed.cpp | 1008 unsigned int CurrBlockOrder = VisitOrder[CurrBlock->getBlockID()]; in allBackEdgesVisited() 1011 if (*PI && CurrBlockOrder < VisitOrder[(*PI)->getBlockID()] ) in allBackEdgesVisited() 1022 auto &Entry = StateMapsArray[Block->getBlockID()]; in addInfo() 1036 auto &Entry = StateMapsArray[Block->getBlockID()]; in addInfo() 1047 assert(StateMapsArray[Block->getBlockID()] && "Block has no block info"); in borrowInfo() 1049 return StateMapsArray[Block->getBlockID()].get(); in borrowInfo() 1053 StateMapsArray[Block->getBlockID()] = nullptr; in discardInfo() 1060 auto &Entry = StateMapsArray[Block->getBlockID()]; in getInfo() 1069 return VisitOrder[From->getBlockID()] > VisitOrder[To->getBlockID()]; in isBackEdge() 1080 unsigned int BlockVisitOrder = VisitOrder[Block->getBlockID()]; in isBackEdgeTarget() [all …]
|
| H A D | LiveVariables.cpp | 561 if (!everAnalyzedBlock[block->getBlockID()]) in computeLiveness() 562 everAnalyzedBlock[block->getBlockID()] = true; in computeLiveness() 590 return A->getBlockID() < B->getBlockID(); in dumpBlockLiveness() 597 llvm::errs() << "\n[ B" << (*it)->getBlockID() in dumpBlockLiveness() 632 llvm::errs() << "\n[ B" << B->getBlockID() in dumpExprLiveness()
|
| H A D | ThreadSafety.cpp | 733 unsigned CurrBlockID = CurrBlock->getBlockID(); in traverseCFG() 749 unsigned PrevBlockID = (*PI)->getBlockID(); in traverseCFG() 796 Context LoopBegin = BlockInfo[FirstLoopBlock->getBlockID()].EntryContext; in traverseCFG() 803 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG() 813 CFGBlockInfo *CurrBlockInfo = &BlockInfo[CurrBlock->getBlockID()]; in findBlockLocations() 845 BlockInfo[(*CurrBlock->pred_begin())->getBlockID()].ExitLoc; in findBlockLocations() 850 BlockInfo[(*CurrBlock->succ_begin())->getBlockID()].EntryLoc; in findBlockLocations() 1469 const CFGBlockInfo *PredBlockInfo = &BlockInfo[PredBlock->getBlockID()]; in getEdgeLockset() 2270 BlockInfo[CFGraph->getEntry().getBlockID()].Reachable = true; in runAnalysis() 2287 FactSet &InitialLockset = BlockInfo[FirstBlock->getBlockID()].EntrySet; in runAnalysis() [all …]
|
| H A D | ThreadSafetyCommon.cpp | 833 unsigned ArgIndex = BBInfo[Blk->getBlockID()].ProcessedPredecessors; in mergePhiNodesBackEdge() 860 BlockMap[B->getBlockID()] = BB; in enterCFG() 886 CurrentBlockInfo = &BBInfo[B->getBlockID()]; in enterCFGBlock() 896 CurrentBB->addPredecessor(BlockMap[Pred->getBlockID()]); in handlePredecessor() 897 BlockInfo *PredInfo = &BBInfo[Pred->getBlockID()]; in handlePredecessor() 968 ++BBInfo[Succ->getBlockID()].ProcessedPredecessors; in handleSuccessorBackEdge()
|
| H A D | CalledOnceCheck.cpp | 1300 return States[BB->getBlockID()]; in getState() 1304 return States[BB->getBlockID()]; in getState()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A 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() 182 visited.insert(CB->getBlockID()); in FindUnreachableEntryPoints() 189 if (!reachable.count((*I)->getBlockID())) { in FindUnreachableEntryPoints() 192 reachable.insert(CB->getBlockID()); in FindUnreachableEntryPoints() 193 if (!visited.count((*I)->getBlockID())) in FindUnreachableEntryPoints()
|
| H A D | TestAfterDivZeroChecker.cpp | 152 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap() 162 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap()
|
| H A D | DeadStoresChecker.cpp | 78 return reachable[block->getBlockID()]; in isReachable() 92 llvm::BitVector::reference isReachable = reachable[block->getBlockID()]; in computeReachableBlocks()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
| H A D | TypeErasedDataflowAnalysis.cpp | 54 const auto &State = BlockToState[BlockIt->getSecond()->getBlockID()]; in getEnvironment() 69 return Succ && Succ->getBlockID() == Block.getBlockID(); in blockIndexInPredecessor() 259 AC.BlockStates[Pred->getBlockID()]; in computeBlockInputState() 414 BlockStates[Entry.getBlockID()] = {Analysis.typeErasedInitialElement(), in runTypeErasedDataflowAnalysis() 437 << "Processing Block " << Block->getBlockID() << "\n"); in runTypeErasedDataflowAnalysis() 444 BlockStates[Block->getBlockID()]; in runTypeErasedDataflowAnalysis() 476 BlockStates[Block->getBlockID()] = std::move(NewBlockState); in runTypeErasedDataflowAnalysis() 490 if (!BlockStates[Block->getBlockID()]) in runTypeErasedDataflowAnalysis()
|
| H A D | Transfer.cpp | 800 auto ExitBlock = CFCtx->getCFG().getExit().getBlockID(); in transferInlineCall()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
| H A D | Dominators.h | 106 llvm::errs() << "(" << (*I)->getBlockID() in dump() 108 << IDom->getBlock()->getBlockID() in dump() 128 llvm::errs() << "(" << (*I)->getBlockID() in dump() 129 << "," << (*I)->getBlockID() << ")\n"; in dump() 264 llvm::errs() << "(" << BB->getBlockID() 266 << isControlDependency->getBlockID()
|
| H A D | PostOrderCFGView.h | 58 if (VisitedBlockIDs.test(Block->getBlockID())) in insert() 60 VisitedBlockIDs.set(Block->getBlockID()); in insert() 68 return VisitedBlockIDs.test(Block->getBlockID()); in alreadySet()
|
| H A D | Consumed.h | 217 VisitOrder[BI->getBlockID()] = VisitOrderCounter++; in ConsumedBlockInfo()
|
| H A D | ThreadSafetyCommon.h | 403 return BlockMap[B->getBlockID()]; in lookupBlock()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/FlowSensitive/ |
| H A D | DataflowWorklist.h | 36 if (Block && !EnqueuedBlocks[Block->getBlockID()]) { in enqueueBlock() 37 EnqueuedBlocks[Block->getBlockID()] = true; in enqueueBlock() 47 EnqueuedBlocks[B->getBlockID()] = false; in dequeue()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 159 BE->getBlock()->getBlockID(), in enqueue() 229 BE->getBlock()->getBlockID(), in enqueue()
|
| H A D | CoreEngine.cpp | 100 FunctionSummaries->markVisitedBasicBlock(Entry->getBlockID(), in ExecuteWorkList() 243 FunctionSummaries->markVisitedBasicBlock(Blk->getBlockID(), in HandleBlockEdge() 310 unsigned BlockId = L.getBlock()->getBlockID(); in HandleBlockEntrance()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CheckerContext.h | 132 unsigned getBlockID() const { in getBlockID() function 133 return NB.getContext().getBlock()->getBlockID(); in getBlockID()
|
| H A D | CoreEngine.h | 234 Block->getBlockID()); in blockCount()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | AnalysisBasedWarnings.cpp | 229 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall() 243 if (ExitID == SuccBlock->getBlockID()) in checkForRecursiveFunctionCall() 293 Queued[ThrowBlock.getBlockID()] = true; in throwEscapes() 300 if (!Succ.isReachable() || Queued[Succ->getBlockID()]) in throwEscapes() 303 if (Succ->getBlockID() == Body->getExit().getBlockID()) in throwEscapes() 316 Queued[Succ->getBlockID()] = true; in throwEscapes() 330 if (!Reachable[B->getBlockID()]) in visitReachableThrows() 419 if (!live[B->getBlockID()]) { in CheckFallThrough() 448 if (!live[B.getBlockID()]) in CheckFallThrough()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | CFG.h | 1074 unsigned getBlockID() const { return BlockID; } in getBlockID() function 1089 OS << "BB#" << getBlockID(); in printAsOperand()
|