Home
last modified time | relevance | path

Searched refs:VPV (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Transforms/Vectorize/
H A DVPlanTest.cpp815 VPValue *VPV = &Recipe; in TEST() local
816 EXPECT_TRUE(isa<VPRecipeBase>(VPV->getDef())); in TEST()
817 EXPECT_EQ(&Recipe, dyn_cast<VPRecipeBase>(VPV->getDef())); in TEST()
843 VPValue *VPV = &WidenSelectR; in TEST() local
844 EXPECT_TRUE(isa<VPRecipeBase>(VPV->getDef())); in TEST()
868 VPValue *VPV = &Recipe; in TEST() local
869 EXPECT_TRUE(isa<VPRecipeBase>(VPV->getDef())); in TEST()
947 VPValue *VPV = Recipe.getVPSingleValue(); in TEST() local
948 EXPECT_TRUE(isa<VPRecipeBase>(VPV->getDef())); in TEST()
1114 VPValue *VPV = WidenR; in TEST() local
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp36 VPValue *VPV = Ingredient.getVPSingleValue(); in VPInstructionsToVPRecipes() local
37 Instruction *Inst = cast<Instruction>(VPV->getUnderlyingValue()); in VPInstructionsToVPRecipes()
40 VPV->replaceAllUsesWith(&DummyValue); in VPInstructionsToVPRecipes()
91 VPV->replaceAllUsesWith(NewRecipe->getVPSingleValue()); in VPInstructionsToVPRecipes()
H A DVPlan.h2557 for (VPValue *VPV : VPValuesToFree)
2558 delete VPV;
2626 VPValue *VPV = new VPValue(V);
2627 Value2VPValue[V] = VPV;
2628 VPValuesToFree.push_back(VPV);
2631 void addVPValue(Value *V, VPValue *VPV) {
2635 Value2VPValue[V] = VPV;
2688 bool isUniformAfterVectorization(VPValue *VPV) const {
2689 auto RepR = dyn_cast_or_null<VPReplicateRecipe>(VPV->getDef());
2690 return !VPV->getDef() || (RepR && RepR->isUniform());
H A DVPlan.cpp644 VPValue *VPV = getOrAddExternalDef(CanonicalIVStartValue); in prepareToExecute() local
659 IV->setOperand(0, VPV); in prepareToExecute()
H A DLoopVectorize.cpp8817 auto *VPV = RecipeOrValue.get<VPValue *>(); in buildVPlanWithVPRecipes() local
8818 Plan->addVPValue(Instr, VPV); in buildVPlanWithVPRecipes()
8821 if (auto *R = dyn_cast_or_null<VPRecipeBase>(VPV->getDef())) in buildVPlanWithVPRecipes()