Searched refs:WideIV (Results 1 – 3 of 3) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | VPlanTransforms.cpp | 684 auto *WideIV = cast<VPWidenIntOrFpInductionRecipe>(&Phi); in legalizeAndOptimizeInductions() local 685 if (HasOnlyVectorVFs && none_of(WideIV->users(), [WideIV](VPUser *U) { in legalizeAndOptimizeInductions() 686 return U->usesScalars(WideIV); in legalizeAndOptimizeInductions() 690 const InductionDescriptor &ID = WideIV->getInductionDescriptor(); in legalizeAndOptimizeInductions() 694 WideIV->getTruncInst(), WideIV->getStartValue(), WideIV->getStepValue(), in legalizeAndOptimizeInductions() 695 WideIV->getDebugLoc(), Builder); in legalizeAndOptimizeInductions() 699 WideIV->replaceAllUsesWith(Steps); in legalizeAndOptimizeInductions() 701 WideIV->replaceUsesWithIf(Steps, [WideIV](VPUser &U, unsigned) { in legalizeAndOptimizeInductions() 702 return U.usesScalars(WideIV); in legalizeAndOptimizeInductions() 711 auto *WideIV = dyn_cast<VPWidenInductionRecipe>(VPV); in getOptimizableIVOf() local [all …]
|
| H A D | LoopVectorize.cpp | 8361 VPWidenInductionRecipe *WideIV, VPBuilder &VectorPHBuilder, in addResumePhiRecipeForInduction() argument 8363 auto *WideIntOrFp = dyn_cast<VPWidenIntOrFpInductionRecipe>(WideIV); in addResumePhiRecipeForInduction() 8369 VPValue *Start = WideIV->getStartValue(); in addResumePhiRecipeForInduction() 8370 VPValue *Step = WideIV->getStepValue(); in addResumePhiRecipeForInduction() 8371 const InductionDescriptor &ID = WideIV->getInductionDescriptor(); in addResumePhiRecipeForInduction() 8381 Type *ScalarTypeOfWideIV = TypeInfo.inferScalarType(WideIV); in addResumePhiRecipeForInduction() 8385 WideIV->getDebugLoc()); in addResumePhiRecipeForInduction() 8389 {EndValue, Start}, WideIV->getDebugLoc(), "bc.resume.val"); in addResumePhiRecipeForInduction() 8803 VPWidenInductionRecipe *WideIV = in tryToBuildVPlanWithVPRecipes() local 8806 R->setOperand(1, WideIV->getStepValue()); in tryToBuildVPlanWithVPRecipes()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopFlatten.cpp | 870 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()
|