; LLVM IR from ChenyangZhang-cs/iMLBench :: MLP/co-run&zero-copy/examples (image_io)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.1 }
%union.anon.1 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"struct.clnet::Tensor" = type { ptr, %"class.std::vector", %"class.std::vector.6", %"class.std::__cxx11::basic_string", %"class.std::vector.6", i64, ptr, ptr, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl" }
%"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<clnet::Tensor *, std::allocator<clnet::Tensor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTISt13runtime_error = external constant 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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64)

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

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @__cxa_free_exception(ptr)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #1 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) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #4 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z30read_cifar10_images_and_labelsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiPN5clnet6TensorES7_(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #1 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::basic_ifstream", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca i1, align 1
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 520, ptr %13) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %13, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 4)
  %27 = load ptr, ptr %13, align 8, !tbaa !11
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %13, i64 %29
  %31 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %30)
          to label %32 unwind label %37

32:                                               ; preds = %6
  br i1 %31, label %33, label %53

33:                                               ; preds = %32
  store i1 true, ptr %17, align 1
  %34 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef @.str, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %35 unwind label %41

35:                                               ; preds = %33
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %36 unwind label %45

36:                                               ; preds = %35
  store i1 false, ptr %17, align 1
  invoke void @__cxa_throw(ptr %34, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %203 unwind label %45

37:                                               ; preds = %6
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %14, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %15, align 4
  br label %197

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %14, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %15, align 4
  br label %49

45:                                               ; preds = %36, %35
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %14, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %49

49:                                               ; preds = %45, %41
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  %50 = load i1, ptr %17, align 1
  br i1 %50, label %51, label %52

51:                                               ; preds = %49
  call void @__cxa_free_exception(ptr %34) #8
  br label %52

52:                                               ; preds = %51, %49
  br label %197

53:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = mul nsw i32 3073, %54
  %56 = sext i32 %55 to i64
  %57 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %56) #10
          to label %58 unwind label %94

58:                                               ; preds = %53
  store ptr %57, ptr %18, align 8, !tbaa !5
  %59 = load ptr, ptr %18, align 8, !tbaa !5
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = mul nsw i32 3073, %60
  %62 = sext i32 %61 to i64
  %63 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %59, i64 noundef %62)
          to label %64 unwind label %94

64:                                               ; preds = %58
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %13)
          to label %65 unwind label %94

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %66 = load i32, ptr %10, align 4, !tbaa !9
  %67 = load i32, ptr %8, align 4, !tbaa !9
  %68 = add nsw i32 %66, %67
  %69 = sub nsw i32 %68, 1
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = sdiv i32 %69, %70
  %72 = load i32, ptr %8, align 4, !tbaa !9
  %73 = mul nsw i32 %71, %72
  store i32 %73, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.clnet::Tensor", ptr %74, i32 0, i32 6
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = load i32, ptr %9, align 4, !tbaa !9
  %78 = mul nsw i32 %77, 32
  %79 = mul nsw i32 %78, 32
  %80 = mul nsw i32 %79, 3
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds float, ptr %76, i64 %81
  store ptr %82, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.clnet::Tensor", ptr %83, i32 0, i32 6
  %85 = load ptr, ptr %84, align 8, !tbaa !13
  %86 = load i32, ptr %9, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds float, ptr %85, i64 %87
  store ptr %88, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %89

89:                                               ; preds = %168, %65
  %90 = load i32, ptr %22, align 4, !tbaa !9
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = icmp slt i32 %90, %91
  br i1 %92, label %98, label %93

93:                                               ; preds = %89
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %171

94:                                               ; preds = %64, %58, %53
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %14, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %197

98:                                               ; preds = %89
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  %100 = load i32, ptr %22, align 4, !tbaa !9
  %101 = mul nsw i32 3073, %100
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds i8, ptr %99, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !27
  %105 = uitofp i8 %104 to float
  %106 = load ptr, ptr %21, align 8, !tbaa !5
  %107 = getelementptr inbounds float, ptr %106, i32 1
  store ptr %107, ptr %21, align 8, !tbaa !5
  store float %105, ptr %106, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %164, %98
  %109 = load i32, ptr %24, align 4, !tbaa !9
  %110 = icmp slt i32 %109, 32
  br i1 %110, label %112, label %111

