@@ -910,7 +910,7 @@ class VPIRFlags {
910910public:
911911#if !defined(NDEBUG)
912912 // / Returns true if the set flags are valid for \p Opcode.
913- bool flagsValidForOpcode (unsigned Opcode) const ;
913+ LLVM_ABI_FOR_TEST bool flagsValidForOpcode (unsigned Opcode) const ;
914914#endif
915915
916916#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
@@ -1579,11 +1579,11 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
15791579 VP_CLASSOF_IMPL (VPDef::VPWidenCastSC)
15801580
15811581 // / Produce widened copies of the cast.
1582- void execute(VPTransformState &State) override ;
1582+ LLVM_ABI_FOR_TEST void execute(VPTransformState &State) override ;
15831583
15841584 // / Return the cost of this VPWidenCastRecipe.
1585- InstructionCost computeCost (ElementCount VF,
1586- VPCostContext &Ctx) const override ;
1585+ LLVM_ABI_FOR_TEST InstructionCost
1586+ computeCost (ElementCount VF, VPCostContext &Ctx) const override ;
15871587
15881588 Instruction::CastOps getOpcode () const { return Opcode; }
15891589
@@ -1593,8 +1593,8 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
15931593protected:
15941594#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
15951595 // / Print the recipe.
1596- void printRecipe (raw_ostream &O, const Twine &Indent,
1597- VPSlotTracker &SlotTracker) const override ;
1596+ LLVM_ABI_FOR_TEST void printRecipe (raw_ostream &O, const Twine &Indent,
1597+ VPSlotTracker &SlotTracker) const override ;
15981598#endif
15991599};
16001600
@@ -1663,11 +1663,11 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
16631663 VP_CLASSOF_IMPL (VPDef::VPWidenIntrinsicSC)
16641664
16651665 // / Produce a widened version of the vector intrinsic.
1666- void execute(VPTransformState &State) override ;
1666+ LLVM_ABI_FOR_TEST void execute(VPTransformState &State) override ;
16671667
16681668 // / Return the cost of this vector intrinsic.
1669- InstructionCost computeCost (ElementCount VF,
1670- VPCostContext &Ctx) const override ;
1669+ LLVM_ABI_FOR_TEST InstructionCost
1670+ computeCost (ElementCount VF, VPCostContext &Ctx) const override ;
16711671
16721672 // / Return the ID of the intrinsic.
16731673 Intrinsic::ID getVectorIntrinsicID () const { return VectorIntrinsicID; }
@@ -1687,13 +1687,13 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags, public VPIRMetadata {
16871687 // / Returns true if the intrinsic may have side-effects.
16881688 bool mayHaveSideEffects () const { return MayHaveSideEffects; }
16891689
1690- bool usesFirstLaneOnly (const VPValue *Op) const override ;
1690+ LLVM_ABI_FOR_TEST bool usesFirstLaneOnly (const VPValue *Op) const override ;
16911691
16921692protected:
16931693#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
16941694 // / Print the recipe.
1695- void printRecipe (raw_ostream &O, const Twine &Indent,
1696- VPSlotTracker &SlotTracker) const override ;
1695+ LLVM_ABI_FOR_TEST void printRecipe (raw_ostream &O, const Twine &Indent,
1696+ VPSlotTracker &SlotTracker) const override ;
16971697#endif
16981698};
16991699
@@ -3391,11 +3391,11 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
33913391 VPValue *getEVL() const { return getOperand (1 ); }
33923392
33933393 // / Generate the wide load or gather.
3394- void execute (VPTransformState &State) override ;
3394+ LLVM_ABI_FOR_TEST void execute (VPTransformState &State) override ;
33953395
33963396 // / Return the cost of this VPWidenLoadEVLRecipe.
3397- InstructionCost computeCost (ElementCount VF,
3398- VPCostContext &Ctx) const override ;
3397+ LLVM_ABI_FOR_TEST InstructionCost
3398+ computeCost (ElementCount VF, VPCostContext &Ctx) const override ;
33993399
34003400 // / Returns true if the recipe only uses the first lane of operand \p Op.
34013401 bool usesFirstLaneOnly (const VPValue *Op) const override {
@@ -3409,8 +3409,8 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
34093409protected:
34103410#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
34113411 // / Print the recipe.
3412- void printRecipe (raw_ostream &O, const Twine &Indent,
3413- VPSlotTracker &SlotTracker) const override ;
3412+ LLVM_ABI_FOR_TEST void printRecipe (raw_ostream &O, const Twine &Indent,
3413+ VPSlotTracker &SlotTracker) const override ;
34143414#endif
34153415};
34163416
@@ -3477,11 +3477,11 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
34773477 VPValue *getEVL () const { return getOperand (2 ); }
34783478
34793479 // / Generate the wide store or scatter.
3480- void execute (VPTransformState &State) override ;
3480+ LLVM_ABI_FOR_TEST void execute (VPTransformState &State) override ;
34813481
34823482 // / Return the cost of this VPWidenStoreEVLRecipe.
3483- InstructionCost computeCost (ElementCount VF,
3484- VPCostContext &Ctx) const override ;
3483+ LLVM_ABI_FOR_TEST InstructionCost
3484+ computeCost (ElementCount VF, VPCostContext &Ctx) const override ;
34853485
34863486 // / Returns true if the recipe only uses the first lane of operand \p Op.
34873487 bool usesFirstLaneOnly (const VPValue *Op) const override {
@@ -3500,8 +3500,8 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
35003500protected:
35013501#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
35023502 // / Print the recipe.
3503- void printRecipe (raw_ostream &O, const Twine &Indent,
3504- VPSlotTracker &SlotTracker) const override ;
3503+ LLVM_ABI_FOR_TEST void printRecipe (raw_ostream &O, const Twine &Indent,
3504+ VPSlotTracker &SlotTracker) const override ;
35053505#endif
35063506};
35073507
0 commit comments