Home
last modified time | relevance | path

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

12345

/external/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()
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp163 SmallVector<Entry, 4> Loops; in SortBlocks() local
170 Loops.push_back(Entry(L)); in SortBlocks()
174 for (Entry &E : Loops) in SortBlocks()
178 while (!Loops.empty() && Loops.back().NumBlocksLeft == 0) in SortBlocks()
179 Loops.pop_back(); in SortBlocks()
199 if (!Loops.empty() && in SortBlocks()
200 !MDT.dominates(Loops.back().Loop->getHeader(), Next)) { in SortBlocks()
201 Loops.back().Deferred.push_back(Next); in SortBlocks()
229 if (!Loops.empty() && in SortBlocks()
230 !MDT.dominates(Loops.back().Loop->getHeader(), Next)) { in SortBlocks()
[all …]
/external/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp69 PostIncLoopSet &Loops; member in __anon827b488c0111::PostIncTransform
78 Kind(kind), Loops(loops), SE(se), DT(dt) {} in PostIncTransform()
138 Loops.insert(L); in TransformImpl()
164 if (Loops.count(L)) { in TransformImpl()
179 if (Loops.count(L)) { in TransformImpl()
249 PostIncLoopSet &Loops, in TransformForPostIncUse() argument
252 PostIncTransform Transform(Kind, Loops, SE, DT); in TransformForPostIncUse()
DDependenceAnalysis.cpp768 SmallBitVector &Loops) const { in collectCommonLoops()
772 Loops.set(Level); in collectCommonLoops()
854 SmallBitVector &Loops) { in checkSrcSubscript() argument
870 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript()
871 return checkSrcSubscript(Start, LoopNest, Loops); in checkSrcSubscript()
879 SmallBitVector &Loops) { in checkDstSubscript() argument
895 Loops.set(mapDstLoop(AddRec->getLoop())); in checkDstSubscript()
896 return checkDstSubscript(Start, LoopNest, Loops); in checkDstSubscript()
906 SmallBitVector &Loops) { in classifyPair() argument
913 Loops = SrcLoops; in classifyPair()
[all …]
DBlockFrequencyInfoImpl.cpp254 Loops.clear(); in clear()
501 for (LoopData &Loop : Loops) in unwrapLoops()
718 auto Loop = BFI.Loops.emplace(Insert, OuterLoop, Headers.begin(), in createIrreducibleLoop()
733 assert((OuterLoop == nullptr) == (Insert == Loops.begin())); in analyzeIrreducible()
734 auto Prev = OuterLoop ? std::prev(Insert) : Loops.end(); in analyzeIrreducible()
746 return make_range(Loops.begin(), Insert); in analyzeIrreducible()
/external/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()
/external/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;
/external/llvm/include/llvm/Analysis/
DDependenceAnalysis.h355 SmallBitVector Loops; member
548 SmallBitVector &Loops) const;
554 SmallBitVector &Loops);
560 SmallBitVector &Loops);
589 SmallBitVector &Loops);
635 const SmallBitVector &Loops,
775 const SmallBitVector &Loops,
812 const SmallBitVector &Loops,
862 SmallBitVector &Loops,
DLoopPassManager.h95 SmallVector<Loop *, 2> Loops; in run() local
100 Loops.push_back(L); in run()
105 for (auto *L : reverse(Loops)) { in run()
DLoopInfoImpl.h309 DenseSet<const LoopT*> *Loops) const { in verifyLoopNest() argument
310 Loops->insert(static_cast<const LoopT *>(this)); in verifyLoopNest()
315 (*I)->verifyLoopNest(Loops); in verifyLoopNest()
521 DenseSet<const LoopT*> Loops; in verify() local
524 (*I)->verifyLoopNest(&Loops); in verify()
532 assert(Loops.count(L) && "orphaned loop"); in verify()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp188 BB2BBMap Loops; member in __anonee9fc39e0111::StructurizeCFG
206 void insertConditions(bool Loops);
364 Loops[Exit] = N->getEntry(); in analyzeLoops()
373 Loops[Succ] = BB; in analyzeLoops()
457 if (Visited.count(Other) && !Loops.count(Other) && in gatherPredicates()
498 Loops.clear(); in collectInfos()
523 void StructurizeCFG::insertConditions(bool Loops) { in insertConditions() argument
524 BranchVector &Conds = Loops ? LoopConds : Conditions; in insertConditions()
525 Value *Default = Loops ? BoolTrue : BoolFalse; in insertConditions()
537 PhiInserter.AddAvailableValue(Loops ? SuccFalse : Parent, Default); in insertConditions()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp206 BB2BBMap Loops; member in __anoncc059e000111::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 …]
/external/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h56 const MachineLoopInfo &Loops; variable
66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} in MF()
/external/angle/extensions/
DANGLE_read_only_depth_stencil_feedback_loops.txt57 Added to the list of conditions in 8.14.2.1 (Rendering Feedback Loops):
67 Removed from the end of section in 9.3.1 (Rendering Feedback Loops):
72 Added from the end of section in 9.3.1 (Rendering Feedback Loops):
/external/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp707 MachineLoopInfo *Loops; member in __anon01b33acf0211::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 __anon01b33acf0411::EarlyIfPredicator
1032 updateLoops(Loops, RemovedBlocks); in tryConvertIf()
1049 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c440 s->Loops, s->LoopCount, s->LoopReserved, 1); in transform_loop()
442 loop = &s->Loops[s->LoopCount++]; in transform_loop()
528 if(!s->Loops[i].EndLoop){ in rc_emulate_loops()
531 iterations = loop_max_possible_iterations(s->C, &s->Loops[i]); in rc_emulate_loops()
532 unroll_loop(s->C, &s->Loops[i], iterations); in rc_emulate_loops()
Dr500_fragprog_emit.c84 struct r500_loop_info * Loops; member
467 s->Loops, s->CurrentLoopDepth, s->LoopsReserved, 1); in emit_flowcontrol()
469 loop = &s->Loops[s->CurrentLoopDepth++]; in emit_flowcontrol()
480 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
495 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
510 loop = &s->Loops[s->CurrentLoopDepth - 1]; in emit_flowcontrol()
/external/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()

12345