@@ -2246,12 +2246,12 @@ class VPReductionRecipe : public VPSingleDefRecipe {
2246
2246
// / The Operands are {ChainOp, VecOp, EVL, [Condition]}.
2247
2247
class VPReductionEVLRecipe : public VPReductionRecipe {
2248
2248
public:
2249
- VPReductionEVLRecipe (VPReductionRecipe * R, VPValue * EVL, VPValue *CondOp)
2249
+ VPReductionEVLRecipe (VPReductionRecipe & R, VPValue & EVL, VPValue *CondOp)
2250
2250
: VPReductionRecipe(
2251
- VPDef::VPReductionEVLSC, R-> getRecurrenceDescriptor (),
2252
- cast_or_null<Instruction>(R-> getUnderlyingValue ()),
2253
- ArrayRef<VPValue *>({R-> getChainOp (), R-> getVecOp (), EVL}), CondOp,
2254
- R-> isOrdered()) {}
2251
+ VPDef::VPReductionEVLSC, R. getRecurrenceDescriptor(),
2252
+ cast_or_null<Instruction>(R. getUnderlyingValue()),
2253
+ ArrayRef<VPValue *>({R. getChainOp (), R. getVecOp (), & EVL}), CondOp,
2254
+ R. isOrdered()) {}
2255
2255
2256
2256
~VPReductionEVLRecipe () override = default ;
2257
2257
@@ -2558,10 +2558,10 @@ struct VPWidenLoadRecipe final : public VPWidenMemoryRecipe, public VPValue {
2558
2558
// / using the address to load from, the explicit vector length and an optional
2559
2559
// / mask.
2560
2560
struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
2561
- VPWidenLoadEVLRecipe (VPWidenLoadRecipe * L, VPValue * EVL, VPValue *Mask)
2562
- : VPWidenMemoryRecipe(VPDef::VPWidenLoadEVLSC, L-> getIngredient (),
2563
- {L-> getAddr (), EVL}, L-> isConsecutive (),
2564
- L-> isReverse(), L-> getDebugLoc()),
2561
+ VPWidenLoadEVLRecipe (VPWidenLoadRecipe & L, VPValue & EVL, VPValue *Mask)
2562
+ : VPWidenMemoryRecipe(VPDef::VPWidenLoadEVLSC, L. getIngredient(),
2563
+ {L. getAddr (), & EVL}, L. isConsecutive(),
2564
+ L. isReverse(), L. getDebugLoc()),
2565
2565
VPValue (this , &getIngredient ()) {
2566
2566
setMask (Mask);
2567
2567
}
@@ -2634,11 +2634,10 @@ struct VPWidenStoreRecipe final : public VPWidenMemoryRecipe {
2634
2634
// / using the value to store, the address to store to, the explicit vector
2635
2635
// / length and an optional mask.
2636
2636
struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
2637
- VPWidenStoreEVLRecipe (VPWidenStoreRecipe *S, VPValue *EVL, VPValue *Mask)
2638
- : VPWidenMemoryRecipe(VPDef::VPWidenStoreEVLSC, S->getIngredient (),
2639
- {S->getAddr (), S->getStoredValue (), EVL},
2640
- S->isConsecutive (), S->isReverse(),
2641
- S->getDebugLoc()) {
2637
+ VPWidenStoreEVLRecipe (VPWidenStoreRecipe &S, VPValue &EVL, VPValue *Mask)
2638
+ : VPWidenMemoryRecipe(VPDef::VPWidenStoreEVLSC, S.getIngredient(),
2639
+ {S.getAddr (), S.getStoredValue (), &EVL},
2640
+ S.isConsecutive(), S.isReverse(), S.getDebugLoc()) {
2642
2641
setMask (Mask);
2643
2642
}
2644
2643
0 commit comments