Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopCacheAnalysis.cpp56 static Loop *getInnerMostLoop(const LoopVectorTy &Loops) { in getInnerMostLoop() argument
57 assert(!Loops.empty() && "Expecting a non-empy loop vector"); in getInnerMostLoop()
59 Loop *LastLoop = Loops.back(); in getInnerMostLoop()
63 assert(Loops.size() == 1 && "Expecting a single loop"); in getInnerMostLoop()
67 return (std::is_sorted(Loops.begin(), Loops.end(), in getInnerMostLoop()
455 CacheCost::CacheCost(const LoopVectorTy &Loops, const LoopInfo &LI, in CacheCost() argument
459 : Loops(Loops), TripCounts(), LoopCosts(), in CacheCost()
462 assert(!Loops.empty() && "Expecting a non-empty loop vector."); in CacheCost()
464 for (const Loop *L : Loops) { in CacheCost()
481 LoopVectorTy Loops; in getCacheCost() local
[all …]
DScalarEvolutionNormalization.cpp97 const PostIncLoopSet &Loops, in normalizeForPostIncUse() argument
100 return Loops.count(AR->getLoop()); in normalizeForPostIncUse()
111 const PostIncLoopSet &Loops, in denormalizeForPostIncUse() argument
114 return Loops.count(AR->getLoop()); in denormalizeForPostIncUse()
DDependenceAnalysis.cpp803 SmallBitVector &Loops) const { in collectCommonLoops()
807 Loops.set(Level); in collectCommonLoops()
888 SmallBitVector &Loops, bool IsSrc) { in checkSubscript() argument
905 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSubscript()
907 Loops.set(mapDstLoop(AddRec->getLoop())); in checkSubscript()
908 return checkSubscript(Start, LoopNest, Loops, IsSrc); in checkSubscript()
914 SmallBitVector &Loops) { in checkSrcSubscript() argument
915 return checkSubscript(Src, LoopNest, Loops, true); in checkSrcSubscript()
921 SmallBitVector &Loops) { in checkDstSubscript() argument
922 return checkSubscript(Dst, LoopNest, Loops, false); in checkDstSubscript()
[all …]
DBlockFrequencyInfoImpl.cpp276 Loops.clear(); in clear()
526 for (LoopData &Loop : Loops) in unwrapLoops()
762 auto Loop = BFI.Loops.emplace(Insert, OuterLoop, Headers.begin(), in createIrreducibleLoop()
777 assert((OuterLoop == nullptr) == (Insert == Loops.begin())); in analyzeIrreducible()
778 auto Prev = OuterLoop ? std::prev(Insert) : Loops.end(); in analyzeIrreducible()
790 return make_range(Loops.begin(), Insert); in analyzeIrreducible()
DMustExecute.cpp440 const auto &Loops = MustExec.lookup(&V); in printInfoComment() local
441 const auto NumLoops = Loops.size(); in printInfoComment()
448 for (const Loop *L : Loops) { in printInfoComment()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceLoopAnalyzer.cpp38 CfgVector<CfgUnorderedSet<SizeT>> getLoopBodies() { return Loops; } in getLoopBodies()
118 CfgVector<CfgUnorderedSet<SizeT>> Loops; member in Ice::LoopAnalyzer
249 Loops.push_back(LoopNodes); in processNode()
260 CfgVector<Loop> Loops; in ComputeLoopInfo() local
261 Loops.reserve(LoopBodies.size()); in ComputeLoopInfo()
303 Loops.emplace_back(Header, PreHeader, LoopBody); in ComputeLoopInfo()
305 return Loops; in ComputeLoopInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDependenceAnalysis.h348 SmallBitVector Loops; member
541 SmallBitVector &Loops) const;
547 SmallBitVector &Loops);
553 SmallBitVector &Loops);
593 SmallBitVector &Loops);
639 const SmallBitVector &Loops,
779 const SmallBitVector &Loops,
816 const SmallBitVector &Loops,
866 SmallBitVector &Loops,
934 SmallBitVector &Loops, bool IsSrc);
DScalarEvolutionNormalization.h54 const SCEV *normalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
64 const SCEV *denormalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
DLoopInfoImpl.h366 DenseSet<const LoopT *> *Loops) const { in verifyLoopNest() argument
368 Loops->insert(static_cast<const LoopT *>(this)); in verifyLoopNest()
373 (*I)->verifyLoopNest(Loops); in verifyLoopNest()
683 DenseSet<const LoopT *> Loops; in verify() local
686 (*I)->verifyLoopNest(&Loops); in verify()
694 assert(Loops.count(L) && "orphaned loop"); in verify()
DLoopCacheAnalysis.h185 CacheCost(const LoopVectorTy &Loops, const LoopInfo &LI, ScalarEvolution &SE,
246 LoopVectorTy Loops;
DBlockFrequencyInfoImpl.h422 std::list<LoopData> Loops; variable
1103 Loops.emplace_back(Parent, Header);
1104 Working[Header.Index].Loop = &Loops.back();
1108 Q.emplace_back(L, &Loops.back());
1141 for (auto L = Loops.rbegin(), E = Loops.rend(); L != E; ++L) {
1250 computeIrreducibleMass(nullptr, Loops.begin());
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp206 BB2BBMap Loops; member in __anon63970e0e0111::StructurizeCFG
227 void insertConditions(bool Loops);
391 Loops[Exit] = N->getEntry(); in analyzeLoops()
400 Loops[Succ] = BB; in analyzeLoops()
476 if (Visited.count(Other) && !Loops.count(Other) && in gatherPredicates()
514 Loops.clear(); in collectInfos()
538 void StructurizeCFG::insertConditions(bool Loops) { in insertConditions() argument
539 BranchVector &Conds = Loops ? LoopConds : Conditions; in insertConditions()
540 Value *Default = Loops ? BoolTrue : BoolFalse; in insertConditions()
552 PhiInserter.AddAvailableValue(Loops ? SuccFalse : Parent, Default); in insertConditions()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp707 MachineLoopInfo *Loops; member in __anon687cbe9d0211::EarlyIfConverter
768 void updateLoops(MachineLoopInfo *Loops, in updateLoops() argument
770 if (!Loops) in updateLoops()
775 Loops->removeBlock(B); in updateLoops()
894 updateLoops(Loops, RemovedBlocks); in tryConvertIf()
915 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
945 MachineLoopInfo *Loops; member in __anon687cbe9d0411::EarlyIfPredicator
1032 updateLoops(Loops, RemovedBlocks); in tryConvertIf()
1049 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
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()
DLiveRangeEdit.cpp463 const MachineLoopInfo &Loops, in calculateRegClassAndHint() argument
465 VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI); in calculateRegClassAndHint()
DInlineSpiller.cpp91 MachineLoopInfo &Loops; member in __anon35858e650111::HoistSpillHelper
145 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in HoistSpillHelper()
164 MachineLoopInfo &Loops; member in __anon35858e650111::InlineSpiller
201 Loops(pass.getAnalysis<MachineLoopInfo>()), VRM(vrm), in InlineSpiller()
1131 Edit->calculateRegClassAndHint(MF, Loops, MBFI); in spill()
DSplitKit.cpp153 : 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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h54 const MachineLoopInfo &Loops; variable
64 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dr500_fragprog_emit.c86 struct r500_loop_info * Loops; member
469 s->Loops, s->CurrentLoopDepth, s->LoopsReserved, 1); in emit_flowcontrol()
471 loop = &s->Loops[s->CurrentLoopDepth++]; in emit_flowcontrol()
482 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
497 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
512 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp224 SmallVector<MachineLoop *, 4> Loops(MLI.begin(), MLI.end()); in runOnMachineFunction() local
227 for (int i = 0; i < (int)Loops.size(); ++i) in runOnMachineFunction()
228 for (MachineLoop *Child : Loops[i]->getSubLoops()) in runOnMachineFunction()
229 Loops.push_back(Child); in runOnMachineFunction()
231 for (MachineLoop *CurrLoop : Loops) { in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp770 MachineLoopInfo *Loops; member in __anon877dcfac0211::AArch64ConditionalCompares
839 if (!Loops) in updateLoops()
842 Loops->removeBlock(RemovedMBB); in updateLoops()
939 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DLoopPassManager.h113 inline void appendLoopsToWorklist(RangeT &&Loops,
121 for (Loop *RootL : reverse(Loops)) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DTGParser.cpp347 if (!Loops.empty()) { in addEntry()
348 Loops.back()->Entries.push_back(std::move(E)); in addEntry()
879 for (const auto &L : Loops) { in ParseIDValue()
2882 Loops.push_back(std::make_unique<ForeachLoop>(Loc, IterName, ListValue)); in ParseForeach()
2910 std::unique_ptr<ForeachLoop> Loop = std::move(Loops.back()); in ParseForeach()
2911 Loops.pop_back(); in ParseForeach()
2952 Loops.push_back(std::make_unique<ForeachLoop>(Loc, nullptr, ThenClauseList)); in ParseIf()
2957 std::unique_ptr<ForeachLoop> Loop = std::move(Loops.back()); in ParseIf()
2958 Loops.pop_back(); in ParseIf()
2976 Loops.push_back( in ParseIf()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/IMG/
DIMG_texture_filter_cubic.txt102 Add a section immediately before "Rendering Feedback Loops" that describes
161 Modify the last bullet point in the "Rendering Feedback Loops" subsection to
267 -- Section 4.4.3 "Feedback Loops Between Textures and the Framebuffer"
269 Modify the last two bullet points in "Rendering Feedback Loops" after "while
/third_party/openGLES/extensions/IMG/
DIMG_texture_filter_cubic.txt102 Add a section immediately before "Rendering Feedback Loops" that describes
161 Modify the last bullet point in the "Rendering Feedback Loops" subsection to
267 -- Section 4.4.3 "Feedback Loops Between Textures and the Framebuffer"
269 Modify the last two bullet points in "Rendering Feedback Loops" after "while

123