Home
last modified time | relevance | path

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

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp146 SmallVector<Entry, 4> Loops; in SortBlocks() local
153 Loops.push_back(Entry(L)); in SortBlocks()
157 for (Entry &E : Loops) in SortBlocks()
161 while (!Loops.empty() && Loops.back().NumBlocksLeft == 0) in SortBlocks()
162 Loops.pop_back(); in SortBlocks()
182 if (!Loops.empty() && in SortBlocks()
183 !MDT.dominates(Loops.back().Loop->getHeader(), Next)) { in SortBlocks()
184 Loops.back().Deferred.push_back(Next); in SortBlocks()
212 if (!Loops.empty() && in SortBlocks()
213 !MDT.dominates(Loops.back().Loop->getHeader(), Next)) { in SortBlocks()
[all …]
/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()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
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()
DDependenceAnalysis.cpp783 SmallBitVector &Loops) const { in collectCommonLoops()
787 Loops.set(Level); in collectCommonLoops()
869 SmallBitVector &Loops) { in checkSrcSubscript() argument
885 Loops.set(mapSrcLoop(AddRec->getLoop())); in checkSrcSubscript()
886 return checkSrcSubscript(Start, LoopNest, Loops); in checkSrcSubscript()
894 SmallBitVector &Loops) { in checkDstSubscript() argument
910 Loops.set(mapDstLoop(AddRec->getLoop())); in checkDstSubscript()
911 return checkDstSubscript(Start, LoopNest, Loops); in checkDstSubscript()
921 SmallBitVector &Loops) { in classifyPair() argument
928 Loops = SrcLoops; in classifyPair()
[all …]
DMustExecute.cpp242 const auto &Loops = MustExec.lookup(&V); in printInfoComment() local
243 const auto NumLoops = Loops.size(); in printInfoComment()
250 for (const Loop *L : Loops) { in printInfoComment()
DBlockFrequencyInfoImpl.cpp277 Loops.clear(); in clear()
527 for (LoopData &Loop : Loops) in unwrapLoops()
758 auto Loop = BFI.Loops.emplace(Insert, OuterLoop, Headers.begin(), in createIrreducibleLoop()
773 assert((OuterLoop == nullptr) == (Insert == Loops.begin())); in analyzeIrreducible()
774 auto Prev = OuterLoop ? std::prev(Insert) : Loops.end(); in analyzeIrreducible()
786 return make_range(Loops.begin(), Insert); in analyzeIrreducible()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
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,
DScalarEvolutionNormalization.h55 const SCEV *normalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
65 const SCEV *denormalizeForPostIncUse(const SCEV *S, const PostIncLoopSet &Loops,
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()
703 DenseSet<const LoopT *> Loops; in verify() local
706 (*I)->verifyLoopNest(&Loops); in verify()
714 assert(Loops.count(L) && "orphaned loop"); in verify()
/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 __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-7.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp199 BB2BBMap Loops; member in __anonb2dc59910111::StructurizeCFG
220 void insertConditions(bool Loops);
384 Loops[Exit] = N->getEntry(); in analyzeLoops()
393 Loops[Succ] = BB; in analyzeLoops()
469 if (Visited.count(Other) && !Loops.count(Other) && in gatherPredicates()
507 Loops.clear(); in collectInfos()
531 void StructurizeCFG::insertConditions(bool Loops) { in insertConditions() argument
532 BranchVector &Conds = Loops ? LoopConds : Conditions; in insertConditions()
533 Value *Default = Loops ? BoolTrue : BoolFalse; in insertConditions()
545 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DCalcSpillWeights.h55 const MachineLoopInfo &Loops; variable
65 : 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86CmovConversion.cpp232 SmallVector<MachineLoop *, 4> Loops(MLI.begin(), MLI.end()); in runOnMachineFunction() local
235 for (int i = 0; i < (int)Loops.size(); ++i) in runOnMachineFunction()
236 for (MachineLoop *Child : Loops[i]->getSubLoops()) in runOnMachineFunction()
237 Loops.push_back(Child); in runOnMachineFunction()
239 for (MachineLoop *CurrLoop : Loops) { in runOnMachineFunction()

12345