@@ -232,7 +232,7 @@ struct ElementwiseArithOpPattern final : OpConversionPattern<Op> {
232232// / Converts composite arith.constant operation to spirv.Constant.
233233struct ConstantCompositeOpPattern final
234234 : public OpConversionPattern<arith::ConstantOp> {
235- using OpConversionPattern::OpConversionPattern ;
235+ using Base::Base ;
236236
237237 LogicalResult
238238 matchAndRewrite (arith::ConstantOp constOp, OpAdaptor adaptor,
@@ -357,7 +357,7 @@ struct ConstantCompositeOpPattern final
357357// / Converts scalar arith.constant operation to spirv.Constant.
358358struct ConstantScalarOpPattern final
359359 : public OpConversionPattern<arith::ConstantOp> {
360- using OpConversionPattern::OpConversionPattern ;
360+ using Base::Base ;
361361
362362 LogicalResult
363363 matchAndRewrite (arith::ConstantOp constOp, OpAdaptor adaptor,
@@ -467,7 +467,7 @@ static Value emulateSignedRemainder(Location loc, Value lhs, Value rhs,
467467// / This cannot be merged into the template unary/binary pattern due to Vulkan
468468// / restrictions over spirv.SRem and spirv.SMod.
469469struct RemSIOpGLPattern final : public OpConversionPattern<arith::RemSIOp> {
470- using OpConversionPattern::OpConversionPattern ;
470+ using Base::Base ;
471471
472472 LogicalResult
473473 matchAndRewrite (arith::RemSIOp op, OpAdaptor adaptor,
@@ -483,7 +483,7 @@ struct RemSIOpGLPattern final : public OpConversionPattern<arith::RemSIOp> {
483483
484484// / Converts arith.remsi to OpenCL SPIR-V ops.
485485struct RemSIOpCLPattern final : public OpConversionPattern<arith::RemSIOp> {
486- using OpConversionPattern::OpConversionPattern ;
486+ using Base::Base ;
487487
488488 LogicalResult
489489 matchAndRewrite (arith::RemSIOp op, OpAdaptor adaptor,
@@ -534,7 +534,7 @@ struct BitwiseOpPattern final : public OpConversionPattern<Op> {
534534
535535// / Converts arith.xori to SPIR-V operations.
536536struct XOrIOpLogicalPattern final : public OpConversionPattern<arith::XOrIOp> {
537- using OpConversionPattern::OpConversionPattern ;
537+ using Base::Base ;
538538
539539 LogicalResult
540540 matchAndRewrite (arith::XOrIOp op, OpAdaptor adaptor,
@@ -558,7 +558,7 @@ struct XOrIOpLogicalPattern final : public OpConversionPattern<arith::XOrIOp> {
558558// / Converts arith.xori to SPIR-V operations if the type of source is i1 or
559559// / vector of i1.
560560struct XOrIOpBooleanPattern final : public OpConversionPattern<arith::XOrIOp> {
561- using OpConversionPattern::OpConversionPattern ;
561+ using Base::Base ;
562562
563563 LogicalResult
564564 matchAndRewrite (arith::XOrIOp op, OpAdaptor adaptor,
@@ -585,7 +585,7 @@ struct XOrIOpBooleanPattern final : public OpConversionPattern<arith::XOrIOp> {
585585// / Converts arith.uitofp to spirv.Select if the type of source is i1 or vector
586586// / of i1.
587587struct UIToFPI1Pattern final : public OpConversionPattern<arith::UIToFPOp> {
588- using OpConversionPattern::OpConversionPattern ;
588+ using Base::Base ;
589589
590590 LogicalResult
591591 matchAndRewrite (arith::UIToFPOp op, OpAdaptor adaptor,
@@ -614,7 +614,7 @@ struct UIToFPI1Pattern final : public OpConversionPattern<arith::UIToFPOp> {
614614// / Converts arith.index_cast to spirv.INotEqual if the target type is i1.
615615struct IndexCastIndexI1Pattern final
616616 : public OpConversionPattern<arith::IndexCastOp> {
617- using OpConversionPattern::OpConversionPattern ;
617+ using Base::Base ;
618618
619619 LogicalResult
620620 matchAndRewrite (arith::IndexCastOp op, OpAdaptor adaptor,
@@ -638,7 +638,7 @@ struct IndexCastIndexI1Pattern final
638638// / Converts arith.index_cast to spirv.Select if the source type is i1.
639639struct IndexCastI1IndexPattern final
640640 : public OpConversionPattern<arith::IndexCastOp> {
641- using OpConversionPattern::OpConversionPattern ;
641+ using Base::Base ;
642642
643643 LogicalResult
644644 matchAndRewrite (arith::IndexCastOp op, OpAdaptor adaptor,
@@ -666,7 +666,7 @@ struct IndexCastI1IndexPattern final
666666// / Converts arith.extsi to spirv.Select if the type of source is i1 or vector
667667// / of i1.
668668struct ExtSII1Pattern final : public OpConversionPattern<arith::ExtSIOp> {
669- using OpConversionPattern::OpConversionPattern ;
669+ using Base::Base ;
670670
671671 LogicalResult
672672 matchAndRewrite (arith::ExtSIOp op, OpAdaptor adaptor,
@@ -707,7 +707,7 @@ struct ExtSII1Pattern final : public OpConversionPattern<arith::ExtSIOp> {
707707// / Converts arith.extsi to spirv.Select if the type of source is neither i1 nor
708708// / vector of i1.
709709struct ExtSIPattern final : public OpConversionPattern<arith::ExtSIOp> {
710- using OpConversionPattern::OpConversionPattern ;
710+ using Base::Base ;
711711
712712 LogicalResult
713713 matchAndRewrite (arith::ExtSIOp op, OpAdaptor adaptor,
@@ -758,7 +758,7 @@ struct ExtSIPattern final : public OpConversionPattern<arith::ExtSIOp> {
758758// / Converts arith.extui to spirv.Select if the type of source is i1 or vector
759759// / of i1.
760760struct ExtUII1Pattern final : public OpConversionPattern<arith::ExtUIOp> {
761- using OpConversionPattern::OpConversionPattern ;
761+ using Base::Base ;
762762
763763 LogicalResult
764764 matchAndRewrite (arith::ExtUIOp op, OpAdaptor adaptor,
@@ -783,7 +783,7 @@ struct ExtUII1Pattern final : public OpConversionPattern<arith::ExtUIOp> {
783783// / Converts arith.extui for cases where the type of source is neither i1 nor
784784// / vector of i1.
785785struct ExtUIPattern final : public OpConversionPattern<arith::ExtUIOp> {
786- using OpConversionPattern::OpConversionPattern ;
786+ using Base::Base ;
787787
788788 LogicalResult
789789 matchAndRewrite (arith::ExtUIOp op, OpAdaptor adaptor,
@@ -823,7 +823,7 @@ struct ExtUIPattern final : public OpConversionPattern<arith::ExtUIOp> {
823823// / Converts arith.trunci to spirv.Select if the type of result is i1 or vector
824824// / of i1.
825825struct TruncII1Pattern final : public OpConversionPattern<arith::TruncIOp> {
826- using OpConversionPattern::OpConversionPattern ;
826+ using Base::Base ;
827827
828828 LogicalResult
829829 matchAndRewrite (arith::TruncIOp op, OpAdaptor adaptor,
@@ -853,7 +853,7 @@ struct TruncII1Pattern final : public OpConversionPattern<arith::TruncIOp> {
853853// / Converts arith.trunci for cases where the type of result is neither i1
854854// / nor vector of i1.
855855struct TruncIPattern final : public OpConversionPattern<arith::TruncIOp> {
856- using OpConversionPattern::OpConversionPattern ;
856+ using Base::Base ;
857857
858858 LogicalResult
859859 matchAndRewrite (arith::TruncIOp op, OpAdaptor adaptor,
@@ -963,7 +963,7 @@ struct TypeCastingOpPattern final : public OpConversionPattern<Op> {
963963// / Converts integer compare operation on i1 type operands to SPIR-V ops.
964964class CmpIOpBooleanPattern final : public OpConversionPattern<arith::CmpIOp> {
965965public:
966- using OpConversionPattern::OpConversionPattern ;
966+ using Base::Base ;
967967
968968 LogicalResult
969969 matchAndRewrite (arith::CmpIOp op, OpAdaptor adaptor,
@@ -1014,7 +1014,7 @@ class CmpIOpBooleanPattern final : public OpConversionPattern<arith::CmpIOp> {
10141014// / Converts integer compare operation to SPIR-V ops.
10151015class CmpIOpPattern final : public OpConversionPattern<arith::CmpIOp> {
10161016public:
1017- using OpConversionPattern::OpConversionPattern ;
1017+ using Base::Base ;
10181018
10191019 LogicalResult
10201020 matchAndRewrite (arith::CmpIOp op, OpAdaptor adaptor,
@@ -1063,7 +1063,7 @@ class CmpIOpPattern final : public OpConversionPattern<arith::CmpIOp> {
10631063// / Converts floating-point comparison operations to SPIR-V ops.
10641064class CmpFOpPattern final : public OpConversionPattern<arith::CmpFOp> {
10651065public:
1066- using OpConversionPattern::OpConversionPattern ;
1066+ using Base::Base ;
10671067
10681068 LogicalResult
10691069 matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1103,7 +1103,7 @@ class CmpFOpPattern final : public OpConversionPattern<arith::CmpFOp> {
11031103// / Kernel capability.
11041104class CmpFOpNanKernelPattern final : public OpConversionPattern<arith::CmpFOp> {
11051105public:
1106- using OpConversionPattern::OpConversionPattern ;
1106+ using Base::Base ;
11071107
11081108 LogicalResult
11091109 matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1128,7 +1128,7 @@ class CmpFOpNanKernelPattern final : public OpConversionPattern<arith::CmpFOp> {
11281128// / require additional capability.
11291129class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
11301130public:
1131- using OpConversionPattern<arith::CmpFOp>::OpConversionPattern ;
1131+ using Base::Base ;
11321132
11331133 LogicalResult
11341134 matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1170,7 +1170,7 @@ class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
11701170class AddUIExtendedOpPattern final
11711171 : public OpConversionPattern<arith::AddUIExtendedOp> {
11721172public:
1173- using OpConversionPattern::OpConversionPattern ;
1173+ using Base::Base ;
11741174 LogicalResult
11751175 matchAndRewrite (arith::AddUIExtendedOp op, OpAdaptor adaptor,
11761176 ConversionPatternRewriter &rewriter) const override {
@@ -1226,7 +1226,7 @@ class MulIExtendedOpPattern final : public OpConversionPattern<ArithMulOp> {
12261226// / Converts arith.select to spirv.Select.
12271227class SelectOpPattern final : public OpConversionPattern<arith::SelectOp> {
12281228public:
1229- using OpConversionPattern::OpConversionPattern ;
1229+ using Base::Base ;
12301230 LogicalResult
12311231 matchAndRewrite (arith::SelectOp op, OpAdaptor adaptor,
12321232 ConversionPatternRewriter &rewriter) const override {
0 commit comments