; LLVM IR from NervanaSystems/ngraph :: doc/examples/mnist_mlp (dist_mnist_mlp)

; 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::vector.149" = type { %"struct.std::_Vector_base.150" }
%"struct.std::_Vector_base.150" = type { %"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::allocator.151" = type { i8 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z13test_accuracyR15MNistDataLoaderSt10shared_ptrIN6ngraph7runtime10ExecutableEERKS1_INS3_6TensorEES9_S9_S9_S9_S9_S9_(ptr noundef nonnull align 8 dereferenceable(208) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %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 ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %"class.std::vector.149", align 8
  %23 = alloca %"class.std::initializer_list", align 8
  %24 = alloca [1 x %"class.std::shared_ptr"], align 8
  %25 = alloca %"class.std::allocator.151", align 1
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.std::vector.149", align 8
  %29 = alloca %"class.std::initializer_list", align 8
  %30 = alloca [5 x %"class.std::shared_ptr"], align 8
  %31 = alloca %"class.std::allocator.151", align 1
  %32 = alloca i64, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  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
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN15MNistDataLoader5resetEv(ptr noundef nonnull align 8 dereferenceable(208) %33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %34 = load ptr, ptr %10, align 8, !tbaa !5
  %35 = call noundef i64 @_ZN15MNistDataLoader14get_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %34)
  store i64 %35, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  store i64 0, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  store i64 0, ptr %21, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %105, %9
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = call noundef i64 @_ZN15MNistDataLoader9get_epochEv(ptr noundef nonnull align 8 dereferenceable(208) %37)
  %39 = icmp ult i64 %38, 1
  br i1 %39, label %40, label %143

40:                                               ; preds = %36
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN15MNistDataLoader4loadEv(ptr noundef nonnull align 8 dereferenceable(208) %41)
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %42) #4
  %44 = load ptr, ptr %10, align 8, !tbaa !5
  %45 = call noundef ptr @_ZNK15MNistDataLoader16get_image_floatsEv(ptr noundef nonnull align 8 dereferenceable(208) %44)
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call noundef i64 @_ZNK15MNistDataLoader20get_image_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %46)
  %48 = mul i64 %47, 4
  %49 = load ptr, ptr %43, align 8, !tbaa !11
  %50 = getelementptr inbounds ptr, ptr %49, i64 7
  %51 = load ptr, ptr %50, align 8
  call void %51(ptr noundef nonnull align 8 dereferenceable(64) %43, ptr noundef %45, i64 noundef %48)
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %52) #4
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = call noundef ptr @_ZNK15MNistDataLoader16get_label_floatsEv(ptr noundef nonnull align 8 dereferenceable(208) %54)
  %56 = load ptr, ptr %10, align 8, !tbaa !5
  %57 = call noundef i64 @_ZNK15MNistDataLoader20get_label_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %56)
  %58 = mul i64 %57, 4
  %59 = load ptr, ptr %53, align 8, !tbaa !11
  %60 = getelementptr inbounds ptr, ptr %59, i64 7
  %61 = load ptr, ptr %60, align 8
  call void %61(ptr noundef nonnull align 8 dereferenceable(64) %53, ptr noundef %55, i64 noundef %58)
  %62 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime10ExecutableELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #4
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %63) #4
  %64 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 0
  store ptr %24, ptr %64, align 8, !tbaa !13
  %65 = getelementptr inbounds %"class.std::initializer_list", ptr %23, i32 0, i32 1
  store i64 1, ptr %65, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #4
  call void @_ZNSaISt10shared_ptrIN6ngraph7runtime6TensorEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  %66 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %69 = load i64, ptr %68, align 8
  invoke void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr %67, i64 %69, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %70 unwind label %115

70:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr %30) #4
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %71) #4
  %72 = getelementptr inbounds %"class.std::shared_ptr", ptr %30, i64 1
  %73 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef nonnull align 8 dereferenceable(16) %73) #4
  %74 = getelementptr inbounds %"class.std::shared_ptr", ptr %30, i64 2
  %75 = load ptr, ptr %16, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 8 dereferenceable(16) %75) #4
  %76 = getelementptr inbounds %"class.std::shared_ptr", ptr %30, i64 3
  %77 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(16) %77) #4
  %78 = getelementptr inbounds %"class.std::shared_ptr", ptr %30, i64 4
  %79 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull align 8 dereferenceable(16) %79) #4
  %80 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 0
  store ptr %30, ptr %80, align 8, !tbaa !13
  %81 = getelementptr inbounds %"class.std::initializer_list", ptr %29, i32 0, i32 1
  store i64 5, ptr %81, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #4
  call void @_ZNSaISt10shared_ptrIN6ngraph7runtime6TensorEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #4
  %82 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8
  %84 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %85 = load i64, ptr %84, align 8
  invoke void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %83, i64 %85, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %86 unwind label %119

