; LLVM IR from NervanaSystems/ngraph :: src/ngraph (validation_util)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.ngraph::PartialShape" = type { i8, %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.ngraph::Dimension" = type { %"class.ngraph::Interval" }
%"class.ngraph::Interval" = type { i64, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.ngraph::CheckLocInfo" = type { ptr, i32, ptr }
%"class.ngraph::Strides" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [86 x i8], align 1
@_ZTIN6ngraph21NodeValidationFailureE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [289 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [61 x i8], align 1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ngraph9Dimension9is_staticEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph37infer_windowed_reduction_output_shapeEPKNS_4NodeERKNS_12PartialShapeERKNS_7StridesERKNS_14CoordinateDiffESB_S5_S8_S8_bb(ptr dead_on_unwind noalias writable sret(%"class.ngraph::PartialShape") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) #1

declare void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8, i64, i64) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv() #3 align 2

declare noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32), i64, i64) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

declare void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

declare ptr @__cxa_allocate_exception(i64)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare void @__cxa_free_exception(ptr)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

declare { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA20_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(20)) #6

declare { i64, i64 } @_ZNK6ngraph9DimensionplERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph29infer_batched_pooling_forwardEPKNS_4NodeERKNS_12PartialShapeERKNS_14CoordinateDiffES8_S5_RKNS_7StridesEbb(ptr dead_on_unwind noalias writable sret(%"class.ngraph::PartialShape") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext %7, i1 noundef zeroext %8) #1 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca %"class.ngraph::Dimension", align 8
  %20 = alloca %"class.ngraph::Dimension", align 8
  %21 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca i1, align 1
  %27 = alloca %"class.ngraph::PartialShape", align 8
  %28 = alloca %"class.ngraph::Dimension", align 8
  %29 = alloca %"class.ngraph::Dimension", align 8
  %30 = alloca %"class.ngraph::Dimension", align 8
  %31 = alloca %"class.ngraph::Dimension", align 8
  %32 = alloca %"class.ngraph::Dimension", align 8
  %33 = alloca %"class.ngraph::Dimension", align 8
  %34 = alloca %"class.ngraph::Dimension", align 8
  %35 = alloca %"class.ngraph::Dimension", align 8
  %36 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %37 = alloca %"class.ngraph::Dimension", align 8
  %38 = alloca %"class.ngraph::Dimension", align 8
  %39 = alloca %"class.ngraph::Dimension", align 8
  %40 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca i1, align 1
  %43 = alloca %"class.ngraph::Dimension", align 8
  %44 = alloca %"class.ngraph::Dimension", align 8
  %45 = alloca %"class.ngraph::PartialShape", align 8
  %46 = alloca %"class.ngraph::Dimension", align 8
  %47 = alloca %"class.ngraph::Dimension", align 8
  %48 = alloca i64, align 8
  %49 = alloca %"class.ngraph::Dimension", align 8
  %50 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %51 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca i1, align 1
  %54 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %55 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca i1, align 1
  %58 = alloca %"class.ngraph::Strides", align 8
  %59 = alloca %"class.ngraph::Dimension", align 8
  %60 = alloca %"class.ngraph::Strides", align 8
  %61 = alloca %"class.ngraph::Dimension", align 8
  %62 = alloca %"class.ngraph::PartialShape", align 8
  %63 = alloca i1, align 1
  %64 = alloca %"class.ngraph::Dimension", align 8
  %65 = alloca %"class.ngraph::Dimension", align 8
  %66 = alloca %"class.ngraph::Dimension", align 8
  %67 = alloca i64, align 8
  %68 = alloca %"class.ngraph::Dimension", align 8
  store ptr %0, ptr %10, align 8
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  %69 = zext i1 %7 to i8
  store i8 %69, ptr %17, align 1, !tbaa !9
  %70 = zext i1 %8 to i8
  store i8 %70, ptr %18, align 1, !tbaa !9
  br label %71

71:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = call { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %72)
  %74 = getelementptr inbounds %"class.ngraph::Dimension", ptr %19, i32 0, i32 0
  %75 = getelementptr inbounds { i64, i64 }, ptr %74, i32 0, i32 0
  %76 = extractvalue { i64, i64 } %73, 0
  store i64 %76, ptr %75, align 8
  %77 = getelementptr inbounds { i64, i64 }, ptr %74, i32 0, i32 1
  %78 = extractvalue { i64, i64 } %73, 1
  store i64 %78, ptr %77, align 8
  %79 = call noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  br i1 %79, label %90, label %80

80:                                               ; preds = %71
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = call { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %81)
  %83 = getelementptr inbounds %"class.ngraph::Dimension", ptr %20, i32 0, i32 0
  %84 = getelementptr inbounds { i64, i64 }, ptr %83, i32 0, i32 0
  %85 = extractvalue { i64, i64 } %82, 0
  store i64 %85, ptr %84, align 8
  %86 = getelementptr inbounds { i64, i64 }, ptr %83, i32 0, i32 1
  %87 = extractvalue { i64, i64 } %82, 1
  store i64 %87, ptr %86, align 8
  %88 = call noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %20)
  %89 = icmp sge i64 %88, 3
  br label %90

90:                                               ; preds = %80, %71
  %91 = phi i1 [ true, %71 ], [ %89, %80 ]
  %92 = xor i1 %91, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  br i1 %92, label %93, label %122

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 392, ptr %21) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
  %94 = getelementptr inbounds i8, ptr %21, i64 16
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA58_cJRA61_KcRA20_S2_RKNS_12PartialShapeERA3_S2_EEERSoSC_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 1 dereferenceable(58) @.str.58, ptr noundef nonnull align 1 dereferenceable(61) @.str.38, ptr noundef nonnull align 1 dereferenceable(20) @.str.39, ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 1 dereferenceable(3) @.str.35)
          to label %97 unwind label %105

97:                                               ; preds = %93
  store i1 true, ptr %26, align 1
  %98 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #8
  %99 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %24, i32 0, i32 0
  store ptr @.str.8, ptr %99, align 8, !tbaa !11
  %100 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %24, i32 0, i32 1
  store i32 392, ptr %100, align 8, !tbaa !14
  %101 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %24, i32 0, i32 2
  store ptr @.str.59, ptr %101, align 8, !tbaa !15
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(128) %21)
          to label %103 unwind label %109

103:                                              ; preds = %97
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef %102, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %104 unwind label %113

104:                                              ; preds = %103
  store i1 false, ptr %26, align 1
  invoke void @__cxa_throw(ptr %98, ptr @_ZTIN6ngraph21NodeValidationFailureE, ptr @_ZNSt13runtime_errorD2Ev) #9
          to label %594 unwind label %113

105:                                              ; preds = %93
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %22, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %23, align 4
  br label %121

109:                                              ; preds = %97
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %22, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %23, align 4
  br label %117

113:                                              ; preds = %104, %103
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %22, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %117

117:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #8
  %118 = load i1, ptr %26, align 1
  br i1 %118, label %119, label %120

119:                                              ; preds = %117
  call void @__cxa_free_exception(ptr %98) #8
  br label %120

120:                                              ; preds = %119, %117
  br label %121

121:                                              ; preds = %120, %105
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %21) #8
  br label %589

122:                                              ; preds = %90
  br label %123

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #8
  %124 = call { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
  %125 = getelementptr inbounds %"class.ngraph::Dimension", ptr %28, i32 0, i32 0
  %126 = getelementptr inbounds { i64, i64 }, ptr %125, i32 0, i32 0
  %127 = extractvalue { i64, i64 } %124, 0
  store i64 %127, ptr %126, align 8
  %128 = getelementptr inbounds { i64, i64 }, ptr %125, i32 0, i32 1
  %129 = extractvalue { i64, i64 } %124, 1
  store i64 %129, ptr %128, align 8
  %130 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 0
  %131 = load i64, ptr %130, align 8
  %132 = getelementptr inbounds { i64, i64 }, ptr %28, i32 0, i32 1
  %133 = load i64, ptr %132, align 8
  call void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8 %27, i64 %131, i64 %133)
  br label %134

134:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %135 = load ptr, ptr %12, align 8, !tbaa !5
  %136 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %135)
          to label %137 unwind label %238

