Home
last modified time | relevance | path

Searched refs:WideIV (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp609 auto *WideIV = dyn_cast<VPWidenIntOrFpInductionRecipe>(&Phi); in legalizeAndOptimizeInductions() local
610 if (!WideIV) in legalizeAndOptimizeInductions()
612 if (HasOnlyVectorVFs && none_of(WideIV->users(), [WideIV](VPUser *U) { in legalizeAndOptimizeInductions()
613 return U->usesScalars(WideIV); in legalizeAndOptimizeInductions()
617 const InductionDescriptor &ID = WideIV->getInductionDescriptor(); in legalizeAndOptimizeInductions()
621 WideIV->getTruncInst(), WideIV->getStartValue(), WideIV->getStepValue(), in legalizeAndOptimizeInductions()
626 WideIV->replaceAllUsesWith(Steps); in legalizeAndOptimizeInductions()
628 WideIV->replaceUsesWithIf(Steps, [WideIV](VPUser &U, unsigned) { in legalizeAndOptimizeInductions()
629 return U.usesScalars(WideIV); in legalizeAndOptimizeInductions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopFlatten.cpp870 auto CreateWideIV = [&](WideIVInfo WideIV, bool &Deleted) -> bool { in CanWidenIV() argument
872 createWideIV(WideIV, LI, SE, Rewriter, DT, DeadInsts, ElimExt, Widened, in CanWidenIV()
877 LLVM_DEBUG(dbgs() << "Deleting old phi: "; WideIV.NarrowIV->dump()); in CanWidenIV()
878 Deleted = RecursivelyDeleteDeadPHINode(WideIV.NarrowIV); in CanWidenIV()