86:                                               ; preds = %70
  %87 = load ptr, ptr %62, align 8, !tbaa !11
  %88 = getelementptr inbounds ptr, ptr %87, i64 2
  %89 = load ptr, ptr %88, align 8
  %90 = invoke noundef zeroext i1 %89(ptr noundef nonnull align 8 dereferenceable(56) %62, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %91 unwind label %123

91:                                               ; preds = %86
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #4
  %92 = getelementptr inbounds [5 x %"class.std::shared_ptr"], ptr %30, i32 0, i32 0
  %93 = getelementptr inbounds %"class.std::shared_ptr", ptr %92, i64 5
  br label %94

94:                                               ; preds = %94, %91
  %95 = phi ptr [ %93, %91 ], [ %96, %94 ]
  %96 = getelementptr inbounds %"class.std::shared_ptr", ptr %95, i64 -1
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %96) #4
  %97 = icmp eq ptr %96, %92
  br i1 %97, label %98, label %94

98:                                               ; preds = %94
  call void @llvm.lifetime.end.p0(i64 80, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  %99 = getelementptr inbounds [1 x %"class.std::shared_ptr"], ptr %24, i32 0, i32 0
  %100 = getelementptr inbounds %"class.std::shared_ptr", ptr %99, i64 1
  br label %101

101:                                              ; preds = %101, %98
  %102 = phi ptr [ %100, %98 ], [ %103, %101 ]
  %103 = getelementptr inbounds %"class.std::shared_ptr", ptr %102, i64 -1
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %103) #4
  %104 = icmp eq ptr %103, %99
  br i1 %104, label %105, label %101

105:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %106 = load ptr, ptr %14, align 8, !tbaa !5
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = call noundef i64 @_Z14accuracy_countRKSt10shared_ptrIN6ngraph7runtime6TensorEES5_(ptr noundef nonnull align 8 dereferenceable(16) %106, ptr noundef nonnull align 8 dereferenceable(16) %107)
  store i64 %108, ptr %32, align 8, !tbaa !9
  %109 = load i64, ptr %32, align 8, !tbaa !9
  %110 = load i64, ptr %20, align 8, !tbaa !9
  %111 = add i64 %110, %109
  store i64 %111, ptr %20, align 8, !tbaa !9
  %112 = load i64, ptr %19, align 8, !tbaa !9
  %113 = load i64, ptr %21, align 8, !tbaa !9
  %114 = add i64 %113, %112
  store i64 %114, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  br label %36, !llvm.loop !16

115:                                              ; preds = %40
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %26, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %27, align 4
  br label %135

119:                                              ; preds = %70
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %26, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %27, align 4
  br label %127

123:                                              ; preds = %86
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %26, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %27, align 4
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #4
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #4
  %128 = getelementptr inbounds [5 x %"class.std::shared_ptr"], ptr %30, i32 0, i32 0
  %129 = getelementptr inbounds %"class.std::shared_ptr", ptr %128, i64 5
  br label %130

130:                                              ; preds = %130, %127
  %131 = phi ptr [ %129, %127 ], [ %132, %130 ]
  %132 = getelementptr inbounds %"class.std::shared_ptr", ptr %131, i64 -1
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %132) #4
  %133 = icmp eq ptr %132, %128
  br i1 %133, label %134, label %130

134:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 80, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #4
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #4
  br label %135

135:                                              ; preds = %134, %115
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #4
  %136 = getelementptr inbounds [1 x %"class.std::shared_ptr"], ptr %24, i32 0, i32 0
  %137 = getelementptr inbounds %"class.std::shared_ptr", ptr %136, i64 1
  br label %138

138:                                              ; preds = %138, %135
  %139 = phi ptr [ %137, %135 ], [ %140, %138 ]
  %140 = getelementptr inbounds %"class.std::shared_ptr", ptr %139, i64 -1
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %140) #4
  %141 = icmp eq ptr %140, %136
  br i1 %141, label %142, label %138

142:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %149

143:                                              ; preds = %36
  %144 = load i64, ptr %20, align 8, !tbaa !9
  %145 = uitofp i64 %144 to float
  %146 = load i64, ptr %21, align 8, !tbaa !9
  %147 = uitofp i64 %146 to float
  %148 = fdiv float %145, %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  ret float %148

149:                                              ; preds = %142
  %150 = load ptr, ptr %26, align 8
  %151 = load i32, ptr %27, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

declare void @_ZN15MNistDataLoader5resetEv(ptr noundef nonnull align 8 dereferenceable(208)) #3

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

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