137:                                              ; preds = %134
  %138 = getelementptr inbounds %"class.ngraph::Dimension", ptr %30, i32 0, i32 0
  %139 = getelementptr inbounds { i64, i64 }, ptr %138, i32 0, i32 0
  %140 = extractvalue { i64, i64 } %136, 0
  store i64 %140, ptr %139, align 8
  %141 = getelementptr inbounds { i64, i64 }, ptr %138, i32 0, i32 1
  %142 = extractvalue { i64, i64 } %136, 1
  store i64 %142, ptr %141, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %31, i64 noundef 2)
          to label %143 unwind label %242

143:                                              ; preds = %137
  %144 = invoke { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %145 unwind label %242

145:                                              ; preds = %143
  %146 = getelementptr inbounds %"class.ngraph::Dimension", ptr %29, i32 0, i32 0
  %147 = getelementptr inbounds { i64, i64 }, ptr %146, i32 0, i32 0
  %148 = extractvalue { i64, i64 } %144, 0
  store i64 %148, ptr %147, align 8
  %149 = getelementptr inbounds { i64, i64 }, ptr %146, i32 0, i32 1
  %150 = extractvalue { i64, i64 } %144, 1
  store i64 %150, ptr %149, align 8
  %151 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 0
  %152 = load i64, ptr %151, align 8
  %153 = getelementptr inbounds { i64, i64 }, ptr %29, i32 0, i32 1
  %154 = load i64, ptr %153, align 8
  %155 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 %152, i64 %154)
          to label %156 unwind label %242

156:                                              ; preds = %145
  br i1 %155, label %157, label %202

157:                                              ; preds = %156
  %158 = load ptr, ptr %13, align 8, !tbaa !5
  %159 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %158) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %32, i64 noundef %159)
          to label %160 unwind label %242

160:                                              ; preds = %157
  %161 = getelementptr inbounds { i64, i64 }, ptr %32, i32 0, i32 0
  %162 = load i64, ptr %161, align 8
  %163 = getelementptr inbounds { i64, i64 }, ptr %32, i32 0, i32 1
  %164 = load i64, ptr %163, align 8
  %165 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 %162, i64 %164)
          to label %166 unwind label %242

166:                                              ; preds = %160
  br i1 %165, label %167, label %202

167:                                              ; preds = %166
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %168) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %33, i64 noundef %169)
          to label %170 unwind label %242

170:                                              ; preds = %167
  %171 = getelementptr inbounds { i64, i64 }, ptr %33, i32 0, i32 0
  %172 = load i64, ptr %171, align 8
  %173 = getelementptr inbounds { i64, i64 }, ptr %33, i32 0, i32 1
  %174 = load i64, ptr %173, align 8
  %175 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 %172, i64 %174)
          to label %176 unwind label %242

176:                                              ; preds = %170
  br i1 %175, label %177, label %202

177:                                              ; preds = %176
  %178 = load ptr, ptr %15, align 8, !tbaa !5
  %179 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %178)
          to label %180 unwind label %242

180:                                              ; preds = %177
  %181 = getelementptr inbounds %"class.ngraph::Dimension", ptr %34, i32 0, i32 0
  %182 = getelementptr inbounds { i64, i64 }, ptr %181, i32 0, i32 0
  %183 = extractvalue { i64, i64 } %179, 0
  store i64 %183, ptr %182, align 8
  %184 = getelementptr inbounds { i64, i64 }, ptr %181, i32 0, i32 1
  %185 = extractvalue { i64, i64 } %179, 1
  store i64 %185, ptr %184, align 8
  %186 = getelementptr inbounds { i64, i64 }, ptr %34, i32 0, i32 0
  %187 = load i64, ptr %186, align 8
  %188 = getelementptr inbounds { i64, i64 }, ptr %34, i32 0, i32 1
  %189 = load i64, ptr %188, align 8
  %190 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 %187, i64 %189)
          to label %191 unwind label %242

191:                                              ; preds = %180
  br i1 %190, label %192, label %202

192:                                              ; preds = %191
  %193 = load ptr, ptr %16, align 8, !tbaa !5
  %194 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %193) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %35, i64 noundef %194)
          to label %195 unwind label %242

195:                                              ; preds = %192
  %196 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 0
  %197 = load i64, ptr %196, align 8
  %198 = getelementptr inbounds { i64, i64 }, ptr %35, i32 0, i32 1
  %199 = load i64, ptr %198, align 8
  %200 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 %197, i64 %199)
          to label %201 unwind label %242

201:                                              ; preds = %195
  br label %202

202:                                              ; preds = %201, %191, %176, %166, %156
  %203 = phi i1 [ false, %191 ], [ false, %176 ], [ false, %166 ], [ false, %156 ], [ %200, %201 ]
  %204 = xor i1 %203, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br i1 %204, label %205, label %274

205:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 392, ptr %36) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %36)
          to label %206 unwind label %247

206:                                              ; preds = %205
  %207 = getelementptr inbounds i8, ptr %36, i64 16
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #8
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %209)
          to label %211 unwind label %251

211:                                              ; preds = %206
  %212 = getelementptr inbounds %"class.ngraph::Dimension", ptr %38, i32 0, i32 0
  %213 = getelementptr inbounds { i64, i64 }, ptr %212, i32 0, i32 0
  %214 = extractvalue { i64, i64 } %210, 0
  store i64 %214, ptr %213, align 8
  %215 = getelementptr inbounds { i64, i64 }, ptr %212, i32 0, i32 1
  %216 = extractvalue { i64, i64 } %210, 1
  store i64 %216, ptr %215, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %39, i64 noundef 2)
          to label %217 unwind label %255

217:                                              ; preds = %211
  %218 = invoke { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %39)
          to label %219 unwind label %255

219:                                              ; preds = %217
  %220 = getelementptr inbounds %"class.ngraph::Dimension", ptr %37, i32 0, i32 0
  %221 = getelementptr inbounds { i64, i64 }, ptr %220, i32 0, i32 0
  %222 = extractvalue { i64, i64 } %218, 0
  store i64 %222, ptr %221, align 8
  %223 = getelementptr inbounds { i64, i64 }, ptr %220, i32 0, i32 1
  %224 = extractvalue { i64, i64 } %218, 1
  store i64 %224, ptr %223, align 8
  %225 = load ptr, ptr %13, align 8, !tbaa !5
  %226 = load ptr, ptr %14, align 8, !tbaa !5
  %227 = load ptr, ptr %15, align 8, !tbaa !5
  %228 = load ptr, ptr %16, align 8, !tbaa !5
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA49_cJRKNS_12PartialShapeERA24_KcNS_9DimensionERA19_S5_RKNS_14CoordinateDiffESA_SD_RA18_S5_S4_S7_RKNS_7StridesERA16_S5_EEERSoSL_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef nonnull align 1 dereferenceable(49) @.str.60, ptr noundef nonnull align 8 dereferenceable(32) %208, ptr noundef nonnull align 1 dereferenceable(24) @.str.42, ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 1 dereferenceable(19) @.str.2, ptr noundef nonnull align 8 dereferenceable(24) %225, ptr noundef nonnull align 1 dereferenceable(19) @.str.3, ptr noundef nonnull align 8 dereferenceable(24) %226, ptr noundef nonnull align 1 dereferenceable(18) @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %227, ptr noundef nonnull align 1 dereferenceable(24) @.str.61, ptr noundef nonnull align 8 dereferenceable(24) %228, ptr noundef nonnull align 1 dereferenceable(16) @.str.7)
          to label %230 unwind label %255

230:                                              ; preds = %219
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  store i1 true, ptr %42, align 1
  %231 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  %232 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %40, i32 0, i32 0
  store ptr @.str.8, ptr %232, align 8, !tbaa !11
  %233 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %40, i32 0, i32 1
  store i32 414, ptr %233, align 8, !tbaa !14
  %234 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %40, i32 0, i32 2
  store ptr @.str.62, ptr %234, align 8, !tbaa !15
  %235 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %41, ptr noundef nonnull align 8 dereferenceable(128) %36)
          to label %236 unwind label %260

236:                                              ; preds = %230
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %231, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef %235, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %237 unwind label %264

237:                                              ; preds = %236
  store i1 false, ptr %42, align 1
  invoke void @__cxa_throw(ptr %231, ptr @_ZTIN6ngraph21NodeValidationFailureE, ptr @_ZNSt13runtime_errorD2Ev) #9
          to label %594 unwind label %264

238:                                              ; preds = %134
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %22, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %23, align 4
  br label %246

242:                                              ; preds = %195, %192, %180, %177, %170, %167, %160, %157, %145, %143, %137
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %22, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %246

246:                                              ; preds = %242, %238
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  br label %588

247:                                              ; preds = %205
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %22, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %23, align 4
  br label %273

