Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolutionNormalization.cpp98 const PostIncLoopSet &Loops, in normalizeForPostIncUse() argument
101 return Loops.count(AR->getLoop()); in normalizeForPostIncUse()
112 const PostIncLoopSet &Loops, in denormalizeForPostIncUse() argument
115 return Loops.count(AR->getLoop()); in denormalizeForPostIncUse()
H A DDependenceAnalysis.cpp794 Loops.set(Level); in collectCommonLoops()
935 Loops = SrcLoops; in classifyPair()
936 Loops |= DstLoops; in classifyPair()
937 unsigned N = Loops.count(); in classifyPair()
2570 if (Loops[K]) { in banerjeeMIVtest()
2614 if (Loops[K]) { in exploreDirections()
2639 if (Loops[Level]) { in exploreDirections()
3453 Pair[P].Loops); in depends()
3454 Pair[P].GroupLoops = Pair[P].Loops; in depends()
3729 CompleteLoops |= Pair[SI].Loops; in depends()
[all …]
H A DMustExecute.cpp365 const auto &Loops = MustExec.lookup(&V); in printInfoComment() local
366 const auto NumLoops = Loops.size(); in printInfoComment()
373 for (const Loop *L : Loops) { in printInfoComment()
H A DBlockFrequencyInfoImpl.cpp277 Loops.clear(); in clear()
527 for (LoopData &Loop : Loops) in unwrapLoops()
760 auto Loop = BFI.Loops.emplace(Insert, OuterLoop, Headers.begin(), in createIrreducibleLoop()
775 assert((OuterLoop == nullptr) == (Insert == Loops.begin())); in analyzeIrreducible()
776 auto Prev = OuterLoop ? std::prev(Insert) : Loops.end(); in analyzeIrreducible()
788 return make_range(Loops.begin(), Insert); in analyzeIrreducible()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h345 SmallBitVector Loops; member
538 SmallBitVector &Loops) const;
544 SmallBitVector &Loops);
550 SmallBitVector &Loops);
590 SmallBitVector &Loops);
636 const SmallBitVector &Loops,
776 const SmallBitVector &Loops,
813 const SmallBitVector &Loops,
863 SmallBitVector &Loops,
H A DScalarEvolutionNormalization.h55 const SCEV *normalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
65 const SCEV *denormalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
H A DLoopInfoImpl.h382 DenseSet<const LoopT *> *Loops) const { in verifyLoopNest() argument
384 Loops->insert(static_cast<const LoopT *>(this)); in verifyLoopNest()
389 (*I)->verifyLoopNest(Loops); in verifyLoopNest()
706 DenseSet<const LoopT *> Loops; in verify() local
709 (*I)->verifyLoopNest(&Loops); in verify()
717 assert(Loops.count(L) && "orphaned loop"); in verify()
H A DBlockFrequencyInfoImpl.h427 std::list<LoopData> Loops;
1102 Loops.emplace_back(Parent, Header);
1103 Working[Header.Index].Loop = &Loops.back();
1107 Q.emplace_back(L, &Loops.back());
1140 for (auto L = Loops.rbegin(), E = Loops.rend(); L != E; ++L) {
1249 computeIrreducibleMass(nullptr, Loops.begin());
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp200 BB2BBMap Loops; member in __anon8647049c0111::StructurizeCFG
221 void insertConditions(bool Loops);
385 Loops[Exit] = N->getEntry(); in analyzeLoops()
394 Loops[Succ] = BB; in analyzeLoops()
508 Loops.clear(); in collectInfos()
532 void StructurizeCFG::insertConditions(bool Loops) { in insertConditions() argument
533 BranchVector &Conds = Loops ? LoopConds : Conditions; in insertConditions()
534 Value *Default = Loops ? BoolTrue : BoolFalse; in insertConditions()
842 if (!Loops.count(LoopStart)) { in handleLoops()
850 LoopEnd = Loops[Node->getEntry()]; in handleLoops()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h55 const MachineLoopInfo &Loops; variable
65 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF()
H A DMachineTraceMetrics.h93 const MachineLoopInfo *Loops = nullptr; variable
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86CmovConversion.cpp226 SmallVector<MachineLoop *, 4> Loops(MLI.begin(), MLI.end()); in runOnMachineFunction() local
229 for (int i = 0; i < (int)Loops.size(); ++i) in runOnMachineFunction()
230 for (MachineLoop *Child : Loops[i]->getSubLoops()) in runOnMachineFunction()
231 Loops.push_back(Child); in runOnMachineFunction()
233 for (MachineLoop *CurrLoop : Loops) { in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp771 MachineLoopInfo *Loops; member in __anon845f05fa0211::AArch64ConditionalCompares
840 if (!Loops) in updateLoops()
843 Loops->removeBlock(RemovedMBB); in updateLoops()
940 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DEarlyIfConversion.cpp603 MachineLoopInfo *Loops; member in __anon398718eb0211::EarlyIfConverter
665 if (!Loops) in updateLoops()
670 Loops->removeBlock(Removed[i]); in updateLoops()
809 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
H A DMachineTraceMetrics.cpp72 Loops = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
170 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
430 const MachineLoopInfo *Loops; member
434 const MachineLoopInfo *loops) : Blocks(blocks), Loops(loops) {} in LoopBounds()
460 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge()
465 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
482 LoopBounds Bounds(BlockInfo, MTM.Loops); in computeTrace()
H A DLiveRangeEdit.cpp462 const MachineLoopInfo &Loops, in calculateRegClassAndHint() argument
464 VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI); in calculateRegClassAndHint()
H A DInlineSpiller.cpp88 MachineLoopInfo &Loops; member in __anon0312f1b30111::HoistSpillHelper
142 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in HoistSpillHelper()
161 MachineLoopInfo &Loops; member in __anon0312f1b30111::InlineSpiller
198 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in InlineSpiller()
1100 Edit->calculateRegClassAndHint(MF, Loops, MBFI); in spill()
H A DSplitKit.cpp154 : MF(vrm.getMachineFunction()), VRM(vrm), LIS(lis), Loops(mli), in SplitAnalysis()
897 const MachineLoopInfo &Loops = SA.Loops; in findShallowDominator() local
898 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
906 const MachineLoop *Loop = Loops.getLoopFor(MBB); in findShallowDominator()
1547 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI); in finish()
H A DSplitKit.h101 const MachineLoopInfo &Loops; variable
H A DCalcSpillWeights.cpp228 loop = Loops.getLoopFor(mbb); in weightCalcHelper()
H A DRegAllocGreedy.cpp171 MachineLoopInfo *Loops; member in __anonc49c92c20111::RAGreedy
547 for (MachineLoop *L : *Loops) { in reportNumberOfSplillsReloads()
3151 if (Loops->getLoopFor(MBB) == L) in reportNumberOfSplillsReloads()
3220 Loops = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
3228 calculateSpillWeightsAndHints(*LIS, mf, VRM, *Loops, *MBFI); in runOnMachineFunction()
3232 SA.reset(new SplitAnalysis(*VRM, *LIS, *Loops)); in runOnMachineFunction()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Scalar/
H A DLoopPassManager.h114 inline void appendLoopsToWorklist(RangeT &&Loops,
122 for (Loop *RootL : reverse(Loops)) {
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DTGParser.cpp348 if (!Loops.empty()) { in addEntry()
349 Loops.back()->Entries.push_back(std::move(E)); in addEntry()
856 for (const auto &L : Loops) { in ParseIDValue()
2608 Loops.push_back(llvm::make_unique<ForeachLoop>(Loc, IterName, ListValue)); in ParseForeach()
2631 std::unique_ptr<ForeachLoop> Loop = std::move(Loops.back()); in ParseForeach()
2632 Loops.pop_back(); in ParseForeach()
3008 if (!Loops.empty()) in ParseObject()
3012 if (!Loops.empty()) in ParseObject()
H A DTGParser.h95 std::vector<std::unique_ptr<ForeachLoop>> Loops; variable
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp428 SmallVector<Loop *, 4> Loops = LI.getLoopsInPreorder(); in promoteCounterLoadStores() local
432 for (auto *Loop : llvm::reverse(Loops)) { in promoteCounterLoadStores()

12