/external/llvm-project/llvm/lib/Analysis/ |
D | LoopNestAnalysis.cpp | 36 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/ |
D | LoopInterchange.cpp | 332 : 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 …]
|
D | LoopFlatten.cpp | 76 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/ |
D | LoopInterchange.cpp | 330 : 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/ |
D | LoopInterchange.cpp | 334 : 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/ |
D | multiple-backedges-hal.ll | 45 ; 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/ |
D | multiple-backedges-hal.ll | 45 ; 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/ |
D | loop_proto_to_cxx.cpp | 31 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/ |
D | outer_loop_test1_no_explicit_vect_width.ll | 33 ; 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/ |
D | loop_proto_to_llvm.cpp | 38 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/ |
D | outer_loop_test1_no_explicit_vect_width.ll | 32 ; 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/ |
D | MatrixUtils.cpp | 75 Loop *InnerLoop = LI.AllocateLoop(); in CreateTiledLoops() local 76 RowLoop->addChildLoop(InnerLoop); in CreateTiledLoops() 94 B.getInt64(TileSize), "inner", B, DTU, InnerLoop, LI); in CreateTiledLoops()
|
D | LoopUtils.cpp | 849 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/ |
D | outer_loop_test1.ll | 29 ; 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/ |
D | WebAssemblyFixIrreducibleControlFlow.cpp | 159 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/ |
D | LoopNestAnalysis.h | 48 static bool arePerfectlyNested(const Loop &OuterLoop, const Loop &InnerLoop,
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 732 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()
|
D | LoopUnrollAndJam.cpp | 614 unsigned LoopDepth, bool InnerLoop, in checkDependencies() argument 642 if (!InnerLoop) { in checkDependencies()
|
/external/llvm-project/polly/lib/Transform/ |
D | ZoneAlgo.cpp | 315 static bool isInsideLoop(Loop *OuterLoop, Loop *InnerLoop) { in isInsideLoop() argument 318 return !OuterLoop || OuterLoop->contains(InnerLoop); in isInsideLoop()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 1787 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/ |
D | MachineBlockPlacement.cpp | 1297 for (MachineLoop *InnerLoop : L) in buildLoopChains() 1298 buildLoopChains(*InnerLoop); in buildLoopChains()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 2558 for (const MachineLoop *InnerLoop : L) in buildLoopChains() local 2559 buildLoopChains(*InnerLoop); in buildLoopChains()
|
D | MachinePipeliner.cpp | 236 for (auto &InnerLoop : L) in scheduleLoop() local 237 Changed |= scheduleLoop(*InnerLoop); in scheduleLoop()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 2526 for (const MachineLoop *InnerLoop : L) in buildLoopChains() local 2527 buildLoopChains(*InnerLoop); in buildLoopChains()
|
D | MachinePipeliner.cpp | 235 for (auto &InnerLoop : L) in scheduleLoop() local 236 Changed |= scheduleLoop(*InnerLoop); in scheduleLoop()
|