251:                                              ; preds = %206
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %22, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %23, align 4
  br label %259

255:                                              ; preds = %219, %217, %211
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %22, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #8
  br label %259

259:                                              ; preds = %255, %251
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #8
  br label %272

260:                                              ; preds = %230
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %22, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %23, align 4
  br label %268

264:                                              ; preds = %237, %236
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %22, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #8
  br label %268

268:                                              ; preds = %264, %260
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  %269 = load i1, ptr %42, align 1
  br i1 %269, label %270, label %271

270:                                              ; preds = %268
  call void @__cxa_free_exception(ptr %231) #8
  br label %271

271:                                              ; preds = %270, %268
  br label %272

272:                                              ; preds = %271, %259
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %36) #8
  br label %273

273:                                              ; preds = %272, %247
  call void @llvm.lifetime.end.p0(i64 392, ptr %36) #8
  br label %588

274:                                              ; preds = %202
  br label %275

275:                                              ; preds = %274
  br label %276

276:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #8
  %277 = invoke { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
          to label %278 unwind label %333

278:                                              ; preds = %276
  %279 = getelementptr inbounds %"class.ngraph::Dimension", ptr %43, i32 0, i32 0
  %280 = getelementptr inbounds { i64, i64 }, ptr %279, i32 0, i32 0
  %281 = extractvalue { i64, i64 } %277, 0
  store i64 %281, ptr %280, align 8
  %282 = getelementptr inbounds { i64, i64 }, ptr %279, i32 0, i32 1
  %283 = extractvalue { i64, i64 } %277, 1
  store i64 %283, ptr %282, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #8
  %284 = invoke { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
          to label %285 unwind label %337

285:                                              ; preds = %278
  %286 = getelementptr inbounds %"class.ngraph::Dimension", ptr %44, i32 0, i32 0
  %287 = getelementptr inbounds { i64, i64 }, ptr %286, i32 0, i32 0
  %288 = extractvalue { i64, i64 } %284, 0
  store i64 %288, ptr %287, align 8
  %289 = getelementptr inbounds { i64, i64 }, ptr %286, i32 0, i32 1
  %290 = extractvalue { i64, i64 } %284, 1
  store i64 %290, ptr %289, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #8
  %291 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %292 unwind label %341

292:                                              ; preds = %285
  %293 = getelementptr inbounds %"class.ngraph::Dimension", ptr %46, i32 0, i32 0
  %294 = getelementptr inbounds { i64, i64 }, ptr %293, i32 0, i32 0
  %295 = extractvalue { i64, i64 } %291, 0
  store i64 %295, ptr %294, align 8
  %296 = getelementptr inbounds { i64, i64 }, ptr %293, i32 0, i32 1
  %297 = extractvalue { i64, i64 } %291, 1
  store i64 %297, ptr %296, align 8
  %298 = getelementptr inbounds { i64, i64 }, ptr %46, i32 0, i32 0
  %299 = load i64, ptr %298, align 8
  %300 = getelementptr inbounds { i64, i64 }, ptr %46, i32 0, i32 1
  %301 = load i64, ptr %300, align 8
  invoke void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8 %45, i64 %299, i64 %301)
          to label %302 unwind label %341

302:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #8
  %303 = load ptr, ptr %12, align 8, !tbaa !5
  %304 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %303)
          to label %305 unwind label %345

305:                                              ; preds = %302
  %306 = getelementptr inbounds %"class.ngraph::Dimension", ptr %47, i32 0, i32 0
  %307 = getelementptr inbounds { i64, i64 }, ptr %306, i32 0, i32 0
  %308 = extractvalue { i64, i64 } %304, 0
  store i64 %308, ptr %307, align 8
  %309 = getelementptr inbounds { i64, i64 }, ptr %306, i32 0, i32 1
  %310 = extractvalue { i64, i64 } %304, 1
  store i64 %310, ptr %309, align 8
  %311 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension9is_staticEv(ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %312 unwind label %345

312:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  br i1 %311, label %313, label %508

313:                                              ; preds = %312
  %314 = load ptr, ptr %12, align 8, !tbaa !5
  %315 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %314, i64 noundef 0)
          to label %316 unwind label %349

316:                                              ; preds = %313
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %315, i64 16, i1 false), !tbaa.struct !16
  %317 = load ptr, ptr %12, align 8, !tbaa !5
  %318 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %317, i64 noundef 1)
          to label %319 unwind label %349

319:                                              ; preds = %316
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %318, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  store i64 0, ptr %48, align 8, !tbaa !17
  br label %320

320:                                              ; preds = %366, %319
  %321 = load i64, ptr %48, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #8
  %322 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %323 unwind label %353

323:                                              ; preds = %320
  %324 = getelementptr inbounds %"class.ngraph::Dimension", ptr %49, i32 0, i32 0
  %325 = getelementptr inbounds { i64, i64 }, ptr %324, i32 0, i32 0
  %326 = extractvalue { i64, i64 } %322, 0
  store i64 %326, ptr %325, align 8
  %327 = getelementptr inbounds { i64, i64 }, ptr %324, i32 0, i32 1
  %328 = extractvalue { i64, i64 } %322, 1
  store i64 %328, ptr %327, align 8
  %329 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %330 unwind label %353

330:                                              ; preds = %323
  %331 = icmp ult i64 %321, %329
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #8
  br i1 %331, label %357, label %332

332:                                              ; preds = %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %374

333:                                              ; preds = %276
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %22, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %23, align 4
  br label %587

337:                                              ; preds = %278
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %22, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %23, align 4
  br label %586

341:                                              ; preds = %292, %285
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %22, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %23, align 4
  br label %585

345:                                              ; preds = %305, %302
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %22, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #8
  br label %584

349:                                              ; preds = %422, %419, %378, %375, %316, %313
  %350 = landingpad { ptr, i32 }
          cleanup
  %351 = extractvalue { ptr, i32 } %350, 0
  store ptr %351, ptr %22, align 8
  %352 = extractvalue { ptr, i32 } %350, 1
  store i32 %352, ptr %23, align 4
  br label %584

353:                                              ; preds = %323, %320
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %22, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #8
  br label %373

357:                                              ; preds = %330
  %358 = load ptr, ptr %12, align 8, !tbaa !5
  %359 = load i64, ptr %48, align 8, !tbaa !17
  %360 = add i64 %359, 2
  %361 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %358, i64 noundef %360)
          to label %362 unwind label %369

362:                                              ; preds = %357
  %363 = load i64, ptr %48, align 8, !tbaa !17
  %364 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %27, i64 noundef %363)
          to label %365 unwind label %369

365:                                              ; preds = %362
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %364, ptr align 8 %361, i64 16, i1 false), !tbaa.struct !16
  br label %366

366:                                              ; preds = %365
  %367 = load i64, ptr %48, align 8, !tbaa !17
  %368 = add i64 %367, 1
  store i64 %368, ptr %48, align 8, !tbaa !17
  br label %320, !llvm.loop !19

369:                                              ; preds = %362, %357
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %22, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %23, align 4
  br label %373

373:                                              ; preds = %369, %353
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %584

374:                                              ; preds = %332
  br label %375

375:                                              ; preds = %374
  %376 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %377 unwind label %349

377:                                              ; preds = %375
  br i1 %376, label %416, label %378

378:                                              ; preds = %377
  %379 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %43)
          to label %380 unwind label %349

380:                                              ; preds = %378
  %381 = icmp sgt i64 %379, 0
  br i1 %381, label %416, label %382

382:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 392, ptr %50) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %50)
          to label %383 unwind label %394

383:                                              ; preds = %382
  %384 = getelementptr inbounds i8, ptr %50, i64 16
  %385 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA20_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %384, ptr noundef nonnull align 1 dereferenceable(20) @.str.48)
          to label %386 unwind label %398

386:                                              ; preds = %383
  store i1 true, ptr %53, align 1
  %387 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #8
  %388 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %51, i32 0, i32 0
  store ptr @.str.8, ptr %388, align 8, !tbaa !11
  %389 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %51, i32 0, i32 1
  store i32 431, ptr %389, align 8, !tbaa !14
  %390 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %51, i32 0, i32 2
  store ptr @.str.49, ptr %390, align 8, !tbaa !15
  %391 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %52, ptr noundef nonnull align 8 dereferenceable(128) %50)
          to label %392 unwind label %402

392:                                              ; preds = %386
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %387, ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef %391, ptr noundef nonnull align 8 dereferenceable(32) %52)
          to label %393 unwind label %406

