Home
last modified time | relevance | path

Searched refs:LoopHeader (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/llvm/unittests/Transforms/Vectorize/
DVPlanSlpTest.cpp96 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
97 auto Plan = buildHCFG(LoopHeader); in TEST_F()
98 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
169 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
170 auto Plan = buildHCFG(LoopHeader); in TEST_F()
179 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
240 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
241 auto Plan = buildHCFG(LoopHeader); in TEST_F()
242 auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan); in TEST_F()
303 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
[all …]
DVPlanTestBase.h50 VPlanPtr buildHCFG(BasicBlock *LoopHeader) { in buildHCFG() argument
51 doAnalysis(*LoopHeader->getParent()); in buildHCFG()
54 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildHCFG()
60 VPlanPtr buildPlainCFG(BasicBlock *LoopHeader) { in buildPlainCFG() argument
61 doAnalysis(*LoopHeader->getParent()); in buildPlainCFG()
64 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildPlainCFG()
DVPlanHCFGTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
42 auto Plan = buildHCFG(LoopHeader); in TEST_F()
133 VPlanTransforms::VPInstructionsToVPRecipes(LI->getLoopFor(LoopHeader), Plan, in TEST_F()
158 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
159 auto Plan = buildHCFG(LoopHeader); in TEST_F()
163 VPlanTransforms::VPInstructionsToVPRecipes(LI->getLoopFor(LoopHeader), Plan, in TEST_F()
DVPlanPredicatorTest.cpp66 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
67 auto Plan = buildHCFG(LoopHeader); in TEST_F()
167 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
168 auto Plan = buildHCFG(LoopHeader); in TEST_F()
DVPlanLoopInfoTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
42 auto Plan = buildHCFG(LoopHeader); in TEST_F()
DVPlanDominatorTreeTest.cpp41 BasicBlock *LoopHeader = F->getEntryBlock().getSingleSuccessor(); in TEST_F() local
42 auto Plan = buildPlainCFG(LoopHeader); in TEST_F()
/external/llvm/test/Other/
D2003-02-19-LoopInfoNestingBug.ll2 ; figure out that loop "Inner" should be nested inside of leep "LoopHeader",
12 br label %LoopHeader
14 Next: ; preds = %LoopHeader
18 br i1 false, label %Inner, label %LoopHeader
20 LoopHeader: ; preds = %Inner, %Top
/external/llvm-project/llvm/test/Analysis/LoopInfo/
D2003-02-19-LoopInfoNestingBug.ll2 ; figure out that loop "Inner" should be nested inside of leep "LoopHeader",
13 br label %LoopHeader
15 Next: ; preds = %LoopHeader
19 br i1 false, label %Inner, label %LoopHeader
21 LoopHeader: ; preds = %Inner, %Top
/external/llvm-project/llvm/lib/Analysis/
DSyncDependenceAnalysis.cpp144 const auto *LoopHeader = Loop ? Loop->getHeader() : nullptr; in computeStackPO() local
157 if (NestedExitBB == LoopHeader) in computeStackPO()
177 if (SuccBB == LoopHeader) in computeStackPO()
208 const auto *LoopHeader = Loop.getHeader(); in computeLoopPO() local
211 Finalized.insert(LoopHeader); in computeLoopPO()
212 CallBack(*LoopHeader); in computeLoopPO()
215 for (const auto *BB : successors(LoopHeader)) { in computeLoopPO()
218 if (BB == LoopHeader) in computeLoopPO()
DDivergenceAnalysis.cpp202 const BasicBlock &LoopHeader = *OuterDivLoop.getHeader(); in analyzeLoopExitDivergence() local
223 if (!DT.dominates(&LoopHeader, UserBlock)) { in analyzeLoopExitDivergence()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDivergenceAnalysis.cpp189 void DivergenceAnalysis::taintLoopLiveOuts(const BasicBlock &LoopHeader) { in taintLoopLiveOuts() argument
190 auto *DivLoop = LI.getLoopFor(&LoopHeader); in taintLoopLiveOuts()
202 Visited.insert(&LoopHeader); in taintLoopLiveOuts()
216 if (!DT.dominates(&LoopHeader, UserBlock)) { in taintLoopLiveOuts()
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp360 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in hasBackEdge() local
361 return MBB->isSuccessor(LoopHeader); in hasBackEdge()
1065 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in mergeLoop() local
1081 InvMBBTraits::ChildIteratorType PI = InvMBBTraits::child_begin(LoopHeader), in mergeLoop()
1082 PE = InvMBBTraits::child_end(LoopHeader); in mergeLoop()
1091 settleLoopcontBlock(LatchBlks[i], LoopHeader); in mergeLoop()
1095 Match += serialPatternMatch(LoopHeader); in mergeLoop()
1096 Match += ifPatternMatch(LoopHeader); in mergeLoop()
1098 mergeLooplandBlock(LoopHeader, ExitBlk); in mergeLoop()
1101 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp364 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in hasBackEdge() local
365 return MBB->isSuccessor(LoopHeader); in hasBackEdge()
1040 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in mergeLoop() local
1056 for (auto *LB : inverse_children<MachineBasicBlock*>(LoopHeader)) in mergeLoop()
1063 settleLoopcontBlock(LatchBlks[i], LoopHeader); in mergeLoop()
1067 Match += serialPatternMatch(LoopHeader); in mergeLoop()
1068 Match += ifPatternMatch(LoopHeader); in mergeLoop()
1070 mergeLooplandBlock(LoopHeader, ExitBlk); in mergeLoop()
1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
1075 MLI->removeBlock(LoopHeader); in mergeLoop()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp364 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in hasBackEdge() local
365 return MBB->isSuccessor(LoopHeader); in hasBackEdge()
1040 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in mergeLoop() local
1056 for (auto *LB : inverse_children<MachineBasicBlock*>(LoopHeader)) in mergeLoop()
1063 settleLoopcontBlock(LatchBlks[i], LoopHeader); in mergeLoop()
1067 Match += serialPatternMatch(LoopHeader); in mergeLoop()
1068 Match += ifPatternMatch(LoopHeader); in mergeLoop()
1070 mergeLooplandBlock(LoopHeader, ExitBlk); in mergeLoop()
1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
1075 MLI->removeBlock(LoopHeader); in mergeLoop()
[all …]
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp189 BasicBlock *LoopHeader = nullptr; member in __anon72012fd20111::LoopUnswitch
240 LoopHeader = CurrentLoop->getHeader(); in initLoopData()
650 LLVMContext &Context = LoopHeader->getContext(); in processCurrentLoop()
668 LoopHeader->getParent()->hasFnAttribute(Attribute::OptimizeForSize)) in processCurrentLoop()
986 << LoopHeader->getName() << " [" << L->getBlocks().size() in unswitchTrivialCondition()
998 BasicBlock *NewPH = SplitEdge(LoopPreheader, LoopHeader, DT, LI, MSSAU.get()); in unswitchTrivialCondition()
1217 Function *F = LoopHeader->getParent(); in unswitchNontrivialCondition()
1219 << LoopHeader->getName() << " [" << L->getBlocks().size() in unswitchNontrivialCondition()
1237 SplitEdge(LoopPreheader, LoopHeader, DT, LI, MSSAU.get()); in unswitchNontrivialCondition()
/external/llvm/test/Bitcode/
DmiscInstructions.3.2.ll52 LoopHeader:
56 ; CHECK: %indvar = phi i32 [ 0, %LoopHeader ], [ %nextindvar, %Loop ]
57 %indvar = phi i32 [ 0, %LoopHeader ], [ %nextindvar, %Loop ]
/external/llvm-project/llvm/test/Bitcode/
DmiscInstructions.3.2.ll52 LoopHeader:
56 ; CHECK: %indvar = phi i32 [ 0, %LoopHeader ], [ %nextindvar, %Loop ]
57 %indvar = phi i32 [ 0, %LoopHeader ], [ %nextindvar, %Loop ]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DDivergenceAnalysis.h102 void taintLoopLiveOuts(const BasicBlock &LoopHeader);
DMemorySSAUpdater.h112 void updatePhisWhenInsertingUniqueBackedgeBlock(BasicBlock *LoopHeader,
/external/llvm-project/llvm/include/llvm/Analysis/
DMemorySSAUpdater.h98 void updatePhisWhenInsertingUniqueBackedgeBlock(BasicBlock *LoopHeader,
/external/clang/lib/CodeGen/
DCGStmt.cpp663 JumpDest LoopHeader = getJumpDestInCurrentScope("while.cond"); in EmitWhileStmt() local
664 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
666 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), WhileAttrs, in EmitWhileStmt()
674 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopHeader)); in EmitWhileStmt()
732 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
742 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt()
/external/llvm-project/clang/lib/CodeGen/
DCGStmt.cpp765 JumpDest LoopHeader = getJumpDestInCurrentScope("while.cond"); in EmitWhileStmt() local
766 EmitBlock(LoopHeader.getBlock()); in EmitWhileStmt()
773 BreakContinueStack.push_back(BreakContinue(LoopExit, LoopHeader)); in EmitWhileStmt()
805 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), CGM.getCodeGenOpts(), in EmitWhileStmt()
849 EmitBranch(LoopHeader.getBlock()); in EmitWhileStmt()
859 SimplifyForwardingBlocks(LoopHeader.getBlock()); in EmitWhileStmt()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp676 auto *LoopHeader = L->getHeader(); in rewriteFirstIterationLoopExitValues() local
677 assert(LoopHeader && "Invalid loop"); in rewriteFirstIterationLoopExitValues()
692 if (IncomingBB != LoopHeader) in rewriteFirstIterationLoopExitValues()
725 assert(ExitVal->getParent() == LoopHeader && in rewriteFirstIterationLoopExitValues()
DLoopInterchange.cpp737 BasicBlock *LoopHeader) { in getLoopLatchExitBlock() argument
742 if (BI->getSuccessor(i) == LoopHeader) in getLoopLatchExitBlock()
/external/libcxx/utils/google-benchmark/
DREADME.md322 .LoopHeader: # =>This Inner Loop Header: Depth=1
324 jne .LoopHeader
331 .LoopHeader: # in Loop: Header=BB0_3 Depth=1
339 jb .LoopHeader

12