Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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 getBlocksVector()
84 unsigned getNumBlocks() const { return Blocks.size(); } getNumBlocks() function
H A DWebAssemblyCFGSort.cpp179 : TheRegion(R), NumBlocksLeft(R->getNumBlocks()) {} in Entry()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandMemCmp.cpp145 unsigned getNumBlocks();
300 unsigned MemCmpExpansion::getNumBlocks() { in getNumBlocks() function in __anon455dbdd30111::MemCmpExpansion
308 for (unsigned i = 0; i < getNumBlocks(); i++) { in createLoadCmpBlocks()
622 for (unsigned I = 0; I < getNumBlocks(); ++I) { in getMemCmpExpansionZeroCase()
716 if (getNumBlocks() != 1) { in getMemCmpExpansion()
743 return getNumBlocks() == 1 ? getMemCmpEqZeroOneBlock() in getMemCmpExpansion()
746 if (getNumBlocks() == 1) in getMemCmpExpansion()
749 for (unsigned I = 0; I < getNumBlocks(); ++I) { in getMemCmpExpansion()
H A DMachinePipeliner.cpp373 if (L.getNumBlocks() != 1) { in canPipelineLoop()
378 << ore::NV("NumBlocks", L.getNumBlocks()); in canPipelineLoop()
H A DMachineBlockPlacement.cpp2311 if (L.getNumBlocks() == 1) { in findBestLoopExit()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp253 if (CurLoop->getNumBlocks() != 1) in run()
577 assert((CurLoop->getNumBlocks() == 1) && in doVLCR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp252 assert(L.getNumBlocks() == LiveLoopBlocks.size() + DeadLoopBlocks.size() && in analyze()
570 L.getNumBlocks()) { in run()
H A DLoopIdiomRecognize.cpp1473 if (ApplyCodeSizeHeuristics && CurLoop->getNumBlocks() > 1) { in avoidLIRForMultiBlockLoop()
1988 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizeAndInsertFFS()
2006 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizeShiftUntilLessThan()
2084 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizePopcount()
2427 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilBitTestIdiom()
2784 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilZeroIdiom()
H A DSimpleLoopUnswitch.cpp1177 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1368 ClonedL.reserveBlocks(OrigL.getNumBlocks()); in cloneLoopNest()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleInfo.h182 size_t getNumBlocks() const { return Blocks.size(); } in getNumBlocks() function
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopInfo.cpp726 if (Unloop.getNumBlocks()) { in updateBlockParents()
751 assert(NIters < Unloop.getNumBlocks() && "runaway iterative algorithm"); in updateBlockParents()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp1316 assert(TheLoop->getNumBlocks() > 1 && "Single block loops are vectorizable"); in canVectorizeWithIfConvert()
1482 unsigned NumBlocks = TheLoop->getNumBlocks(); in canVectorize()
H A DLoopIdiomVectorize.cpp211 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 2) in recognizeByteCompare()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp173 while (Last < getNumBlocks() - 1) { in readLongestContiguousChunk()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfo.h187 unsigned getNumBlocks() const { in getNumBlocks() function
H A DGenericLoopInfoImpl.h362 if (VisitedBBs.size() != getNumBlocks()) { in verifyLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp115 L->getNumBlocks() == 1) in getPreferredAddressingMode()
2394 if (L->getNumBlocks() > 1) { in preferPredicateOverEpilogue()
2468 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
2478 if (ST->hasBranchPredictor() && L->getNumBlocks() > 4) in getUnrollingPreferences()
H A DARMLowOverheadLoops.cpp413 !CannotTailPredicate && ML.getNumBlocks() == 1; in IsTailPredicationLegal()
1018 assert(ML.getNumBlocks() == 1 && "Expected single block loop!"); in ValidateLiveOuts()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp1844 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
1854 if (L->getNumBlocks() > 4) in getUnrollingPreferences()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp995 if (ExaminedLoop->getNumBlocks() == 0 || Visited[ExaminedLoop]) in loopendPatternMatch()