393:                                              ; preds = %392
  store i1 false, ptr %53, align 1
  invoke void @__cxa_throw(ptr %387, ptr @_ZTIN6ngraph21NodeValidationFailureE, ptr @_ZNSt13runtime_errorD2Ev) #9
          to label %594 unwind label %406

394:                                              ; preds = %382
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %22, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %23, align 4
  br label %415

398:                                              ; preds = %383
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %22, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %23, align 4
  br label %414

402:                                              ; preds = %386
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %22, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %23, align 4
  br label %410

406:                                              ; preds = %393, %392
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %22, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %410

410:                                              ; preds = %406, %402
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #8
  %411 = load i1, ptr %53, align 1
  br i1 %411, label %412, label %413

412:                                              ; preds = %410
  call void @__cxa_free_exception(ptr %387) #8
  br label %413

413:                                              ; preds = %412, %410
  br label %414

414:                                              ; preds = %413, %398
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %50) #8
  br label %415

415:                                              ; preds = %414, %394
  call void @llvm.lifetime.end.p0(i64 392, ptr %50) #8
  br label %584

416:                                              ; preds = %380, %377
  br label %417

417:                                              ; preds = %416
  br label %418

418:                                              ; preds = %417
  br label %419

419:                                              ; preds = %418
  %420 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
          to label %421 unwind label %349

421:                                              ; preds = %419
  br i1 %420, label %460, label %422

422:                                              ; preds = %421
  %423 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %44)
          to label %424 unwind label %349

424:                                              ; preds = %422
  %425 = icmp sgt i64 %423, 0
  br i1 %425, label %460, label %426

426:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 392, ptr %54) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %54)
          to label %427 unwind label %438

427:                                              ; preds = %426
  %428 = getelementptr inbounds i8, ptr %54, i64 16
  %429 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA23_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %428, ptr noundef nonnull align 1 dereferenceable(23) @.str.63)
          to label %430 unwind label %442

430:                                              ; preds = %427
  store i1 true, ptr %57, align 1
  %431 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %55) #8
  %432 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %55, i32 0, i32 0
  store ptr @.str.8, ptr %432, align 8, !tbaa !11
  %433 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %55, i32 0, i32 1
  store i32 435, ptr %433, align 8, !tbaa !14
  %434 = getelementptr inbounds %"struct.ngraph::CheckLocInfo", ptr %55, i32 0, i32 2
  store ptr @.str.64, ptr %434, align 8, !tbaa !15
  %435 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %56, ptr noundef nonnull align 8 dereferenceable(128) %54)
          to label %436 unwind label %446

436:                                              ; preds = %430
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %431, ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef %435, ptr noundef nonnull align 8 dereferenceable(32) %56)
          to label %437 unwind label %450

437:                                              ; preds = %436
  store i1 false, ptr %57, align 1
  invoke void @__cxa_throw(ptr %431, ptr @_ZTIN6ngraph21NodeValidationFailureE, ptr @_ZNSt13runtime_errorD2Ev) #9
          to label %594 unwind label %450

438:                                              ; preds = %426
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %22, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %23, align 4
  br label %459

442:                                              ; preds = %427
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %22, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %23, align 4
  br label %458

446:                                              ; preds = %430
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %22, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %23, align 4
  br label %454

450:                                              ; preds = %437, %436
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %22, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #8
  br label %454

454:                                              ; preds = %450, %446
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %55) #8
  %455 = load i1, ptr %57, align 1
  br i1 %455, label %456, label %457

456:                                              ; preds = %454
  call void @__cxa_free_exception(ptr %431) #8
  br label %457

457:                                              ; preds = %456, %454
  br label %458

458:                                              ; preds = %457, %442
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %54) #8
  br label %459

459:                                              ; preds = %458, %438
  call void @llvm.lifetime.end.p0(i64 392, ptr %54) #8
  br label %584

460:                                              ; preds = %424, %421
  br label %461

461:                                              ; preds = %460
  br label %462

462:                                              ; preds = %461
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %59) #8
  %463 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %464 unwind label %494

464:                                              ; preds = %462
  %465 = getelementptr inbounds %"class.ngraph::Dimension", ptr %59, i32 0, i32 0
  %466 = getelementptr inbounds { i64, i64 }, ptr %465, i32 0, i32 0
  %467 = extractvalue { i64, i64 } %463, 0
  store i64 %467, ptr %466, align 8
  %468 = getelementptr inbounds { i64, i64 }, ptr %465, i32 0, i32 1
  %469 = extractvalue { i64, i64 } %463, 1
  store i64 %469, ptr %468, align 8
  %470 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %59)
          to label %471 unwind label %494

471:                                              ; preds = %464
  invoke void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %470, i64 noundef 1)
          to label %472 unwind label %494

472:                                              ; preds = %471
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #8
  %473 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %474 unwind label %498

474:                                              ; preds = %472
  %475 = getelementptr inbounds %"class.ngraph::Dimension", ptr %61, i32 0, i32 0
  %476 = getelementptr inbounds { i64, i64 }, ptr %475, i32 0, i32 0
  %477 = extractvalue { i64, i64 } %473, 0
  store i64 %477, ptr %476, align 8
  %478 = getelementptr inbounds { i64, i64 }, ptr %475, i32 0, i32 1
  %479 = extractvalue { i64, i64 } %473, 1
  store i64 %479, ptr %478, align 8
  %480 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %61)
          to label %481 unwind label %498

481:                                              ; preds = %474
  invoke void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %480, i64 noundef 1)
          to label %482 unwind label %498

482:                                              ; preds = %481
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #8
  %483 = load ptr, ptr %11, align 8, !tbaa !5
  %484 = load ptr, ptr %13, align 8, !tbaa !5
  %485 = load ptr, ptr %14, align 8, !tbaa !5
  %486 = load ptr, ptr %15, align 8, !tbaa !5
  %487 = load ptr, ptr %16, align 8, !tbaa !5
  %488 = load i8, ptr %17, align 1, !tbaa !9, !range !21, !noundef !22
  %489 = trunc i8 %488 to i1
  %490 = load i8, ptr %18, align 1, !tbaa !9, !range !21, !noundef !22
  %491 = trunc i8 %490 to i1
  invoke void @_ZN6ngraph37infer_windowed_reduction_output_shapeEPKNS_4NodeERKNS_12PartialShapeERKNS_7StridesERKNS_14CoordinateDiffESB_S5_S8_S8_bb(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8 %62, ptr noundef %483, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(24) %484, ptr noundef nonnull align 8 dereferenceable(24) %485, ptr noundef nonnull align 8 dereferenceable(32) %486, ptr noundef nonnull align 8 dereferenceable(24) %487, ptr noundef nonnull align 8 dereferenceable(24) %60, i1 noundef zeroext %489, i1 noundef zeroext %491)
          to label %492 unwind label %502

492:                                              ; preds = %482
  %493 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6ngraph12PartialShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  br label %508

494:                                              ; preds = %471, %464, %462
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %22, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %59) #8
  br label %507

498:                                              ; preds = %481, %474, %472
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %22, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #8
  br label %506

502:                                              ; preds = %482
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %22, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  br label %506

506:                                              ; preds = %502, %498
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  br label %507

507:                                              ; preds = %506, %494
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  br label %584

508:                                              ; preds = %492, %312
  store i1 false, ptr %63, align 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #8
  %509 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %45)
          to label %510 unwind label %546

510:                                              ; preds = %508
  %511 = getelementptr inbounds %"class.ngraph::Dimension", ptr %65, i32 0, i32 0
  %512 = getelementptr inbounds { i64, i64 }, ptr %511, i32 0, i32 0
  %513 = extractvalue { i64, i64 } %509, 0
  store i64 %513, ptr %512, align 8
  %514 = getelementptr inbounds { i64, i64 }, ptr %511, i32 0, i32 1
  %515 = extractvalue { i64, i64 } %509, 1
  store i64 %515, ptr %514, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %66, i64 noundef 2)
          to label %516 unwind label %550

516:                                              ; preds = %510
  %517 = invoke { i64, i64 } @_ZNK6ngraph9DimensionplERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %65, ptr noundef nonnull align 8 dereferenceable(16) %66)
          to label %518 unwind label %550

