Lines Matching refs:Loop

47 template class llvm::LoopBase<BasicBlock, Loop>;
48 template class llvm::LoopInfoBase<BasicBlock, Loop>;
64 bool Loop::isLoopInvariant(const Value *V) const { in isLoopInvariant()
70 bool Loop::hasLoopInvariantOperands(const Instruction *I) const { in hasLoopInvariantOperands()
74 bool Loop::makeLoopInvariant(Value *V, bool &Changed, Instruction *InsertPt, in makeLoopInvariant()
81 bool Loop::makeLoopInvariant(Instruction *I, bool &Changed, in makeLoopInvariant()
124 bool Loop::getIncomingAndBackEdge(BasicBlock *&Incoming, in getIncomingAndBackEdge()
150 PHINode *Loop::getCanonicalInductionVariable() const { in getCanonicalInductionVariable()
174 ICmpInst *Loop::getLatchCmpInst() const { in getLatchCmpInst()
184 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue()
201 Optional<Loop::LoopBounds> Loop::LoopBounds::getBounds(const Loop &L, in getBounds()
230 using Direction = Loop::LoopBounds::Direction;
232 ICmpInst::Predicate Loop::LoopBounds::getCanonicalPredicate() const { in getCanonicalPredicate()
274 Direction Loop::LoopBounds::getDirection() const { in getDirection()
287 Optional<Loop::LoopBounds> Loop::getBounds(ScalarEvolution &SE) const { in getBounds()
294 PHINode *Loop::getInductionVariable(ScalarEvolution &SE) const { in getInductionVariable()
332 bool Loop::getInductionDescriptor(ScalarEvolution &SE, in getInductionDescriptor()
340 bool Loop::isAuxiliaryInductionVariable(PHINode &AuxIndVar, in isAuxiliaryInductionVariable()
366 BranchInst *Loop::getLoopGuardBranch() const { in getLoopGuardBranch()
410 bool Loop::isCanonical(ScalarEvolution &SE) const { in isCanonical()
430 static bool isBlockInLCSSAForm(const Loop &L, const BasicBlock &BB, in isBlockInLCSSAForm()
461 bool Loop::isLCSSAForm(const DominatorTree &DT) const { in isLCSSAForm()
468 bool Loop::isRecursivelyLCSSAForm(const DominatorTree &DT, in isRecursivelyLCSSAForm()
478 bool Loop::isLoopSimplifyForm() const { in isLoopSimplifyForm()
485 bool Loop::isSafeToClone() const { in isSafeToClone()
503 MDNode *Loop::getLoopID() const { in getLoopID()
527 void Loop::setLoopID(MDNode *LoopID) const { in setLoopID()
539 void Loop::setLoopAlreadyUnrolled() { in setLoopAlreadyUnrolled()
550 void Loop::setLoopMustProgress() { in setLoopMustProgress()
566 bool Loop::isAnnotatedParallel() const { in isAnnotatedParallel()
633 DebugLoc Loop::getStartLoc() const { return getLocRange().getStart(); } in getStartLoc()
635 Loop::LocRange Loop::getLocRange() const { in getLocRange()
669 LLVM_DUMP_METHOD void Loop::dump() const { print(dbgs()); } in dump()
671 LLVM_DUMP_METHOD void Loop::dumpVerbose() const { in dumpVerbose()
684 Loop &Unloop;
693 DenseMap<Loop *, Loop *> SubloopParents;
700 UnloopUpdater(Loop *UL, LoopInfo *LInfo) in UnloopUpdater()
710 Loop *getNearestLoop(BasicBlock *BB, Loop *BBLoop);
723 Loop *L = LI->getLoopFor(POI); in updateBlockParents()
724 Loop *NL = getNearestLoop(POI, L); in updateBlockParents()
751 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
752 Loop *NL = getNearestLoop(*POI, L); in updateBlockParents()
768 Loop *OuterParent = LI->getLoopFor(BB); in removeBlocksFromAncestors()
776 for (Loop *OldParent = Unloop.getParentLoop(); OldParent != OuterParent; in removeBlocksFromAncestors()
787 Loop *Subloop = *std::prev(Unloop.end()); in updateSubloopParents()
791 if (Loop *Parent = SubloopParents[Subloop]) in updateSubloopParents()
803 Loop *UnloopUpdater::getNearestLoop(BasicBlock *BB, Loop *BBLoop) { in getNearestLoop()
807 Loop *NearLoop = BBLoop; in getNearestLoop()
809 Loop *Subloop = nullptr; in getNearestLoop()
830 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
878 void LoopInfo::erase(Loop *Unloop) { in erase()
924 Loop *ParentLoop = Unloop->getParentLoop(); in erase()
925 for (Loop::iterator I = ParentLoop->begin();; ++I) { in erase()
945 const Loop *L = getLoopFor(I->getParent()); in wouldBeOutOfLoopUseRequiringLCSSA()
979 void llvm::printLoop(Loop &L, raw_ostream &OS, const std::string &Banner) { in printLoop()
1045 MDNode *llvm::findOptionMDForLoop(const Loop *TheLoop, StringRef Name) { in findOptionMDForLoop()
1054 Optional<const MDOperand *> llvm::findStringMetadataForLoop(const Loop *TheLoop, in findStringMetadataForLoop()
1069 Optional<bool> llvm::getOptionalBoolLoopAttribute(const Loop *TheLoop, in getOptionalBoolLoopAttribute()
1087 bool llvm::getBooleanLoopAttribute(const Loop *TheLoop, StringRef Name) { in getBooleanLoopAttribute()
1091 llvm::Optional<int> llvm::getOptionalIntLoopAttribute(const Loop *TheLoop, in getOptionalIntLoopAttribute()
1107 bool llvm::hasMustProgress(const Loop *L) { in hasMustProgress()
1111 bool llvm::isMustProgress(const Loop *L) { in isMustProgress()