diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp index 55c1ecde2aae10..3e9540f35f3273 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp @@ -61,7 +61,7 @@ namespace intel_cpu { class ConvertGroupConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGroupConvolution", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGroupConvolution"); ConvertGroupConvolution(); }; } // namespace intel_cpu diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp index 5674514eeb8e64..7898833529294b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp @@ -54,7 +54,7 @@ namespace ov { namespace intel_cpu { class ConvertConv1DBase : public ov::pass::MatcherPass { protected: - OPENVINO_RTTI("ConvertConv1DBase", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertConv1DBase"); template ov::matcher_pass_callback convert_conv1d_to_conv2d(); }; @@ -71,4 +71,4 @@ class ConvertGroupConv1D : public ConvertConv1DBase { ConvertGroupConv1D(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp index 8e5fd1e38b605a..947d7ee476bc81 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp @@ -51,7 +51,7 @@ namespace intel_cpu { class ConvertReduceMultiAxisBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceMultiAxisBase", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertReduceMultiAxisBase"); template ov::matcher_pass_callback convert_reduce(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp index ea4128ea265e42..6cc683154cc175 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp @@ -45,7 +45,7 @@ namespace intel_cpu { class ConvertReduceNoKeepDimsBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceNoKeepDims", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertReduceNoKeepDimsBase"); template ov::matcher_pass_callback convert_reduce(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp index 75b45dca468dc7..07384a8f1e24ca 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class MishDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("MishDecomposition"); MishDecomposition(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp index f9ab862b19f4dd..9b9762ee5e525b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp @@ -19,7 +19,7 @@ namespace intel_cpu { class AlignMatMulInputRanks : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AlignMatMulInputRanks", "0"); + OPENVINO_MATCHER_PASS_RTTI("AlignMatMulInputRanks"); AlignMatMulInputRanks(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp index 5801dbb8ae74a9..5f3058429a8497 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp @@ -24,7 +24,7 @@ using namespace ov::gen_pattern; class CausalMaskPreprocess : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CausalMaskPreprocess", "0"); + OPENVINO_MATCHER_PASS_RTTI("CausalMaskPreprocess"); CausalMaskPreprocess(); private: diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp index b0b1e5632f908a..e1b3307a13bdc4 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertBroadcastToTiles : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBroadcastToTiles", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBroadcastToTiles"); ConvertBroadcastToTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp index ee3692f2ea4ca6..a51a357197ef26 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp @@ -76,7 +76,7 @@ namespace intel_cpu { class ConvertFqRnnToQuantizedRnn : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertFqRnnToQuantizedRnn", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertFqRnnToQuantizedRnn"); ConvertFqRnnToQuantizedRnn(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp index 03366161f8c904..cf628a3497f3a5 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertMatMulToFC : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMatMulToFC", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMatMulToFC"); ConvertMatMulToFC(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp index 5a4928477abec9..3760f2e000aee2 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertTileToSeqTiles : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTileToSeqTiles", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTileToSeqTiles"); ConvertTileToSeqTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp index b09f14de5793c5..40d4ed2907dbba 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToLeakyRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToLeakyRelu", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertToLeakyRelu"); ConvertToLeakyRelu(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp index d34a4c3667b5aa..3797eb780b3d13 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToPowerStatic : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToPowerStatic", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertToPowerStatic"); ConvertToPowerStatic(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp index 3fe3569a13e745..3a640410db472b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToSwishCPU : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToSwishCPU", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertToSwishCPU"); ConvertToSwishCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp index 329febfcd21e92..ac7e2c2e72f68a 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeIntegerDivide : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeIntegerDivide", "0"); + OPENVINO_MATCHER_PASS_RTTI("DecomposeIntegerDivide"); DecomposeIntegerDivide(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp index f11a3afa23d20c..4cc58841a77bb7 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeRMSNorm : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeRMSNorm", "0"); + OPENVINO_MATCHER_PASS_RTTI("DecomposeRMSNorm"); DecomposeRMSNorm(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp index d1e64969fbcf4e..5fadd183dfd694 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class FullyConnectedBiasFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FullyConnectedBiasFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("FullyConnectedBiasFusion"); FullyConnectedBiasFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp index 49cfab68bc6911..7c52d3614407fd 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp @@ -14,7 +14,7 @@ namespace pass { class InsertConvertAfterExtension : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InsertConvertAfterExtension", "0"); + OPENVINO_MATCHER_PASS_RTTI("InsertConvertAfterExtension"); InsertConvertAfterExtension(bool convert_output_precision = true); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp index 0af0469ce0135e..d3869ff7509fae 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp @@ -25,7 +25,7 @@ namespace intel_cpu { */ class MoveFCReshapeToWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveFCReshapeToWeights", "0"); + OPENVINO_MATCHER_PASS_RTTI("MoveFCReshapeToWeights"); MoveFCReshapeToWeights(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp index a90487391b32ac..7a3aa4b3432318 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class NgramFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NgramFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("NgramFusion"); NgramFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp index bbca2449a473af..369ef8ccab92e3 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp @@ -14,7 +14,7 @@ namespace intel_cpu { class PermuteSliceAndInterpolation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PermuteSliceAndInterpolation", "0"); + OPENVINO_MATCHER_PASS_RTTI("PermuteSliceAndInterpolation"); PermuteSliceAndInterpolation(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp index d7bfd28f0db80d..a63a3dce8219c2 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp @@ -11,19 +11,19 @@ namespace intel_cpu { class OptimizeGRUSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeGRUSequenceTransposes", "0"); + OPENVINO_MATCHER_PASS_RTTI("OptimizeGRUSequenceTransposes"); OptimizeGRUSequenceTransposes(); }; class OptimizeLSTMSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeLSTMSequenceTransposes", "0"); + OPENVINO_MATCHER_PASS_RTTI("OptimizeLSTMSequenceTransposes"); OptimizeLSTMSequenceTransposes(); }; class OptimizeRNNSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeRNNSequenceTransposes", "0"); + OPENVINO_MATCHER_PASS_RTTI("OptimizeRNNSequenceTransposes"); OptimizeRNNSequenceTransposes(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp index bc000eb0485cd2..96028402aa9f92 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class StatefulSDPAFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StatefulSDPAFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("StatefulSDPAFusion"); StatefulSDPAFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/swap_convert_transpose.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/swap_convert_transpose.hpp index 747ca3482eaf0c..7c53d73104fc1d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/swap_convert_transpose.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/swap_convert_transpose.hpp @@ -11,6 +11,7 @@ namespace intel_cpu { class SwapConvertTranspose : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("SwapConvertTranspose"); SwapConvertTranspose(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp index 9fee162128f3ab..d9ed8e298d18fe 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp @@ -11,19 +11,19 @@ namespace intel_cpu { class ConvertToInteraction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToInteraction", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertToInteraction"); ConvertToInteraction(); }; class FuseFQtoInteraction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseFQtoInteraction", "0"); + OPENVINO_MATCHER_PASS_RTTI("FuseFQtoInteraction"); FuseFQtoInteraction(); }; class ConvertInteractionInt8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertInteractionInt8", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertInteractionInt8"); ConvertInteractionInt8(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp index 9273220c4a0a0c..fe4f4ccae04f1c 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp @@ -11,6 +11,9 @@ namespace ov { namespace intel_cpu { class MHAFusionBase : public ov::pass::MatcherPass { +public: + OPENVINO_MATCHER_PASS_RTTI("MHAFusionBase"); + protected: bool valid_transpose_order(const std::shared_ptr& node, const std::vector& expected_order) { if (auto transpose_pattern = ov::as_type_ptr(node)) { diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp index 5754d0fa9b622f..139aaaa488a1cb 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp @@ -11,9 +11,9 @@ namespace intel_cpu { class MLPFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MLPFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MLPFusion"); MLPFusion(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp index bfaf42f1f0acd3..e5b1743a68f7e6 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp @@ -11,15 +11,15 @@ namespace intel_cpu { class QKVProjFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("QKVProjFusion"); QKVProjFusion(); }; class QKVProjFusion2 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion2", "0"); + OPENVINO_MATCHER_PASS_RTTI("QKVProjFusion2"); QKVProjFusion2(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp index d2bb84893c0728..ebba0a3ec9e185 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class SDPAFuseTransposeReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SDPAFuseTransposeReshape", "0"); + OPENVINO_MATCHER_PASS_RTTI("SDPAFuseTransposeReshape"); SDPAFuseTransposeReshape(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/common/pass/mul_add_to_fma.hpp b/src/plugins/intel_cpu/src/transformations/snippets/common/pass/mul_add_to_fma.hpp index 57cf48283e4552..b171e861b23cba 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/common/pass/mul_add_to_fma.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/common/pass/mul_add_to_fma.hpp @@ -17,6 +17,7 @@ namespace pass { */ class MulAddToFMA : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("MulAddToFMA"); MulAddToFMA(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp index 9475171b24f65d..245f83c13c3466 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp @@ -34,7 +34,7 @@ namespace pass { */ class BrgemmToBrgemmCPU : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmCPU", "0"); + OPENVINO_MATCHER_PASS_RTTI("BrgemmToBrgemmCPU"); BrgemmToBrgemmCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp index 89815eb1d6ffbf..c330bc9c922381 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp @@ -20,7 +20,7 @@ namespace pass { */ class EliminateBrgemmCopyB : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateBrgemmCopyB", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateBrgemmCopyB"); EliminateBrgemmCopyB(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp index 000321a8918ccd..2c965871840572 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp @@ -17,7 +17,7 @@ namespace pass { */ class RemoveConverts : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConverts", "0"); + OPENVINO_MATCHER_PASS_RTTI("RemoveConverts"); RemoveConverts(); }; diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp index 0fb26f6df1d6b2..2b73104d1e1335 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class BrgemmToBrgemmTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmTPP", "0"); + OPENVINO_MATCHER_PASS_RTTI("BrgemmToBrgemmTPP"); BrgemmToBrgemmTPP(); static bool is_supported_brgemm_configuration(const std::vector>& layouts, diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp index 189d048e86ffd7..f0bdab120c3498 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class EltwiseToEltwiseTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EltwiseToEltwiseTPP", "0"); + OPENVINO_MATCHER_PASS_RTTI("EltwiseToEltwiseTPP"); EltwiseToEltwiseTPP(); }; diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp index 8bbfcf80c751ac..a56e23363067e2 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class ScalarToScalarTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ScalarToScalarTPP", "0"); + OPENVINO_MATCHER_PASS_RTTI("ScalarToScalarTPP"); ScalarToScalarTPP(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp index 1a869b8afbddf2..1fab1692d97cbe 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp @@ -13,7 +13,7 @@ namespace intel_gpu { // and adds optional padding to align elements count to `alignment` value class BroadcastAndPadZeroPointBuffers : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastAndPadZeroPointBuffers", "0"); + OPENVINO_MATCHER_PASS_RTTI("BroadcastAndPadZeroPointBuffers"); BroadcastAndPadZeroPointBuffers(size_t alignment = 1, bool supports_immad = false); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp index 90d62a8e7a1fa5..bf372ae19c1553 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertBinaryConvolutionToConvolution: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBinaryConvolutionToConvolution", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBinaryConvolutionToConvolution"); ConvertBinaryConvolutionToConvolution(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp index ac93d446ee749d..bea51c2e768576 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp @@ -18,7 +18,7 @@ namespace intel_gpu { */ class ClampFP16Output: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::intel_gpu::ClampFP16Output"); + OPENVINO_MATCHER_PASS_RTTI("ov::intel_gpu::ClampFP16Output"); ClampFP16Output(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp index 656b4c6fd99c20..0d23eb49829217 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp @@ -102,13 +102,13 @@ ov::Tensor get_compensation(std::shared_ptr w, std::shared_ptr class KVCacheCompressionMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("KVCacheCompressionMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("KVCacheCompressionMatcher"); KVCacheCompressionMatcher(ov::element::Type compression_dt); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp index 8be42a1311094b..f22b32b23ea407 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp @@ -30,7 +30,7 @@ namespace intel_gpu { class KVCacheFusionMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("KVCacheFusionMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("KVCacheFusionMatcher"); KVCacheFusionMatcher(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp b/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp index f573abd4589e8f..7237e5c97ace70 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp @@ -30,7 +30,7 @@ namespace intel_gpu { */ class MoveFCReshapeToWeights: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveFCReshapeToWeights", "0"); + OPENVINO_MATCHER_PASS_RTTI("MoveFCReshapeToWeights"); MoveFCReshapeToWeights(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp b/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp index 3a38bb92ad5167..702b18e7fc5dc9 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp @@ -15,7 +15,7 @@ namespace intel_gpu { */ class OptimizeSubsequentReshapes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeSubsequentReshapes", "0"); + OPENVINO_MATCHER_PASS_RTTI("OptimizeSubsequentReshapes"); OptimizeSubsequentReshapes(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp index 4869100054b819..a845c7a7aa86b0 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp @@ -17,19 +17,19 @@ class TransposeFusion: public ov::pass::GraphRewrite { class TransposeMatMulMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMulMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeMatMulMatcher"); TransposeMatMulMatcher(bool supports_immad); }; class TransposeMatMulTransposeMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMulTransposeMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeMatMulTransposeMatcher"); TransposeMatMulTransposeMatcher(bool supports_immad); }; class TransposeSDPAMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeSDPAMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeSDPAMatcher"); TransposeSDPAMatcher(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp index 35ed30cdc9726e..3e5926561820b8 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class UnsqueezeBroadcastReshapeMatmulFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsqueezeBroadcastReshapeMatmulFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("UnsqueezeBroadcastReshapeMatmulFusion"); UnsqueezeBroadcastReshapeMatmulFusion(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp index ede3ac16fb51b5..e740e846409ea9 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class UnsqueezeBroadcastReshapeSDPAFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsqueezeBroadcastReshapeSDPAFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("UnsqueezeBroadcastReshapeSDPAFusion"); UnsqueezeBroadcastReshapeSDPAFusion(); }; diff --git a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/avoid.hpp b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/avoid.hpp index e77a02a4439018..24d682c603a799 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/avoid.hpp +++ b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/avoid.hpp @@ -23,6 +23,7 @@ namespace avoid { // Note: this pattern is only utilized by the online partitioner class RMSNorm : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::avoid::RMSNorm"); RMSNorm(const std::shared_ptr& snapshot, const std::string& avoid_device); }; diff --git a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/compute.hpp b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/compute.hpp index 77bc9fb3f90418..8a70290dfabe4e 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/compute.hpp +++ b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/compute.hpp @@ -23,41 +23,49 @@ namespace compute { class DQMatMulGQu4 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::DQMatMulGQu4"); DQMatMulGQu4(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class DQMatMulCWu4 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::DQMatMulCWu4"); DQMatMulCWu4(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class DQMatMulGQi4 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::DQMatMulGQi4"); DQMatMulGQi4(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class DQMatMulCWi4 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::DQMatMulCWi4"); DQMatMulCWi4(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class DQMatMulConv : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::DQMatMulConv"); DQMatMulConv(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class VocabMatMul : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::VocabMatMul"); VocabMatMul(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class RMSNorm : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::RMSNorm"); RMSNorm(const std::shared_ptr& snapshot, const std::string& isol_tag); }; class RMSNorm2 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::compute::RMSNorm2"); RMSNorm2(const std::shared_ptr& snapshot, const std::string& isol_tag); }; diff --git a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/dcoff.hpp b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/dcoff.hpp index da06a5304c8bd7..4b4cbdd823dfb2 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/dcoff.hpp +++ b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/dcoff.hpp @@ -54,6 +54,9 @@ void finalize_remap(Function& fbody, Subgraph& fsg, const ClosureRemap& m); namespace SymmNoZP { class DCOFFPassBase : public ov::pass::MatcherPass { +public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmNoZP::DCOFFPassBase"); + protected: DCOffMode m_dcoff_mode = DCOffMode::CAST_ONLY; ov::element::Type m_dcoff_type; @@ -94,6 +97,9 @@ class DCOFFPassGather final : public DCOFFPassBase { namespace SymmZP { // TODO: Not sure if it is actually Symm.. class DCOFFPassBase : public ov::pass::MatcherPass { +public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::DCOFFPassBase"); + protected: DCOffMode m_dcoff_mode = DCOffMode::CAST_ONLY; ov::element::Type m_dcoff_type; @@ -129,21 +135,26 @@ class DCOFFPassConvert1 final : public DCOFFPassBase { class DCOFFPassReshape2 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::DCOFFPassReshape2"); DCOFFPassReshape2(DCOffMode dcoff_mode, ov::element::Type dcoff_type, DCOFFParamRef pref); }; class DCOFFPassReshape3 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::DCOFFPassReshape3"); DCOFFPassReshape3(DCOffMode dcoff_mode, ov::element::Type dcoff_type, DCOFFParamRef pref); }; class DCOFFPassReshape4 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::DCOFFPassReshape4"); DCOFFPassReshape4(DCOffMode dcoff_mode, ov::element::Type dcoff_type, DCOFFParamRef pref); }; class CWAI1 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::CWAI1"); + using CPtr = std::shared_ptr; using Results = std::reference_wrapper>; @@ -152,6 +163,8 @@ class CWAI1 : public ov::pass::MatcherPass { class CWAI2 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::CWAI2"); + using CPtr = std::shared_ptr; using Results = std::reference_wrapper>; @@ -160,6 +173,8 @@ class CWAI2 : public ov::pass::MatcherPass { class CWAI3 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::SymmZP::CWAI3"); + using CPtr = std::shared_ptr; using Results = std::reference_wrapper>; @@ -171,6 +186,7 @@ class CWAI3 : public ov::pass::MatcherPass { namespace AsymmZP { class DCOFFPassReshape : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::AsymmZP::DCOFFPassReshape"); DCOFFPassReshape(DCOffMode dcoff_mode, ov::element::Type dcoff_type, DCOFFParamRef pref); }; diff --git a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/opt.hpp b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/opt.hpp index 904ce88039d2eb..f2cdee0f436d57 100644 --- a/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/opt.hpp +++ b/src/plugins/intel_npu/src/plugin/npuw/partitioning/patterns/opt.hpp @@ -64,31 +64,37 @@ struct Context { class DQMatMulCWi : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQMatMulCWi"); explicit DQMatMulCWi(Context::Ref ctx); }; class DQMatMulGQi : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQMatMulGQi"); explicit DQMatMulGQi(Context::Ref ctx); }; class DQMatMulGQ2i : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQMatMulGQ2i"); explicit DQMatMulGQ2i(Context::Ref ctx); }; class DQMatMulGQiP : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQMatMulGQiP"); explicit DQMatMulGQiP(Context::Ref ctx); }; class DQMatMulGQ2iP : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQMatMulGQ2iP"); explicit DQMatMulGQ2iP(Context::Ref ctx); }; class DQParMMGQ : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQParMMGQ"); explicit DQParMMGQ(Context::Ref ctx); }; @@ -98,16 +104,19 @@ void mergeParallelMatMuls(const std::shared_ptr& m, Context& ctx); class DQLiftGatherAsymCW : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQLiftGatherAsymCW"); DQLiftGatherAsymCW(); }; class DQLiftGatherSymCW : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQLiftGatherSymCW"); DQLiftGatherSymCW(); }; class DQLiftGatherSymGQ : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQLiftGatherSymGQ"); DQLiftGatherSymGQ(); }; @@ -115,21 +124,25 @@ class DQLiftGatherSymGQ : public ov::pass::MatcherPass { class DQUnpackDictGatheru : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQUnpackDictGatheru"); DQUnpackDictGatheru(Context::Ref ctx); }; class DQUnpackDictGatherGQi : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQUnpackDictGatherGQi"); DQUnpackDictGatherGQi(Context::Ref ctx); }; class HostGather : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::HostGather"); HostGather(Context::Ref ctx); }; class HostGatherDQ : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::HostGatherDQ"); HostGatherDQ(Context::Ref ctx); }; @@ -137,43 +150,51 @@ class HostGatherDQ : public ov::pass::MatcherPass { class DQUnpackDictMatMulCWu : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQUnpackDictMatMulCWu"); DQUnpackDictMatMulCWu(Context::Ref ctx); }; class DQUnpackDictMatMulGQi : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::DQUnpackDictMatMulGQi"); DQUnpackDictMatMulGQi(Context::Ref ctx); }; class CompressDictMatMulf32 : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::CompressDictMatMulf32"); CompressDictMatMulf32(Context::Ref ctx); }; // Slice last Matmul class SliceLastMatmul : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::SliceLastMatmul"); SliceLastMatmul(); }; class SliceLastMatmulAdd : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::SliceLastMatmulAdd"); SliceLastMatmulAdd(); }; class SliceLastMatmulTranspose : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::SliceLastMatmulTranspose"); SliceLastMatmulTranspose(); }; class SliceLastMatmulMultiply : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::SliceLastMatmulMultiply"); SliceLastMatmulMultiply(); }; // Convolution to MatMul class ConvToMatmul : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("npuw::patterns::opt::ConvToMatmul"); ConvToMatmul(Context::Ref ctx); };