518:                                              ; preds = %516
  %519 = getelementptr inbounds %"class.ngraph::Dimension", ptr %64, i32 0, i32 0
  %520 = getelementptr inbounds { i64, i64 }, ptr %519, i32 0, i32 0
  %521 = extractvalue { i64, i64 } %517, 0
  store i64 %521, ptr %520, align 8
  %522 = getelementptr inbounds { i64, i64 }, ptr %519, i32 0, i32 1
  %523 = extractvalue { i64, i64 } %517, 1
  store i64 %523, ptr %522, align 8
  %524 = getelementptr inbounds { i64, i64 }, ptr %64, i32 0, i32 0
  %525 = load i64, ptr %524, align 8
  %526 = getelementptr inbounds { i64, i64 }, ptr %64, i32 0, i32 1
  %527 = load i64, ptr %526, align 8
  invoke void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8 %0, i64 %525, i64 %527)
          to label %528 unwind label %550

528:                                              ; preds = %518
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #8
  %529 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
          to label %530 unwind label %555

530:                                              ; preds = %528
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %529, ptr align 8 %43, i64 16, i1 false), !tbaa.struct !16
  %531 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
          to label %532 unwind label %555

532:                                              ; preds = %530
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %531, ptr align 8 %44, i64 16, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #8
  store i64 0, ptr %67, align 8, !tbaa !17
  br label %533

533:                                              ; preds = %571, %532
  %534 = load i64, ptr %67, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #8
  %535 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %536 unwind label %559

536:                                              ; preds = %533
  %537 = getelementptr inbounds %"class.ngraph::Dimension", ptr %68, i32 0, i32 0
  %538 = getelementptr inbounds { i64, i64 }, ptr %537, i32 0, i32 0
  %539 = extractvalue { i64, i64 } %535, 0
  store i64 %539, ptr %538, align 8
  %540 = getelementptr inbounds { i64, i64 }, ptr %537, i32 0, i32 1
  %541 = extractvalue { i64, i64 } %535, 1
  store i64 %541, ptr %540, align 8
  %542 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %68)
          to label %543 unwind label %559

543:                                              ; preds = %536
  %544 = icmp ult i64 %534, %542
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  br i1 %544, label %563, label %545

545:                                              ; preds = %543
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %579

546:                                              ; preds = %508
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %22, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %23, align 4
  br label %554

550:                                              ; preds = %518, %516, %510
  %551 = landingpad { ptr, i32 }
          cleanup
  %552 = extractvalue { ptr, i32 } %551, 0
  store ptr %552, ptr %22, align 8
  %553 = extractvalue { ptr, i32 } %551, 1
  store i32 %553, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #8
  br label %554

554:                                              ; preds = %550, %546
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #8
  br label %584

555:                                              ; preds = %530, %528
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %22, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %23, align 4
  br label %583

559:                                              ; preds = %536, %533
  %560 = landingpad { ptr, i32 }
          cleanup
  %561 = extractvalue { ptr, i32 } %560, 0
  store ptr %561, ptr %22, align 8
  %562 = extractvalue { ptr, i32 } %560, 1
  store i32 %562, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  br label %578

563:                                              ; preds = %543
  %564 = load i64, ptr %67, align 8, !tbaa !17
  %565 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %45, i64 noundef %564)
          to label %566 unwind label %574

566:                                              ; preds = %563
  %567 = load i64, ptr %67, align 8, !tbaa !17
  %568 = add i64 %567, 2
  %569 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %568)
          to label %570 unwind label %574

570:                                              ; preds = %566
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %569, ptr align 8 %565, i64 16, i1 false), !tbaa.struct !16
  br label %571

571:                                              ; preds = %570
  %572 = load i64, ptr %67, align 8, !tbaa !17
  %573 = add i64 %572, 1
  store i64 %573, ptr %67, align 8, !tbaa !17
  br label %533, !llvm.loop !23

574:                                              ; preds = %566, %563
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %22, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %23, align 4
  br label %578

578:                                              ; preds = %574, %559
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #8
  br label %583

579:                                              ; preds = %545
  store i1 true, ptr %63, align 1
  %580 = load i1, ptr %63, align 1
  br i1 %580, label %582, label %581

581:                                              ; preds = %579
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #8
  br label %582

582:                                              ; preds = %581, %579
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  ret void

583:                                              ; preds = %578, %555
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #8
  br label %584

584:                                              ; preds = %583, %554, %507, %459, %415, %373, %349, %345
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #8
  br label %585

585:                                              ; preds = %584, %341
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %586

586:                                              ; preds = %585, %337
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #8
  br label %587

587:                                              ; preds = %586, %333
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #8
  br label %588

588:                                              ; preds = %587, %273, %246
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  br label %589

589:                                              ; preds = %588, %121
  %590 = load ptr, ptr %22, align 8
  %591 = load i32, ptr %23, align 4
  %592 = insertvalue { ptr, i32 } poison, ptr %590, 0
  %593 = insertvalue { ptr, i32 } %592, i32 %591, 1
  resume { ptr, i32 } %593

594:                                              ; preds = %437, %393, %237, %104
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA58_cJRA61_KcRA20_S2_RKNS_12PartialShapeERA3_S2_EEERSoSC_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(58), ptr noundef nonnull align 1 dereferenceable(61), ptr noundef nonnull align 1 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(3)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA49_cJRKNS_12PartialShapeERA24_KcNS_9DimensionERA19_S5_RKNS_14CoordinateDiffESA_SD_RA18_S5_S4_S7_RKNS_7StridesERA16_S5_EEERSoSL_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA23_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(23)) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6ngraph12PartialShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN6ngraph12CheckLocInfoE", !6, i64 0, !13, i64 8, !6, i64 16}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!12, !6, i64 16}
!16 = !{i64 0, i64 8, !17, i64 8, i64 8, !17}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = distinct !{!23, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.ngraph::PartialShape" = type { i8, %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Dimension, std::allocator<ngraph::Dimension>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.ngraph::Dimension" = type { %"class.ngraph::Interval" }
%"class.ngraph::Interval" = type { i64, i64 }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.ngraph::CheckLocInfo" = type { ptr, i32, ptr }
%"class.ngraph::Strides" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [86 x i8], align 1
@_ZTIN6ngraph21NodeValidationFailureE = external dso_local constant { ptr, ptr, ptr }, align 8
@.str.35 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [289 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [61 x i8], align 1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ngraph9Dimension9is_staticEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, i64 noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph37infer_windowed_reduction_output_shapeEPKNS_4NodeERKNS_12PartialShapeERKNS_7StridesERKNS_14CoordinateDiffESB_S5_S8_S8_bb(ptr dead_on_unwind noalias writable sret(%"class.ngraph::PartialShape") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #1

declare void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8, i64, i64) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv() local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32), i64, i64) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

declare void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 align 2

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #3 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

declare { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA20_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(20)) local_unnamed_addr #6

declare { i64, i64 } @_ZNK6ngraph9DimensionplERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph29infer_batched_pooling_forwardEPKNS_4NodeERKNS_12PartialShapeERKNS_14CoordinateDiffES8_S5_RKNS_7StridesEbb(ptr dead_on_unwind noalias writable sret(%"class.ngraph::PartialShape") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, i1 noundef zeroext %7, i1 noundef zeroext %8) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.ngraph::Dimension", align 8
  %11 = alloca %"class.ngraph::Dimension", align 8
  %12 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %13 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.ngraph::PartialShape", align 8
  %16 = alloca %"class.ngraph::Dimension", align 8
  %17 = alloca %"class.ngraph::Dimension", align 8
  %18 = alloca %"class.ngraph::Dimension", align 8
  %19 = alloca %"class.ngraph::Dimension", align 8
  %20 = alloca %"class.ngraph::Dimension", align 8
  %21 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %22 = alloca %"class.ngraph::Dimension", align 8
  %23 = alloca %"class.ngraph::Dimension", align 8
  %24 = alloca %"class.ngraph::Dimension", align 8
  %25 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.ngraph::Dimension", align 8
  %28 = alloca %"class.ngraph::Dimension", align 8
  %29 = alloca %"class.ngraph::PartialShape", align 8
  %30 = alloca %"class.ngraph::Dimension", align 8
  %31 = alloca %"class.ngraph::Dimension", align 8
  %32 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %33 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %36 = alloca %"struct.ngraph::CheckLocInfo", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.ngraph::Strides", align 8
  %39 = alloca %"class.ngraph::Dimension", align 8
  %40 = alloca %"class.ngraph::Strides", align 8
  %41 = alloca %"class.ngraph::Dimension", align 8
  %42 = alloca %"class.ngraph::PartialShape", align 8
  %43 = alloca %"class.ngraph::Dimension", align 8
  %44 = alloca %"class.ngraph::Dimension", align 8
  %45 = alloca %"class.ngraph::Dimension", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %46 = tail call { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %47 = extractvalue { i64, i64 } %46, 0
  store i64 %47, ptr %10, align 8
  %48 = getelementptr inbounds i8, ptr %10, i64 8
  %49 = extractvalue { i64, i64 } %46, 1
  store i64 %49, ptr %48, align 8
  %50 = call noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  br i1 %50, label %.critedge, label %51

51:                                               ; preds = %9
  %52 = call { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
  %53 = extractvalue { i64, i64 } %52, 0
  store i64 %53, ptr %11, align 8
  %54 = getelementptr inbounds i8, ptr %11, i64 8
  %55 = extractvalue { i64, i64 } %52, 1
  store i64 %55, ptr %54, align 8
  %56 = call noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  %57 = icmp sgt i64 %56, 2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br i1 %57, label %75, label %58

58:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %12) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12)
  %59 = getelementptr inbounds i8, ptr %12, i64 16
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA58_cJRA61_KcRA20_S2_RKNS_12PartialShapeERA3_S2_EEERSoSC_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 1 dereferenceable(58) @.str.58, ptr noundef nonnull align 1 dereferenceable(61) @.str.38, ptr noundef nonnull align 1 dereferenceable(20) @.str.39, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 1 dereferenceable(3) @.str.35)
          to label %61 unwind label %68