declare void @_ZN15MNistDataLoader4loadEv(ptr noundef nonnull align 8 dereferenceable(208)) #3

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSSt16initializer_listISt10shared_ptrIN6ngraph7runtime6TensorEEE", !6, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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::vector.149" = type { %"struct.std::_Vector_base.150" }
%"struct.std::_Vector_base.150" = type { %"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<ngraph::runtime::Tensor>, std::allocator<std::shared_ptr<ngraph::runtime::Tensor>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::allocator.151" = type { i8 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z13test_accuracyR15MNistDataLoaderSt10shared_ptrIN6ngraph7runtime10ExecutableEERKS1_INS3_6TensorEES9_S9_S9_S9_S9_S9_(ptr noundef nonnull align 8 dereferenceable(208) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %8) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"class.std::vector.149", align 8
  %11 = alloca [1 x %"class.std::shared_ptr"], align 8
  %12 = alloca %"class.std::allocator.151", align 1
  %13 = alloca %"class.std::vector.149", align 8
  %14 = alloca [5 x %"class.std::shared_ptr"], align 8
  %15 = alloca %"class.std::allocator.151", align 1
  tail call void @_ZN15MNistDataLoader5resetEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %16 = tail call noundef i64 @_ZN15MNistDataLoader14get_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %17 = tail call noundef i64 @_ZN15MNistDataLoader9get_epochEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %18 = icmp eq i64 %17, 0
  br i1 %18, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %9
  %19 = getelementptr inbounds i8, ptr %14, i64 16
  %20 = getelementptr inbounds i8, ptr %14, i64 32
  %21 = getelementptr inbounds i8, ptr %14, i64 48
  %22 = getelementptr inbounds i8, ptr %14, i64 64
  %23 = getelementptr inbounds i8, ptr %14, i64 64
  %24 = getelementptr inbounds i8, ptr %14, i64 48
  %25 = getelementptr inbounds i8, ptr %14, i64 32
  %26 = getelementptr inbounds i8, ptr %14, i64 16
  br label %27

27:                                               ; preds = %.lr.ph, %49
  %.044 = phi i64 [ 0, %.lr.ph ], [ %51, %49 ]
  %.02743 = phi i64 [ 0, %.lr.ph ], [ %52, %49 ]
  call void @_ZN15MNistDataLoader4loadEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %28 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #4
  %29 = call noundef ptr @_ZNK15MNistDataLoader16get_image_floatsEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %30 = call noundef i64 @_ZNK15MNistDataLoader20get_image_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %31 = shl i64 %30, 2
  %32 = load ptr, ptr %28, align 8, !tbaa !5
  %33 = getelementptr inbounds i8, ptr %32, i64 56
  %34 = load ptr, ptr %33, align 8
  call void %34(ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef %29, i64 noundef %31)
  %35 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %3) #4
  %36 = call noundef ptr @_ZNK15MNistDataLoader16get_label_floatsEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %37 = call noundef i64 @_ZNK15MNistDataLoader20get_label_batch_sizeEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %38 = shl i64 %37, 2
  %39 = load ptr, ptr %35, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %39, i64 56
  %41 = load ptr, ptr %40, align 8
  call void %41(ptr noundef nonnull align 8 dereferenceable(64) %35, ptr noundef %36, i64 noundef %38)
  %42 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime10ExecutableELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %4) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSaISt10shared_ptrIN6ngraph7runtime6TensorEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  invoke void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr nonnull %11, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %43 unwind label %55

43:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %2) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %8) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSaISt10shared_ptrIN6ngraph7runtime6TensorEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  invoke void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr nonnull %14, i64 5, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %44 unwind label %57

44:                                               ; preds = %43
  %45 = load ptr, ptr %42, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  %47 = load ptr, ptr %46, align 8
  %48 = invoke noundef zeroext i1 %47(ptr noundef nonnull align 8 dereferenceable(56) %42, ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %49 unwind label %59

49:                                               ; preds = %44
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  %50 = call noundef i64 @_Z14accuracy_countRKSt10shared_ptrIN6ngraph7runtime6TensorEES5_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %3)
  %51 = add i64 %50, %.044
  %52 = add i64 %.02743, %16
  %53 = call noundef i64 @_ZN15MNistDataLoader9get_epochEv(ptr noundef nonnull align 8 dereferenceable(208) %0)
  %54 = icmp eq i64 %53, 0
  br i1 %54, label %27, label %._crit_edge.loopexit, !llvm.loop !8

55:                                               ; preds = %27
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %66

57:                                               ; preds = %43
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %44
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  br label %61

61:                                               ; preds = %59, %57
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  %62 = getelementptr inbounds i8, ptr %14, i64 64
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %62) #4
  %63 = getelementptr inbounds i8, ptr %14, i64 48
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %63) #4
  %64 = getelementptr inbounds i8, ptr %14, i64 32
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %64) #4
  %65 = getelementptr inbounds i8, ptr %14, i64 16
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %65) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #4
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #4
  call void @_ZNSt6vectorISt10shared_ptrIN6ngraph7runtime6TensorEESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %66

66:                                               ; preds = %61, %55
  %.pn.pn = phi { ptr, i32 } [ %.pn, %61 ], [ %56, %55 ]
  call void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  resume { ptr, i32 } %.pn.pn

._crit_edge.loopexit:                             ; preds = %49
  %67 = uitofp i64 %51 to float
  %68 = uitofp i64 %52 to float
  %69 = fdiv float %67, %68
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %9
  %70 = phi float [ 0x7FF8000000000000, %9 ], [ %69, %._crit_edge.loopexit ]
  ret float %70
}

declare void @_ZN15MNistDataLoader5resetEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #3

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

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

declare void @_ZN15MNistDataLoader4loadEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #3

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime10ExecutableELN9__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 void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt10shared_ptrIN6ngraph7runtime6TensorEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) 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 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass