From 9edb68b24bf32c33c692890185620123b6d98770 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Fri, 20 Dec 2024 18:22:52 +0100 Subject: [PATCH] [RTTI] Apply OPENVINO_MATCHER_PASS_RTTI in transformations (#28152) ### Details: - Applied OPENVINO_MATCHER_PASS_RTTI helper macro in Transformations (except in op_convertions - done in #28150). ### Tickets: - CVS-159567 --------- Signed-off-by: Tomasz Jankowski Co-authored-by: Michal Lukaszewski --- .../adaptive_pool_to_reduce.hpp | 2 +- .../add_fake_quantize_fusion.hpp | 2 +- .../align_eltwise_input_ranks.hpp | 2 +- .../augru_cell_fusion.hpp | 2 +- .../batch_to_space_fusion.hpp | 2 +- .../common_optimizations/binarize_weights.hpp | 2 +- .../broadcast_elementwise_fusion.hpp | 2 +- .../broadcast_transition.hpp | 2 +- .../common_optimizations/clamp_fusion.hpp | 2 +- .../compress_float_constants.hpp | 2 +- .../common_optimizations/concat_fusion.hpp | 2 +- .../concat_reduce_fusion.hpp | 4 +-- .../concat_to_broadcast.hpp | 4 +-- .../common_optimizations/conv_mul_fusion.hpp | 8 ++--- .../conv_to_binary_conv.hpp | 2 +- .../convert_quantize_dequantize.hpp | 2 +- ...onvert_u4_weights_zero_point_to_scalar.hpp | 2 +- ...onvolution_to_group_convolution_fusion.hpp | 2 +- .../depth_to_space_fusion.hpp | 2 +- .../dilated_convolution_converter.hpp | 2 +- ...isable_random_uniform_constant_folding.hpp | 2 +- .../disable_shapeof_constant_folding.hpp | 2 +- .../common_optimizations/divide_fusion.hpp | 2 +- .../dropout_with_random_uniform_replacer.hpp | 2 +- .../eliminate_duplicate_ti_inputs.hpp | 2 +- .../eliminate_loop_inputs_outputs.hpp | 2 +- .../eliminate_unsqueeze_gather.hpp | 4 +-- .../enable_shapeof_constant_folding.hpp | 2 +- .../fold_subgraph_empty_inputs.hpp | 2 +- .../common_optimizations/fq_mul_fusion.hpp | 2 +- .../fq_reshape_fusion.hpp | 2 +- .../fuse_rotary_positional_embeddings.hpp | 18 +++++----- .../common_optimizations/gelu_fusion.hpp | 12 +++---- .../common_optimizations/glu_fusion.hpp | 2 +- .../common_optimizations/gru_cell_fusion.hpp | 2 +- .../common_optimizations/hsigmoid_fusion.hpp | 10 +++--- .../common_optimizations/hswish_fusion.hpp | 8 ++--- .../interpolate_sequence_fusion.hpp | 2 +- .../leaky_relu_fusion.hpp | 2 +- .../lin_op_sequence_fusion.hpp | 6 ++-- .../lora_subgraph_fusion.hpp | 2 +- .../common_optimizations/lstm_cell_fusion.hpp | 4 +-- ..._rope_input_to_keep_in_mixed_precision.hpp | 4 +-- .../matmul_const_transposes_extraction.hpp | 2 +- .../matmul_multiply_fusion.hpp | 2 +- .../common_optimizations/mish_fusion.hpp | 2 +- .../move_eltwise_up_data_movement.hpp | 4 +-- .../common_optimizations/mul_conv_fusion.hpp | 8 ++--- .../mul_fake_quantize_fusion.hpp | 2 +- .../common_optimizations/mvn_fusion.hpp | 4 +-- .../nearest_neighbor_upsampling_fusion.hpp | 2 +- .../nonzero_horizontal_fusion.hpp | 2 +- .../common_optimizations/nop_elimination.hpp | 36 +++++++++---------- .../normalize_l2_fusion.hpp | 2 +- .../optimize_strided_slice.hpp | 2 +- .../common_optimizations/pad_fusion.hpp | 10 +++--- .../common_optimizations/prelu_fusion.hpp | 12 +++---- .../pull_through_reduce.hpp | 4 +-- .../pull_transpose_through_fq.hpp | 2 +- .../random_uniform_fusion.hpp | 2 +- .../common_optimizations/reduce_merge.hpp | 2 +- .../reduce_reshape_fusion.hpp | 2 +- .../relu_fake_quantize_fusion.hpp | 2 +- .../remove_concat_zero_dim_input.hpp | 2 +- .../remove_filtering_boxes_by_size.hpp | 2 +- .../common_optimizations/reshape_prelu.hpp | 2 +- .../reshape_sequence_fusion.hpp | 2 +- .../common_optimizations/rms_fusion.hpp | 2 +- .../select_with_one_value_condition.hpp | 2 +- .../common_optimizations/sequence_fusion.hpp | 2 +- .../shuffle_channels_fusion.hpp | 2 +- .../simplify_shape_of_sub_graph.hpp | 10 +++--- ...ip_gather_before_transpose_and_reshape.hpp | 2 +- .../common_optimizations/softmax_fusion.hpp | 2 +- .../common_optimizations/softplus_fusion.hpp | 2 +- .../softplus_to_mish_fusion.hpp | 2 +- .../space_to_batch_fusion.hpp | 2 +- ...plit_concat_pair_to_interpolate_fusion.hpp | 2 +- .../split_squeeze_concat_fusion.hpp | 2 +- .../strides_optimization.hpp | 6 ++-- .../common_optimizations/subtract_fusion.hpp | 2 +- .../common_optimizations/swish_fusion.hpp | 8 ++--- ...anspose_reshape_elimination_for_matmul.hpp | 2 +- .../transpose_sinking.hpp | 10 +++--- .../transpose_to_reshape.hpp | 2 +- .../weights_dequantize_to_fake_quantize.hpp | 2 +- .../wrap_interpolate_into_transposes.hpp | 2 +- .../flush_fp32_subnormals_to_zero.hpp | 2 +- ...decompression_convert_constant_folding.hpp | 10 +++--- .../mark_floatpoint_range.hpp | 4 +-- .../mark_dequantization_subgraph.hpp | 4 +-- .../position_ids_replacer.hpp | 4 +-- .../prev_sequence_length_pattern.hpp | 4 +-- .../state_management_pattern.hpp | 4 +-- .../total_sequence_length_pattern.hpp | 2 +- .../broadcast_const_range_replacement.hpp | 2 +- .../smart_reshape/matmul_sr.hpp | 6 ++-- .../proposal_scales_stridedslice.hpp | 4 +-- .../smart_reshape/reshape_sinking.hpp | 2 +- .../smart_reshape/reshape_to_1D.hpp | 2 +- .../smart_reshape/shape_of_const_folding.hpp | 2 +- .../smart_reshape/strided_slice_squeeze.hpp | 4 +-- .../chained_maximum.hpp | 4 +-- .../dereshape_matmul.hpp | 4 +-- .../nop_broadcast.hpp | 4 +-- .../reshape_optimizations.hpp | 2 +- .../symbolic_optimizations.hpp | 2 +- .../transpose_sinking/ts_base.hpp | 2 +- .../transpose_sinking/ts_binary.hpp | 2 +- .../transpose_sinking/ts_concat.hpp | 2 +- .../transpose_sinking/ts_cumsum.hpp | 2 +- .../transpose_sinking/ts_data_movement.hpp | 2 +- .../transpose_sinking/ts_fuse.hpp | 4 +-- .../transpose_sinking/ts_gather.hpp | 4 +-- .../transpose_sinking/ts_interpolate.hpp | 2 +- .../transpose_sinking/ts_reduction.hpp | 4 +-- .../ts_reset_no_sinking_attribute.hpp | 2 +- .../transpose_sinking/ts_slice.hpp | 2 +- .../transpose_sinking/ts_split.hpp | 2 +- .../transpose_sinking/ts_squeeze.hpp | 2 +- .../transpose_sinking/ts_tile.hpp | 2 +- .../transpose_sinking/ts_unary.hpp | 2 +- .../transpose_sinking/ts_unsqueeze.hpp | 2 +- .../convert_nms_gather_path_to_unsigned.cpp | 6 ++-- .../common_optimizations/ric_fusion.cpp | 14 ++++++++ ...k_subgraphs_to_keep_in_mixed_precision.cpp | 14 ++++---- .../convert_ti_to_sequences.cpp | 1 + 127 files changed, 242 insertions(+), 227 deletions(-) diff --git a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp index 06dde1ff0bbf63..be271bc71f4b55 100644 --- a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API AdaptivePoolToReduce; class ov::pass::AdaptivePoolToReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AdaptivePoolToReduce", "0"); + OPENVINO_MATCHER_PASS_RTTI("AdaptivePoolToReduce"); AdaptivePoolToReduce(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp index f63f00a455a117..3dc06301c838f2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API AddFakeQuantizeFusion; */ class ov::pass::AddFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddFakeQuantizeFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("AddFakeQuantizeFusion"); AddFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp index 1a7578d3551903..c18f1c96bc41bc 100644 --- a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp @@ -17,7 +17,7 @@ namespace pass { class TRANSFORMATIONS_API AlignEltwiseInputRanks : public MatcherPass { public: - OPENVINO_RTTI("AlignEltwiseInputRanks", "0"); + OPENVINO_MATCHER_PASS_RTTI("AlignEltwiseInputRanks"); AlignEltwiseInputRanks(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp index c6773de5ec894f..2d458e5e18f87f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API AUGRUCellFusion; class ov::pass::AUGRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AUGRUCellFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("AUGRUCellFusion"); AUGRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp index 7b05f721f52400..4ab3210a633798 100644 --- a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API BatchToSpaceFusion; class ov::pass::BatchToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BatchToSpaceFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("BatchToSpaceFusion"); BatchToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp index 3803281478a055..2e975e27b26f97 100644 --- a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp @@ -76,6 +76,6 @@ class TRANSFORMATIONS_API BinarizeWeights; class ov::pass::BinarizeWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BinarizeWeights", "0"); + OPENVINO_MATCHER_PASS_RTTI("BinarizeWeights"); BinarizeWeights(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp index 38ae4799e932a0..0fffa95e62b04c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastElementwiseFusion; class ov::pass::BroadcastElementwiseFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastElementwiseFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("BroadcastElementwiseFusion"); BroadcastElementwiseFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp index 089f1472b7c431..ff9b8151e7e47f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API BroadcastTransition; */ class ov::pass::BroadcastTransition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastTransition", "0"); + OPENVINO_MATCHER_PASS_RTTI("BroadcastTransition"); BroadcastTransition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp index fe966323edbb98..69870870d8758a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API ClampFusion; class ov::pass::ClampFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ClampFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ClampFusion"); ClampFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp index 77bac5753bd757..d8e0eb8c154766 100644 --- a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp @@ -25,7 +25,7 @@ bool TRANSFORMATIONS_API is_model_optimized(const std::shared_ptr& mo */ class ov::pass::CompressFloatConstantsImpl : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CompressFloatConstantsImpl", "0"); + OPENVINO_MATCHER_PASS_RTTI("CompressFloatConstantsImpl"); /// @brief Transformation constructor /// @param postponed If true then the transformation won't compress the constants /// keeping them in the original type but still will insert Converts. This is diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp index 31b710722bf13f..2642e0cc35c39c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ConcatFusion; class ov::pass::ConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConcatFusion"); ConcatFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp index 4aa5391dd42618..ae02a2a50b4a2b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API ConcatReduceFusion; */ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReplaceConcatReduceByMinOrMax", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReplaceConcatReduceByMinOrMax"); ReplaceConcatReduceByMinOrMax(); }; @@ -34,7 +34,7 @@ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { */ class ov::pass::PullSqueezeThroughEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullSqueezeThroughEltwise", "0"); + OPENVINO_MATCHER_PASS_RTTI("PullSqueezeThroughEltwise"); PullSqueezeThroughEltwise(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp index ddb20338c0b01d..7859673f08e309 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConcatToBroadcast; */ class ov::pass::ConcatToBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatToBroadcast", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConcatToBroadcast"); ConcatToBroadcast(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp index 9e2ba5194367ba..0ae7cc67bd4be4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp @@ -23,24 +23,24 @@ class TRANSFORMATIONS_API GroupConvolutionBackpropDataMultiplyFusion; class ov::pass::ConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionMultiplyFusion"); ConvolutionMultiplyFusion(); }; class ov::pass::GroupConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("GroupConvolutionMultiplyFusion"); GroupConvolutionMultiplyFusion(); }; class ov::pass::ConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionBackpropDataMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionBackpropDataMultiplyFusion"); ConvolutionBackpropDataMultiplyFusion(); }; class ov::pass::GroupConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionBackpropDataMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("GroupConvolutionBackpropDataMultiplyFusion"); GroupConvolutionBackpropDataMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp index a60a15d37be9e7..b87013067ca18c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp @@ -72,6 +72,6 @@ class TRANSFORMATIONS_API ConvToBinaryConv; */ class ov::pass::ConvToBinaryConv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvToBinaryConv", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvToBinaryConv"); ConvToBinaryConv(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp index 7c0b6b5be95d5d..7dc5639d5e7cf4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API ConvertQuantizeDequantize; class ov::pass::ConvertQuantizeDequantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertQuantizeDequantize", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertQuantizeDequantize"); ConvertQuantizeDequantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp index dfd9eef8069665..f20716cbdc7023 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertU4WeightsZeroPointToScalar; */ class ov::pass::ConvertU4WeightsZeroPointToScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertU4WeightsZeroPointToScalar", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertU4WeightsZeroPointToScalar"); ConvertU4WeightsZeroPointToScalar(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp index a99d4ea801d8ec..b6b909f23afc18 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp @@ -24,7 +24,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvolutionToGroupConvolutionFusion : public MatcherPass { public: - OPENVINO_RTTI("ConvolutionToGroupConvolutionFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionToGroupConvolutionFusion"); ConvolutionToGroupConvolutionFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp index 53e6b623d67d5a..2aa5b8f0efa8c1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp @@ -42,6 +42,6 @@ class TRANSFORMATIONS_API DepthToSpaceFusion; class ov::pass::DepthToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DepthToSpaceFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("DepthToSpaceFusion"); DepthToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp index 204190cafd305c..f946a1792c0323 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API DilatedConvolutionConverter; class ov::pass::DilatedConvolutionConverter : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DilatedConvolutionConverter", "0"); + OPENVINO_MATCHER_PASS_RTTI("DilatedConvolutionConverter"); DilatedConvolutionConverter(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp index 405e8ff7288e5d..de0840c0dce97f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DisableRandomUniformConstantFolding; */ class ov::pass::DisableRandomUniformConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableRandomUniformConstantFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("DisableRandomUniformConstantFolding"); DisableRandomUniformConstantFolding(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp index 1526fea966347d..912c21a29ba7c6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API DisableShapeOfConstantFolding; class ov::pass::DisableShapeOfConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableShapeOfConstantFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("DisableShapeOfConstantFolding"); explicit DisableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp index 37a5b1f66a5551..fb9f8d5b122110 100644 --- a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DivideFusion; */ class ov::pass::DivideFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DivideFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("DivideFusion"); DivideFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp index 2ad17f308d46bc..6fdfaa7cc7caa1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp @@ -36,6 +36,6 @@ class TRANSFORMATIONS_API DropoutWithRandomUniformReplacer; */ class ov::pass::DropoutWithRandomUniformReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DropoutWithRandomUniformReplacer", "0"); + OPENVINO_MATCHER_PASS_RTTI("DropoutWithRandomUniformReplacer"); DropoutWithRandomUniformReplacer(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp index 058daba182b8a6..d9b7db1d08519b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API EliminateDuplicateTIInputs; class ov::pass::EliminateDuplicateTIInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateDuplicateTIInputs", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateDuplicateTIInputs"); EliminateDuplicateTIInputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp index ca58bb504fd811..818e312e91f3d2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API EliminateLoopInputsOutputs; class ov::pass::EliminateLoopInputsOutputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateLoopInputsOutputs", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateLoopInputsOutputs"); EliminateLoopInputsOutputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp index b0ce4581a25569..95f52601c031ab 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API EliminateGatherUnsqueeze; class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueezeGather", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateUnsqueezeGather"); EliminateUnsqueezeGather(); }; @@ -38,6 +38,6 @@ class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { class ov::pass::EliminateGatherUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateGatherUnsqueeze", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateGatherUnsqueeze"); EliminateGatherUnsqueeze(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp index ab515ce65ac83b..dc81277841570d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TRANSFORMATIONS_API EnableShapeOfConstantFolding : public MatcherPass { public: - OPENVINO_RTTI("EnableShapeOfConstantFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("EnableShapeOfConstantFolding"); explicit EnableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp index 8775d93644456e..89024746ee7181 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp @@ -34,7 +34,7 @@ TRANSFORMATIONS_API bool fold_subgraph_empty_inputs_is_disabled(const std::share class ov::pass::FoldSubgraphEmptyInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FoldSubgraphEmptyInputs", "0"); + OPENVINO_MATCHER_PASS_RTTI("FoldSubgraphEmptyInputs"); FoldSubgraphEmptyInputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp index 3b48e9da740269..d3215c8cb7168d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeMulFusion; class ov::pass::FakeQuantizeMulFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeMulFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("FakeQuantizeMulFusion"); FakeQuantizeMulFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp index e4004d794d8ec7..361872e80b1d60 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeReshapeFusion; class ov::pass::FakeQuantizeReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeReshapeFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("FakeQuantizeReshapeFusion"); FakeQuantizeReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp b/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp index 3449151ab93ac5..8c45842b274dd5 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp @@ -26,55 +26,55 @@ class TRANSFORMATIONS_API RoPEShareCosSin; class ov::pass::RoPEFusionGPTNEOX : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionGPTNEOX", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionGPTNEOX"); RoPEFusionGPTNEOX(); }; class ov::pass::RoPEFusionFlux : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionFlux", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionFlux"); RoPEFusionFlux(); }; class ov::pass::RoPEFusionGPTJ : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionGPTJ", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionGPTJ"); RoPEFusionGPTJ(); }; class ov::pass::RoPEFusionChatGLM : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionChatGLM", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionChatGLM"); RoPEFusionChatGLM(int split_output_id, const bool support_2d_rope = false); }; class ov::pass::RoPEFusionQwen : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionQwen", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionQwen"); RoPEFusionQwen(int split_output_id); }; class ov::pass::RoPEFusionIOSlicing : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionIOSlicing", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionIOSlicing"); RoPEFusionIOSlicing(); }; class ov::pass::RoPEFusionPreprocess : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionPreprocess", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionPreprocess"); RoPEFusionPreprocess(); }; class ov::pass::RoPEFusionCosSinPreprocess : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEFusionCosSinPreprocess", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEFusionCosSinPreprocess"); RoPEFusionCosSinPreprocess(); }; class ov::pass::RoPEShareCosSin : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RoPEShareCosSin", "0"); + OPENVINO_MATCHER_PASS_RTTI("RoPEShareCosSin"); RoPEShareCosSin(); private: diff --git a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp index c3e50b7c992a53..1388cda8268e17 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API GeluFusionWithTanhNoPower; */ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfOne", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfOne"); GeluFusionWithErfOne(); }; @@ -42,7 +42,7 @@ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfTwo", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfTwo"); GeluFusionWithErfTwo(); }; @@ -53,7 +53,7 @@ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfThree", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfThree"); GeluFusionWithErfThree(); }; @@ -64,7 +64,7 @@ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfFour", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfFour"); GeluFusionWithErfFour(); }; @@ -75,7 +75,7 @@ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanh", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithTanh"); GeluFusionWithTanh(); }; @@ -86,7 +86,7 @@ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanhNoPower : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanhNoPower", "0"); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithTanhNoPower"); GeluFusionWithTanhNoPower(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp index 7ec71a05027d80..e55a76e031f8f6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp @@ -13,7 +13,7 @@ namespace pass { class TRANSFORMATIONS_API GLUFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GLUFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("GLUFusion"); GLUFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp index 50bc5ac370a74c..12031de6fc1c92 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API GRUCellFusion; class ov::pass::GRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GRUCellFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("GRUCellFusion"); GRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp index 04841837a5a76b..72da0b538b9336 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API HSigmoidFusionWithClampDiv; */ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluDiv", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithReluDiv"); HSigmoidFusionWithReluDiv(); }; @@ -39,7 +39,7 @@ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithReluMul"); HSigmoidFusionWithReluMul(); }; @@ -49,7 +49,7 @@ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithoutRelu", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithoutRelu"); HSigmoidFusionWithoutRelu(); }; @@ -59,7 +59,7 @@ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithClampMul"); HSigmoidFusionWithClampMul(); }; @@ -69,7 +69,7 @@ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampDiv", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithClampDiv"); HSigmoidFusionWithClampDiv(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp index ede2769ec278f1..40a91cc4f08a9d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API HSwishFusionWithClamp; */ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluDiv", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithReluDiv"); HSwishFusionWithReluDiv(); }; @@ -38,7 +38,7 @@ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithReluMul"); HSwishFusionWithReluMul(); }; @@ -48,7 +48,7 @@ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithHSigmoid", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithHSigmoid"); HSwishFusionWithHSigmoid(); }; @@ -58,7 +58,7 @@ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithClamp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithClamp", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithClamp"); HSwishFusionWithClamp(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp index ff7495e5a2d405..af6ba9055b45e1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API InterpolateSequenceFusion; */ class ov::pass::InterpolateSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InterpolateSequenceFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("InterpolateSequenceFusion"); InterpolateSequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp index 42abc74e0dbc2a..93765f2e39c2ef 100644 --- a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API LeakyReluFusion; class ov::pass::LeakyReluFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LeakyReluFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("LeakyReluFusion"); LeakyReluFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp index 2e239e40c332b9..091deb3e32e58f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp @@ -23,19 +23,19 @@ class TRANSFORMATIONS_API MultiplyMultiplyFusion; class ov::pass::AddMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("AddMultiplyFusion"); AddMultiplyFusion(); }; class ov::pass::AddAddFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddAddFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("AddAddFusion"); AddAddFusion(); }; class ov::pass::MultiplyMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MultiplyMultiplyFusion"); MultiplyMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp index 8422ad95f262c6..e31f99fdb63872 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API LoraSubgraphFusion; class ov::pass::LoraSubgraphFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LoraSubgraphFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("LoraSubgraphFusion"); LoraSubgraphFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp index 947e39edcfd0e0..1bc5344b31e09b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API LSTMCellFusionWithSplitWeights; */ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithJointWeights", "0"); + OPENVINO_MATCHER_PASS_RTTI("LSTMCellFusionWithJointWeights"); LSTMCellFusionWithJointWeights(); }; @@ -35,7 +35,7 @@ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { */ class ov::pass::LSTMCellFusionWithSplitWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithSplitWeights", "0"); + OPENVINO_MATCHER_PASS_RTTI("LSTMCellFusionWithSplitWeights"); LSTMCellFusionWithSplitWeights(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp index c555b991de07ba..09db8db879dbeb 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp @@ -27,7 +27,7 @@ namespace pass { class TRANSFORMATIONS_API MarkRopeInputsToKeepInMixedPrecision : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkRopeInputsToKeepInMixedPrecision", "0"); + OPENVINO_MATCHER_PASS_RTTI("MarkRopeInputsToKeepInMixedPrecision"); MarkRopeInputsToKeepInMixedPrecision(); private: @@ -35,4 +35,4 @@ class TRANSFORMATIONS_API MarkRopeInputsToKeepInMixedPrecision : public ov::pass }; } // namespace pass -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp index 7626be5f877527..313f5cd244a32e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp @@ -18,7 +18,7 @@ namespace pass { class TRANSFORMATIONS_API MatMulConstTransposesExtraction : public MatcherPass { public: - OPENVINO_RTTI("MatMulConstTransposesExtraction", "0"); + OPENVINO_MATCHER_PASS_RTTI("MatMulConstTransposesExtraction"); MatMulConstTransposesExtraction(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp index 7994a04be7972d..767f44a8393e74 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp @@ -58,6 +58,6 @@ class TRANSFORMATIONS_API MatMulMultiplyFusion; */ class ov::pass::MatMulMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MatMulMultiplyFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MatMulMultiplyFusion"); MatMulMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp index 8dc6e0149c881f..c905ee2f336232 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API MishFusion; */ class ov::pass::MishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MishFusion"); MishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp index 4f704b089190a4..d691eee7c29795 100644 --- a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp @@ -29,7 +29,7 @@ namespace pass { /// └────────────────┘ └────────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovScalar", "0"); + OPENVINO_MATCHER_PASS_RTTI("MoveEltwiseUpThroughDataMovScalar"); MoveEltwiseUpThroughDataMovScalar(std::vector allowed_data_movement_ops); }; @@ -50,7 +50,7 @@ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::M /// └────────────────┘ └────────────────────┘ └───────────┘ └─────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovPerChannel : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovPerChannel", "0"); + OPENVINO_MATCHER_PASS_RTTI("MoveEltwiseUpThroughDataMovPerChannel"); MoveEltwiseUpThroughDataMovPerChannel(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp index 4fae74debc1014..84fe28e512549c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp @@ -80,24 +80,24 @@ class TRANSFORMATIONS_API MultiplyGroupConvolutionBackpropDataFusion; class ov::pass::MultiplyConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MultiplyConvolutionFusion"); MultiplyConvolutionFusion(); }; class ov::pass::MultiplyGroupConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MultiplyGroupConvolutionFusion"); MultiplyGroupConvolutionFusion(); }; class ov::pass::MultiplyConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionBackpropDataFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MultiplyConvolutionBackpropDataFusion"); MultiplyConvolutionBackpropDataFusion(); }; class ov::pass::MultiplyGroupConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionBackpropDataFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MultiplyGroupConvolutionBackpropDataFusion"); MultiplyGroupConvolutionBackpropDataFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp index f66e52f82c6c0e..e5afe2b7ace09c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API MulFakeQuantizeFusion; */ class ov::pass::MulFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MulFakeQuantizeFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("MulFakeQuantizeFusion"); MulFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp index dc8561d89e18ab..4a625816261c9b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API MVNFusionWithConstantsInside; */ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithoutConstants", "0"); + OPENVINO_MATCHER_PASS_RTTI("MVNFusionWithoutConstants"); MVNFusionWithoutConstants(); }; @@ -40,7 +40,7 @@ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { */ class ov::pass::MVNFusionWithConstantsInside : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithConstantsInside", "0"); + OPENVINO_MATCHER_PASS_RTTI("MVNFusionWithConstantsInside"); MVNFusionWithConstantsInside(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp index 04b45ee6c67cd3..338e48afd77f64 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API NearestNeighborUpsamplingFusion; */ class ov::pass::NearestNeighborUpsamplingFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NearestNeighborUpsamplingFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("NearestNeighborUpsamplingFusion"); NearestNeighborUpsamplingFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp index d579cb0c8a9ec1..e0ad6ccb98453a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API NonZeroHorizontalFusion; */ class ov::pass::NonZeroHorizontalFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NonZeroHorizontalFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("NonZeroHorizontalFusion"); NonZeroHorizontalFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp index 76190906d157e2..ea7d428bc1eea7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp @@ -39,7 +39,7 @@ class TRANSFORMATIONS_API PrepareShapeOpsForEliminationAroundBE; */ class ov::pass::EliminateReduceReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateReduceReshape", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateReduceReshape"); EliminateReduceReshape(); }; @@ -49,7 +49,7 @@ class ov::pass::EliminateReduceReshape : public ov::pass::MatcherPass { */ class ov::pass::EliminatePad : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminatePad", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminatePad"); EliminatePad(); }; @@ -59,7 +59,7 @@ class ov::pass::EliminatePad : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvert", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateConvert"); EliminateConvert(); }; @@ -69,7 +69,7 @@ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvertNonZero", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateConvertNonZero"); EliminateConvertNonZero(); }; @@ -79,7 +79,7 @@ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { */ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConcat", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateConcat"); EliminateConcat(); }; @@ -89,7 +89,7 @@ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplit", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateSplit"); EliminateSplit(); }; @@ -99,7 +99,7 @@ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { */ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSqueeze", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateSqueeze"); EliminateSqueeze(); }; @@ -109,7 +109,7 @@ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueeze", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateUnsqueeze"); EliminateUnsqueeze(); }; @@ -119,7 +119,7 @@ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateTranspose", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateTranspose"); EliminateTranspose(); }; @@ -129,7 +129,7 @@ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { */ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateEltwise", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateEltwise"); EliminateEltwise(); }; @@ -139,7 +139,7 @@ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { */ class ov::pass::EliminateScatterUpdate : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateScatterUpdate", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateScatterUpdate"); EliminateScatterUpdate(); }; @@ -155,7 +155,7 @@ class ov::pass::NopElimination : public GraphRewrite { */ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplitConcat", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateSplitConcat"); EliminateSplitConcat(); }; @@ -165,7 +165,7 @@ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateNopBroadcast", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateNopBroadcast"); EliminateNopBroadcast(); }; @@ -177,7 +177,7 @@ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { */ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSliceBeforeGatherElements", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateSliceBeforeGatherElements"); EliminateSliceBeforeGatherElements(); }; @@ -188,7 +188,7 @@ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPas */ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSlice", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateStridedSlice"); EliminateStridedSlice(); }; @@ -199,7 +199,7 @@ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSlice", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateSlice"); EliminateSlice(); }; @@ -210,7 +210,7 @@ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSliceByShape", "0"); + OPENVINO_MATCHER_PASS_RTTI("EliminateStridedSliceByShape"); EliminateStridedSliceByShape(); }; @@ -222,6 +222,6 @@ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { */ class ov::pass::PrepareShapeOpsForEliminationAroundBE : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrepareShapeOpsForEliminationAroundBE", "0"); + OPENVINO_MATCHER_PASS_RTTI("PrepareShapeOpsForEliminationAroundBE"); PrepareShapeOpsForEliminationAroundBE(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp index 39355ec6af5ec4..01ac902140f01b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API NormalizeL2Fusion; */ class ov::pass::NormalizeL2Fusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NormalizeL2Fusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("NormalizeL2Fusion"); NormalizeL2Fusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp index cb642795254791..961c5e893e8119 100644 --- a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp @@ -71,7 +71,7 @@ class ov::pass::GroupedSliceToVSplitOptimization : public ov::pass::ModelPass { */ class ov::pass::SliceSequenceToSingleSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SliceSequenceToSingleSlice", "0"); + OPENVINO_MATCHER_PASS_RTTI("SliceSequenceToSingleSlice"); SliceSequenceToSingleSlice(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp index 799fe0a8a4ea81..018c098d221d3e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp @@ -30,7 +30,7 @@ class TRANSFORMATIONS_API PadFusionGroupConvolutionBackpropData; */ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionAvgPool", "0"); + OPENVINO_MATCHER_PASS_RTTI("PadFusionAvgPool"); PadFusionAvgPool(); }; @@ -43,7 +43,7 @@ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolution", "0"); + OPENVINO_MATCHER_PASS_RTTI("PadFusionConvolution"); PadFusionConvolution(); }; @@ -57,7 +57,7 @@ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolutionBackpropData", "0"); + OPENVINO_MATCHER_PASS_RTTI("PadFusionConvolutionBackpropData"); PadFusionConvolutionBackpropData(); }; @@ -70,7 +70,7 @@ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass */ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolution", "0"); + OPENVINO_MATCHER_PASS_RTTI("PadFusionGroupConvolution"); PadFusionGroupConvolution(); }; @@ -84,7 +84,7 @@ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionGroupConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolutionBackpropData", "0"); + OPENVINO_MATCHER_PASS_RTTI("PadFusionGroupConvolutionBackpropData"); PadFusionGroupConvolutionBackpropData(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp index b2ba7ca9447450..bb1c3206f1ea3d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp @@ -41,7 +41,7 @@ class TRANSFORMATIONS_API PReluFusionNegReluMulAdd; */ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeAdd", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegativeAdd"); PReluFusionNegativeAdd(); }; @@ -60,7 +60,7 @@ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeSub", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegativeSub"); PReluFusionNegativeSub(); }; @@ -79,7 +79,7 @@ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplyAdd", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionMultiplyAdd"); PReluFusionMultiplyAdd(); }; @@ -98,7 +98,7 @@ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplySub", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionMultiplySub"); PReluFusionMultiplySub(); }; @@ -119,7 +119,7 @@ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionAbsSubMulMulAdd", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionAbsSubMulMulAdd"); PReluFusionAbsSubMulMulAdd(); }; @@ -138,7 +138,7 @@ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegReluMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegReluMulAdd", "0"); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegReluMulAdd"); PReluFusionNegReluMulAdd(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp index c31902cd478bfa..2824ba2a8b374d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp @@ -25,7 +25,7 @@ class TRANSFORMATIONS_API PullReshapeThroughReduce; */ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullUnsqueezeThroughReduce", "0"); + OPENVINO_MATCHER_PASS_RTTI("PullUnsqueezeThroughReduce"); PullUnsqueezeThroughReduce(); }; @@ -37,7 +37,7 @@ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { */ class ov::pass::PullReshapeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullReshapeThroughReduce", "0"); + OPENVINO_MATCHER_PASS_RTTI("PullReshapeThroughReduce"); PullReshapeThroughReduce(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp index c4aa71724a07a3..5e92d0eab4247c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API PullTransposeThroughFQUp; class ov::pass::PullTransposeThroughFQUp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullTransposeThroughFQUp", "0"); + OPENVINO_MATCHER_PASS_RTTI("PullTransposeThroughFQUp"); PullTransposeThroughFQUp(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp index 198666e9a02673..1f4c76ee810612 100644 --- a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API RandomUniformFusion; */ class ov::pass::RandomUniformFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RandomUniformFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("RandomUniformFusion"); RandomUniformFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp index 20daf9173b87c8..a24ce14c43aaeb 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp @@ -64,6 +64,6 @@ class TRANSFORMATIONS_API ReduceMerge; */ class ov::pass::ReduceMerge : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceMerge", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReduceMerge"); ReduceMerge(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp index 2827be2cdb5738..b7c5978e1458e1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReduceReshapeFusion; */ class ov::pass::ReduceReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceReshapeFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReduceReshapeFusion"); ReduceReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp index 8d2895b378c774..04ffa7ddb4b8b0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReluFakeQuantizeFusion; class ov::pass::ReluFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReluFakeQuantizeFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReluFakeQuantizeFusion"); ReluFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp index 5c746cd4dde987..881fd9cb23e9c3 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp @@ -24,7 +24,7 @@ class OPENVINO_API DisableRemoveConcatZeroDimInput; class RemoveConcatZeroDimInput : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConcatZeroDimInput", "0"); + OPENVINO_MATCHER_PASS_RTTI("RemoveConcatZeroDimInput"); RemoveConcatZeroDimInput(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp index 40dfb824d2ece2..02ebb6eec3a48d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp @@ -27,6 +27,6 @@ class ov::pass::FuseFilteringBoxesBySize : public ov::pass::GraphRewrite { class ov::pass::RemoveFilteringBoxesBySize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveFilteringBoxesBySize", "0"); + OPENVINO_MATCHER_PASS_RTTI("RemoveFilteringBoxesBySize"); RemoveFilteringBoxesBySize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp index 9ced2036d9906b..6c5a629a2fa840 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReshapePRelu; class ov::pass::ReshapePRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapePRelu", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapePRelu"); ReshapePRelu(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp index 5fa22e7feb0fe6..5aaed4a6be32ad 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API ReshapeSequenceFusion; class ov::pass::ReshapeSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSequenceFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeSequenceFusion"); ReshapeSequenceFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp index d8cb02a596ab6c..0a63b3cb6e9a7c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp @@ -29,7 +29,7 @@ namespace pass { class RMSFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RMSFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("RMSFusion"); RMSFusion(bool force_tail_convert = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp index 5278e17d07ff64..1146565efa1b48 100644 --- a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SelectWithOneValueCondition; class ov::pass::SelectWithOneValueCondition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SelectWithOneValueCondition", "0"); + OPENVINO_MATCHER_PASS_RTTI("SelectWithOneValueCondition"); SelectWithOneValueCondition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp index ecba41990e28dd..a4f432b8bd584f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API SequenceFusion; class ov::pass::SequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SequenceFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SequenceFusion"); SequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp index 2304fe637b4551..b88cbdb64731a0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp @@ -34,6 +34,6 @@ class TRANSFORMATIONS_API ShuffleChannelsFusion; class ov::pass::ShuffleChannelsFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ShuffleChannelsFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("ShuffleChannelsFusion"); ShuffleChannelsFusion(const bool reshape_constants_check); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp index 79e0ffd789bf7c..66198e60f3a564 100644 --- a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API AbsSinking; */ class ov::pass::GroupedGatherElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupedGatherElimination", "0"); + OPENVINO_MATCHER_PASS_RTTI("GroupedGatherElimination"); GroupedGatherElimination(); }; @@ -55,7 +55,7 @@ class ov::pass::SimplifyShapeOfSubGraph : public ov::pass::ModelPass { */ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GatherNopElimination", "0"); + OPENVINO_MATCHER_PASS_RTTI("GatherNopElimination"); GatherNopElimination(); }; @@ -67,7 +67,7 @@ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { */ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifyGatherShapeOf", "0"); + OPENVINO_MATCHER_PASS_RTTI("SimplifyGatherShapeOf"); SimplifyGatherShapeOf(); }; @@ -78,7 +78,7 @@ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { */ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifySecondInputOfReshape", "0"); + OPENVINO_MATCHER_PASS_RTTI("SimplifySecondInputOfReshape"); SimplifySecondInputOfReshape(); }; @@ -90,6 +90,6 @@ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { */ class ov::pass::AbsSinking : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AbsSinking", "0"); + OPENVINO_MATCHER_PASS_RTTI("AbsSinking"); AbsSinking(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp index a93fdb8f4f20fe..3e937ba217d66c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SkipGatherBeforeTransposeAndReshape; */ class ov::pass::SkipGatherBeforeTransposeAndReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SkipGatherBeforeTransposeAndReshape", "0"); + OPENVINO_MATCHER_PASS_RTTI("SkipGatherBeforeTransposeAndReshape"); SkipGatherBeforeTransposeAndReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp index f56a8bd1b574f7..07524e3799cf64 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp @@ -103,6 +103,6 @@ class TRANSFORMATIONS_API SoftmaxFusion; class ov::pass::SoftmaxFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftmaxFusion"); SoftmaxFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp index 44d34dcdcc4c90..3dbadc5c2b6046 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusFusion; */ class ov::pass::SoftPlusFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftPlusFusion"); SoftPlusFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp index 6a6d247e4ea351..cbc0194ad20c62 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusToMishFusion; */ class ov::pass::SoftPlusToMishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusToMishFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftPlusToMishFusion"); SoftPlusToMishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp index 43cf4654628cf5..aa95f690512b42 100644 --- a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API SpaceToBatchFusion; class ov::pass::SpaceToBatchFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SpaceToBatchFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SpaceToBatchFusion"); SpaceToBatchFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp index e9ecba4fe6e961..72887dd32d9008 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitConcatPairToInterpolateFusion; */ class ov::pass::SplitConcatPairToInterpolateFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitConcatPairToInterpolateFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SplitConcatPairToInterpolateFusion"); SplitConcatPairToInterpolateFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp index 24073c6a61e2dc..3cd3c9429be0f1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitSqueezeConcatFusion; */ class ov::pass::SplitSqueezeConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitSqueezeConcatFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SplitSqueezeConcatFusion"); SplitSqueezeConcatFusion(bool use_shapes); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp index 57f5036fe5faa7..acdd30580b1a23 100644 --- a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API StridesOptimization; */ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvStridesPropagation", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvStridesPropagation"); ConvStridesPropagation(); }; @@ -40,7 +40,7 @@ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { */ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SupportedNodesStridesPropagation", "0"); + OPENVINO_MATCHER_PASS_RTTI("SupportedNodesStridesPropagation"); SupportedNodesStridesPropagation(); }; @@ -51,7 +51,7 @@ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass */ class ov::pass::UnsupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsupportedNodesStridesPropagation", "0"); + OPENVINO_MATCHER_PASS_RTTI("UnsupportedNodesStridesPropagation"); UnsupportedNodesStridesPropagation(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp index 69e4095b6becd7..1963f226b830be 100644 --- a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API SubtractFusion; */ class ov::pass::SubtractFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SubtractFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("SubtractFusion"); SubtractFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp index a630e1998e84ca..2bee12da7d9c41 100644 --- a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API SwishFusionWithoutBeta; */ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoid", "0"); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithSigmoid"); SwishFusionWithSigmoid(); }; @@ -38,7 +38,7 @@ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoidWithBeta", "0"); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithSigmoidWithBeta"); SwishFusionWithSigmoidWithBeta(); }; @@ -48,7 +48,7 @@ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithBeta", "0"); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithBeta"); SwishFusionWithBeta(); }; @@ -58,7 +58,7 @@ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithoutBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithoutBeta", "0"); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithoutBeta"); SwishFusionWithoutBeta(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp index c1299872c4b3a5..b250ce1d3c3866 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API TransposeReshapeEliminationForMatmul; */ class ov::pass::TransposeReshapeEliminationForMatmul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReshapeEliminationForMatmul", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeReshapeEliminationForMatmul"); TransposeReshapeEliminationForMatmul(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp index 8189535fe260ae..31de821878e971 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API TransposeFuse; */ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReduction", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeReduction"); TransposeReduction(); }; @@ -40,7 +40,7 @@ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFQReduction", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeFQReduction"); TransposeFQReduction(); }; @@ -50,7 +50,7 @@ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeConvert", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeConvert"); TransposeConvert(); }; @@ -60,7 +60,7 @@ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { */ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeEltwise", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeEltwise"); TransposeEltwise(); }; @@ -71,7 +71,7 @@ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { */ class ov::pass::TransposeFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFuse", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeFuse"); TransposeFuse(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp index aba6154bb0b58c..3a99d47858ec6f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TransposeToReshape; */ class ov::pass::TransposeToReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeToReshape", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeToReshape"); TransposeToReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp index aa34c7859d068a..1b77d8f519d391 100644 --- a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API WeightsDequantizeToFakeQuantize; */ class ov::pass::WeightsDequantizeToFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WeightsDequantizeToFakeQuantize", "0"); + OPENVINO_MATCHER_PASS_RTTI("WeightsDequantizeToFakeQuantize"); WeightsDequantizeToFakeQuantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp index 7b35498d5dde64..e0ef8b68bdaf04 100644 --- a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API WrapInterpolateIntoTransposes; */ class ov::pass::WrapInterpolateIntoTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WrapInterpolateIntoTransposes", "0"); + OPENVINO_MATCHER_PASS_RTTI("WrapInterpolateIntoTransposes"); WrapInterpolateIntoTransposes(); }; diff --git a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp index 71c71b0614f29d..b9522d4a4273dd 100644 --- a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp +++ b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API FlushFP32SubnormalsToZero; */ class ov::pass::FlushFP32SubnormalsToZero : public MatcherPass { public: - OPENVINO_RTTI("FlushFP32SubnormalsToZero", "0"); + OPENVINO_MATCHER_PASS_RTTI("FlushFP32SubnormalsToZero"); FlushFP32SubnormalsToZero(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp index 4f003dbc09e671..99852d0dc0df3f 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API MarkCompressedFloatConstants; */ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EnableDecompressionConvertConstantFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("EnableDecompressionConvertConstantFolding"); EnableDecompressionConvertConstantFolding(); }; @@ -36,7 +36,7 @@ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::Mat */ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableDecompressionConvertConstantFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("DisableDecompressionConvertConstantFolding"); DisableDecompressionConvertConstantFolding(); }; @@ -46,7 +46,7 @@ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::Ma */ class ov::pass::KeepConstAndDecompression : public MatcherPass { public: - OPENVINO_RTTI("KeepConstAndDecompression", "0"); + OPENVINO_MATCHER_PASS_RTTI("KeepConstAndDecompression"); KeepConstAndDecompression(); }; @@ -56,7 +56,7 @@ class ov::pass::KeepConstAndDecompression : public MatcherPass { */ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { public: - OPENVINO_RTTI("KeepConstantsPrecisionAndAddConverts", "0"); + OPENVINO_MATCHER_PASS_RTTI("KeepConstantsPrecisionAndAddConverts"); KeepConstantsPrecisionAndAddConverts(); }; @@ -69,6 +69,6 @@ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { */ class ov::pass::MarkCompressedFloatConstants : public MatcherPass { public: - OPENVINO_RTTI("KeepFWPrecisionFor16BitFloatConstants", "0"); + OPENVINO_MATCHER_PASS_RTTI("MarkCompressedFloatConstants"); MarkCompressedFloatConstants(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp index a61bd270c584ec..c1f948299c4321 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkFloatingPointRange : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkFloatingPointRange", "0"); + OPENVINO_MATCHER_PASS_RTTI("MarkFloatingPointRange"); MarkFloatingPointRange(); }; @@ -27,4 +27,4 @@ OPENVINO_API bool is_range_path(const std::shared_ptr& node); OPENVINO_API void erase_range_path(const std::shared_ptr& node); } // namespace pass -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp index 6cbd8d990ac73e..22f1eb753a28ad 100644 --- a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp +++ b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp @@ -40,7 +40,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkDequantization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkDequantization", "0"); + OPENVINO_MATCHER_PASS_RTTI("MarkDequantization"); explicit MarkDequantization(const element::TypeVector& precisions, bool fold_subtract_const = false, bool fold_multiply_const = true); @@ -70,7 +70,7 @@ class TRANSFORMATIONS_API MarkDequantization : public ov::pass::MatcherPass { */ class TRANSFORMATIONS_API KeepConstsPrecision : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("KeepConstsPrecision", "0"); + OPENVINO_MATCHER_PASS_RTTI("KeepConstsPrecision"); explicit KeepConstsPrecision(const element::TypeVector& precisions, bool fold_subtract_const = false, bool fold_multiply_const = true); diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp index 5ee79ec787a9bc..50c0ecd20e76af 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API PositionIDsReplacer; class ov::pass::PositionIDsReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PositionIDsReplacer", "0"); + OPENVINO_MATCHER_PASS_RTTI("PositionIDsReplacer"); explicit PositionIDsReplacer(const Output& position_ids); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp index fd4e22c69262ae..f5497207eb4e17 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API PrevSequenceLengthPattern; class ov::pass::PrevSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrevSequenceLengthPattern", "0"); + OPENVINO_MATCHER_PASS_RTTI("PrevSequenceLengthPattern"); explicit PrevSequenceLengthPattern(std::shared_ptr prev_max_seq_len, std::shared_ptr batch_dim); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp index feab06ccc0cd5d..79b4f444cfa791 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp @@ -17,7 +17,7 @@ class TRANSFORMATIONS_API StateManagementPattern; class ov::pass::StateManagementPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StateManagementPattern", "0"); + OPENVINO_MATCHER_PASS_RTTI("StateManagementPattern"); StateManagementPattern(ParameterVector& kv_parameters, ParameterVector& model_remaining_params, const std::shared_ptr& sliding_window, @@ -28,4 +28,4 @@ class ov::pass::StateManagementPattern : public ov::pass::MatcherPass { ResultVector& score_results, bool use_block_indices, bool use_score_outputs); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp index c6b319a389ecaa..b5ecb96fa95198 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API TotalSequenceLengthPattern; class ov::pass::TotalSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TotalSequenceLengthPattern", "0"); + OPENVINO_MATCHER_PASS_RTTI("TotalSequenceLengthPattern"); explicit TotalSequenceLengthPattern(const std::shared_ptr& max_context_len); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp index 04f7de9a336414..12cfe17a115592 100644 --- a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastConstRangeReplacement; class ov::pass::BroadcastConstRangeReplacement : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastConstRangeReplacement", "0"); + OPENVINO_MATCHER_PASS_RTTI("BroadcastConstRangeReplacement"); BroadcastConstRangeReplacement(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp index 4e21e767d1bce6..cec7ce6bcd074e 100644 --- a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp @@ -30,16 +30,16 @@ class TRANSFORMATIONS_API TransposeMatMul; class ov::pass::ReshapeAMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeAMatMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeAMatMul"); ReshapeAMatMul(); }; class ov::pass::ReshapeBMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeBMatMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeBMatMul"); ReshapeBMatMul(); }; class ov::pass::TransposeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("TransposeMatMul"); TransposeMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp index d2eaf125e0dd5c..c8d756252509e1 100644 --- a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp @@ -36,12 +36,12 @@ class TRANSFORMATIONS_API Proposal4Scales; class ov::pass::Proposal1Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal1Scales", "0"); + OPENVINO_MATCHER_PASS_RTTI("Proposal1Scales"); Proposal1Scales(); }; class ov::pass::Proposal4Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal4Scales", "0"); + OPENVINO_MATCHER_PASS_RTTI("Proposal4Scales"); Proposal4Scales(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp index aeaf46ccde1c2b..dd64980a0d155a 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API ReshapeSinkingMatMul; class ov::pass::ReshapeSinkingMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSinkingMatMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeSinkingMatMul"); ReshapeSinkingMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp index a973038bb30900..cab320f543f382 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReshapeTo1D; class ov::pass::ReshapeTo1D : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeTo1D", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeTo1D"); ReshapeTo1D(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp index d2bc029cce4682..fdb620bf588e72 100644 --- a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp @@ -16,7 +16,7 @@ namespace pass { */ class TRANSFORMATIONS_API ShapeOfConstFolding : public MatcherPass { public: - OPENVINO_RTTI("ShapeOfConstFolding", "0"); + OPENVINO_MATCHER_PASS_RTTI("ShapeOfConstFolding"); ShapeOfConstFolding(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp index f34b6d25a27e49..cafac7e77857fb 100644 --- a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API SqueezeStridedSlice; class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StridedSliceSqueeze", "0"); + OPENVINO_MATCHER_PASS_RTTI("StridedSliceSqueeze"); StridedSliceSqueeze(); }; @@ -39,6 +39,6 @@ class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { class ov::pass::SqueezeStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SqueezeStridedSlice", "0"); + OPENVINO_MATCHER_PASS_RTTI("SqueezeStridedSlice"); SqueezeStridedSlice(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp index c7cb03afd5ade4..20a43475233050 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ChainedMaximumOptimization; */ class ov::pass::ChainedMaximumOptimization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ChainedMaximumOptimization", "0"); + OPENVINO_MATCHER_PASS_RTTI("ChainedMaximumOptimization"); ChainedMaximumOptimization(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp index fa1c844faa7129..b1586741a05833 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp @@ -62,7 +62,7 @@ class TRANSFORMATIONS_API DeReshapeFullyConnected; */ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeMatMul", "0"); + OPENVINO_MATCHER_PASS_RTTI("DeReshapeMatMul"); DeReshapeMatMul(); }; @@ -87,6 +87,6 @@ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { */ class ov::pass::DeReshapeFullyConnected : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeFullyConnected", "0"); + OPENVINO_MATCHER_PASS_RTTI("DeReshapeFullyConnected"); DeReshapeFullyConnected(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp index 5a12b5735ce428..524fef52846e5c 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API NopBroadcast; */ class ov::pass::NopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NopBroadcast", "0"); + OPENVINO_MATCHER_PASS_RTTI("NopBroadcast"); NopBroadcast(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp index 5d84d83bad2de5..f23cfd580cbccf 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp @@ -52,6 +52,6 @@ class TRANSFORMATIONS_API ReshapeOptimizations; */ class ov::pass::ReshapeOptimizations : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeOptimizations", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReshapeOptimizations"); ReshapeOptimizations(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp index c6a99c90122544..6197ad4c246f6a 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp @@ -58,6 +58,6 @@ class ov::pass::SymbolicPropagation : public ov::pass::ModelPass { */ class ov::pass::LabelResolvingThroughSelect : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LabelResolvingThroughSelect", "0"); + OPENVINO_MATCHER_PASS_RTTI("LabelResolvingThroughSelect"); LabelResolvingThroughSelect(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp index 013799e854df8f..d16bf401576b96 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API TSForwardBase; */ class ov::pass::transpose_sinking::TSForwardBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSForwardBase", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSForwardBase"); TSForwardBase() = default; template diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp index 9534380d51253e..b8eca55dcb9685 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSBinaryForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSBinaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSBinaryBackward"); TSBinaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp index cc0ccc2c194dbf..5b6477da94a80d 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSConcatForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSConcatBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSConcatBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSConcatBackward"); TSConcatBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp index 185bea0105ec4d..741c56d5be0de7 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp @@ -35,6 +35,6 @@ class ov::pass::transpose_sinking::TSCumSumForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSCumSumBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSCumSumBackward"); TSCumSumBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp index 9775e57d61146b..e1a4f34a109eec 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp @@ -39,6 +39,6 @@ class ov::pass::transpose_sinking::TSDataMovementForward : public ov::pass::tran */ class ov::pass::transpose_sinking::TSDataMovementBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSDataMovementBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSDataMovementBackward"); TSDataMovementBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp index 974e7accc4d808..6f5a654e70e81c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSFuse; */ class ov::pass::transpose_sinking::TSFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSFuse", "0"); + OPENVINO_MATCHER_PASS_RTTI("TSFuse"); TSFuse(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp index 5bc7cea340cb72..891b8bd85c2ed4 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSGatherForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSGatherBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSGatherBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSGatherBackward"); TSGatherBackward(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp index dfdd062e1f7ce3..90ae417aca9fc6 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSInterpolateForward : public ov::pass::trans */ class ov::pass::transpose_sinking::TSInterpolateBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSInterpolateBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSInterpolateBackward"); TSInterpolateBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp index a983519a3012d6..d2992bc8a4abd8 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSReductionForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSReductionBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSReductionBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSReductionBackward"); TSReductionBackward(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp index 240c6e8342c069..3aa2a770390e35 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSResetNoSinkingAttribute; */ class ov::pass::transpose_sinking::TSResetNoSinkingAttribute : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSResetNoSinkingAttribute", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSResetNoSinkingAttribute"); TSResetNoSinkingAttribute(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp index 5e10a7f0e8a930..12ccc614861140 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp @@ -27,6 +27,6 @@ class ov::pass::transpose_sinking::TSSliceForward : public ov::pass::transpose_s class ov::pass::transpose_sinking::TSSliceBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSliceBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSliceBackward"); TSSliceBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp index cb24aa5273906f..b21bada67ad368 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp @@ -38,6 +38,6 @@ class ov::pass::transpose_sinking::TSSplitForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSSplitBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSplitBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSplitBackward"); TSSplitBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp index 752e040ab52cab..0d86d0a4c29242 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSSqueezeForward : public ov::pass::transpose */ class ov::pass::transpose_sinking::TSSqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSqueezeBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSqueezeBackward"); TSSqueezeBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp index 9bb15894d70a81..ffd14ce9a38d84 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp @@ -36,6 +36,6 @@ class ov::pass::transpose_sinking::TSTileForward : public ov::pass::transpose_si */ class ov::pass::transpose_sinking::TSTileBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSTileBackward"); TSTileBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp index c8148e912b30c0..1d745ada561224 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnaryForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSUnaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSUnaryBackwardMultiConsumers", "0"); + OPENVINO_MATCHER_PASS_RTTI("TSUnaryBackward"); TSUnaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp index 1ee195624cb801..60e5f8f7893961 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnsqueezeForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSUnsqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSUnsqueezeBackward", "0"); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSUnsqueezeBackward"); TSUnsqueezeBackward(); }; diff --git a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp index 7c22dbdfeac53d..5abe0b5b8c87e3 100644 --- a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp @@ -31,7 +31,7 @@ namespace ov { namespace pass { class InitNMSPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitNMSPath", "0"); + OPENVINO_MATCHER_PASS_RTTI("InitNMSPath"); InitNMSPath() { MATCHER_SCOPE(InitNMSPath); auto nms_pattern = pattern::wrap_type(); diff --git a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp index 4e9715883ec9f8..1e6d7caec39ac0 100644 --- a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp @@ -224,6 +224,7 @@ void add_node_with_inputs_to_vector(const std::shared_ptr& node, NodeV } // namespace class SplitConcat : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::init::SplitConcat"); SplitConcat(NodeVector& nodes_to_fuse) { MATCHER_SCOPE(SplitConcat); auto split_p = pattern::wrap_type(); @@ -280,6 +281,7 @@ class SplitConcat : public ov::pass::MatcherPass { class Gather : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::init::Gather"); Gather(NodeVector& nodes_to_fuse) { MATCHER_SCOPE(Gather); auto input_p = pattern::any_input(pattern::has_static_rank()); @@ -341,6 +343,7 @@ namespace prop { class Binary : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::Binary"); Binary() { MATCHER_SCOPE(Binary); auto pattern_root = pattern::wrap_type(); @@ -426,6 +429,7 @@ class Binary : public ov::pass::MatcherPass { class Convolution : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::Convolution"); Convolution() { MATCHER_SCOPE(Convolution); auto input_p = pattern::any_input(ric_attr::has>); @@ -448,6 +452,7 @@ class Convolution : public ov::pass::MatcherPass { class GroupConvolution : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::GroupConvolution"); GroupConvolution() { MATCHER_SCOPE(GroupConvolution); auto input_p = pattern::any_input(ric_attr::has>); @@ -504,6 +509,7 @@ class GroupConvolution : public ov::pass::MatcherPass { class ShapeOf : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::ShapeOf"); ShapeOf() { MATCHER_SCOPE(ShapeOf); auto pattern_root = pattern::wrap_type(); @@ -520,6 +526,7 @@ class ShapeOf : public ov::pass::MatcherPass { class PassThrough : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::PassThrough"); PassThrough() { MATCHER_SCOPE(PassThrough); auto pattern_root = pattern::wrap_type>); @@ -570,6 +578,7 @@ class Transpose : public ov::pass::MatcherPass { class Unsupported : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::prop::Unsupported"); Unsupported() { MATCHER_SCOPE(Unsupported); auto pattern_root = pattern::any_input(); @@ -605,6 +614,7 @@ bool need_to_erase_ric(const Output& output) { class InsertReverseInputChannel : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::fuse::InsertReverseInputChannel"); InsertReverseInputChannel(NodeVector& fused_nodes) { MATCHER_SCOPE(InsertReverseInputChannel); auto pattern_root = pattern::any_input(); @@ -628,6 +638,7 @@ class InsertReverseInputChannel : public ov::pass::MatcherPass { class EraseSplitConcat : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::fuse::EraseSplitConcat"); EraseSplitConcat() { MATCHER_SCOPE(EraseSplitConcat); auto input_p = pattern::any_input(); @@ -649,6 +660,7 @@ class EraseSplitConcat : public ov::pass::MatcherPass { class EraseGather : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::fuse::EraseGather"); EraseGather() { MATCHER_SCOPE(EraseGather); auto input_p = pattern::any_input(); @@ -672,6 +684,7 @@ class EraseGather : public ov::pass::MatcherPass { namespace back_prop { class Binary : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::back_prop::Binary"); Binary() { MATCHER_SCOPE(Binary); auto fake_quantize_pattern = @@ -755,6 +768,7 @@ class Binary : public ov::pass::MatcherPass { class ConvertPassThrough : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("pass::back_prop::ConvertPassThrough"); ConvertPassThrough() { MATCHER_SCOPE(ConvertPassThrough); auto pattern_root = pattern::wrap_type(pattern::has_static_rank()); diff --git a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp index 2235e87c792b0d..fc667bd23a97b4 100644 --- a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp +++ b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp @@ -116,7 +116,7 @@ const std::shared_ptr propagate_through_ops = */ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateUpMarkToKeepInMixedPrecision", "0"); + OPENVINO_MATCHER_PASS_RTTI("PropagateUpMarkToKeepInMixedPrecision"); PropagateUpMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateUpMarkToKeepInMixedPrecision); @@ -159,7 +159,7 @@ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { */ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateDownMarkToKeepInMixedPrecision", "0"); + OPENVINO_MATCHER_PASS_RTTI("PropagateDownMarkToKeepInMixedPrecision"); PropagateDownMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateDownMarkToKeepInMixedPrecision); @@ -197,7 +197,7 @@ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { class InitMarkReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitMarkReduceOpPath", "0"); + OPENVINO_MATCHER_PASS_RTTI("InitMarkReduceOpPath"); InitMarkReduceOpPath() { MATCHER_SCOPE(InitMarkReduceOpPath); @@ -217,7 +217,7 @@ class InitMarkReduceOpPath : public pass::MatcherPass { class PropagateMarkUpReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateMarkUpReduceOpPath", "0"); + OPENVINO_MATCHER_PASS_RTTI("PropagateMarkUpReduceOpPath"); PropagateMarkUpReduceOpPath() { MATCHER_SCOPE(PropagateMarkUpReduceOpPath); @@ -244,8 +244,8 @@ class PropagateMarkUpReduceOpPath : public pass::MatcherPass { class MarkExp : public pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("MarkExp"); // only exponent that go into ReduceOp should be marked as precision sensitive and kept in f32 - OPENVINO_RTTI("MarkExp", "0"); MarkExp() { MATCHER_SCOPE(MarkExp); auto exp_pattern = pattern::wrap_type(); @@ -288,7 +288,7 @@ class MarkExpInReduceOpPath : public BackwardGraphRewrite { */ class MarkDivWithEps : public MatcherPass { public: - OPENVINO_RTTI("MarkDivWithEps", "0"); + OPENVINO_MATCHER_PASS_RTTI("MarkDivWithEps"); MarkDivWithEps() { MATCHER_SCOPE(MarkDivWithEps); @@ -367,7 +367,7 @@ class MarkDivWithEps : public MatcherPass { class PropagateDownDisableSensitivityForQuantized : public pass::MatcherPass { public: - OPENVINO_RTTI("DisableMarkingForQuantizedNodes", "0"); + OPENVINO_MATCHER_PASS_RTTI("PropagateDownDisableSensitivityForQuantized"); PropagateDownDisableSensitivityForQuantized() { MATCHER_SCOPE(PropagateDownDisableSensitivityForQuantized); diff --git a/src/common/transformations/src/transformations/op_conversions/convert_ti_to_sequences.cpp b/src/common/transformations/src/transformations/op_conversions/convert_ti_to_sequences.cpp index 9f3b6b976d14df..119816266ffdc4 100644 --- a/src/common/transformations/src/transformations/op_conversions/convert_ti_to_sequences.cpp +++ b/src/common/transformations/src/transformations/op_conversions/convert_ti_to_sequences.cpp @@ -1319,6 +1319,7 @@ ov::pass::ConvertLoopWithSlicedInputConcatOutputToLSTMSequence::ConvertLoopWithS class EliminateGatherWithRange : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("EliminateGatherWithRange"); EliminateGatherWithRange() { using namespace ov; using namespace ov::pass;