61:                                               ; preds = %58
  %62 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  store ptr @.str.8, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %13, i64 8
  store i32 392, ptr %63, align 8, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %13, i64 16
  store ptr @.str.59, ptr %64, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %65 unwind label %.thread

65:                                               ; preds = %61
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %67 unwind label %.thread121

.thread121:                                       ; preds = %65
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %73

67:                                               ; preds = %65
  invoke void @__cxa_throw(ptr nonnull %62, ptr nonnull @_ZTIN6ngraph21NodeValidationFailureE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #9
          to label %346 unwind label %71

68:                                               ; preds = %58
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %74

.thread:                                          ; preds = %61
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %73

71:                                               ; preds = %67
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %74

73:                                               ; preds = %.thread121, %.thread
  %.pn112120 = phi { ptr, i32 } [ %70, %.thread ], [ %66, %.thread121 ]
  call void @__cxa_free_exception(ptr %62) #8
  br label %74

74:                                               ; preds = %71, %73, %68
  %.pn112.pn = phi { ptr, i32 } [ %.pn112120, %73 ], [ %72, %71 ], [ %69, %68 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #8
  br label %345

.critedge:                                        ; preds = %9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %75

75:                                               ; preds = %.critedge, %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  %76 = call { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
  %77 = extractvalue { i64, i64 } %76, 0
  %78 = extractvalue { i64, i64 } %76, 1
  call void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::PartialShape") align 8 %15, i64 %77, i64 %78)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  %79 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %80 unwind label %144

80:                                               ; preds = %75
  %81 = extractvalue { i64, i64 } %79, 0
  store i64 %81, ptr %16, align 8
  %82 = getelementptr inbounds i8, ptr %16, i64 8
  %83 = extractvalue { i64, i64 } %79, 1
  store i64 %83, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %17, i64 noundef 2)
          to label %84 unwind label %146

84:                                               ; preds = %80
  %85 = invoke { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %86 unwind label %146

86:                                               ; preds = %84
  %87 = extractvalue { i64, i64 } %85, 0
  %88 = extractvalue { i64, i64 } %85, 1
  %89 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 %87, i64 %88)
          to label %90 unwind label %146

90:                                               ; preds = %86
  br i1 %89, label %91, label %.critedge117

91:                                               ; preds = %90
  %92 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef %92)
          to label %93 unwind label %146

93:                                               ; preds = %91
  %94 = load i64, ptr %18, align 8
  %95 = getelementptr inbounds i8, ptr %18, i64 8
  %96 = load i64, ptr %95, align 8
  %97 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 %94, i64 %96)
          to label %98 unwind label %146

98:                                               ; preds = %93
  br i1 %97, label %99, label %.critedge117

99:                                               ; preds = %98
  %100 = call noundef i64 @_ZNKSt6vectorIlSaIlEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %19, i64 noundef %100)
          to label %101 unwind label %146

101:                                              ; preds = %99
  %102 = load i64, ptr %19, align 8
  %103 = getelementptr inbounds i8, ptr %19, i64 8
  %104 = load i64, ptr %103, align 8
  %105 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 %102, i64 %104)
          to label %106 unwind label %146

106:                                              ; preds = %101
  br i1 %105, label %107, label %.critedge117

107:                                              ; preds = %106
  %108 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %109 unwind label %146

109:                                              ; preds = %107
  %110 = extractvalue { i64, i64 } %108, 0
  %111 = extractvalue { i64, i64 } %108, 1
  %112 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 %110, i64 %111)
          to label %113 unwind label %146

113:                                              ; preds = %109
  br i1 %112, label %114, label %.critedge117

114:                                              ; preds = %113
  %115 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef %115)
          to label %116 unwind label %146

116:                                              ; preds = %114
  %117 = load i64, ptr %20, align 8
  %118 = getelementptr inbounds i8, ptr %20, i64 8
  %119 = load i64, ptr %118, align 8
  %120 = invoke noundef zeroext i1 @_ZN6ngraph12PartialShape10merge_rankENS_9DimensionE(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 %117, i64 %119)
          to label %121 unwind label %146

121:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br i1 %120, label %162, label %122

.critedge117:                                     ; preds = %90, %98, %106, %113
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %122

122:                                              ; preds = %.critedge117, %121
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %21) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21)
          to label %123 unwind label %149

123:                                              ; preds = %122
  %124 = getelementptr inbounds i8, ptr %21, i64 16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #8
  %125 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %126 unwind label %151

126:                                              ; preds = %123
  %127 = extractvalue { i64, i64 } %125, 0
  store i64 %127, ptr %23, align 8
  %128 = getelementptr inbounds i8, ptr %23, i64 8
  %129 = extractvalue { i64, i64 } %125, 1
  store i64 %129, ptr %128, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %24, i64 noundef 2)
          to label %130 unwind label %153

130:                                              ; preds = %126
  %131 = invoke { i64, i64 } @_ZNK6ngraph9DimensionmiERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %132 unwind label %153

132:                                              ; preds = %130
  %133 = extractvalue { i64, i64 } %131, 0
  store i64 %133, ptr %22, align 8
  %134 = getelementptr inbounds i8, ptr %22, i64 8
  %135 = extractvalue { i64, i64 } %131, 1
  store i64 %135, ptr %134, align 8
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA49_cJRKNS_12PartialShapeERA24_KcNS_9DimensionERA19_S5_RKNS_14CoordinateDiffESA_SD_RA18_S5_S4_S7_RKNS_7StridesERA16_S5_EEERSoSL_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 1 dereferenceable(49) @.str.60, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 1 dereferenceable(24) @.str.42, ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 1 dereferenceable(19) @.str.2, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 1 dereferenceable(19) @.str.3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(18) @.str.4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(24) @.str.61, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 1 dereferenceable(16) @.str.7)
          to label %137 unwind label %153

137:                                              ; preds = %132
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  %138 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #8
  store ptr @.str.8, ptr %25, align 8, !tbaa !5
  %139 = getelementptr inbounds i8, ptr %25, i64 8
  store i32 414, ptr %139, align 8, !tbaa !11
  %140 = getelementptr inbounds i8, ptr %25, i64 16
  store ptr @.str.62, ptr %140, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef nonnull align 8 dereferenceable(128) %21)
          to label %141 unwind label %.thread123

141:                                              ; preds = %137
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %143 unwind label %.thread127

.thread127:                                       ; preds = %141
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %159

