Home
last modified time | relevance | path

Searched refs:NewLoop (Results 1 – 24 of 24) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp282 Loop *NewLoop = nullptr; in CloneLoopBlocks() local
285 NewLoop = new Loop(); in CloneLoopBlocks()
287 ParentLoop->addChildLoop(NewLoop); in CloneLoopBlocks()
289 LI->addTopLevelLoop(NewLoop); in CloneLoopBlocks()
298 if (NewLoop) in CloneLoopBlocks()
299 NewLoop->addBasicBlockToLoop(NewBB, *LI); in CloneLoopBlocks()
360 if (NewLoop) { in CloneLoopBlocks()
365 MDNode *LoopID = NewLoop->getLoopID(); in CloneLoopBlocks()
380 LLVMContext &Context = NewLoop->getHeader()->getContext(); in CloneLoopBlocks()
389 NewLoop->setLoopID(NewLoopID); in CloneLoopBlocks()
DCloneFunction.cpp665 Loop *NewLoop = new Loop(); in cloneLoopWithPreheader() local
667 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader()
669 LI->addTopLevelLoop(NewLoop); in cloneLoopWithPreheader()
690 NewLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopWithPreheader()
709 NewLoop->getHeader()->getIterator(), F->end()); in cloneLoopWithPreheader()
711 return NewLoop; in cloneLoopWithPreheader()
DLoopUnroll.cpp404 Loop *&NewLoop = NewLoops[OldLoop]; in UnrollLoop() local
405 if (!NewLoop) { in UnrollLoop()
413 NewLoop = new Loop; in UnrollLoop()
414 NewLoopParent->addChildLoop(NewLoop); in UnrollLoop()
420 NewLoop->addBasicBlockToLoop(New, *LI); in UnrollLoop()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h581 LoopT *NewLoop) { in changeTopLevelLoop() argument
584 *I = NewLoop; in changeTopLevelLoop()
585 assert(!NewLoop->ParentLoop && !OldLoop->ParentLoop && in changeTopLevelLoop()
693 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() local
695 if (OldLoop == NewLoop) in movementPreservesLCSSAForm()
711 if (!Contains(NewLoop, OldLoop)) { in movementPreservesLCSSAForm()
716 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm()
724 if (!Contains(OldLoop, NewLoop)) { in movementPreservesLCSSAForm()
738 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfo.h726 void changeTopLevelLoop(LoopT *OldLoop, LoopT *NewLoop) { in changeTopLevelLoop() argument
729 *I = NewLoop; in changeTopLevelLoop()
730 assert(!NewLoop->ParentLoop && !OldLoop->ParentLoop && in changeTopLevelLoop()
865 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() local
867 if (OldLoop == NewLoop) in movementPreservesLCSSAForm()
883 if (!Contains(NewLoop, OldLoop)) { in movementPreservesLCSSAForm()
888 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm()
896 if (!Contains(OldLoop, NewLoop)) { in movementPreservesLCSSAForm()
910 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Scalar/
DLoopPassManagerTest.cpp949 auto *NewLoop = AR.LI.AllocateLoop(); in TEST_F() local
950 L.addChildLoop(NewLoop); in TEST_F()
967 NewLoop->addBasicBlockToLoop(NewLoop010BB, AR.LI); in TEST_F()
969 NewLoop->verifyLoop(); in TEST_F()
971 Updater.addChildLoops({NewLoop}); in TEST_F()
995 auto *NewLoop = AR.LI.AllocateLoop(); in TEST_F() local
996 L.addChildLoop(NewLoop); in TEST_F()
1009 NewLoop->addBasicBlockToLoop(NewLoop011BB, AR.LI); in TEST_F()
1010 NewLoop->verifyLoop(); in TEST_F()
1012 Updater.addChildLoops({NewLoop}); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp197 Loop *&NewLoop = NewLoops[OldLoop]; in addClonedBlockToLoopInfo() local
198 if (!NewLoop) { in addClonedBlockToLoopInfo()
203 NewLoop = LI->AllocateLoop(); in addClonedBlockToLoopInfo()
207 NewLoopParent->addChildLoop(NewLoop); in addClonedBlockToLoopInfo()
209 LI->addTopLevelLoop(NewLoop); in addClonedBlockToLoopInfo()
211 NewLoop->addBasicBlockToLoop(ClonedBB, *LI); in addClonedBlockToLoopInfo()
214 NewLoop->addBasicBlockToLoop(ClonedBB, *LI); in addClonedBlockToLoopInfo()
DCloneFunction.cpp747 Loop *NewLoop = LI->AllocateLoop(); in cloneLoopWithPreheader() local
749 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader()
751 LI->addTopLevelLoop(NewLoop); in cloneLoopWithPreheader()
772 NewLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopWithPreheader()
791 NewLoop->getHeader()->getIterator(), F->end()); in cloneLoopWithPreheader()
793 return NewLoop; in cloneLoopWithPreheader()
DLoopUnrollRuntime.cpp382 Loop *NewLoop = NewLoops[L]; in CloneLoopBlocks() local
383 assert(NewLoop && "L should have been cloned"); in CloneLoopBlocks()
388 return NewLoop; in CloneLoopBlocks()
391 NewLoop->setLoopAlreadyUnrolled(); in CloneLoopBlocks()
392 return NewLoop; in CloneLoopBlocks()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineLoopInfo.h130 inline void changeTopLevelLoop(MachineLoop *OldLoop, MachineLoop *NewLoop) { in changeTopLevelLoop() argument
131 LI.changeTopLevelLoop(OldLoop, NewLoop); in changeTopLevelLoop()
/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h131 inline void changeTopLevelLoop(MachineLoop *OldLoop, MachineLoop *NewLoop) { in changeTopLevelLoop() argument
132 LI.changeTopLevelLoop(OldLoop, NewLoop); in changeTopLevelLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h155 inline void changeTopLevelLoop(MachineLoop *OldLoop, MachineLoop *NewLoop) { in changeTopLevelLoop() argument
156 LI.changeTopLevelLoop(OldLoop, NewLoop); in changeTopLevelLoop()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h726 LoopT *NewLoop) { in changeTopLevelLoop() argument
730 *I = NewLoop; in changeTopLevelLoop()
731 assert(NewLoop->ParentLoop == 0 && OldLoop->ParentLoop == 0 && in changeTopLevelLoop()
841 if (LoopT *NewLoop = ConsiderForLoop(*I, DT)) { in ConsiderForLoop() local
842 L->SubLoops.push_back(NewLoop); in ConsiderForLoop()
843 NewLoop->ParentLoop = L; in ConsiderForLoop()
1024 inline void changeTopLevelLoop(Loop *OldLoop, Loop *NewLoop) { in changeTopLevelLoop() argument
1025 LI.changeTopLevelLoop(OldLoop, NewLoop); in changeTopLevelLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp162 void cloneData(const Loop *NewLoop, const Loop *OldLoop,
347 void LUAnalysisCache::cloneData(const Loop *NewLoop, const Loop *OldLoop, in cloneData() argument
350 LoopProperties &NewLoopProps = LoopsProperties[NewLoop]; in cloneData()
1086 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() local
1090 BranchesInfo.cloneData(NewLoop, L, VMap); in UnswitchNontrivialCondition()
1150 LoopProcessWorklist.push_back(NewLoop); in UnswitchNontrivialCondition()
1166 if (!LoopProcessWorklist.empty() && LoopProcessWorklist.back() == NewLoop && in UnswitchNontrivialCondition()
1168 RewriteLoopBodyWithConditionConstant(NewLoop, LICHandle, Val, true); in UnswitchNontrivialCondition()
DLoopDistribute.cpp402 Loop *NewLoop; in cloneLoops() local
417 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
420 NewLoop = Part->cloneLoopWithPreheader(TopPH, Pred, Index, LI, DT); in cloneLoops()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp163 void cloneData(const Loop *NewLoop, const Loop *OldLoop,
349 void LUAnalysisCache::cloneData(const Loop *NewLoop, const Loop *OldLoop, in cloneData() argument
351 LoopProperties &NewLoopProps = LoopsProperties[NewLoop]; in cloneData()
1259 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() local
1263 BranchesInfo.cloneData(NewLoop, L, VMap); in UnswitchNontrivialCondition()
1330 LoopProcessWorklist.push_back(NewLoop); in UnswitchNontrivialCondition()
1347 if (!LoopProcessWorklist.empty() && LoopProcessWorklist.back() == NewLoop && in UnswitchNontrivialCondition()
1349 RewriteLoopBodyWithConditionConstant(NewLoop, LICHandle, Val, true); in UnswitchNontrivialCondition()
DLoopDistribute.cpp438 Loop *NewLoop; in cloneLoops() local
453 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
456 NewLoop = Part->cloneLoopWithPreheader(TopPH, Pred, Index, LI, DT); in cloneLoops()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp635 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() local
694 LoopProcessWorklist.push_back(NewLoop); in UnswitchNontrivialCondition()
710 if (!LoopProcessWorklist.empty() && LoopProcessWorklist.back() == NewLoop && in UnswitchNontrivialCondition()
712 RewriteLoopBodyWithConditionConstant(NewLoop, LICHandle, Val, true); in UnswitchNontrivialCondition()
/external/v8/src/compiler/
Dloop-analysis.h133 Loop* NewLoop() { in NewLoop() function
Dbytecode-graph-builder.h108 Node* NewLoop() { return NewNode(common()->Loop(1), true); } in NewLoop() function
Dloop-analysis.cc239 loop_tree_->NewLoop(); in CreateLoopInfo()
Dbytecode-graph-builder.cc355 Node* control = builder()->NewLoop(); in PrepareForLoop()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp440 Value *getOrCreateTripCount(Loop *NewLoop);
443 Value *getOrCreateVectorTripCount(Loop *NewLoop);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp566 Value *getOrCreateTripCount(Loop *NewLoop);
569 Value *getOrCreateVectorTripCount(Loop *NewLoop);