111:                                              ; preds = %108
  store i32 5, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %167

112:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %160, %112
  %114 = load i32, ptr %25, align 4, !tbaa !9
  %115 = icmp slt i32 %114, 32
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  store i32 8, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %163

117:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  %118 = load i32, ptr %22, align 4, !tbaa !9
  %119 = mul nsw i32 3073, %118
  %120 = load i32, ptr %24, align 4, !tbaa !9
  %121 = mul nsw i32 %120, 32
  %122 = add nsw i32 %119, %121
  %123 = load i32, ptr %25, align 4, !tbaa !9
  %124 = add nsw i32 %122, %123
  store i32 %124, ptr %26, align 4, !tbaa !9
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = load i32, ptr %26, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i8, ptr %125, i64 %128
  %130 = load i8, ptr %129, align 1, !tbaa !27
  %131 = zext i8 %130 to i32
  %132 = sitofp i32 %131 to float
  %133 = fdiv float %132, 2.550000e+02
  %134 = load ptr, ptr %20, align 8, !tbaa !5
  %135 = getelementptr inbounds float, ptr %134, i32 1
  store ptr %135, ptr %20, align 8, !tbaa !5
  store float %133, ptr %134, align 4, !tbaa !28
  %136 = load ptr, ptr %18, align 8, !tbaa !5
  %137 = load i32, ptr %26, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  %139 = add nsw i32 %138, 1024
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i8, ptr %136, i64 %140
  %142 = load i8, ptr %141, align 1, !tbaa !27
  %143 = zext i8 %142 to i32
  %144 = sitofp i32 %143 to float
  %145 = fdiv float %144, 2.550000e+02
  %146 = load ptr, ptr %20, align 8, !tbaa !5
  %147 = getelementptr inbounds float, ptr %146, i32 1
  store ptr %147, ptr %20, align 8, !tbaa !5
  store float %145, ptr %146, align 4, !tbaa !28
  %148 = load ptr, ptr %18, align 8, !tbaa !5
  %149 = load i32, ptr %26, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  %151 = add nsw i32 %150, 2048
  %152 = sext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %148, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !27
  %155 = zext i8 %154 to i32
  %156 = sitofp i32 %155 to float
  %157 = fdiv float %156, 2.550000e+02
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds float, ptr %158, i32 1
  store ptr %159, ptr %20, align 8, !tbaa !5
  store float %157, ptr %158, align 4, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %160

160:                                              ; preds = %117
  %161 = load i32, ptr %25, align 4, !tbaa !9
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %25, align 4, !tbaa !9
  br label %113, !llvm.loop !30

163:                                              ; preds = %116
  br label %164

164:                                              ; preds = %163
  %165 = load i32, ptr %24, align 4, !tbaa !9
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %24, align 4, !tbaa !9
  br label %108, !llvm.loop !32

167:                                              ; preds = %111
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %22, align 4, !tbaa !9
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %22, align 4, !tbaa !9
  br label %89, !llvm.loop !33

171:                                              ; preds = %93
  %172 = load ptr, ptr %20, align 8, !tbaa !5
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.clnet::Tensor", ptr %173, i32 0, i32 6
  %175 = load ptr, ptr %174, align 8, !tbaa !13
  %176 = load i32, ptr %19, align 4, !tbaa !9
  %177 = load i32, ptr %10, align 4, !tbaa !9
  %178 = sub nsw i32 %176, %177
  %179 = mul nsw i32 %178, 32
  %180 = mul nsw i32 %179, 32
  %181 = mul nsw i32 %180, 3
  %182 = sext i32 %181 to i64
  %183 = mul i64 %182, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %172, ptr align 4 %175, i64 %183, i1 false)
  %184 = load ptr, ptr %21, align 8, !tbaa !5
  %185 = load ptr, ptr %12, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.clnet::Tensor", ptr %185, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !13
  %188 = load i32, ptr %19, align 4, !tbaa !9
  %189 = load i32, ptr %10, align 4, !tbaa !9
  %190 = sub nsw i32 %188, %189
  %191 = sext i32 %190 to i64
  %192 = mul i64 %191, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %184, ptr align 4 %187, i64 %192, i1 false)
  %193 = load ptr, ptr %18, align 8, !tbaa !5
  %194 = icmp eq ptr %193, null
  br i1 %194, label %196, label %195

