Home
last modified time | relevance | path

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

12

/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 getNumBlocks() function
H A DWebAssemblyCFGSort.cpp177 : 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.h74 uint32_t getNumBlocks() const { return StreamLayout.Blocks.size(); } in getNumBlocks() function
144 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.cpp495 if (L.getNumBlocks() != 1) { in canPipelineLoop()
500 << ore::NV("NumBlocks", L.getNumBlocks()); in canPipelineLoop()
H A DMachineBlockPlacement.cpp2364 if (L.getNumBlocks() == 1) { in findBestLoopExit()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorLoopCarriedReuse.cpp241 if (CurLoop->getNumBlocks() != 1) in run()
564 assert((CurLoop->getNumBlocks() == 1) && in doVLCR()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp267 assert(L.getNumBlocks() == LiveLoopBlocks.size() + DeadLoopBlocks.size() && in analyze()
590 L.getNumBlocks()) { in run()
H A DLoopIdiomRecognize.cpp1506 if (ApplyCodeSizeHeuristics && CurLoop->getNumBlocks() > 1) { in avoidLIRForMultiBlockLoop()
1572 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1 || in isValidStrlenIdiom()
2297 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizeAndInsertFFS()
2315 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizeShiftUntilLessThan()
2393 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 1) in recognizePopcount()
2732 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilBitTestIdiom()
3090 if (CurLoop->getNumBlocks() != 1 || CurLoop->getNumBackEdges() != 1) { in detectShiftUntilZeroIdiom()
H A DSimpleLoopUnswitch.cpp1182 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1373 ClonedL.reserveBlocks(OrigL.getNumBlocks()); in cloneLoopNest()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleInfo.h209 size_t getNumBlocks() const { return Blocks.size(); } in getNumBlocks() function
H A DGenericCycleImpl.h186 if (VisitedBBs.size() != getNumBlocks()) { in verifyCycle()
/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()
H A DHashRecognize.cpp565 if (!Latch || !Exit || !IndVar || L.getNumBlocks() != 1) in recognizeCRC()
/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.h373 if (VisitedBBs.size() != getNumBlocks()) { in verifyLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp1467 assert(TheLoop->getNumBlocks() > 1 && "Single block loops are vectorizable"); in canVectorizeWithIfConvert()
1836 unsigned NumBlocks = TheLoop->getNumBlocks(); in canVectorize()
H A DLoopIdiomVectorize.cpp260 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 2) in recognizeByteCompare()
1008 if (CurLoop->getNumBackEdges() != 1 || CurLoop->getNumBlocks() != 4 || in recognizeFindFirstByte()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMLowOverheadLoops.cpp410 !CannotTailPredicate && ML.getNumBlocks() == 1; in IsTailPredicationLegal()
1012 assert(ML.getNumBlocks() == 1 && "Expected single block loop!"); in ValidateLiveOuts()
H A DARMTargetTransformInfo.cpp118 L->getNumBlocks() == 1) in getPreferredAddressingMode()
2517 if (L->getNumBlocks() > 1) { in preferPredicateOverEpilogue()
2591 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
2601 if (ST->hasBranchPredictor() && L->getNumBlocks() > 4) in getUnrollingPreferences()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp986 if (ExaminedLoop->getNumBlocks() == 0 || Visited[ExaminedLoop]) in loopendPatternMatch()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp2556 << "Blocks: " << L->getNumBlocks() << "\n" in getUnrollingPreferences()
2566 if (L->getNumBlocks() > 4) in getUnrollingPreferences()

12