Home
last modified time | relevance | path

Searched refs:getNumBlockIDs (Results 1 – 25 of 54) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DEdgeBundles.cpp44 EC.grow(2 * MF->getNumBlockIDs()); in runOnMachineFunction()
60 for (unsigned i = 0, e = MF->getNumBlockIDs(); i != e; ++i) { in runOnMachineFunction()
H A DBasicBlockSections.cpp185 V.resize(MF.getNumBlockIDs()); in getBBClusterInfoForFunction()
188 if (bbClusterInfo.MBBNumber >= MF.getNumBlockIDs()) in getBBClusterInfoForFunction()
253 MF.getNumBlockIDs()); in sortBasicBlocksAndUpdateBranches()
H A DLiveRangeCalc.cpp42 unsigned NumBlocks = MF->getNumBlockIDs(); in resetLiveOutMap()
302 unsigned N = MF->getNumBlockIDs(); in findReachingDefs()
436 BitVector DefBlocks(MF.getNumBlockIDs()); in isJointlyDominated()
H A DLoopTraversal.cpp26 MBBInfos.assign(MF.getNumBlockIDs(), MBBInfo()); in traverse()
H A DCFIFixup.cpp104 const unsigned NumBlocks = MF.getNumBlockIDs(); in runOnMachineFunction()
H A DMachineTraceMetrics.cpp74 BlockInfo.resize(MF->getNumBlockIDs()); in runOnMachineFunction()
75 ProcResourceCycles.resize(MF->getNumBlockIDs() * in runOnMachineFunction()
410 assert(BlockInfo.size() == MF->getNumBlockIDs() && "Outdated BlockInfo size"); in verifyAnalysis()
588 assert(BlockInfo.size() == MTM.MF->getNumBlockIDs() && in verify()
H A DSwitchLoweringUtils.cpp323 BitVector Dests(FuncInfo.MF->getNumBlockIDs()); in findBitTestClusters()
372 BitVector Dests(FuncInfo.MF->getNumBlockIDs()); in buildBitTests()
H A DSlotIndexes.cpp75 MBBRanges.resize(mf->getNumBlockIDs()); in runOnMachineFunction()
H A DSpillPlacement.cpp204 BlockFrequencies.resize(mf.getNumBlockIDs()); in runOnMachineFunction()
/llvm-project-15.0.7/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetRepetitorTest.cpp71 ASSERT_EQ(MF->getNumBlockIDs(), 1u); in TEST_F()
80 ASSERT_EQ(MF->getNumBlockIDs(), 3u); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp126 << " - blocks: " << MF.getNumBlockIDs() << "\n"); in adjustBBOffsetsAfter()
128 for(unsigned i = BBNum + 1, e = MF.getNumBlockIDs(); i < e; ++i) { in adjustBBOffsetsAfter()
H A DARMBasicBlockInfo.h125 BBInfo.resize(MF.getNumBlockIDs()); in computeAllBlockSizes()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFGReachabilityAnalysis.cpp24 : analyzed(cfg.getNumBlockIDs(), false) {} in CFGReverseBlockReachabilityAnalysis()
H A DPostOrderCFGView.cpp22 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
H A DUninitializedValues.cpp164 unsigned n = cfg.getNumBlockIDs(); in computeSetOfDeclarations()
558 SmallVector<unsigned, 32> SuccsVisited(cfg.getNumBlockIDs(), 0); in getUninitUse()
944 llvm::BitVector previouslyVisited(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
946 llvm::BitVector wasAnalyzed(cfg.getNumBlockIDs(), false); in runUninitializedVariablesAnalysis()
948 PruneBlocksHandler PBH(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
H A DReachableCode.cpp686 llvm::BitVector reachable(cfg->getNumBlockIDs()); in FindUnreachableCode()
689 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
697 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
711 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGSort.cpp98 unsigned(MBB->getNumber() + 1) < MF->getNumBlockIDs() in maybeUpdateTerminator()
196 SmallVector<unsigned, 16> NumPredsLeft(MF.getNumBlockIDs(), 0); in sortBlocks()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), POV(POV), WorkList(C) {} in DataflowWorklistBase()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h47 CFGBlockSet(const CFG *G) : VisitedBlockIDs(G->getNumBlockIDs(), false) {} in CFGBlockSet()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp89 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp73 : cfg(cfg), reachable(cfg.getNumBlockIDs(), false) {} in ReachableCode()
84 if (!cfg.getNumBlockIDs()) in computeReachableBlocks()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp93 BlockOffsets.resize(MF->getNumBlockIDs()); in measureFunction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86VZeroUpper.cpp316 BlockStates.resize(MF.getNumBlockIDs()); in runOnMachineFunction()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp102 L->getCFG()->getNumBlockIDs()); in ExecuteWorkList()
245 LC->getCFG()->getNumBlockIDs()); in HandleBlockEdge()
/llvm-project-15.0.7/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp286 llvm::BitVector Queued(Body->getNumBlockIDs()); in throwEscapes()
323 llvm::BitVector Reachable(BodyCFG->getNumBlockIDs()); in visitReachableThrows()
405 llvm::BitVector live(cfg->getNumBlockIDs()); in CheckFallThrough()
410 if (!AddEHEdges && count != cfg->getNumBlockIDs()) in CheckFallThrough()
2445 NumCFGBlocks += cfg->getNumBlockIDs(); in IssueWarnings()
2447 cfg->getNumBlockIDs()); in IssueWarnings()

123