Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionNormalization.cpp69 PostIncLoopSet &Loops; member in __anonda23e3d30111::PostIncTransform
78 Kind(kind), Loops(loops), SE(se), DT(dt) {} in PostIncTransform()
128 Loops.insert(L); in TransformImpl()
140 if (Loops.count(L)) { in TransformImpl()
153 if (Loops.count(L)) in TransformImpl()
220 PostIncLoopSet &Loops, in TransformForPostIncUse() argument
223 PostIncTransform Transform(Kind, Loops, SE, DT); in TransformForPostIncUse()
DLoopInfo.cpp668 DenseSet<const Loop*> Loops; in verifyAnalysis() local
671 (*I)->verifyLoopNest(&Loops); in verifyAnalysis()
680 assert(Loops.count(I->second) && "orphaned loop"); in verifyAnalysis()
DLoopDependenceAnalysis.cpp140 DenseSet<const Loop*>* Loops) const { in getLoops()
144 Loops->insert(L); in getLoops()
/external/llvm/lib/Analysis/
DScalarEvolutionNormalization.cpp69 PostIncLoopSet &Loops; member in __anoncc2d35270111::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/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()
DBlockFrequencyInfoImpl.h391 std::list<LoopData> Loops;
1037 Loops.emplace_back(Parent, Header);
1038 Working[Header.Index].Loop = &Loops.back();
1042 Q.emplace_back(L, &Loops.back());
1075 for (auto L = Loops.rbegin(), E = Loops.rend(); L != E; ++L) {
1142 computeIrreducibleMass(nullptr, Loops.begin());
DScalarEvolutionNormalization.h72 PostIncLoopSet &Loops,
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp188 BB2BBMap Loops; member in __anon4219a3590111::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/include/llvm/CodeGen/
DCalcSpillWeights.h45 const MachineLoopInfo &Loops; variable
50 MF(mf), LIS(lis), Loops(loops) {} in VirtRegAuxInfo()
/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/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()
Dradeon_emulate_loops.h46 struct loop_info * Loops; member
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp42 MRI(nullptr), Loops(nullptr) { in INITIALIZE_PASS_DEPENDENCY()
59 Loops = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
158 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
415 const MachineLoopInfo *Loops; member
419 : Blocks(blocks), Loops(loops), Downward(false) {} in LoopBounds()
440 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge()
445 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
461 LoopBounds Bounds(BlockInfo, MTM.Loops); in computeTrace()
DEarlyIfConversion.cpp595 MachineLoopInfo *Loops; member in __anonfc1f82480211::EarlyIfConverter
657 if (!Loops) in updateLoops()
662 Loops->removeBlock(Removed[i]); in updateLoops()
801 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp728 MachineLoopInfo *Loops; member in __anon2dd089570211::AArch64ConditionalCompares
797 if (!Loops) in updateLoops()
800 Loops->removeBlock(RemovedMBB); in updateLoops()
897 Loops = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolutionNormalization.h72 PostIncLoopSet &Loops,
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DLiveRangeEdit.cpp320 const MachineLoopInfo &Loops) { in calculateRegClassAndHint() argument
321 VirtRegAuxInfo VRAI(MF, LIS, Loops); in calculateRegClassAndHint()
DSplitKit.cpp48 Loops(mli), in SplitAnalysis()
657 const MachineLoopInfo &Loops = SA.Loops; in findShallowDominator() local
658 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
666 const MachineLoop *Loop = Loops.getLoopFor(MBB); in findShallowDominator()
1100 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), LIS, SA.Loops); in finish()

123