143:                                              ; preds = %141
  invoke void @__cxa_throw(ptr nonnull %138, ptr nonnull @_ZTIN6ngraph21NodeValidationFailureE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #9
          to label %346 unwind label %157

144:                                              ; preds = %75
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %116, %114, %109, %107, %101, %99, %93, %91, %86, %84, %80
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #8
  br label %148

148:                                              ; preds = %146, %144
  %.pn = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %344

149:                                              ; preds = %122
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %161

151:                                              ; preds = %123
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %155

153:                                              ; preds = %132, %130, %126
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #8
  br label %155

155:                                              ; preds = %153, %151
  %.pn105 = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br label %160

.thread123:                                       ; preds = %137
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %159

157:                                              ; preds = %143
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %160

159:                                              ; preds = %.thread127, %.thread123
  %.pn107126 = phi { ptr, i32 } [ %156, %.thread123 ], [ %142, %.thread127 ]
  call void @__cxa_free_exception(ptr %138) #8
  br label %160

160:                                              ; preds = %157, %159, %155
  %.pn107.pn = phi { ptr, i32 } [ %.pn107126, %159 ], [ %158, %157 ], [ %.pn105, %155 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %21) #8
  br label %161

161:                                              ; preds = %160, %149
  %.pn107.pn.pn = phi { ptr, i32 } [ %.pn107.pn, %160 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %21) #8
  br label %344

162:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #8
  %163 = call { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
  %164 = extractvalue { i64, i64 } %163, 0
  store i64 %164, ptr %27, align 8
  %165 = getelementptr inbounds i8, ptr %27, i64 8
  %166 = extractvalue { i64, i64 } %163, 1
  store i64 %166, ptr %165, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %28) #8
  %167 = call { i64, i64 } @_ZN6ngraph9Dimension7dynamicEv()
  %168 = extractvalue { i64, i64 } %167, 0
  store i64 %168, ptr %28, align 8
  %169 = getelementptr inbounds i8, ptr %28, i64 8
  %170 = extractvalue { i64, i64 } %167, 1
  store i64 %170, ptr %169, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #8
  %171 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %172 unwind label %199

172:                                              ; preds = %162
  %173 = extractvalue { i64, i64 } %171, 0
  %174 = extractvalue { i64, i64 } %171, 1
  invoke void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::PartialShape") align 8 %29, i64 %173, i64 %174)
          to label %175 unwind label %199

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #8
  %176 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %177 unwind label %201

177:                                              ; preds = %175
  %178 = extractvalue { i64, i64 } %176, 0
  store i64 %178, ptr %30, align 8
  %179 = getelementptr inbounds i8, ptr %30, i64 8
  %180 = extractvalue { i64, i64 } %176, 1
  store i64 %180, ptr %179, align 8
  %181 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension9is_staticEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
          to label %182 unwind label %201

182:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #8
  br i1 %181, label %183, label %297

183:                                              ; preds = %182
  %184 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 0)
          to label %185 unwind label %203

185:                                              ; preds = %183
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %184, i64 16, i1 false), !tbaa.struct !13
  %186 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef 1)
          to label %187 unwind label %203

187:                                              ; preds = %185
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %186, i64 16, i1 false), !tbaa.struct !13
  %188 = getelementptr inbounds i8, ptr %31, i64 8
  br label %189

189:                                              ; preds = %212, %187
  %.079 = phi i64 [ 0, %187 ], [ %213, %212 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #8
  %190 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %191 unwind label %205

191:                                              ; preds = %189
  %192 = extractvalue { i64, i64 } %190, 0
  store i64 %192, ptr %31, align 8
  %193 = extractvalue { i64, i64 } %190, 1
  store i64 %193, ptr %188, align 8
  %194 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %195 unwind label %205

195:                                              ; preds = %191
  %196 = icmp ult i64 %.079, %194
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #8
  br i1 %196, label %207, label %197

197:                                              ; preds = %195
  %198 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %216 unwind label %203

199:                                              ; preds = %172, %162
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %343

201:                                              ; preds = %177, %175
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #8
  br label %342

203:                                              ; preds = %245, %242, %217, %197, %185, %183
  %204 = landingpad { ptr, i32 }
          cleanup
  br label %342

205:                                              ; preds = %191, %189
  %206 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #8
  br label %342

207:                                              ; preds = %195
  %208 = add i64 %.079, 2
  %209 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %208)
          to label %210 unwind label %214

210:                                              ; preds = %207
  %211 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %15, i64 noundef %.079)
          to label %212 unwind label %214

212:                                              ; preds = %210
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %211, ptr noundef nonnull align 8 dereferenceable(16) %209, i64 16, i1 false), !tbaa.struct !13
  %213 = add nuw i64 %.079, 1
  br label %189, !llvm.loop !16

214:                                              ; preds = %210, %207
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %342

216:                                              ; preds = %197
  br i1 %198, label %242, label %217

217:                                              ; preds = %216
  %218 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %219 unwind label %203

219:                                              ; preds = %217
  %220 = icmp sgt i64 %218, 0
  br i1 %220, label %242, label %221

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %32) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %32)
          to label %222 unwind label %232

222:                                              ; preds = %221
  %223 = getelementptr inbounds i8, ptr %32, i64 16
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA20_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull align 1 dereferenceable(20) @.str.48)
          to label %225 unwind label %234

225:                                              ; preds = %222
  %226 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #8
  store ptr @.str.8, ptr %33, align 8, !tbaa !5
  %227 = getelementptr inbounds i8, ptr %33, i64 8
  store i32 431, ptr %227, align 8, !tbaa !11
  %228 = getelementptr inbounds i8, ptr %33, i64 16
  store ptr @.str.49, ptr %228, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %34, ptr noundef nonnull align 8 dereferenceable(128) %32)
          to label %229 unwind label %.thread129

229:                                              ; preds = %225
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %226, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %231 unwind label %.thread133

.thread133:                                       ; preds = %229
  %230 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %239

231:                                              ; preds = %229
  invoke void @__cxa_throw(ptr nonnull %226, ptr nonnull @_ZTIN6ngraph21NodeValidationFailureE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #9
          to label %346 unwind label %237

232:                                              ; preds = %221
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %241

234:                                              ; preds = %222
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %240

.thread129:                                       ; preds = %225
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %239

237:                                              ; preds = %231
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  br label %240

239:                                              ; preds = %.thread133, %.thread129
  %.pn85132 = phi { ptr, i32 } [ %236, %.thread129 ], [ %230, %.thread133 ]
  call void @__cxa_free_exception(ptr %226) #8
  br label %240

240:                                              ; preds = %237, %239, %234
  %.pn85.pn = phi { ptr, i32 } [ %.pn85132, %239 ], [ %238, %237 ], [ %235, %234 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %32) #8
  br label %241

241:                                              ; preds = %240, %232
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %240 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %32) #8
  br label %342

242:                                              ; preds = %216, %219
  %243 = invoke noundef zeroext i1 @_ZNK6ngraph9Dimension10is_dynamicEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %244 unwind label %203

244:                                              ; preds = %242
  br i1 %243, label %270, label %245

245:                                              ; preds = %244
  %246 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %247 unwind label %203

247:                                              ; preds = %245
  %248 = icmp sgt i64 %246, 0
  br i1 %248, label %270, label %249

249:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %35) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %35)
          to label %250 unwind label %260

250:                                              ; preds = %249
  %251 = getelementptr inbounds i8, ptr %35, i64 16
  %252 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA23_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull align 1 dereferenceable(23) @.str.63)
          to label %253 unwind label %262

253:                                              ; preds = %250
  %254 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #8
  store ptr @.str.8, ptr %36, align 8, !tbaa !5
  %255 = getelementptr inbounds i8, ptr %36, i64 8
  store i32 435, ptr %255, align 8, !tbaa !11
  %256 = getelementptr inbounds i8, ptr %36, i64 16
  store ptr @.str.64, ptr %256, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %37, ptr noundef nonnull align 8 dereferenceable(128) %35)
          to label %257 unwind label %.thread135

257:                                              ; preds = %253
  invoke void @_ZN6ngraph21NodeValidationFailureC2ERKNS_12CheckLocInfoEPKNS_4NodeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %254, ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %259 unwind label %.thread139

.thread139:                                       ; preds = %257
  %258 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #8
  br label %267

259:                                              ; preds = %257
  invoke void @__cxa_throw(ptr nonnull %254, ptr nonnull @_ZTIN6ngraph21NodeValidationFailureE, ptr nonnull @_ZNSt13runtime_errorD2Ev) #9
          to label %346 unwind label %265

260:                                              ; preds = %249
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %269

262:                                              ; preds = %250
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %268

.thread135:                                       ; preds = %253
  %264 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #8
  br label %267

265:                                              ; preds = %259
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #8
  br label %268

267:                                              ; preds = %.thread139, %.thread135
  %.pn89138 = phi { ptr, i32 } [ %264, %.thread135 ], [ %258, %.thread139 ]
  call void @__cxa_free_exception(ptr %254) #8
  br label %268

268:                                              ; preds = %265, %267, %262
  %.pn89.pn = phi { ptr, i32 } [ %.pn89138, %267 ], [ %266, %265 ], [ %263, %262 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %35) #8
  br label %269

