Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblySortRegion.h37 virtual unsigned getNumBlocks() const = 0;
52 unsigned getNumBlocks() const override { return Unit->getNumBlocks(); } in getNumBlocks() function
H A DWebAssemblyExceptionInfo.h85 unsigned getNumBlocks() const { return Blocks.size(); } in getNumBlocks() function
H A DWebAssemblyCFGSort.cpp179 : TheRegion(R), NumBlocksLeft(R->getNumBlocks()) {} in Entry()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopIterator.h116 L(Container), PostNumbers(NextPowerOf2(Container->getNumBlocks())) { in LoopBlocksDFS()
117 PostBlocks.reserve(Container->getNumBlocks()); in LoopBlocksDFS()
126 bool isComplete() const { return PostBlocks.size() == L->getNumBlocks(); } in isComplete()
218 assert(DFS.L->getNumBlocks() && "po_iterator cannot handle an empty graph"); in begin()
H A DLoopInfoImpl.h341 if (VisitedBBs.size() != getNumBlocks()) { in verifyLoop()
H A DLoopInfo.h201 unsigned getNumBlocks() const { in getNumBlocks() function
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h73 uint32_t getNumBlocks() const { return StreamLayout.Blocks.size(); } in getNumBlocks() function
143 uint32_t getNumBlocks() const { return ReadInterface.getNumBlocks(); } in getNumBlocks() function
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp136 unsigned getNumBlocks();
259 unsigned MemCmpExpansion::getNumBlocks() { in getNumBlocks() function in __anone23f4d030111::MemCmpExpansion
267 for (unsigned i = 0; i < getNumBlocks(); i++) { in createLoadCmpBlocks()
574 for (unsigned I = 0; I < getNumBlocks(); ++I) { in getMemCmpExpansionZeroCase()
626 if (getNumBlocks() != 1) { in getMemCmpExpansion()
653 return getNumBlocks() == 1 ? getMemCmpEqZeroOneBlock() in getMemCmpExpansion()
656 if (getNumBlocks() == 1) in getMemCmpExpansion()
659 for (unsigned I = 0; I < getNumBlocks(); ++I) { in getMemCmpExpansion()
H A DMachinePipeliner.cpp320 if (L.getNumBlocks() != 1) { in canPipelineLoop()
325 << ore::NV("NumBlocks", L.getNumBlocks()); in canPipelineLoop()
H A DMachineBlockPlacement.cpp2262 if (L.getNumBlocks() == 1) { in findBestLoopExit()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp397 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
407 if (L->getNumBlocks() > 4) in getUnrollingPreferences()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp253 if (CurLoop->getNumBlocks() != 1) in run()
577 assert((CurLoop->getNumBlocks() == 1) && in doVLCR()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp254 assert(L.getNumBlocks() == LiveLoopBlocks.size() + DeadLoopBlocks.size() && in analyze()
570 L.getNumBlocks()) { in run()
H A DLoopIdiomRecognize.cpp1551 if (ApplyCodeSizeHeuristics && CurLoop->getNumBlocks() > 1) { in avoidLIRForMultiBlockLoop()
1849 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizeAndInsertFFS()
1952 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizePopcount()
2291 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilBitTestIdiom()
2630 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilZeroIdiom()
H A DLoopRerollPass.cpp1658 << Header->getName() << " (" << L->getNumBlocks() in runOnLoop()
1662 if (L->getNumBlocks() > 1) in runOnLoop()
H A DSimpleLoopUnswitch.cpp1103 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1282 ClonedL.reserveBlocks(OrigL.getNumBlocks()); in cloneLoopNest()
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DGenericCycleInfo.h180 size_t getNumBlocks() const { return Blocks.size(); } in getNumBlocks() function
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp1138 assert(TheLoop->getNumBlocks() > 1 && "Single block loops are vectorizable"); in canVectorizeWithIfConvert()
1307 unsigned NumBlocks = TheLoop->getNumBlocks(); in canVectorize()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopInfo.cpp710 if (Unloop.getNumBlocks()) { in updateBlockParents()
735 assert(NIters < Unloop.getNumBlocks() && "runaway iterative algorithm"); in updateBlockParents()
/llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp174 while (Last < getNumBlocks() - 1) { in readLongestContiguousChunk()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp114 L->getNumBlocks() == 1) in getPreferredAddressingMode()
2216 if (L->getNumBlocks() > 1) { in preferPredicateOverEpilogue()
2278 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
2288 if (ST->hasBranchPredictor() && L->getNumBlocks() > 4) in getUnrollingPreferences()
H A DARMLowOverheadLoops.cpp409 !CannotTailPredicate && ML.getNumBlocks() == 1; in IsTailPredicationLegal()
1029 assert(ML.getNumBlocks() == 1 && "Expected single block loop!"); in ValidateLiveOuts()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/
H A DMappedBlockStreamTest.cpp81 EXPECT_EQ(F.layout().Blocks.size(), S->getNumBlocks()); in TEST()
/llvm-project-15.0.7/polly/lib/Support/
H A DScopHelper.cpp451 unsigned NumBlocks = L->getNumBlocks(); in getNumBlocksInLoop()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp995 if (ExaminedLoop->getNumBlocks() == 0 || Visited[ExaminedLoop]) in loopendPatternMatch()