195:                                              ; preds = %171
  call void @_ZdlPvm(ptr noundef %193, i64 noundef 1) #11
  br label %196

196:                                              ; preds = %195, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %13) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %13) #8
  ret void

197:                                              ; preds = %94, %52, %37
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %13) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %13) #8
  br label %198

198:                                              ; preds = %197
  %199 = load ptr, ptr %14, align 8
  %200 = load i32, ptr %15, align 4
  %201 = insertvalue { ptr, i32 } poison, ptr %199, 0
  %202 = insertvalue { ptr, i32 } %201, i32 %200, 1
  resume { ptr, i32 } %202

203:                                              ; preds = %36
  unreachable
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nobuiltin allocsize(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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 120}
!14 = !{!"_ZTSN5clnet6TensorE", !15, i64 8, !19, i64 32, !23, i64 56, !19, i64 88, !26, i64 112, !6, i64 120, !6, i64 128, !26, i64 136}
!15 = !{!"_ZTSSt6vectorIxSaIxEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorIPN5clnet6TensorESaIS2_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIPN5clnet6TensorESaIS2_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !24, i64 0, !25, i64 8, !7, i64 16}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!"long long", !7, i64 0}
!27 = !{!7, !7, i64 0}
!28 = !{!29, !29, i64 0}
!29 = !{!"float", !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = distinct !{!33, !31}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.1 }
%union.anon.1 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [16 x i8], align 1
@_ZTISt13runtime_error = external constant 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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) unnamed_addr #1 align 2

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

declare i32 @__gxx_personality_v0(...)

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #1 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) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #4 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local void @_Z30read_cifar10_images_and_labelsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiiPN5clnet6TensorES7_(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::basic_ifstream", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %7) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1ERKNSt7__cxx1112basic_stringIcS1_SaIcEEESt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 4)
  %9 = load ptr, ptr %7, align 8, !tbaa !5
  %10 = getelementptr i8, ptr %9, i64 -24
  %11 = load i64, ptr %10, align 8
  %12 = getelementptr inbounds i8, ptr %7, i64 %11
  %13 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %12)
          to label %14 unwind label %20

14:                                               ; preds = %6
  br i1 %13, label %15, label %26

15:                                               ; preds = %14
  %16 = call ptr @__cxa_allocate_exception(i64 16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %17 unwind label %.thread

17:                                               ; preds = %15
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %19 unwind label %.thread60

.thread60:                                        ; preds = %17
  %18 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %25

19:                                               ; preds = %17
  invoke void @__cxa_throw(ptr nonnull %16, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %97 unwind label %23

20:                                               ; preds = %6
  %21 = landingpad { ptr, i32 }
          cleanup
  br label %96

.thread:                                          ; preds = %15
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %25

23:                                               ; preds = %19
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %96

25:                                               ; preds = %.thread60, %.thread
  %.pn59 = phi { ptr, i32 } [ %22, %.thread ], [ %18, %.thread60 ]
  call void @__cxa_free_exception(ptr %16) #8
  br label %96

26:                                               ; preds = %14
  %27 = mul nsw i32 %3, 3073
  %28 = sext i32 %27 to i64
  %29 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %28) #10
          to label %30 unwind label %54

30:                                               ; preds = %26
  %31 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi4readEPcl(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull %29, i64 noundef %28)
          to label %32 unwind label %54

32:                                               ; preds = %30
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %7)
          to label %33 unwind label %54

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %4, i64 120
  %35 = load ptr, ptr %34, align 8, !tbaa !8
  %36 = mul nsw i32 %2, 3072
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds float, ptr %35, i64 %37
  %39 = getelementptr inbounds i8, ptr %5, i64 120
  %40 = load ptr, ptr %39, align 8, !tbaa !8
  %41 = sext i32 %2 to i64
  %42 = getelementptr inbounds float, ptr %40, i64 %41
  %43 = icmp sgt i32 %3, 0
  br i1 %43, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %33
  %invariant.gep = getelementptr inbounds i8, ptr %29, i64 1
  %wide.trip.count = zext nneg i32 %3 to i64
  %invariant.gep94 = getelementptr i8, ptr %29, i64 1
  %invariant.gep96 = getelementptr i8, ptr %29, i64 3073
  br label %56

