Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopNestAnalysis.h94 return (LastLoop->getLoopDepth() == (*SecondLastLoopIter)->getLoopDepth()) in getInnermostLoop()
121 assert(Depth >= Loops.front()->getLoopDepth() && in getLoopsAtDepth()
122 Depth <= Loops.back()->getLoopDepth() && "Invalid depth"); in getLoopsAtDepth()
126 if (L->getLoopDepth() == Depth) in getLoopsAtDepth()
128 else if (L->getLoopDepth() > Depth) in getLoopsAtDepth()
157 Loops.back()->getLoopDepth() - Loops.front()->getLoopDepth() + 1; in getNestDepth()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DGenericLoopInfoImpl.h408 OS << "Loop at depth " << getLoopDepth() << " containing: "; in print()
645 << I->second->getLoopDepth() << "\n"; in print()
674 assert(L->getLoopDepth() == OtherL->getLoopDepth() && in compareLoops()
H A DGenericLoopInfo.h82 unsigned getLoopDepth() const { in getLoopDepth() function
609 unsigned getLoopDepth(const BlockT *BB) const {
611 return L ? L->getLoopDepth() : 0;
619 unsigned getLoopDepth(const BlockT *BB) const { getLoopDepth() function
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp771 if (MLI->getLoopDepth(Save) > MLI->getLoopDepth(Restore)) { in updateSaveRestorePoints()
793 if (IPdom && MLI->getLoopDepth(IPdom) < MLI->getLoopDepth(Restore)) in updateSaveRestorePoints()
H A DVLIWMachineScheduler.cpp205 << " at loop depth " << MLI->getLoopDepth(BB) << " \n"); in schedule()
H A DSplitKit.cpp939 unsigned Depth = Loop->getLoopDepth(); in findShallowDominator()
H A DMachineBlockPlacement.cpp2274 SuccLoopDepth = ExitLoop->getLoopDepth(); in findBestLoopExit()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.cpp161 if (L->getLoopDepth() < OuterLoop->getLoopDepth()) in doesContainLoop()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopCacheAnalysis.cpp75 return L1->getLoopDepth() < L2->getLoopDepth(); in getInnerMostLoop()
242 int LoopDepth = L.getLoopDepth(); in hasTemporalReuse()
H A DInlineSizeEstimatorAnalysis.cpp199 static_cast<int32_t>(L->getLoopDepth())); in getFunctionFeatures()
H A DFunctionPropertiesAnalysis.cpp214 std::max(MaxLoopDepth, static_cast<int64_t>(L->getLoopDepth())); in updateAggregateStats()
H A DDependenceAnalysis.cpp813 unsigned SrcLevel = LI->getLoopDepth(SrcBlock); in establishNestingLevels()
814 unsigned DstLevel = LI->getLoopDepth(DstBlock); in establishNestingLevels()
840 return SrcLoop->getLoopDepth(); in mapSrcLoop()
847 unsigned D = DstLoop->getLoopDepth(); in mapDstLoop()
880 unsigned Level = LoopNest->getLoopDepth(); in collectCommonLoops()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600ControlFlowFinalizer.cpp47 unsigned getLoopDepth();
58 unsigned CFStack::getLoopDepth() { in getLoopDepth() function in __anon305148180111::CFStack
68 getLoopDepth() > 1) in requiresWorkAroundForInst()
H A DAMDGPUTargetTransformInfo.cpp212 if (LocalGEPsSeen > 1 || L->getLoopDepth() > 2 || in getUnrollingPreferences()
H A DAMDGPUPromoteAlloca.cpp281 1 + (LoopUserWeight * LI.getLoopDepth(Inst->getParent())); in sortAllocasToPromote()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp766 unsigned LoopDepth = Root.getLoopDepth(); in checkDependencies()
775 unsigned CurLoopDepth = CurLoop->getLoopDepth(); in checkDependencies()
779 unsigned EarlierDepth = EarlierLoop->getLoopDepth(); in checkDependencies()
H A DUnifyLoopExits.cpp222 << LI.getLoopDepth(L->getHeader()) << ")\n"); in runImpl()
H A DBasicBlockUtils.cpp1243 InnermostPredLoop->getLoopDepth() < PredLoop->getLoopDepth())) in UpdateAnalysisInformation()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp100 if (!Innermost || BBL->getLoopDepth() > Innermost->getLoopDepth()) in getInnermostLoopFor()
H A DLoopVersioningLICM.cpp211 if (CurLoop->getLoopDepth() > LoopDepthThreshold) { in legalLoopStructure()
H A DSimpleLoopUnswitch.cpp1588 return ExitLoopMap.lookup(LHS)->getLoopDepth() < in buildClonedLoops()
1589 ExitLoopMap.lookup(RHS)->getLoopDepth(); in buildClonedLoops()
1977 return LI.getLoopDepth(LHS) < LI.getLoopDepth(RHS); in rebuildLoopAfterUnswitch()
H A DLoopFuse.cpp1376 assert(FC0.L->getLoopDepth() == FC1.L->getLoopDepth()); in dependencesAllowFusion()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp3892 OS.indent(Loop->getLoopDepth()*2) in PrintParentLoopComment()
3895 << " Depth=" << Loop->getLoopDepth() << '\n'; in PrintParentLoopComment()
3904 OS.indent(CL->getLoopDepth()*2) in PrintChildLoopComment()
3906 << CL->getHeader()->getNumber() << " Depth " << CL->getLoopDepth() in PrintChildLoopComment()
3929 " Depth="+Twine(Loop->getLoopDepth())); in emitBasicBlockLoopComments()
3940 OS.indent(Loop->getLoopDepth()*2-2); in emitBasicBlockLoopComments()
3945 OS << "Loop Header: Depth=" + Twine(Loop->getLoopDepth()) << '\n'; in emitBasicBlockLoopComments()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86LoadValueInjectionLoadHardening.cpp499 unsigned LoopDepth = MLI.getLoopDepth(MBB); in getGadgetGraph()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp558 << L.getLoopDepth() << ")\n"); in run()

12