Home
last modified time | relevance | path

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

123

/llvm-project/llvm/unittests/tools/llvm-exegesis/X86/
H A DSnippetRepetitorTest.cpp76 ASSERT_EQ(MF->getNumBlockIDs(), 1u); in TEST_F()
87 ASSERT_EQ(MF->getNumBlockIDs(), 1u); in TEST_F()
97 ASSERT_EQ(MF->getNumBlockIDs(), 3u); in TEST_F()
/llvm-project/llvm/lib/CodeGen/
H A DEdgeBundles.cpp59 EC.grow(2 * MF->getNumBlockIDs()); in runOnMachineFunction()
75 for (unsigned i = 0, e = MF->getNumBlockIDs(); i != e; ++i) { in WriteGraph()
H A DMachineLateInstrsCleanup.cpp99 RegDefs.resize(MF.getNumBlockIDs()); in runOnMachineFunction()
101 RegKills.resize(MF.getNumBlockIDs()); in runOnMachineFunction()
141 BitVector VisitedPreds(MI->getMF()->getNumBlockIDs()); in clearKillsForDef()
H A DLiveRangeCalc.cpp41 unsigned NumBlocks = MF->getNumBlockIDs(); in resetLiveOutMap()
306 unsigned N = MF->getNumBlockIDs(); in findReachingDefs()
440 BitVector DefBlocks(MF.getNumBlockIDs()); in isJointlyDominated()
H A DLoopTraversal.cpp26 MBBInfos.assign(MF.getNumBlockIDs(), MBBInfo()); in traverse()
H A DCFIFixup.cpp189 const unsigned NumBlocks = MF.getNumBlockIDs(); in runOnMachineFunction()
H A DMachineTraceMetrics.cpp83 BlockInfo.resize(MF->getNumBlockIDs()); in releaseMemory()
84 ProcReleaseAtCycles.resize(MF->getNumBlockIDs() * in releaseMemory()
457 assert(BlockInfo.size() == MF->getNumBlockIDs() && "Outdated BlockInfo size");
635 assert(BlockInfo.size() == MTM.MF->getNumBlockIDs() &&
H A DBasicBlockSections.cpp245 SmallVector<MachineBasicBlock *> PreLayoutFallThroughs(MF.getNumBlockIDs()); in sortBasicBlocksAndUpdateBranches()
/llvm-project/clang/lib/Analysis/
H A DIntervalPartition.cpp200 llvm::BitVector Partitioned(Header->getParent()->getNumBlockIDs(), false); in buildInterval()
205 return partitionIntoIntervalsImpl(Cfg.getNumBlockIDs(), &Cfg.getEntry()); in partitionIntoIntervals()
236 auto N = WTO[0]->getParent()->getNumBlockIDs(); in WTOCompare()
H A DUninitializedValues.cpp181 unsigned n = cfg.getNumBlockIDs(); in computeSetOfDeclarations()
573 SmallVector<unsigned, 32> SuccsVisited(cfg.getNumBlockIDs(), 0); in getUninitUse()
938 llvm::BitVector previouslyVisited(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
940 llvm::BitVector wasAnalyzed(cfg.getNumBlockIDs(), false); in runUninitializedVariablesAnalysis()
942 PruneBlocksHandler PBH(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
H A DReachableCode.cpp744 llvm::BitVector reachable(cfg->getNumBlockIDs()); in FindUnreachableCode()
747 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
755 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
769 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
H A DCFGReachabilityAnalysis.cpp24 : analyzed(cfg.getNumBlockIDs(), false) {} in CFGReverseBlockReachabilityAnalysis()
H A DPostOrderCFGView.cpp22 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
/llvm-project/llvm/lib/Target/ARM/
H A DARMBasicBlockInfo.cpp123 << " - blocks: " << MF.getNumBlockIDs() << "\n"); in adjustBBOffsetsAfter()
125 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/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGSort.cpp96 unsigned(MBB->getNumber() + 1) < MF->getNumBlockIDs() in maybeUpdateTerminator()
195 SmallVector<unsigned, 16> NumPredsLeft(MF.getNumBlockIDs(), 0); in sortBlocks()
/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowWorklist.h31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), WorkList(C) {} in DataflowWorklistBase()
/llvm-project/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h46 CFGBlockSet(const CFG *G) : VisitedBlockIDs(G->getNumBlockIDs(), false) {} in CFGBlockSet()
/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRALongBranchReg.cpp75 BlockInfo.resize(MF.getNumBlockIDs()); in generateBlockInfo()
/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp87 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DAdornedCFG.cpp77 llvm::BitVector BlockReachable(Cfg.getNumBlockIDs(), false); in findReachableBlocks()
H A DHTMLLogger.cpp184 BlockConverged.resize(ACFG.getCFG().getNumBlockIDs()); in beginAnalysis()
500 for (unsigned I = 0; I < CFG.getNumBlockIDs(); ++I) { in buildCFGDot()
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp73 : cfg(cfg), reachable(cfg.getNumBlockIDs(), false) {} in ReachableCode()
84 if (!cfg.getNumBlockIDs()) in computeReachableBlocks()
/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp93 BlockOffsets.resize(MF->getNumBlockIDs()); in measureFunction()
/llvm-project/llvm/lib/Target/X86/
H A DX86VZeroUpper.cpp315 BlockStates.resize(MF.getNumBlockIDs()); in runOnMachineFunction()

123