Home
last modified time | relevance | path

Searched refs:InnerLoop (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/llvm/lib/Analysis/
DLoopNestAnalysis.cpp36 static bool checkLoopsStructure(const Loop &OuterLoop, const Loop &InnerLoop,
54 bool LoopNest::arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop, in arePerfectlyNested() argument
57 assert(!InnerLoop.isOutermost() && "Inner loop should have a parent"); in arePerfectlyNested()
59 << "' and '" << InnerLoop.getName() in arePerfectlyNested()
68 if (!checkLoopsStructure(OuterLoop, InnerLoop, SE)) { in arePerfectlyNested()
96 BranchInst *InnerGuard = InnerLoop.getLoopGuardBranch(); in arePerfectlyNested()
143 const BasicBlock *InnerLoopPreHeader = InnerLoop.getLoopPreheader(); in arePerfectlyNested()
149 !containsOnlySafeInstructions(*InnerLoop.getExitBlock())) { in arePerfectlyNested()
156 << InnerLoop.getName() << "' are perfectly nested.\n"); in arePerfectlyNested()
191 const Loop *InnerLoop = SubLoops->front(); in getMaxPerfectDepth() local
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp332 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeLegality()
358 Loop *InnerLoop);
361 Loop *InnerLoop; member in __anon92adb1650211::LoopInterchangeLegality
379 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeProfitability()
389 Loop *InnerLoop; member in __anon92adb1650211::LoopInterchangeProfitability
405 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), LI(LI), DT(DT), in LoopInterchangeTransform()
413 void removeChildLoop(Loop *OuterLoop, Loop *InnerLoop);
420 Loop *InnerLoop; member in __anon92adb1650211::LoopInterchangeTransform
542 Loop *InnerLoop = LoopList[InnerLoopId]; in processLoop() local
545 LoopInterchangeLegality LIL(OuterLoop, InnerLoop, SE, ORE); in processLoop()
[all …]
DLoopFlatten.cpp76 Loop *InnerLoop = nullptr; member
91 FlattenInfo(Loop *OL, Loop *IL) : OuterLoop(OL), InnerLoop(IL) {}; in FlattenInfo()
214 for (PHINode &InnerPHI : FI.InnerLoop->getHeader()->phis()) { in checkPHIs()
224 InnerPHI.getIncomingValueForBlock(FI.InnerLoop->getLoopPreheader()); in checkPHIs()
226 InnerPHI.getIncomingValueForBlock(FI.InnerLoop->getLoopLatch()); in checkPHIs()
285 if (FI.InnerLoop->contains(B)) in checkOuterLoopInsts()
306 Br->getSuccessor(0) == FI.InnerLoop->getHeader()) in checkOuterLoopInsts()
471 if (!findLoopComponents(FI.InnerLoop, IterationInstructions, FI.InnerInductionPHI, in CanFlattenLoopPair()
519 OptimizationRemark Remark(DEBUG_TYPE, "Flattened", FI.InnerLoop->getStartLoc(), in DoFlattenLoopPair()
520 FI.InnerLoop->getHeader()); in DoFlattenLoopPair()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp330 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeLegality()
356 Loop *InnerLoop);
359 Loop *InnerLoop; member in __anone45e1cf90211::LoopInterchangeLegality
377 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), ORE(ORE) {} in LoopInterchangeProfitability()
387 Loop *InnerLoop; member in __anone45e1cf90211::LoopInterchangeProfitability
403 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), LI(LI), DT(DT), in LoopInterchangeTransform()
411 void removeChildLoop(Loop *OuterLoop, Loop *InnerLoop);
419 Loop *InnerLoop; member in __anone45e1cf90211::LoopInterchangeTransform
556 Loop *InnerLoop = LoopList[InnerLoopId]; in processLoop() local
559 LoopInterchangeLegality LIL(OuterLoop, InnerLoop, SE, ORE); in processLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp334 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), LI(LI), DT(DT), in LoopInterchangeLegality()
357 Loop *InnerLoop; member in __anon04d217970111::LoopInterchangeLegality
372 : OuterLoop(Outer), InnerLoop(Inner), SE(SE) {} in LoopInterchangeProfitability()
382 Loop *InnerLoop; member in __anon04d217970111::LoopInterchangeProfitability
395 : OuterLoop(Outer), InnerLoop(Inner), SE(SE), LI(LI), DT(DT), in LoopInterchangeTransform()
401 void restructureLoops(Loop *InnerLoop, Loop *OuterLoop);
402 void removeChildLoop(Loop *OuterLoop, Loop *InnerLoop);
414 Loop *InnerLoop; member in __anon04d217970111::LoopInterchangeTransform
576 Loop *InnerLoop = LoopList[InnerLoopId]; in processLoop() local
579 LoopInterchangeLegality LIL(OuterLoop, InnerLoop, SE, LI, DT, in processLoop()
[all …]
/external/llvm/test/Transforms/Util/MemorySSA/
Dmultiple-backedges-hal.ll45 ; CHECK: 5 = MemoryPhi({Entry,1},{InnerLoop.Tail,3})
52 br label %InnerLoop
54 InnerLoop:
55 ; CHECK: 4 = MemoryPhi({OuterLoop,2},{InnerLoop,3})
65 br i1 %KeepGoing, label %InnerLoop.Tail, label %InnerLoop
67 InnerLoop.Tail:
/external/llvm-project/llvm/test/Analysis/MemorySSA/
Dmultiple-backedges-hal.ll45 ; CHECK: 5 = MemoryPhi({Entry,1},{InnerLoop.Tail,3})
52 br label %InnerLoop
54 InnerLoop:
55 ; CHECK: 4 = MemoryPhi({OuterLoop,2},{InnerLoop,3})
65 br i1 %KeepGoing, label %InnerLoop.Tail, label %InnerLoop
67 InnerLoop.Tail:
/external/llvm-project/clang/tools/clang-fuzzer/proto-to-cxx/
Dloop_proto_to_cxx.cpp31 class InnerLoop { class
33 InnerLoop() { in InnerLoop() function in clang_fuzzer::InnerLoop
36 ~InnerLoop() { in ~InnerLoop()
127 InnerLoop IL; in NestedLoopToString()
/external/llvm-project/llvm/test/Transforms/LoopVectorize/X86/
Douter_loop_test1_no_explicit_vect_width.ll33 ; CHECK: br label %[[InnerLoop:.+]]
35 ; CHECK: [[InnerLoop]]:
36 ; CHECK: %[[InnerPhi:.*]] = phi <4 x i64> [ %[[InnerPhiNext:.*]], %[[InnerLoop]] ], [ zeroinitializ…
42 ; CHECK: br i1 %[[InnerCond]], label %[[ForInc]], label %[[InnerLoop]]
62 ; AVX: br label %[[InnerLoop:.+]]
64 ; AVX: [[InnerLoop]]:
65 ; AVX: %[[InnerPhi:.*]] = phi <8 x i64> [ %[[InnerPhiNext:.*]], %[[InnerLoop]] ], [ zeroinitializer…
71 ; AVX: br i1 %[[InnerCond]], label %[[ForInc]], label %[[InnerLoop]]
/external/llvm-project/clang/tools/clang-fuzzer/proto-to-llvm/
Dloop_proto_to_llvm.cpp38 class InnerLoop { class
40 InnerLoop() { in InnerLoop() function in clang_fuzzer::InnerLoop
43 ~InnerLoop() { in ~InnerLoop()
155 InnerLoop IL; in NestedLoopToString()
/external/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/
Douter_loop_test1_no_explicit_vect_width.ll32 ; CHECK: br label %[[InnerLoop:.+]]
34 ; CHECK: [[InnerLoop]]:
35 ; CHECK: %[[InnerPhi:.*]] = phi <4 x i64> [ %[[InnerPhiNext:.*]], %[[InnerLoop]] ], [ zeroinitializ…
41 ; CHECK: br i1 %[[InnerCond]], label %[[ForInc]], label %[[InnerLoop]]
97 ; CHECK: br label %[[InnerLoop:.+]]
99 ; CHECK: [[InnerLoop]]:
100 ; CHECK: %[[InnerPhi:.*]] = phi <2 x i64> [ %[[InnerPhiNext:.*]], %[[InnerLoop]] ], [ zeroinitializ…
106 ; CHECK: br i1 %[[InnerCond]], label %[[ForInc]], label %[[InnerLoop]]
/external/llvm-project/llvm/lib/Transforms/Utils/
DMatrixUtils.cpp75 Loop *InnerLoop = LI.AllocateLoop(); in CreateTiledLoops() local
76 RowLoop->addChildLoop(InnerLoop); in CreateTiledLoops()
94 B.getInt64(TileSize), "inner", B, DTU, InnerLoop, LI); in CreateTiledLoops()
DLoopUtils.cpp849 bool llvm::hasIterationCountInvariantInParent(Loop *InnerLoop, in hasIterationCountInvariantInParent() argument
851 Loop *OuterL = InnerLoop->getParentLoop(); in hasIterationCountInvariantInParent()
856 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in hasIterationCountInvariantInParent()
857 const SCEV *InnerLoopBECountSC = SE.getExitCount(InnerLoop, InnerLoopLatch); in hasIterationCountInvariantInParent()
/external/llvm-project/llvm/test/Transforms/LoopVectorize/
Douter_loop_test1.ll29 ; CHECK: br label %[[InnerLoop:.+]]
31 ; CHECK: [[InnerLoop]]:
32 ; CHECK: %[[InnerPhi:.*]] = phi <4 x i64> [ %[[InnerPhiNext:.*]], %[[InnerLoop]] ], [ zeroinitializ…
38 ; CHECK: br i1 %[[InnerCond]], label %[[ForInc]], label %[[InnerLoop]]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyFixIrreducibleControlFlow.cpp159 MachineLoop *InnerLoop = MLI.getLoopFor(Next); in VisitLoop() local
160 if (InnerLoop != Loop) in VisitLoop()
161 LoopWorklist.push_back(SuccessorList(InnerLoop)); in VisitLoop()
/external/llvm-project/llvm/include/llvm/Analysis/
DLoopNestAnalysis.h48 static bool arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp732 bool llvm::hasIterationCountInvariantInParent(Loop *InnerLoop, in hasIterationCountInvariantInParent() argument
734 Loop *OuterL = InnerLoop->getParentLoop(); in hasIterationCountInvariantInParent()
739 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in hasIterationCountInvariantInParent()
740 const SCEV *InnerLoopBECountSC = SE.getExitCount(InnerLoop, InnerLoopLatch); in hasIterationCountInvariantInParent()
DLoopUnrollAndJam.cpp614 unsigned LoopDepth, bool InnerLoop, in checkDependencies() argument
642 if (!InnerLoop) { in checkDependencies()
/external/llvm-project/polly/lib/Transform/
DZoneAlgo.cpp315 static bool isInsideLoop(Loop *OuterLoop, Loop *InnerLoop) { in isInsideLoop() argument
318 return !OuterLoop || OuterLoop->contains(InnerLoop); in isInsideLoop()
/external/llvm-project/clang/lib/CodeGen/
DCGExprAgg.cpp1787 ArrayInitLoopExpr *InnerLoop = dyn_cast<ArrayInitLoopExpr>(E->getSubExpr()); in VisitArrayInitLoopExpr() local
1808 if (CGF.needsEHCleanup(dtorKind) && !InnerLoop) { in VisitArrayInitLoopExpr()
1828 if (InnerLoop) { in VisitArrayInitLoopExpr()
1835 .VisitArrayInitLoopExpr(InnerLoop, outerBegin); in VisitArrayInitLoopExpr()
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp1297 for (MachineLoop *InnerLoop : L) in buildLoopChains()
1298 buildLoopChains(*InnerLoop); in buildLoopChains()
/external/llvm-project/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp2558 for (const MachineLoop *InnerLoop : L) in buildLoopChains() local
2559 buildLoopChains(*InnerLoop); in buildLoopChains()
DMachinePipeliner.cpp236 for (auto &InnerLoop : L) in scheduleLoop() local
237 Changed |= scheduleLoop(*InnerLoop); in scheduleLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp2526 for (const MachineLoop *InnerLoop : L) in buildLoopChains() local
2527 buildLoopChains(*InnerLoop); in buildLoopChains()
DMachinePipeliner.cpp235 for (auto &InnerLoop : L) in scheduleLoop() local
236 Changed |= scheduleLoop(*InnerLoop); in scheduleLoop()

12