Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp153 Loop *NewLoop = nullptr; in CloneLoopBlocks() local
156 NewLoop = new Loop(); in CloneLoopBlocks()
158 ParentLoop->addChildLoop(NewLoop); in CloneLoopBlocks()
160 LI->addTopLevelLoop(NewLoop); in CloneLoopBlocks()
169 if (NewLoop) in CloneLoopBlocks()
170 NewLoop->addBasicBlockToLoop(NewBB, *LI); in CloneLoopBlocks()
224 if (NewLoop) { in CloneLoopBlocks()
229 MDNode *LoopID = NewLoop->getLoopID(); in CloneLoopBlocks()
244 LLVMContext &Context = NewLoop->getHeader()->getContext(); in CloneLoopBlocks()
253 NewLoop->setLoopID(NewLoopID); in CloneLoopBlocks()
DLoopUnroll.cpp330 Loop *&NewLoop = NewLoops[OldLoop]; in UnrollLoop() local
331 if (!NewLoop) { in UnrollLoop()
339 NewLoop = new Loop; in UnrollLoop()
340 NewLoopParent->addChildLoop(NewLoop); in UnrollLoop()
346 NewLoop->addBasicBlockToLoop(New, *LI); in UnrollLoop()
DCloneFunction.cpp761 Loop *NewLoop = new Loop(); in cloneLoopWithPreheader() local
763 ParentLoop->addChildLoop(NewLoop); in cloneLoopWithPreheader()
765 LI->addTopLevelLoop(NewLoop); in cloneLoopWithPreheader()
786 NewLoop->addBasicBlockToLoop(NewBB, *LI); in cloneLoopWithPreheader()
799 NewLoop->getHeader()->getIterator(), F->end()); in cloneLoopWithPreheader()
801 return NewLoop; in cloneLoopWithPreheader()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h605 LoopT *NewLoop) { in changeTopLevelLoop() argument
608 *I = NewLoop; in changeTopLevelLoop()
609 assert(!NewLoop->ParentLoop && !OldLoop->ParentLoop && in changeTopLevelLoop()
720 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() local
722 if (OldLoop == NewLoop) in movementPreservesLCSSAForm()
738 if (!Contains(NewLoop, OldLoop)) { in movementPreservesLCSSAForm()
743 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm()
751 if (!Contains(OldLoop, NewLoop)) { in movementPreservesLCSSAForm()
765 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h138 inline void changeTopLevelLoop(MachineLoop *OldLoop, MachineLoop *NewLoop) { in changeTopLevelLoop() argument
139 LI.changeTopLevelLoop(OldLoop, NewLoop); in changeTopLevelLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp160 void cloneData(const Loop *NewLoop, const Loop *OldLoop,
351 void LUAnalysisCache::cloneData(const Loop *NewLoop, const Loop *OldLoop, in cloneData() argument
354 LoopProperties &NewLoopProps = LoopsProperties[NewLoop]; in cloneData()
1029 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() local
1033 BranchesInfo.cloneData(NewLoop, L, VMap); in UnswitchNontrivialCondition()
1094 LoopProcessWorklist.push_back(NewLoop); in UnswitchNontrivialCondition()
1110 if (!LoopProcessWorklist.empty() && LoopProcessWorklist.back() == NewLoop && in UnswitchNontrivialCondition()
1112 RewriteLoopBodyWithConditionConstant(NewLoop, LICHandle, Val, true); in UnswitchNontrivialCondition()
DLoopDistribute.cpp388 Loop *NewLoop; in cloneLoops() local
403 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
406 NewLoop = Part->cloneLoopWithPreheader(TopPH, Pred, Index, LI, DT); in cloneLoops()
/external/v8/src/compiler/
Dloop-analysis.h124 Loop* NewLoop() { in NewLoop() function
Dbytecode-graph-builder.h83 Node* NewLoop() { return NewNode(common()->Loop(1), true); } in NewLoop() function
Dloop-analysis.cc227 loop_tree_->NewLoop(); in CreateLoopInfo()
Dast-graph-builder.h48 Node* NewLoop() { return NewNode(common()->Loop(1), true); } in NewLoop() function
Dbytecode-graph-builder.cc342 Node* control = builder()->NewLoop(); in PrepareForLoop()
Dast-graph-builder.cc4257 Node* control = builder_->NewLoop(); in PrepareForLoop()
/external/v8/test/cctest/compiler/
Dtest-osr.cc98 Node* NewLoop(bool is_osr, int num_backedges, Node* entry = nullptr) { in NewLoop() function in v8::internal::compiler::OsrDeconstructorTester
112 return NewLoop(true, num_backedges, entry); in NewOsrLoop()
304 loop = t.NewLoop(is_osr, backedges); in While()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp432 Value *getOrCreateTripCount(Loop *NewLoop);
435 Value *getOrCreateVectorTripCount(Loop *NewLoop);