Lines Matching refs:Loop

41 template class llvm::LoopBase<BasicBlock, Loop>;
42 template class llvm::LoopInfoBase<BasicBlock, Loop>;
58 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant()
64 bool Loop::hasLoopInvariantOperands(const Instruction *I) const { in hasLoopInvariantOperands()
68 bool Loop::makeLoopInvariant(Value *V, bool &Changed, in makeLoopInvariant()
75 bool Loop::makeLoopInvariant(Instruction *I, bool &Changed, in makeLoopInvariant()
113 PHINode *Loop::getCanonicalInductionVariable() const { in getCanonicalInductionVariable()
150 static bool isBlockInLCSSAForm(const Loop &L, const BasicBlock &BB, in isBlockInLCSSAForm()
177 bool Loop::isLCSSAForm(DominatorTree &DT) const { in isLCSSAForm()
184 bool Loop::isRecursivelyLCSSAForm(DominatorTree &DT, const LoopInfo &LI) const { in isRecursivelyLCSSAForm()
193 bool Loop::isLoopSimplifyForm() const { in isLoopSimplifyForm()
200 bool Loop::isSafeToClone() const { in isSafeToClone()
215 MDNode *Loop::getLoopID() const { in getLoopID()
239 void Loop::setLoopID(MDNode *LoopID) const { in setLoopID()
257 void Loop::setLoopAlreadyUnrolled() { in setLoopAlreadyUnrolled()
290 bool Loop::isAnnotatedParallel() const { in isAnnotatedParallel()
365 DebugLoc Loop::getStartLoc() const { return getLocRange().getStart(); } in getStartLoc()
367 Loop::LocRange Loop::getLocRange() const { in getLocRange()
401 LLVM_DUMP_METHOD void Loop::dump() const { print(dbgs()); } in dump()
403 LLVM_DUMP_METHOD void Loop::dumpVerbose() const { in dumpVerbose()
416 Loop &Unloop;
425 DenseMap<Loop *, Loop *> SubloopParents;
432 UnloopUpdater(Loop *UL, LoopInfo *LInfo) in UnloopUpdater()
442 Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
455 Loop *L = LI->getLoopFor(POI); in updateBlockParents()
456 Loop *NL = getNearestLoop(POI, L); in updateBlockParents()
483 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
484 Loop *NL = getNearestLoop(*POI, L); in updateBlockParents()
499 for (Loop::block_iterator BI = Unloop.block_begin(), BE = Unloop.block_end(); in removeBlocksFromAncestors()
501 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
509 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
520 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents()
524 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()
536 Loop *UnloopUpdater::getNearestLoop(BasicBlock *BB, Loop *BBLoop) { in getNearestLoop()
540 Loop *NearLoop = BBLoop; in getNearestLoop()
542 Loop *Subloop = nullptr; in getNearestLoop()
563 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
611 void LoopInfo::erase(Loop *Unloop) { in erase()
619 for (Loop::block_iterator I = Unloop->block_begin(), in erase()
660 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
661 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase()
690 void llvm::printLoop(Loop &L, raw_ostream &OS, const std::string &Banner) { in printLoop()
756 MDNode *llvm::findOptionMDForLoop(const Loop *TheLoop, StringRef Name) { in findOptionMDForLoop()