269:                                              ; preds = %268, %260
  %.pn89.pn.pn = phi { ptr, i32 } [ %.pn89.pn, %268 ], [ %261, %260 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %35) #8
  br label %342

270:                                              ; preds = %247, %244
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %39) #8
  %271 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %272 unwind label %289

272:                                              ; preds = %270
  %273 = extractvalue { i64, i64 } %271, 0
  store i64 %273, ptr %39, align 8
  %274 = getelementptr inbounds i8, ptr %39, i64 8
  %275 = extractvalue { i64, i64 } %271, 1
  store i64 %275, ptr %274, align 8
  %276 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
          to label %277 unwind label %289

277:                                              ; preds = %272
  invoke void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %276, i64 noundef 1)
          to label %278 unwind label %289

278:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %40) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #8
  %279 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %280 unwind label %291

280:                                              ; preds = %278
  %281 = extractvalue { i64, i64 } %279, 0
  store i64 %281, ptr %41, align 8
  %282 = getelementptr inbounds i8, ptr %41, i64 8
  %283 = extractvalue { i64, i64 } %279, 1
  store i64 %283, ptr %282, align 8
  %284 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %285 unwind label %291

285:                                              ; preds = %280
  invoke void @_ZN6ngraph7StridesC1Emm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %284, i64 noundef 1)
          to label %286 unwind label %291

286:                                              ; preds = %285
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #8
  invoke void @_ZN6ngraph37infer_windowed_reduction_output_shapeEPKNS_4NodeERKNS_12PartialShapeERKNS_7StridesERKNS_14CoordinateDiffESB_S5_S8_S8_bb(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::PartialShape") align 8 %42, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %40, i1 noundef zeroext %7, i1 noundef zeroext %8)
          to label %287 unwind label %293

287:                                              ; preds = %286
  %288 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN6ngraph12PartialShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #8
  br label %297

289:                                              ; preds = %277, %272, %270
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %39) #8
  br label %296

291:                                              ; preds = %285, %280, %278
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #8
  br label %295

293:                                              ; preds = %286
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %295

295:                                              ; preds = %293, %291
  %.pn93 = phi { ptr, i32 } [ %294, %293 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %40) #8
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %296

296:                                              ; preds = %295, %289
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %295 ], [ %290, %289 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #8
  br label %342

297:                                              ; preds = %287, %182
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #8
  %298 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %299 unwind label %322

299:                                              ; preds = %297
  %300 = extractvalue { i64, i64 } %298, 0
  store i64 %300, ptr %43, align 8
  %301 = getelementptr inbounds i8, ptr %43, i64 8
  %302 = extractvalue { i64, i64 } %298, 1
  store i64 %302, ptr %301, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %44) #8
  invoke void @_ZN6ngraph9DimensionC1El(ptr noundef nonnull align 8 dereferenceable(16) %44, i64 noundef 2)
          to label %303 unwind label %324

303:                                              ; preds = %299
  %304 = invoke { i64, i64 } @_ZNK6ngraph9DimensionplERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(16) %44)
          to label %305 unwind label %324

305:                                              ; preds = %303
  %306 = extractvalue { i64, i64 } %304, 0
  %307 = extractvalue { i64, i64 } %304, 1
  invoke void @_ZN6ngraph12PartialShape7dynamicENS_9DimensionE(ptr dead_on_unwind writable sret(%"class.ngraph::PartialShape") align 8 %0, i64 %306, i64 %307)
          to label %308 unwind label %324

308:                                              ; preds = %305
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #8
  %309 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 0)
          to label %310 unwind label %327

310:                                              ; preds = %308
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %309, ptr noundef nonnull align 8 dereferenceable(16) %27, i64 16, i1 false), !tbaa.struct !13
  %311 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef 1)
          to label %312 unwind label %327

312:                                              ; preds = %310
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %311, ptr noundef nonnull align 8 dereferenceable(16) %28, i64 16, i1 false), !tbaa.struct !13
  %313 = getelementptr inbounds i8, ptr %45, i64 8
  br label %314

314:                                              ; preds = %336, %312
  %.0 = phi i64 [ 0, %312 ], [ %337, %336 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %45) #8
  %315 = invoke { i64, i64 } @_ZNK6ngraph12PartialShape4rankEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
          to label %316 unwind label %329

316:                                              ; preds = %314
  %317 = extractvalue { i64, i64 } %315, 0
  store i64 %317, ptr %45, align 8
  %318 = extractvalue { i64, i64 } %315, 1
  store i64 %318, ptr %313, align 8
  %319 = invoke noundef i64 @_ZNK6ngraph9Dimension10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %320 unwind label %329

320:                                              ; preds = %316
  %321 = icmp ult i64 %.0, %319
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #8
  br i1 %321, label %331, label %340

322:                                              ; preds = %297
  %323 = landingpad { ptr, i32 }
          cleanup
  br label %326

324:                                              ; preds = %305, %303, %299
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %44) #8
  br label %326

326:                                              ; preds = %324, %322
  %.pn96 = phi { ptr, i32 } [ %325, %324 ], [ %323, %322 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #8
  br label %342

327:                                              ; preds = %310, %308
  %328 = landingpad { ptr, i32 }
          cleanup
  br label %341

329:                                              ; preds = %316, %314
  %330 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %45) #8
  br label %341

331:                                              ; preds = %320
  %332 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %29, i64 noundef %.0)
          to label %333 unwind label %338

333:                                              ; preds = %331
  %334 = add i64 %.0, 2
  %335 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6ngraph12PartialShapeixEm(ptr noundef nonnull align 8 dereferenceable(32) %0, i64 noundef %334)
          to label %336 unwind label %338

336:                                              ; preds = %333
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %335, ptr noundef nonnull align 8 dereferenceable(16) %332, i64 16, i1 false), !tbaa.struct !13
  %337 = add nuw i64 %.0, 1
  br label %314, !llvm.loop !18

338:                                              ; preds = %333, %331
  %339 = landingpad { ptr, i32 }
          cleanup
  br label %341

340:                                              ; preds = %320
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #8
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  ret void

341:                                              ; preds = %329, %338, %327
  %.pn98.pn = phi { ptr, i32 } [ %328, %327 ], [ %339, %338 ], [ %330, %329 ]
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #8
  br label %342

342:                                              ; preds = %205, %214, %341, %326, %296, %269, %241, %203, %201
  %.pn101.pn = phi { ptr, i32 } [ %.pn98.pn, %341 ], [ %.pn96, %326 ], [ %.pn93.pn, %296 ], [ %.pn89.pn.pn, %269 ], [ %204, %203 ], [ %.pn85.pn.pn, %241 ], [ %202, %201 ], [ %215, %214 ], [ %206, %205 ]
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %343

343:                                              ; preds = %342, %199
  %.pn101.pn.pn = phi { ptr, i32 } [ %.pn101.pn, %342 ], [ %200, %199 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #8
  br label %344

344:                                              ; preds = %343, %161, %148
  %.pn107.pn.pn.pn = phi { ptr, i32 } [ %.pn107.pn.pn, %161 ], [ %.pn101.pn.pn, %343 ], [ %.pn, %148 ]
  call void @_ZN6ngraph12PartialShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %345

345:                                              ; preds = %344, %74
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn112.pn, %74 ], [ %.pn107.pn.pn.pn, %344 ]
  resume { ptr, i32 } %.pn112.pn.pn

346:                                              ; preds = %259, %231, %143, %67
  unreachable
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA58_cJRA61_KcRA20_S2_RKNS_12PartialShapeERA3_S2_EEERSoSC_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(58), ptr noundef nonnull align 1 dereferenceable(61), ptr noundef nonnull align 1 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(3)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA49_cJRKNS_12PartialShapeERA24_KcNS_9DimensionERA19_S5_RKNS_14CoordinateDiffESA_SD_RA18_S5_S4_S7_RKNS_7StridesERA16_S5_EEERSoSL_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(18), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 8 dereferenceable(8) ptr @_ZN6ngraphL19write_all_to_streamIA23_cJEEERSoS2_RKT_DpOT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 1 dereferenceable(23)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN6ngraph12PartialShapeaSEOS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN6ngraph12CheckLocInfoE", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !7, i64 16}
!13 = !{i64 0, i64 8, !14, i64 8, i64 8, !14}
!14 = !{!15, !15, i64 0}
!15 = !{!"long", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,SROAPass,SimplifyCFGPass,TailCallElimPass