reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Vectorize/LoopVectorize.cpp
 1660   bool SafeToHoist = OrigLoop->isLoopInvariant(V) &&
 1761     return (OrigLoop->contains(I) && shouldScalarizeInstruction(I));
 1822   assert(PSE.getSE()->isLoopInvariant(ID.getStep(), OrigLoop) &&
 1824   auto &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 2066   if (OrigLoop->isLoopInvariant(V))
 2790   LVer = std::make_unique<LoopVersioning>(*Legal->getLAI(), OrigLoop, LI, DT,
 2916   BasicBlock *OldBasicBlock = OrigLoop->getHeader();
 2917   BasicBlock *VectorPH = OrigLoop->getLoopPreheader();
 2918   BasicBlock *ExitBlock = OrigLoop->getExitBlock();
 2919   MDNode *OrigLoopID = OrigLoop->getLoopID();
 2947   Loop *ParentLoop = OrigLoop->getParentLoop();
 3021       const DataLayout &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 3042   assert(isa<BranchInst>(OrigLoop->getLoopLatch()->getTerminator()) &&
 3045       cast<BranchInst>(OrigLoop->getLoopLatch()->getTerminator());
 3092   if (MDNode *LID = OrigLoop->getLoopID())
 3114   assert(OrigLoop->getExitBlock() && "Expected a single exit block");
 3120   Value *PostInc = OrigPhi->getIncomingValueForBlock(OrigLoop->getLoopLatch());
 3123     if (!OrigLoop->contains(UI)) {
 3134     if (!OrigLoop->contains(UI)) {
 3136           OrigLoop->getHeader()->getModule()->getDataLayout();
 3464   for (PHINode &Phi : OrigLoop->getHeader()->phis()) {
 3524   auto *Preheader = OrigLoop->getLoopPreheader();
 3525   auto *Latch = OrigLoop->getLoopLatch();
 3701   BasicBlock *Latch = OrigLoop->getLoopLatch();
 3835     Phi->getBasicBlockIndex(OrigLoop->getLoopLatch());
 3981   assert(PN->getParent() == OrigLoop->getHeader() &&
 4007   const DataLayout &DL = OrigLoop->getHeader()->getModule()->getDataLayout();
 4075     if (VF > 1 && OrigLoop->hasLoopInvariantOperands(GEP)) {
 4106             OrigLoop->isLoopInvariant(GEP->getPointerOperand())
 4114           if (OrigLoop->isLoopInvariant(U.get()))
 4181         SE->isLoopInvariant(PSE.getSCEV(I.getOperand(0)), OrigLoop);
 4341   PSE.getSE()->forgetLoop(OrigLoop);