Lines Matching refs:Loop

33 class Loop;  variable
40 extern template class LoopBase<BasicBlock, Loop>;
44 class LLVM_EXTERNAL_VISIBILITY Loop : public LoopBase<BasicBlock, Loop> {
165 static std::optional<Loop::LoopBounds>
166 getBounds(const Loop &L, PHINode &IndVar, ScalarEvolution &SE);
226 LoopBounds(const Loop &Loop, Value &I, Instruction &SI, Value *SV, Value &F, in LoopBounds()
228 : L(Loop), InitialIVValue(I), StepInst(SI), StepValue(SV), in LoopBounds()
231 const Loop &L;
401 Loop() = default;
403 friend class LoopInfoBase<BasicBlock, Loop>;
404 friend class LoopBase<BasicBlock, Loop>;
405 explicit Loop(BasicBlock *BB) : LoopBase<BasicBlock, Loop>(BB) {} in Loop() function
406 ~Loop() = default;
410 extern template class LoopInfoBase<BasicBlock, Loop>;
412 class LoopInfo : public LoopInfoBase<BasicBlock, Loop> {
413 typedef LoopInfoBase<BasicBlock, Loop> BaseT;
415 friend class LoopBase<BasicBlock, Loop>;
440 void erase(Loop *L);
456 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
490 auto Contains = [](const Loop *Outer, const Loop *Inner) { in movementPreservesLCSSAForm()
552 template <> struct GraphTraits<const Loop *> {
553 typedef const Loop *NodeRef;
556 static NodeRef getEntryNode(const Loop *L) { return L; }
561 template <> struct GraphTraits<Loop *> {
562 typedef Loop *NodeRef;
565 static NodeRef getEntryNode(Loop *L) { return L; }
622 void printLoop(Loop &L, raw_ostream &OS, const std::string &Banner = "");
633 MDNode *findOptionMDForLoop(const Loop *TheLoop, StringRef Name);
635 std::optional<bool> getOptionalBoolLoopAttribute(const Loop *TheLoop,
639 bool getBooleanLoopAttribute(const Loop *TheLoop, StringRef Name);
642 std::optional<int> getOptionalIntLoopAttribute(const Loop *TheLoop,
647 int getIntLoopAttribute(const Loop *TheLoop, StringRef Name, int Default = 0);
654 std::optional<const MDOperand *> findStringMetadataForLoop(const Loop *TheLoop,
658 CallBase *getLoopConvergenceHeart(const Loop *TheLoop);
663 bool hasMustProgress(const Loop *L);
667 bool isMustProgress(const Loop *L);
671 bool isFinite(const Loop *L);