; 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 @_Z31read_cifar100_images_and_labelsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEibiPN5clnet6TensorES7_(ptr noundef %0, i32 noundef %1, i1 noundef zeroext %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 i8, align 1
  %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
  %27 = zext i1 %2 to i8
  store i8 %27, ptr %9, align 1, !tbaa !11
  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)
  %28 = load ptr, ptr %13, align 8, !tbaa !13
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %13, i64 %30
  %32 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEntEv(ptr noundef nonnull align 8 dereferenceable(264) %31)
          to label %33 unwind label %38

33:                                               ; preds = %6
  br i1 %32, label %34, label %54

34:                                               ; preds = %33
  store i1 true, ptr %17, align 1
  %35 = 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 %36 unwind label %42

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

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

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

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

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

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

52:                                               ; preds = %50
  call void @__cxa_free_exception(ptr %35) #8
  br label %53

53:                                               ; preds = %52, %50
  br label %204

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

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

65:                                               ; preds = %59
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %13)
          to label %66 unwind label %86

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = add nsw i32 %67, %68
  %70 = sub nsw i32 %69, 1
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = sdiv i32 %70, %71
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = mul nsw i32 %72, %73
  store i32 %74, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.clnet::Tensor", ptr %75, i32 0, i32 6
  %77 = load ptr, ptr %76, align 8, !tbaa !15
  store ptr %77, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.clnet::Tensor", ptr %78, i32 0, i32 6
  %80 = load ptr, ptr %79, align 8, !tbaa !15
  store ptr %80, 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 %81

81:                                               ; preds = %175, %66
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %90, label %85

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

86:                                               ; preds = %65, %59, %54
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %14, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %204

90:                                               ; preds = %81
  %91 = load i8, ptr %9, align 1, !tbaa !11, !range !29, !noundef !30
  %92 = trunc i8 %91 to i1
  br i1 %92, label %93, label %104

93:                                               ; preds = %90
  %94 = load ptr, ptr %18, align 8, !tbaa !5
  %95 = load i32, ptr %22, align 4, !tbaa !9
  %96 = mul nsw i32 3074, %95
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i8, ptr %94, i64 %98
  %100 = load i8, ptr %99, align 1, !tbaa !31
  %101 = uitofp i8 %100 to float
  %102 = load ptr, ptr %21, align 8, !tbaa !5
  %103 = getelementptr inbounds float, ptr %102, i32 1
  store ptr %103, ptr %21, align 8, !tbaa !5
  store float %101, ptr %102, align 4, !tbaa !32
  br label %114

104:                                              ; preds = %90
  %105 = load ptr, ptr %18, align 8, !tbaa !5
  %106 = load i32, ptr %22, align 4, !tbaa !9
  %107 = mul nsw i32 3074, %106
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i8, ptr %105, i64 %108
  %110 = load i8, ptr %109, align 1, !tbaa !31
  %111 = uitofp i8 %110 to float
  %112 = load ptr, ptr %21, align 8, !tbaa !5
  %113 = getelementptr inbounds float, ptr %112, i32 1
  store ptr %113, ptr %21, align 8, !tbaa !5
  store float %111, ptr %112, align 4, !tbaa !32
  br label %114

114:                                              ; preds = %104, %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %171, %114
  %116 = load i32, ptr %24, align 4, !tbaa !9
  %117 = icmp slt i32 %116, 32
  br i1 %117, label %119, label %118

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

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

120:                                              ; preds = %167, %119
  %121 = load i32, ptr %25, align 4, !tbaa !9
  %122 = icmp slt i32 %121, 32
  br i1 %122, label %124, label %123

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

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

167:                                              ; preds = %124
  %168 = load i32, ptr %25, align 4, !tbaa !9
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %25, align 4, !tbaa !9
  br label %120, !llvm.loop !34

170:                                              ; preds = %123
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %24, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %24, align 4, !tbaa !9
  br label %115, !llvm.loop !36

174:                                              ; preds = %118
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %22, align 4, !tbaa !9
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %22, align 4, !tbaa !9
  br label %81, !llvm.loop !37

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

202:                                              ; preds = %178
  call void @_ZdlPvm(ptr noundef %200, i64 noundef 1) #11
  br label %203

203:                                              ; preds = %202, %178
  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

204:                                              ; preds = %86, %53, %38
  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 %205

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

210:                                              ; preds = %37
  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 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !6, i64 120}
!16 = !{!"_ZTSN5clnet6TensorE", !17, i64 8, !21, i64 32, !25, i64 56, !21, i64 88, !28, i64 112, !6, i64 120, !6, i64 128, !28, i64 136}
!17 = !{!"_ZTSSt6vectorIxSaIxEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIxSaIxEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIxSaIxEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIPN5clnet6TensorESaIS2_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIPN5clnet6TensorESaIS2_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIPN5clnet6TensorESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !26, i64 0, !27, i64 8, !7, i64 16}
!26 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = !{!"long long", !7, i64 0}
!29 = !{i8 0, i8 2}
!30 = !{}
!31 = !{!7, !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"float", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


; 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 @_Z31read_cifar100_images_and_labelsNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEibiPN5clnet6TensorES7_(ptr noundef nonnull %0, i32 noundef %1, i1 noundef zeroext %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 %.thread64

.thread64:                                        ; 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 %90 unwind label %23

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

.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 %89

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

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

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 %50

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

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %4, i64 120
  %35 = load ptr, ptr %34, align 8, !tbaa !8
  %36 = getelementptr inbounds i8, ptr %5, i64 120
  %37 = load ptr, ptr %36, align 8, !tbaa !8
  %38 = icmp sgt i32 %3, 0
  br i1 %38, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %33
  %invariant.gep = getelementptr inbounds i8, ptr %29, i64 2
  %39 = zext i1 %2 to i64
  %wide.trip.count = zext nneg i32 %3 to i64
  %invariant.gep94 = getelementptr i8, ptr %29, i64 2
  %invariant.gep96 = getelementptr i8, ptr %29, i64 3074
  br label %52

._crit_edge:                                      ; preds = %72, %33
  %.051.lcssa = phi ptr [ %35, %33 ], [ %.lcssa, %72 ]
  %.049.lcssa = phi ptr [ %37, %33 ], [ %.150, %72 ]
  %40 = add i32 %1, -1
  %41 = add i32 %40, %3
  %42 = srem i32 %41, %1
  %43 = sub i32 %40, %42
  %44 = mul nsw i32 %43, 3072
  %45 = sext i32 %44 to i64
  %46 = shl nsw i64 %45, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.051.lcssa, ptr align 4 %35, i64 %46, i1 false)
  %47 = load ptr, ptr %36, align 8, !tbaa !8
  %48 = sext i32 %43 to i64
  %49 = shl nsw i64 %48, 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %.049.lcssa, ptr align 4 %47, i64 %49, 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

50:                                               ; preds = %32, %30, %26
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %89

52:                                               ; preds = %.lr.ph, %72
  %indvars.iv81 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next82, %72 ]
  %.04973 = phi ptr [ %37, %.lr.ph ], [ %.150, %72 ]
  %.05172 = phi ptr [ %35, %.lr.ph ], [ %.lcssa, %72 ]
  %53 = mul nuw nsw i64 %indvars.iv81, 3074
  %gep95 = getelementptr i8, ptr %invariant.gep94, i64 %53
  %gep97 = getelementptr i8, ptr %invariant.gep96, i64 %53
  %54 = mul nuw nsw i64 %indvars.iv81, 3074
  %55 = or disjoint i64 %54, %39
  %storemerge.in.in = getelementptr inbounds i8, ptr %29, i64 %55
  %storemerge.in = load i8, ptr %storemerge.in.in, align 1, !tbaa !24
  %storemerge = uitofp i8 %storemerge.in to float
  store float %storemerge, ptr %.04973, align 4, !tbaa !25
  br label %.preheader

.preheader:                                       ; preds = %52, %middle.block
  %indvars.iv77 = phi i64 [ 0, %52 ], [ %indvars.iv.next78, %middle.block ]
  %.15270 = phi ptr [ %.05172, %52 ], [ %.lcssa, %middle.block ]
  %56 = shl nuw nsw i64 %indvars.iv77, 5
  %57 = add nuw nsw i64 %56, %54
  %scevgep = getelementptr i8, ptr %.15270, i64 384
  %bound0 = icmp ult ptr %.15270, %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 %.15270, 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 %.15270, i64 %offset.idx
  %58 = add nuw nsw i64 %57, %index
  %59 = getelementptr inbounds i8, ptr %invariant.gep, i64 %58
  %wide.load = load <4 x i8>, ptr %59, align 1, !tbaa !24, !alias.scope !27
  %60 = uitofp <4 x i8> %wide.load to <4 x float>
  %61 = fdiv <4 x float> %60, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %62 = getelementptr inbounds i8, ptr %29, i64 %58
  %63 = getelementptr inbounds i8, ptr %62, i64 1026
  %wide.load89 = load <4 x i8>, ptr %63, align 1, !tbaa !24, !alias.scope !27
  %64 = uitofp <4 x i8> %wide.load89 to <4 x float>
  %65 = fdiv <4 x float> %64, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %66 = getelementptr inbounds i8, ptr %62, i64 2050
  %wide.load90 = load <4 x i8>, ptr %66, align 1, !tbaa !24, !alias.scope !27
  %67 = uitofp <4 x i8> %wide.load90 to <4 x float>
  %68 = fdiv <4 x float> %67, <float 2.550000e+02, float 2.550000e+02, float 2.550000e+02, float 2.550000e+02>
  %69 = shufflevector <4 x float> %61, <4 x float> %65, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7>
  %70 = shufflevector <4 x float> %68, <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> %69, <8 x float> %70, <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
  %71 = icmp eq i64 %index.next, 32
  br i1 %71, label %middle.block, label %vector.body, !llvm.loop !30

72:                                               ; preds = %middle.block
  %.150 = getelementptr inbounds i8, ptr %.04973, i64 4
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %exitcond85.not = icmp eq i64 %indvars.iv.next82, %wide.trip.count
  br i1 %exitcond85.not, label %._crit_edge, label %52, !llvm.loop !34

middle.block:                                     ; preds = %vector.body, %scalar.ph
  %.lcssa = phi ptr [ %88, %scalar.ph ], [ %ind.end, %vector.body ]
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %exitcond80.not = icmp eq i64 %indvars.iv.next78, 32
  br i1 %exitcond80.not, label %72, label %.preheader, !llvm.loop !35

scalar.ph:                                        ; preds = %.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ 0, %.preheader ]
  %.268 = phi ptr [ %88, %scalar.ph ], [ %.15270, %.preheader ]
  %73 = add nuw nsw i64 %57, %indvars.iv
  %gep = getelementptr inbounds i8, ptr %invariant.gep, i64 %73
  %74 = load i8, ptr %gep, align 1, !tbaa !24
  %75 = uitofp i8 %74 to float
  %76 = fdiv float %75, 2.550000e+02
  %77 = getelementptr inbounds i8, ptr %.268, i64 4
  store float %76, ptr %.268, align 4, !tbaa !25
  %78 = getelementptr inbounds i8, ptr %29, i64 %73
  %79 = getelementptr inbounds i8, ptr %78, i64 1026
  %80 = load i8, ptr %79, align 1, !tbaa !24
  %81 = uitofp i8 %80 to float
  %82 = fdiv float %81, 2.550000e+02
  %83 = getelementptr inbounds i8, ptr %.268, i64 8
  store float %82, ptr %77, align 4, !tbaa !25
  %84 = getelementptr inbounds i8, ptr %78, i64 2050
  %85 = load i8, ptr %84, align 1, !tbaa !24
  %86 = uitofp i8 %85 to float
  %87 = fdiv float %86, 2.550000e+02
  %88 = getelementptr inbounds i8, ptr %.268, i64 12
  store float %87, ptr %83, 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

89:                                               ; preds = %23, %25, %50, %20
  %.pn58.pn = phi { ptr, i32 } [ %.pn5863, %25 ], [ %24, %23 ], [ %51, %50 ], [ %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 } %.pn58.pn

90:                                               ; 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,SCCPPass,SROAPass,SimplifyCFGPass