._crit_edge:                                      ; preds = %78, %33
  %.048.lcssa = phi ptr [ %38, %33 ], [ %.lcssa, %78 ]
  %.047.lcssa = phi ptr [ %42, %33 ], [ %79, %78 ]
  %44 = add i32 %1, -1
  %45 = add i32 %44, %3
  %46 = srem i32 %45, %1
  %47 = sub i32 %44, %46
  %48 = mul nsw i32 %47, 3072
  %49 = sext i32 %48 to i64
  %50 = shl nsw i64 %49, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.048.lcssa, ptr align 4 %35, i64 %50, i1 false)
  %51 = load ptr, ptr %39, align 8, !tbaa !8
  %52 = sext i32 %47 to i64
  %53 = shl nsw i64 %52, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.047.lcssa, ptr align 4 %51, i64 %53, i1 false)
  call void @_ZdlPvm(ptr noundef nonnull %29, i64 noundef 1) #11
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %7) #8
  ret void

54:                                               ; preds = %32, %30, %26
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %96

56:                                               ; preds = %.lr.ph, %78
  %indvars.iv78 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next79, %78 ]
  %.04769 = phi ptr [ %42, %.lr.ph ], [ %79, %78 ]
  %.04868 = phi ptr [ %38, %.lr.ph ], [ %.lcssa, %78 ]
  %57 = mul nuw nsw i64 %indvars.iv78, 3073
  %gep95 = getelementptr i8, ptr %invariant.gep94, i64 %57
  %gep97 = getelementptr i8, ptr %invariant.gep96, i64 %57
  %58 = mul nuw nsw i64 %indvars.iv78, 3073
  %59 = getelementptr inbounds i8, ptr %29, i64 %58
  %60 = load i8, ptr %59, align 1, !tbaa !24
  %61 = uitofp i8 %60 to float
  store float %61, ptr %.04769, align 4, !tbaa !25
  br label %.preheader

.preheader:                                       ; preds = %56, %middle.block
  %indvars.iv74 = phi i64 [ 0, %56 ], [ %indvars.iv.next75, %middle.block ]
  %.14966 = phi ptr [ %.04868, %56 ], [ %.lcssa, %middle.block ]
  %62 = shl nuw nsw i64 %indvars.iv74, 5
  %63 = add nuw nsw i64 %62, %58
  %scevgep = getelementptr i8, ptr %.14966, i64 384
  %bound0 = icmp ult ptr %.14966, %gep97
  %bound1 = icmp ult ptr %gep95, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph, label %vector.ph

vector.ph:                                        ; preds = %.preheader
  %ind.end = getelementptr i8, ptr %.14966, i64 384
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = mul i64 %index, 12
  %next.gep = getelementptr i8, ptr %.14966, i64 %offset.idx
  %64 = add nuw nsw i64 %63, %index
  %65 = getelementptr inbounds i8, ptr %invariant.gep, i64 %64
  %wide.load = load <4 x i8>, ptr %65, align 1, !tbaa !24, !alias.scope !27
  %66 = uitofp <4 x i8> %wide.load to <4 x float>
  %67 = fdiv <4 x float> %66, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %68 = getelementptr inbounds i8, ptr %29, i64 %64
  %69 = getelementptr inbounds i8, ptr %68, i64 1025
  %wide.load87 = load <4 x i8>, ptr %69, align 1, !tbaa !24, !alias.scope !27
  %70 = uitofp <4 x i8> %wide.load87 to <4 x float>
  %71 = fdiv <4 x float> %70, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %72 = getelementptr inbounds i8, ptr %68, i64 2049
  %wide.load88 = load <4 x i8>, ptr %72, align 1, !tbaa !24, !alias.scope !27
  %73 = uitofp <4 x i8> %wide.load88 to <4 x float>
  %74 = fdiv <4 x float> %73, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %75 = shufflevector <4 x float> %67, <4 x float> %71, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %76 = shufflevector <4 x float> %74, <4 x float> poison, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 poison, i32 poison, i32 poison, i32 poison>
  %interleaved.vec = shufflevector <8 x float> %75, <8 x float> %76, <12 x i32> <i32 0, i32 4, i32 8, i32 1, i32 5, i32 9, i32 2, i32 6, i32 10, i32 3, i32 7, i32 11>
  store <12 x float> %interleaved.vec, ptr %next.gep, align 4, !tbaa !25
  %index.next = add nuw i64 %index, 4
  %77 = icmp eq i64 %index.next, 32
  br i1 %77, label %middle.block, label %vector.body, !llvm.loop !30

