@@ -232,7 +232,7 @@ struct ElementwiseArithOpPattern final : OpConversionPattern<Op> {
232
232
// / Converts composite arith.constant operation to spirv.Constant.
233
233
struct ConstantCompositeOpPattern final
234
234
: public OpConversionPattern<arith::ConstantOp> {
235
- using OpConversionPattern::OpConversionPattern ;
235
+ using Base::Base ;
236
236
237
237
LogicalResult
238
238
matchAndRewrite (arith::ConstantOp constOp, OpAdaptor adaptor,
@@ -357,7 +357,7 @@ struct ConstantCompositeOpPattern final
357
357
// / Converts scalar arith.constant operation to spirv.Constant.
358
358
struct ConstantScalarOpPattern final
359
359
: public OpConversionPattern<arith::ConstantOp> {
360
- using OpConversionPattern::OpConversionPattern ;
360
+ using Base::Base ;
361
361
362
362
LogicalResult
363
363
matchAndRewrite (arith::ConstantOp constOp, OpAdaptor adaptor,
@@ -467,7 +467,7 @@ static Value emulateSignedRemainder(Location loc, Value lhs, Value rhs,
467
467
// / This cannot be merged into the template unary/binary pattern due to Vulkan
468
468
// / restrictions over spirv.SRem and spirv.SMod.
469
469
struct RemSIOpGLPattern final : public OpConversionPattern<arith::RemSIOp> {
470
- using OpConversionPattern::OpConversionPattern ;
470
+ using Base::Base ;
471
471
472
472
LogicalResult
473
473
matchAndRewrite (arith::RemSIOp op, OpAdaptor adaptor,
@@ -483,7 +483,7 @@ struct RemSIOpGLPattern final : public OpConversionPattern<arith::RemSIOp> {
483
483
484
484
// / Converts arith.remsi to OpenCL SPIR-V ops.
485
485
struct RemSIOpCLPattern final : public OpConversionPattern<arith::RemSIOp> {
486
- using OpConversionPattern::OpConversionPattern ;
486
+ using Base::Base ;
487
487
488
488
LogicalResult
489
489
matchAndRewrite (arith::RemSIOp op, OpAdaptor adaptor,
@@ -534,7 +534,7 @@ struct BitwiseOpPattern final : public OpConversionPattern<Op> {
534
534
535
535
// / Converts arith.xori to SPIR-V operations.
536
536
struct XOrIOpLogicalPattern final : public OpConversionPattern<arith::XOrIOp> {
537
- using OpConversionPattern::OpConversionPattern ;
537
+ using Base::Base ;
538
538
539
539
LogicalResult
540
540
matchAndRewrite (arith::XOrIOp op, OpAdaptor adaptor,
@@ -558,7 +558,7 @@ struct XOrIOpLogicalPattern final : public OpConversionPattern<arith::XOrIOp> {
558
558
// / Converts arith.xori to SPIR-V operations if the type of source is i1 or
559
559
// / vector of i1.
560
560
struct XOrIOpBooleanPattern final : public OpConversionPattern<arith::XOrIOp> {
561
- using OpConversionPattern::OpConversionPattern ;
561
+ using Base::Base ;
562
562
563
563
LogicalResult
564
564
matchAndRewrite (arith::XOrIOp op, OpAdaptor adaptor,
@@ -585,7 +585,7 @@ struct XOrIOpBooleanPattern final : public OpConversionPattern<arith::XOrIOp> {
585
585
// / Converts arith.uitofp to spirv.Select if the type of source is i1 or vector
586
586
// / of i1.
587
587
struct UIToFPI1Pattern final : public OpConversionPattern<arith::UIToFPOp> {
588
- using OpConversionPattern::OpConversionPattern ;
588
+ using Base::Base ;
589
589
590
590
LogicalResult
591
591
matchAndRewrite (arith::UIToFPOp op, OpAdaptor adaptor,
@@ -614,7 +614,7 @@ struct UIToFPI1Pattern final : public OpConversionPattern<arith::UIToFPOp> {
614
614
// / Converts arith.index_cast to spirv.INotEqual if the target type is i1.
615
615
struct IndexCastIndexI1Pattern final
616
616
: public OpConversionPattern<arith::IndexCastOp> {
617
- using OpConversionPattern::OpConversionPattern ;
617
+ using Base::Base ;
618
618
619
619
LogicalResult
620
620
matchAndRewrite (arith::IndexCastOp op, OpAdaptor adaptor,
@@ -638,7 +638,7 @@ struct IndexCastIndexI1Pattern final
638
638
// / Converts arith.index_cast to spirv.Select if the source type is i1.
639
639
struct IndexCastI1IndexPattern final
640
640
: public OpConversionPattern<arith::IndexCastOp> {
641
- using OpConversionPattern::OpConversionPattern ;
641
+ using Base::Base ;
642
642
643
643
LogicalResult
644
644
matchAndRewrite (arith::IndexCastOp op, OpAdaptor adaptor,
@@ -666,7 +666,7 @@ struct IndexCastI1IndexPattern final
666
666
// / Converts arith.extsi to spirv.Select if the type of source is i1 or vector
667
667
// / of i1.
668
668
struct ExtSII1Pattern final : public OpConversionPattern<arith::ExtSIOp> {
669
- using OpConversionPattern::OpConversionPattern ;
669
+ using Base::Base ;
670
670
671
671
LogicalResult
672
672
matchAndRewrite (arith::ExtSIOp op, OpAdaptor adaptor,
@@ -707,7 +707,7 @@ struct ExtSII1Pattern final : public OpConversionPattern<arith::ExtSIOp> {
707
707
// / Converts arith.extsi to spirv.Select if the type of source is neither i1 nor
708
708
// / vector of i1.
709
709
struct ExtSIPattern final : public OpConversionPattern<arith::ExtSIOp> {
710
- using OpConversionPattern::OpConversionPattern ;
710
+ using Base::Base ;
711
711
712
712
LogicalResult
713
713
matchAndRewrite (arith::ExtSIOp op, OpAdaptor adaptor,
@@ -758,7 +758,7 @@ struct ExtSIPattern final : public OpConversionPattern<arith::ExtSIOp> {
758
758
// / Converts arith.extui to spirv.Select if the type of source is i1 or vector
759
759
// / of i1.
760
760
struct ExtUII1Pattern final : public OpConversionPattern<arith::ExtUIOp> {
761
- using OpConversionPattern::OpConversionPattern ;
761
+ using Base::Base ;
762
762
763
763
LogicalResult
764
764
matchAndRewrite (arith::ExtUIOp op, OpAdaptor adaptor,
@@ -783,7 +783,7 @@ struct ExtUII1Pattern final : public OpConversionPattern<arith::ExtUIOp> {
783
783
// / Converts arith.extui for cases where the type of source is neither i1 nor
784
784
// / vector of i1.
785
785
struct ExtUIPattern final : public OpConversionPattern<arith::ExtUIOp> {
786
- using OpConversionPattern::OpConversionPattern ;
786
+ using Base::Base ;
787
787
788
788
LogicalResult
789
789
matchAndRewrite (arith::ExtUIOp op, OpAdaptor adaptor,
@@ -823,7 +823,7 @@ struct ExtUIPattern final : public OpConversionPattern<arith::ExtUIOp> {
823
823
// / Converts arith.trunci to spirv.Select if the type of result is i1 or vector
824
824
// / of i1.
825
825
struct TruncII1Pattern final : public OpConversionPattern<arith::TruncIOp> {
826
- using OpConversionPattern::OpConversionPattern ;
826
+ using Base::Base ;
827
827
828
828
LogicalResult
829
829
matchAndRewrite (arith::TruncIOp op, OpAdaptor adaptor,
@@ -853,7 +853,7 @@ struct TruncII1Pattern final : public OpConversionPattern<arith::TruncIOp> {
853
853
// / Converts arith.trunci for cases where the type of result is neither i1
854
854
// / nor vector of i1.
855
855
struct TruncIPattern final : public OpConversionPattern<arith::TruncIOp> {
856
- using OpConversionPattern::OpConversionPattern ;
856
+ using Base::Base ;
857
857
858
858
LogicalResult
859
859
matchAndRewrite (arith::TruncIOp op, OpAdaptor adaptor,
@@ -963,7 +963,7 @@ struct TypeCastingOpPattern final : public OpConversionPattern<Op> {
963
963
// / Converts integer compare operation on i1 type operands to SPIR-V ops.
964
964
class CmpIOpBooleanPattern final : public OpConversionPattern<arith::CmpIOp> {
965
965
public:
966
- using OpConversionPattern::OpConversionPattern ;
966
+ using Base::Base ;
967
967
968
968
LogicalResult
969
969
matchAndRewrite (arith::CmpIOp op, OpAdaptor adaptor,
@@ -1014,7 +1014,7 @@ class CmpIOpBooleanPattern final : public OpConversionPattern<arith::CmpIOp> {
1014
1014
// / Converts integer compare operation to SPIR-V ops.
1015
1015
class CmpIOpPattern final : public OpConversionPattern<arith::CmpIOp> {
1016
1016
public:
1017
- using OpConversionPattern::OpConversionPattern ;
1017
+ using Base::Base ;
1018
1018
1019
1019
LogicalResult
1020
1020
matchAndRewrite (arith::CmpIOp op, OpAdaptor adaptor,
@@ -1063,7 +1063,7 @@ class CmpIOpPattern final : public OpConversionPattern<arith::CmpIOp> {
1063
1063
// / Converts floating-point comparison operations to SPIR-V ops.
1064
1064
class CmpFOpPattern final : public OpConversionPattern<arith::CmpFOp> {
1065
1065
public:
1066
- using OpConversionPattern::OpConversionPattern ;
1066
+ using Base::Base ;
1067
1067
1068
1068
LogicalResult
1069
1069
matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1103,7 +1103,7 @@ class CmpFOpPattern final : public OpConversionPattern<arith::CmpFOp> {
1103
1103
// / Kernel capability.
1104
1104
class CmpFOpNanKernelPattern final : public OpConversionPattern<arith::CmpFOp> {
1105
1105
public:
1106
- using OpConversionPattern::OpConversionPattern ;
1106
+ using Base::Base ;
1107
1107
1108
1108
LogicalResult
1109
1109
matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1128,7 +1128,7 @@ class CmpFOpNanKernelPattern final : public OpConversionPattern<arith::CmpFOp> {
1128
1128
// / require additional capability.
1129
1129
class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
1130
1130
public:
1131
- using OpConversionPattern<arith::CmpFOp>::OpConversionPattern ;
1131
+ using Base::Base ;
1132
1132
1133
1133
LogicalResult
1134
1134
matchAndRewrite (arith::CmpFOp op, OpAdaptor adaptor,
@@ -1170,7 +1170,7 @@ class CmpFOpNanNonePattern final : public OpConversionPattern<arith::CmpFOp> {
1170
1170
class AddUIExtendedOpPattern final
1171
1171
: public OpConversionPattern<arith::AddUIExtendedOp> {
1172
1172
public:
1173
- using OpConversionPattern::OpConversionPattern ;
1173
+ using Base::Base ;
1174
1174
LogicalResult
1175
1175
matchAndRewrite (arith::AddUIExtendedOp op, OpAdaptor adaptor,
1176
1176
ConversionPatternRewriter &rewriter) const override {
@@ -1226,7 +1226,7 @@ class MulIExtendedOpPattern final : public OpConversionPattern<ArithMulOp> {
1226
1226
// / Converts arith.select to spirv.Select.
1227
1227
class SelectOpPattern final : public OpConversionPattern<arith::SelectOp> {
1228
1228
public:
1229
- using OpConversionPattern::OpConversionPattern ;
1229
+ using Base::Base ;
1230
1230
LogicalResult
1231
1231
matchAndRewrite (arith::SelectOp op, OpAdaptor adaptor,
1232
1232
ConversionPatternRewriter &rewriter) const override {
0 commit comments