Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DEdgeBundles.cpp59 EC.grow(2 * MF->getNumBlockIDs()); in init()
75 for (unsigned i = 0, e = MF->getNumBlockIDs(); i != e; ++i) { in init()
H A DMachineLateInstrsCleanup.cpp120 RegDefs.resize(MF.getNumBlockIDs()); in run()
122 RegKills.resize(MF.getNumBlockIDs()); in run()
168 BitVector VisitedPreds(MI->getMF()->getNumBlockIDs()); in removeRedundantDef()
H A DCFIFixup.cpp147 BlockFlagsVector BlockInfo(MF.getNumBlockIDs()); in computeBlockInfo()
308 if (MF.getNumBlockIDs() < 2) in runOnMachineFunction()
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 DReachingDefAnalysis.cpp309 MBBReachingDefs.init(MF->getNumBlockIDs()); in init()
311 MBBOutRegsInfos.resize(MF->getNumBlockIDs()); in init()
322 for (unsigned MBBNumber = 0, NumBlockIDs = MF->getNumBlockIDs(); in traverse()
H A DMachineTraceMetrics.cpp83 BlockInfo.resize(MF->getNumBlockIDs()); in init()
84 ProcReleaseAtCycles.resize(MF->getNumBlockIDs() * in init()
457 assert(BlockInfo.size() == MF->getNumBlockIDs() && "Outdated BlockInfo size"); in verifyAnalysis()
635 assert(BlockInfo.size() == MTM.MF->getNumBlockIDs() && in verify()
H A DBasicBlockSections.cpp246 SmallVector<MachineBasicBlock *> PreLayoutFallThroughs(MF.getNumBlockIDs()); in sortBasicBlocksAndUpdateBranches()
/freebsd/contrib/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 DCFGReachabilityAnalysis.cpp23 : analyzed(cfg.getNumBlockIDs(), false) {} in CFGReverseBlockReachabilityAnalysis()
H A DPostOrderCFGView.cpp22 Blocks.reserve(cfg->getNumBlockIDs()); in PostOrderCFGView()
H A DReachableCode.cpp742 llvm::BitVector reachable(cfg->getNumBlockIDs()); in FindUnreachableCode()
745 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
753 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
767 if (numReachable == cfg->getNumBlockIDs()) in FindUnreachableCode()
H A DUninitializedValues.cpp178 unsigned n = cfg.getNumBlockIDs(); in computeSetOfDeclarations()
566 SmallVector<unsigned, 32> SuccsVisited(cfg.getNumBlockIDs(), 0); in getUninitUse()
941 llvm::BitVector previouslyVisited(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
943 llvm::BitVector wasAnalyzed(cfg.getNumBlockIDs(), false); in runUninitializedVariablesAnalysis()
945 PruneBlocksHandler PBH(cfg.getNumBlockIDs()); in runUninitializedVariablesAnalysis()
/freebsd/contrib/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()
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h895 unsigned getNumBlockIDs() const { return (unsigned)MBBNumbering.size(); }
1501 return F->getNumBlockIDs();
1527 return F->getNumBlockIDs();
1546 return F->getNumBlockIDs();
1559 return F->getNumBlockIDs();
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DPostOrderCFGView.h46 CFGBlockSet(const CFG *G) : VisitedBlockIDs(G->getNumBlockIDs(), false) {} in CFGBlockSet()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNPreRALongBranchReg.cpp88 BlockInfo.resize(MF.getNumBlockIDs()); in generateBlockInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64CompressJumpTables.cpp84 BlockInfo.resize(MF->getNumBlockIDs()); in scanFunction()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DAdornedCFG.cpp76 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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp72 : cfg(cfg), reachable(cfg.getNumBlockIDs(), false) {} in ReachableCode()
83 if (!cfg.getNumBlockIDs()) in computeReachableBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp92 BlockOffsets.resize(MF->getNumBlockIDs()); in measureFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86VZeroUpper.cpp314 BlockStates.resize(MF.getNumBlockIDs()); in runOnMachineFunction()

123