• Home
  • Raw
  • Download

Lines Matching refs:Loop

37 template class llvm::LoopBase<BasicBlock, Loop>;
38 template class llvm::LoopInfoBase<BasicBlock, Loop>;
59 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant()
67 bool Loop::hasLoopInvariantOperands(const Instruction *I) const { in hasLoopInvariantOperands()
80 bool Loop::makeLoopInvariant(Value *V, bool &Changed, in makeLoopInvariant()
96 bool Loop::makeLoopInvariant(Instruction *I, bool &Changed, in makeLoopInvariant()
142 PHINode *Loop::getCanonicalInductionVariable() const { in getCanonicalInductionVariable()
179 bool Loop::isLCSSAForm(DominatorTree &DT) const { in isLCSSAForm()
210 bool Loop::isRecursivelyLCSSAForm(DominatorTree &DT) const { in isRecursivelyLCSSAForm()
214 return std::all_of(begin(), end(), [&](const Loop *L) { in isRecursivelyLCSSAForm()
222 bool Loop::isLoopSimplifyForm() const { in isLoopSimplifyForm()
230 bool Loop::isSafeToClone() const { in isSafeToClone()
233 for (Loop::block_iterator I = block_begin(), E = block_end(); I != E; ++I) { in isSafeToClone()
259 MDNode *Loop::getLoopID() const { in getLoopID()
293 void Loop::setLoopID(MDNode *LoopID) const { in setLoopID()
313 bool Loop::isAnnotatedParallel() const { in isAnnotatedParallel()
359 bool Loop::hasDedicatedExits() const { in hasDedicatedExits()
378 Loop::getUniqueExitBlocks(SmallVectorImpl<BasicBlock *> &ExitBlocks) const { in getUniqueExitBlocks()
426 BasicBlock *Loop::getUniqueExitBlock() const { in getUniqueExitBlock()
435 void Loop::dump() const { in dump()
448 Loop *Unloop;
457 DenseMap<Loop*, Loop*> SubloopParents;
464 UnloopUpdater(Loop *UL, LoopInfo *LInfo) : in UnloopUpdater()
474 Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
488 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
489 Loop *NL = getNearestLoop(*POI, L); in updateBlockParents()
516 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
517 Loop *NL = getNearestLoop(*POI, L); in updateBlockParents()
533 for (Loop::block_iterator BI = Unloop->block_begin(), in removeBlocksFromAncestors()
535 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
543 for (Loop *OldParent = Unloop->getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
555 Loop *Subloop = *std::prev(Unloop->end()); in updateSubloopParents()
559 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()
571 Loop *UnloopUpdater::getNearestLoop(BasicBlock *BB, Loop *BBLoop) { in getNearestLoop()
575 Loop *NearLoop = BBLoop; in getNearestLoop()
577 Loop *Subloop = nullptr; in getNearestLoop()
599 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
640 void LoopInfo::updateUnloop(Loop *Unloop) { in updateUnloop()
646 for (Loop::block_iterator I = Unloop->block_begin(), in updateUnloop()
687 Loop *ParentLoop = Unloop->getParentLoop(); in updateUnloop()
688 for (Loop::iterator I = ParentLoop->begin();; ++I) { in updateUnloop()
721 PreservedAnalyses PrintLoopPass::run(Loop &L) { in run()