78:                                               ; preds = %middle.block
  %79 = getelementptr inbounds i8, ptr %.04769, i64 4
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %exitcond81.not = icmp eq i64 %indvars.iv.next79, %wide.trip.count
  br i1 %exitcond81.not, label %._crit_edge, label %56, !llvm.loop !34

middle.block:                                     ; preds = %vector.body, %scalar.ph
  %.lcssa = phi ptr [ %95, %scalar.ph ], [ %ind.end, %vector.body ]
  %indvars.iv.next75 = add nuw nsw i64 %indvars.iv74, 1
  %exitcond77.not = icmp eq i64 %indvars.iv.next75, 32
  br i1 %exitcond77.not, label %78, label %.preheader, !llvm.loop !35

scalar.ph:                                        ; preds = %.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ 0, %.preheader ]
  %.264 = phi ptr [ %95, %scalar.ph ], [ %.14966, %.preheader ]
  %80 = add nuw nsw i64 %63, %indvars.iv
  %gep = getelementptr inbounds i8, ptr %invariant.gep, i64 %80
  %81 = load i8, ptr %gep, align 1, !tbaa !24
  %82 = uitofp i8 %81 to float
  %83 = fdiv float %82, 2.550000e+02
  %84 = getelementptr inbounds i8, ptr %.264, i64 4
  store float %83, ptr %.264, align 4, !tbaa !25
  %85 = getelementptr inbounds i8, ptr %29, i64 %80
  %86 = getelementptr inbounds i8, ptr %85, i64 1025
  %87 = load i8, ptr %86, align 1, !tbaa !24
  %88 = uitofp i8 %87 to float
  %89 = fdiv float %88, 2.550000e+02
  %90 = getelementptr inbounds i8, ptr %.264, i64 8
  store float %89, ptr %84, align 4, !tbaa !25
  %91 = getelementptr inbounds i8, ptr %85, i64 2049
  %92 = load i8, ptr %91, align 1, !tbaa !24
  %93 = uitofp i8 %92 to float
  %94 = fdiv float %93, 2.550000e+02
  %95 = getelementptr inbounds i8, ptr %.264, i64 12
  store float %94, ptr %90, align 4, !tbaa !25
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 32
  br i1 %exitcond.not, label %middle.block, label %scalar.ph, !llvm.loop !36

96:                                               ; preds = %23, %25, %54, %20
  %.pn.pn = phi { ptr, i32 } [ %.pn59, %25 ], [ %24, %23 ], [ %55, %54 ], [ %21, %20 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %7) #8
  resume { ptr, i32 } %.pn.pn

97:                                               ; preds = %19
  unreachable
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nobuiltin allocsize(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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 = !{!9, !14, i64 120}
!9 = !{!"_ZTSN5clnet6TensorE", !10, i64 8, !16, i64 32, !20, i64 56, !16, i64 88, !23, i64 112, !14, i64 120, !14, i64 128, !23, i64 136}
!10 = !{!"_ZTSSt6vectorIxSaIxEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !15, i64 0}
!15 = !{!"omnipotent char", !7, i64 0}
!16 = !{!"_ZTSSt6vectorIPN5clnet6TensorESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIPN5clnet6TensorESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !15, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !14, i64 0}
!22 = !{!"long", !15, i64 0}
!23 = !{!"long long", !15, i64 0}
!24 = !{!15, !15, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"float", !15, i64 0}
!27 = !{!28}
!28 = distinct !{!28, !29}
!29 = distinct !{!29, !"LVerDomain"}
!30 = distinct !{!30, !31, !32, !33}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!"llvm.loop.isvectorized", i32 1}
!33 = !{!"llvm.loop.unroll.runtime.disable"}
!34 = distinct !{!34, !31}
!35 = distinct !{!35, !31}
!36 = distinct !{!36, !31, !32}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass