; LLVM IR from NervanaSystems/ngraph :: src/ngraph/runtime/cpu/pass (cpu_memory_assignment)

; 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.std::shared_ptr.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.13", i64 }
%"class.std::shared_ptr.13" = type { %"class.std::__shared_ptr.14" }
%"class.std::__shared_ptr.14" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.118" = type { %"struct.std::_Vector_base.119" }
%"struct.std::_Vector_base.119" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.149" = type { %"class.std::_Rb_tree.150" }
%"class.std::_Rb_tree.150" = type { %"struct.std::_Rb_tree<ngraph::Input<Node>, ngraph::Input<Node>, std::_Identity<ngraph::Input<Node>>, std::less<ngraph::Input<Node>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::Input<Node>, ngraph::Input<Node>, std::_Identity<ngraph::Input<Node>>, std::less<ngraph::Input<Node>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::deque.155" = type { %"class.std::_Deque_base.156" }
%"class.std::_Deque_base.156" = type { %"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl" }
%"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl" = type { %"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.160", %"struct.std::_Deque_iterator.160" }
%"struct.std::_Deque_iterator.160" = type { ptr, ptr, ptr, ptr }
%"class.ngraph::Input" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.124" = type { ptr }
%"struct.ngraph::op::util::oi_pair" = type { i64, i64, i8 }
%"class.__gnu_cxx::__normal_iterator.123" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6ngraph4Node18get_op_annotationsEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(680)) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

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

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

declare noundef i64 @_ZNK6ngraph10descriptor6Tensor15get_pool_offsetEv(ptr noundef nonnull align 8 dereferenceable(136)) #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph6OutputINS_4NodeEE10get_tensorEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare void @_ZN6ngraph10descriptor6Tensor15set_pool_offsetEm(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 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) #5

declare void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) #3

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

declare void @_ZN6ngraph4Node7outputsEv(ptr dead_on_unwind writable sret(%"class.std::vector.118") align 8, ptr noundef nonnull align 8 dereferenceable(680)) #3

declare void @_ZNK6ngraph6OutputINS_4NodeEE17get_target_inputsEv(ptr dead_on_unwind writable sret(%"class.std::set.149") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment24propagate_in_place_sliceERKNS_5InputINS_4NodeEEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::deque.155", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.ngraph::Input", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::shared_ptr.19", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.124", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.124", align 8
  %15 = alloca %"struct.ngraph::op::util::oi_pair", align 8
  %16 = alloca ptr, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.ngraph::Output", align 8
  %21 = alloca i64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.std::vector.118", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.123", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.123", align 8
  %26 = alloca %"class.ngraph::Output", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::set.149", align 8
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %31 = alloca %"class.ngraph::Input", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %32 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr %5) #6
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5)
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %34 unwind label %46

34:                                               ; preds = %2
  br label %35

35:                                               ; preds = %199, %197, %34
  %36 = call noundef i64 @_ZNKSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  %37 = icmp ugt i64 %36, 0
  br i1 %37, label %38, label %202

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !9
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %40 = invoke noundef ptr @_ZNK6ngraph5InputINS_4NodeEE8get_nodeEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %41 unwind label %50

41:                                               ; preds = %38
  store ptr %40, ptr %9, align 8, !tbaa !5
  %42 = load ptr, ptr %9, align 8, !tbaa !5
  %43 = invoke noundef zeroext i1 @_ZN6ngraph7is_typeINS_2op2v05SliceEPNS_4NodeEEENSt9enable_ifIXsr3std14is_convertibleIDTcldtclptclsr3stdE7declvalIT0_EE13get_type_infoE11is_castablesrT_9type_infoEEbEE5valueEbE4typeES7_(ptr noundef %42)
          to label %44 unwind label %50

44:                                               ; preds = %41
  br i1 %43, label %45, label %54

45:                                               ; preds = %44
  store i32 2, ptr %10, align 4
  br label %197, !llvm.loop !12

46:                                               ; preds = %2
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %6, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %7, align 4
  br label %203

50:                                               ; preds = %41, %38
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %6, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %7, align 4
  br label %201

54:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNK6ngraph4Node18get_op_annotationsEv(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.19") align 8 %11, ptr noundef nonnull align 8 dereferenceable(680) %55)
          to label %56 unwind label %71

56:                                               ; preds = %54
  %57 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br i1 %57, label %58, label %196

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6ngraph2op4util13OpAnnotations21get_in_place_oi_pairsEv(ptr noundef nonnull align 8 dereferenceable(33) %59)
          to label %61 unwind label %75

61:                                               ; preds = %58
  store ptr %60, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIN6ngraph2op4util7oi_pairESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.124", ptr %13, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorIN6ngraph2op4util7oi_pairESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.124", ptr %14, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %191, %61
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %69, label %79, label %70

70:                                               ; preds = %68
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %195

71:                                               ; preds = %54
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %6, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %7, align 4
  br label %200

75:                                               ; preds = %58
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  br label %194

79:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %80, i64 24, i1 false), !tbaa.struct !14
  %81 = getelementptr inbounds %"struct.ngraph::op::util::oi_pair", ptr %15, i32 0, i32 1
  %82 = load i64, ptr %81, align 8, !tbaa !17
  %83 = invoke noundef i64 @_ZNK6ngraph5InputINS_4NodeEE9get_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %84 unwind label %125

84:                                               ; preds = %79
  %85 = icmp eq i64 %82, %83
  br i1 %85, label %86, label %190

86:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.ngraph::op::util::oi_pair", ptr %15, i32 0, i32 1
  %89 = load i64, ptr %88, align 8, !tbaa !17
  %90 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph4Node16get_input_tensorEm(ptr noundef nonnull align 8 dereferenceable(680) %87, i64 noundef %89)
          to label %91 unwind label %129

91:                                               ; preds = %86
  store ptr %90, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = invoke noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120) %32, ptr noundef %92)
          to label %94 unwind label %133

94:                                               ; preds = %91
  store i64 %93, ptr %17, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %95 = getelementptr inbounds %"struct.ngraph::op::util::oi_pair", ptr %15, i32 0, i32 0
  %96 = load i64, ptr %95, align 8, !tbaa !19
  store i64 %96, ptr %18, align 8, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load i64, ptr %18, align 8, !tbaa !10
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8 %20, ptr noundef nonnull align 8 dereferenceable(680) %97, i64 noundef %98)
          to label %99 unwind label %137

99:                                               ; preds = %94
  %100 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph6OutputINS_4NodeEE10get_tensorEv(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %101 unwind label %141

101:                                              ; preds = %99
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  store ptr %100, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  %103 = invoke noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120) %32, ptr noundef %102)
          to label %104 unwind label %146

104:                                              ; preds = %101
  store i64 %103, ptr %21, align 8, !tbaa !10
  %105 = load i64, ptr %17, align 8, !tbaa !10
  %106 = load i64, ptr %21, align 8, !tbaa !10
  %107 = icmp eq i64 %105, %106
  br i1 %107, label %108, label %185

108:                                              ; preds = %104
  %109 = load ptr, ptr %19, align 8, !tbaa !5
  %110 = load ptr, ptr %16, align 8, !tbaa !5
  %111 = invoke noundef i64 @_ZNK6ngraph10descriptor6Tensor15get_pool_offsetEv(ptr noundef nonnull align 8 dereferenceable(136) %110)
          to label %112 unwind label %146

112:                                              ; preds = %108
  invoke void @_ZN6ngraph10descriptor6Tensor15set_pool_offsetEm(ptr noundef nonnull align 8 dereferenceable(136) %109, i64 noundef %111)
          to label %113 unwind label %146

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN6ngraph4Node7outputsEv(ptr dead_on_unwind writable sret(%"class.std::vector.118") align 8 %23, ptr noundef nonnull align 8 dereferenceable(680) %114)
          to label %115 unwind label %150

115:                                              ; preds = %113
  store ptr %23, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %116 = load ptr, ptr %22, align 8, !tbaa !5
  %117 = call ptr @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #6
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.123", ptr %24, i32 0, i32 0
  store ptr %117, ptr %118, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %119 = load ptr, ptr %22, align 8, !tbaa !5
  %120 = call ptr @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #6
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.123", ptr %25, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  br label %122

122:                                              ; preds = %181, %115
  %123 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br i1 %123, label %154, label %124

124:                                              ; preds = %122
  store i32 6, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %184

125:                                              ; preds = %79
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %6, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %7, align 4
  br label %193

129:                                              ; preds = %86
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %6, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %7, align 4
  br label %189

133:                                              ; preds = %91
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %6, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %7, align 4
  br label %188

137:                                              ; preds = %94
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  br label %145

141:                                              ; preds = %99
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %6, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %7, align 4
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %145

145:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %187

146:                                              ; preds = %112, %108, %101
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %6, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %7, align 4
  br label %186

150:                                              ; preds = %113
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %6, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %7, align 4
  br label %183

154:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  call void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %155) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #6
  invoke void @_ZNK6ngraph6OutputINS_4NodeEE17get_target_inputsEv(ptr dead_on_unwind writable sret(%"class.std::set.149") align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %156 unwind label %166

156:                                              ; preds = %154
  store ptr %28, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %157 = load ptr, ptr %27, align 8, !tbaa !5
  %158 = call ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %157) #6
  %159 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %29, i32 0, i32 0
  store ptr %158, ptr %159, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %160 = load ptr, ptr %27, align 8, !tbaa !5
  %161 = call ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %160) #6
  %162 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %30, i32 0, i32 0
  store ptr %161, ptr %162, align 8
  br label %163

163:                                              ; preds = %173, %156
  %164 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  br i1 %164, label %170, label %165

165:                                              ; preds = %163
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @_ZNSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %180

166:                                              ; preds = %154
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %6, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %7, align 4
  br label %179

170:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  %171 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %171, i64 16, i1 false), !tbaa.struct !9
  invoke void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(16) %31)
          to label %172 unwind label %175

172:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  br label %173

173:                                              ; preds = %172
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  br label %163

175:                                              ; preds = %170
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %6, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @_ZNSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  br label %179

179:                                              ; preds = %175, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %183

180:                                              ; preds = %165
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %181

181:                                              ; preds = %180
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br label %122

183:                                              ; preds = %179, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  br label %186

184:                                              ; preds = %124
  br label %185

185:                                              ; preds = %184, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %190

186:                                              ; preds = %183, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %187

187:                                              ; preds = %186, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %188

188:                                              ; preds = %187, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %189

189:                                              ; preds = %188, %129
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %193

190:                                              ; preds = %185, %84
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %191

191:                                              ; preds = %190
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %68

193:                                              ; preds = %189, %125
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %194

194:                                              ; preds = %193, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %200

195:                                              ; preds = %70
  br label %196

196:                                              ; preds = %195, %56
  call void @_ZNSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  store i32 0, ptr %10, align 4
  br label %197

197:                                              ; preds = %196, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  %198 = load i32, ptr %10, align 4
  switch i32 %198, label %209 [
    i32 0, label %199
    i32 2, label %35
  ]

199:                                              ; preds = %197
  br label %35, !llvm.loop !12

200:                                              ; preds = %194, %71
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  br label %201

201:                                              ; preds = %200, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  br label %203

202:                                              ; preds = %35
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  ret void

203:                                              ; preds = %201, %46
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %5) #6
  br label %204

204:                                              ; preds = %203
  %205 = load ptr, ptr %6, align 8
  %206 = load i32, ptr %7, align 4
  %207 = insertvalue { ptr, i32 } poison, ptr %205, 0
  %208 = insertvalue { ptr, i32 } %207, i32 %206, 1
  resume { ptr, i32 } %208

209:                                              ; preds = %197
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80)) #2 align 2

declare noundef ptr @_ZNK6ngraph5InputINS_4NodeEE8get_nodeEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ngraph7is_typeINS_2op2v05SliceEPNS_4NodeEEENSt9enable_ifIXsr3std14is_convertibleIDTcldtclptclsr3stdE7declvalIT0_EE13get_type_infoE11is_castablesrT_9type_infoEEbEE5valueEbE4typeES7_(ptr noundef) #1

declare noundef i64 @_ZNK6ngraph5InputINS_4NodeEE9get_indexEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph4Node16get_input_tensorEm(ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 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 = { 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 #3 = { "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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }

!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 = !{i64 0, i64 8, !5, i64 8, i64 8, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i64 0, i64 8, !10, i64 8, i64 8, !10, i64 16, i64 1, !15}
!15 = !{!16, !16, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!18, !11, i64 8}
!18 = !{!"_ZTSN6ngraph2op4util7oi_pairE", !11, i64 0, !11, i64 8, !16, i64 16}
!19 = !{!18, !11, i64 0}


; 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.std::shared_ptr.19" = type { %"class.std::__shared_ptr.20" }
%"class.std::__shared_ptr.20" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.ngraph::Output" = type { %"class.std::shared_ptr.13", i64 }
%"class.std::shared_ptr.13" = type { %"class.std::__shared_ptr.14" }
%"class.std::__shared_ptr.14" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.118" = type { %"struct.std::_Vector_base.119" }
%"struct.std::_Vector_base.119" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ngraph::Output<Node>, std::allocator<ngraph::Output<Node>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.149" = type { %"class.std::_Rb_tree.150" }
%"class.std::_Rb_tree.150" = type { %"struct.std::_Rb_tree<ngraph::Input<Node>, ngraph::Input<Node>, std::_Identity<ngraph::Input<Node>>, std::less<ngraph::Input<Node>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<ngraph::Input<Node>, ngraph::Input<Node>, std::_Identity<ngraph::Input<Node>>, std::less<ngraph::Input<Node>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::deque.155" = type { %"class.std::_Deque_base.156" }
%"class.std::_Deque_base.156" = type { %"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl" }
%"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl" = type { %"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<ngraph::Input<Node>, std::allocator<ngraph::Input<Node>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.160", %"struct.std::_Deque_iterator.160" }
%"struct.std::_Deque_iterator.160" = type { ptr, ptr, ptr, ptr }
%"class.ngraph::Input" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.124" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.123" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK6ngraph4Node18get_op_annotationsEv(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.19") align 8, ptr noundef nonnull align 8 dereferenceable(680)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

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

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

declare noundef i64 @_ZNK6ngraph10descriptor6Tensor15get_pool_offsetEv(ptr noundef nonnull align 8 dereferenceable(136)) local_unnamed_addr #3

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph6OutputINS_4NodeEE10get_tensorEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare void @_ZN6ngraph10descriptor6Tensor15set_pool_offsetEm(ptr noundef nonnull align 8 dereferenceable(136), i64 noundef) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 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) #5

declare void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind writable sret(%"class.ngraph::Output") align 8, ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) local_unnamed_addr #3

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

declare void @_ZN6ngraph4Node7outputsEv(ptr dead_on_unwind writable sret(%"class.std::vector.118") align 8, ptr noundef nonnull align 8 dereferenceable(680)) local_unnamed_addr #3

declare void @_ZNK6ngraph6OutputINS_4NodeEE17get_target_inputsEv(ptr dead_on_unwind writable sret(%"class.std::set.149") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment24propagate_in_place_sliceERKNS_5InputINS_4NodeEEE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::deque.155", align 8
  %4 = alloca %"class.ngraph::Input", align 8
  %5 = alloca %"class.std::shared_ptr.19", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.124", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.124", align 8
  %8 = alloca %"class.ngraph::Output", align 8
  %9 = alloca %"class.std::vector.118", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.123", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.123", align 8
  %12 = alloca %"class.ngraph::Output", align 8
  %13 = alloca %"class.std::set.149", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %"class.ngraph::Input", align 8
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %3) #6
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3)
  invoke void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %.preheader unwind label %23

.preheader:                                       ; preds = %2
  %17 = call noundef i64 @_ZNKSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  %.not49 = icmp eq i64 %17, 0
  br i1 %.not49, label %._crit_edge51, label %.lr.ph50

.lr.ph50:                                         ; preds = %.preheader, %94
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %18, i64 16, i1 false), !tbaa.struct !5
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  %19 = invoke noundef ptr @_ZNK6ngraph5InputINS_4NodeEE8get_nodeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %20 unwind label %25

20:                                               ; preds = %.lr.ph50
  %21 = invoke noundef zeroext i1 @_ZN6ngraph7is_typeINS_2op2v05SliceEPNS_4NodeEEENSt9enable_ifIXsr3std14is_convertibleIDTcldtclptclsr3stdE7declvalIT0_EE13get_type_infoE11is_castablesrT_9type_infoEEbEE5valueEbE4typeES7_(ptr noundef %19)
          to label %22 unwind label %25

22:                                               ; preds = %20
  br i1 %21, label %94, label %27, !llvm.loop !12

23:                                               ; preds = %2
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %97

25:                                               ; preds = %20, %.lr.ph50
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %96

27:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @_ZNK6ngraph4Node18get_op_annotationsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.19") align 8 %5, ptr noundef nonnull align 8 dereferenceable(680) %19)
  %28 = call noundef zeroext i1 @_ZNKSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EEcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br i1 %28, label %29, label %93

29:                                               ; preds = %27
  %30 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6ngraph2op4util13OpAnnotations21get_in_place_oi_pairsEv(ptr noundef nonnull align 8 dereferenceable(33) %30)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %32 = call ptr @_ZNKSt6vectorIN6ngraph2op4util7oi_pairESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  store ptr %32, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %33 = call ptr @_ZNKSt6vectorIN6ngraph2op4util7oi_pairESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  store ptr %33, ptr %7, align 8
  %34 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %34, label %.lr.ph47, label %._crit_edge48

._crit_edge48:                                    ; preds = %89, %29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %93

.lr.ph47:                                         ; preds = %29, %89
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %.sroa.0.0.copyload = load i64, ptr %35, align 8, !tbaa !10
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.5.0.copyload = load i64, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !10
  %36 = invoke noundef i64 @_ZNK6ngraph5InputINS_4NodeEE9get_indexEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %37 unwind label %58

37:                                               ; preds = %.lr.ph47
  %38 = icmp eq i64 %.sroa.5.0.copyload, %36
  br i1 %38, label %39, label %89

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph4Node16get_input_tensorEm(ptr noundef nonnull align 8 dereferenceable(680) %19, i64 noundef %.sroa.5.0.copyload)
          to label %41 unwind label %60

41:                                               ; preds = %39
  %42 = invoke noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull %40)
          to label %43 unwind label %62

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  invoke void @_ZN6ngraph4Node6outputEm(ptr dead_on_unwind nonnull writable sret(%"class.ngraph::Output") align 8 %8, ptr noundef nonnull align 8 dereferenceable(680) %19, i64 noundef %.sroa.0.0.copyload)
          to label %44 unwind label %64

44:                                               ; preds = %43
  %45 = invoke noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph6OutputINS_4NodeEE10get_tensorEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %46 unwind label %66

46:                                               ; preds = %44
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  %47 = invoke noundef i64 @_ZN6ngraph7runtime3cpu4pass19CPUMemoryAssignment12get_bufferIDEPNS_10descriptor6TensorE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull %45)
          to label %48 unwind label %69

48:                                               ; preds = %46
  %49 = icmp eq i64 %42, %47
  br i1 %49, label %50, label %89

50:                                               ; preds = %48
  %51 = invoke noundef i64 @_ZNK6ngraph10descriptor6Tensor15get_pool_offsetEv(ptr noundef nonnull align 8 dereferenceable(136) %40)
          to label %52 unwind label %69

52:                                               ; preds = %50
  invoke void @_ZN6ngraph10descriptor6Tensor15set_pool_offsetEm(ptr noundef nonnull align 8 dereferenceable(136) %45, i64 noundef %51)
          to label %53 unwind label %69

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  invoke void @_ZN6ngraph4Node7outputsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.118") align 8 %9, ptr noundef nonnull align 8 dereferenceable(680) %19)
          to label %54 unwind label %71

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %55 = call ptr @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  store ptr %55, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %56 = call ptr @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  store ptr %56, ptr %11, align 8
  %57 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %57, label %.lr.ph44, label %._crit_edge45

._crit_edge45:                                    ; preds = %._crit_edge, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %89

58:                                               ; preds = %.lr.ph47
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %92

60:                                               ; preds = %39
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %92

62:                                               ; preds = %41
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %92

64:                                               ; preds = %43
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %44
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %92

69:                                               ; preds = %52, %50, %46
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %92

71:                                               ; preds = %53
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %92

.lr.ph44:                                         ; preds = %54, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN6ngraph6OutputINS_4NodeEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %73) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #6
  invoke void @_ZNK6ngraph6OutputINS_4NodeEE17get_target_inputsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::set.149") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %74 unwind label %80

74:                                               ; preds = %.lr.ph44
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %75 = call ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  store ptr %75, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %76 = call ptr @_ZNKSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  store ptr %76, ptr %15, align 8
  %77 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %77, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %83, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @_ZNSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %79 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN6ngraph6OutputINS1_4NodeEEESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %79, label %.lr.ph44, label %._crit_edge45

80:                                               ; preds = %.lr.ph44
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %88

.lr.ph:                                           ; preds = %74, %83
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #6
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %82, i64 16, i1 false), !tbaa.struct !5
  invoke void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80) %3, ptr noundef nonnull align 8 dereferenceable(16) %16)
          to label %83 unwind label %86

83:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %85 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN6ngraph5InputINS0_4NodeEEEES6_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br i1 %85, label %.lr.ph, label %._crit_edge

86:                                               ; preds = %.lr.ph
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @_ZNSt3setIN6ngraph5InputINS0_4NodeEEESt4lessIS3_ESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %88

88:                                               ; preds = %86, %80
  %.pn33 = phi { ptr, i32 } [ %87, %86 ], [ %81, %80 ]
  call void @_ZN6ngraph6OutputINS_4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @_ZNSt6vectorIN6ngraph6OutputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  br label %92

89:                                               ; preds = %48, %._crit_edge45, %37
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN6ngraph2op4util7oi_pairESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %91, label %.lr.ph47, label %._crit_edge48

92:                                               ; preds = %60, %68, %71, %88, %69, %62, %58
  %.pn33.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %59, %58 ], [ %61, %60 ], [ %63, %62 ], [ %.pn, %68 ], [ %70, %69 ], [ %.pn33, %88 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZNSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %96

93:                                               ; preds = %._crit_edge48, %27
  call void @_ZNSt12__shared_ptrIN6ngraph2op4util13OpAnnotationsELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %94

94:                                               ; preds = %22, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %95 = call noundef i64 @_ZNKSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  %.not = icmp eq i64 %95, 0
  br i1 %.not, label %._crit_edge51, label %.lr.ph50

96:                                               ; preds = %92, %25
  %.pn33.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn.pn.pn.pn.pn, %92 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %97

._crit_edge51:                                    ; preds = %94, %.preheader
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  ret void

97:                                               ; preds = %96, %23
  %.pn33.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn33.pn.pn.pn.pn.pn.pn.pn, %96 ], [ %24, %23 ]
  call void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80) %3) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn33.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE10push_frontERKS3_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

declare noundef ptr @_ZNK6ngraph5InputINS_4NodeEE8get_nodeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ngraph7is_typeINS_2op2v05SliceEPNS_4NodeEEENSt9enable_ifIXsr3std14is_convertibleIDTcldtclptclsr3stdE7declvalIT0_EE13get_type_infoE11is_castablesrT_9type_infoEEbEE5valueEbE4typeES7_(ptr noundef) local_unnamed_addr #1

declare noundef i64 @_ZNK6ngraph5InputINS_4NodeEE9get_indexEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(136) ptr @_ZNK6ngraph4Node16get_input_tensorEm(ptr noundef nonnull align 8 dereferenceable(680), i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt5dequeIN6ngraph5InputINS0_4NodeEEESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #2 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 = { 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 #3 = { "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 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }

!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 = !{i64 0, i64 8, !6, i64 8, i64 8, !10}
!6 = !{!7, !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass