; LLVM IR from Wilson-ZheLin/Introduction-to-Digital-Image-Processing :: 5. Fourier Transform and Reconstruction/src/main.ll (Z21Reconstruct_magnitudeP5ImagePfS1_)

; 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"

%struct.Image = type { i32, i32, i32, ptr, [15 x [100 x i8]], i32 }

@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [36 x i8], align 1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z21Reconstruct_magnitudeP5ImagePfS1_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.Image, ptr %26, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !9
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.Image, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !12
  %32 = mul nsw i32 %28, %31
  %33 = sitofp i32 %32 to float
  store float %33, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 10000, ptr %14, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = call noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef %34, ptr noundef @.str.6)
  store ptr %35, ptr %15, align 8, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.Image, ptr %36, i32 0, i32 3
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  store ptr %38, ptr %7, align 8, !tbaa !5
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.Image, ptr %39, i32 0, i32 3
  %41 = load ptr, ptr %40, align 8, !tbaa !16
  store ptr %41, ptr %8, align 8, !tbaa !5
  %42 = load float, ptr %12, align 4, !tbaa !13
  %43 = fmul float %42, 4.000000e+00
  %44 = fptoui float %43 to i64
  %45 = call noalias ptr @malloc(i64 noundef %44) #8
  store ptr %45, ptr %9, align 8, !tbaa !5
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !15
  br label %47

47:                                               ; preds = %212, %3
  %48 = load i32, ptr %16, align 4, !tbaa !15
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.Image, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 4, !tbaa !12
  %52 = icmp slt i32 %48, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %47
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %215

54:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !15
  br label %55

55:                                               ; preds = %208, %54
  %56 = load i32, ptr %18, align 4, !tbaa !15
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.Image, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !9
  %60 = icmp slt i32 %56, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %55
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %211

62:                                               ; preds = %55
  store float 0.000000e+00, ptr %10, align 4, !tbaa !13
  store float 0.000000e+00, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !15
  br label %63

63:                                               ; preds = %173, %62
  %64 = load i32, ptr %19, align 4, !tbaa !15
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.Image, ptr %65, i32 0, i32 1
  %67 = load i32, ptr %66, align 4, !tbaa !12
  %68 = icmp slt i32 %64, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %63
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %176

70:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !15
  br label %71

71:                                               ; preds = %169, %70
  %72 = load i32, ptr %20, align 4, !tbaa !15
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.Image, ptr %73, i32 0, i32 0
  %75 = load i32, ptr %74, align 8, !tbaa !9
  %76 = icmp slt i32 %72, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %71
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %172

78:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %79 = load i32, ptr %16, align 4, !tbaa !15
  %80 = sitofp i32 %79 to float
  %81 = load i32, ptr %19, align 4, !tbaa !15
  %82 = sitofp i32 %81 to float
  %83 = fmul float %80, %82
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.Image, ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !12
  %87 = sitofp i32 %86 to float
  %88 = fdiv float %83, %87
  %89 = load i32, ptr %18, align 4, !tbaa !15
  %90 = sitofp i32 %89 to float
  %91 = load i32, ptr %20, align 4, !tbaa !15
  %92 = sitofp i32 %91 to float
  %93 = fmul float %90, %92
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.Image, ptr %94, i32 0, i32 0
  %96 = load i32, ptr %95, align 8, !tbaa !9
  %97 = sitofp i32 %96 to float
  %98 = fdiv float %93, %97
  %99 = fadd float %88, %98
  store float %99, ptr %21, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.Image, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !9
  %104 = load i32, ptr %19, align 4, !tbaa !15
  %105 = mul nsw i32 %103, %104
  %106 = load i32, ptr %20, align 4, !tbaa !15
  %107 = add nsw i32 %105, %106
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %100, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !13
  %111 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %110, i32 noundef 2)
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = load ptr, ptr %4, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.Image, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !9
  %116 = load i32, ptr %19, align 4, !tbaa !15
  %117 = mul nsw i32 %115, %116
  %118 = load i32, ptr %20, align 4, !tbaa !15
  %119 = add nsw i32 %117, %118
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %112, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !13
  %123 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %122, i32 noundef 2)
  %124 = fadd double %111, %123
  %125 = call double @sqrt(double noundef %124) #7
  %126 = load float, ptr %12, align 4, !tbaa !13
  %127 = call noundef float @_ZSt4sqrtf(float noundef %126)
  %128 = fpext float %127 to double
  %129 = fdiv double %125, %128
  %130 = fptrunc double %129 to float
  store float %130, ptr %22, align 4, !tbaa !13
  %131 = load float, ptr %22, align 4, !tbaa !13
  %132 = fpext float %131 to double
  %133 = call noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef -1)
  %134 = fmul double 2.000000e+00, %133
  %135 = load float, ptr %21, align 4, !tbaa !13
  %136 = fpext float %135 to double
  %137 = fmul double %134, %136
  %138 = call double @cos(double noundef %137) #7
  %139 = fmul double %132, %138
  %140 = load i32, ptr %19, align 4, !tbaa !15
  %141 = sitofp i32 %140 to float
  %142 = load i32, ptr %20, align 4, !tbaa !15
  %143 = sitofp i32 %142 to float
  %144 = fadd float %141, %143
  %145 = call noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef -1, float noundef %144)
  %146 = load float, ptr %10, align 4, !tbaa !13
  %147 = fpext float %146 to double
  %148 = call double @llvm.fmuladd.f64(double %139, double %145, double %147)
  %149 = fptrunc double %148 to float
  store float %149, ptr %10, align 4, !tbaa !13
  %150 = load float, ptr %22, align 4, !tbaa !13
  %151 = fpext float %150 to double
  %152 = call noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef -1)
  %153 = fmul double 2.000000e+00, %152
  %154 = load float, ptr %21, align 4, !tbaa !13
  %155 = fpext float %154 to double
  %156 = fmul double %153, %155
  %157 = call double @sin(double noundef %156) #7
  %158 = fmul double %151, %157
  %159 = load i32, ptr %19, align 4, !tbaa !15
  %160 = sitofp i32 %159 to float
  %161 = load i32, ptr %20, align 4, !tbaa !15
  %162 = sitofp i32 %161 to float
  %163 = fadd float %160, %162
  %164 = call noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef -1, float noundef %163)
  %165 = load float, ptr %11, align 4, !tbaa !13
  %166 = fpext float %165 to double
  %167 = call double @llvm.fmuladd.f64(double %158, double %164, double %166)
  %168 = fptrunc double %167 to float
  store float %168, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %169

169:                                              ; preds = %78
  %170 = load i32, ptr %20, align 4, !tbaa !15
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %20, align 4, !tbaa !15
  br label %71, !llvm.loop !17

172:                                              ; preds = %77
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %19, align 4, !tbaa !15
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %19, align 4, !tbaa !15
  br label %63, !llvm.loop !19

176:                                              ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %177 = load float, ptr %10, align 4, !tbaa !13
  %178 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %177, i32 noundef 2)
  %179 = load float, ptr %11, align 4, !tbaa !13
  %180 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %179, i32 noundef 2)
  %181 = fadd double %178, %180
  %182 = call double @sqrt(double noundef %181) #7
  %183 = fptosi double %182 to i32
  store i32 %183, ptr %23, align 4, !tbaa !15
  %184 = load i32, ptr %23, align 4, !tbaa !15
  %185 = sitofp i32 %184 to float
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.Image, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 8, !tbaa !9
  %190 = load i32, ptr %16, align 4, !tbaa !15
  %191 = mul nsw i32 %189, %190
  %192 = load i32, ptr %18, align 4, !tbaa !15
  %193 = add nsw i32 %191, %192
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds float, ptr %186, i64 %194
  store float %185, ptr %195, align 4, !tbaa !13
  %196 = load i32, ptr %23, align 4, !tbaa !15
  %197 = load i32, ptr %13, align 4, !tbaa !15
  %198 = icmp sgt i32 %196, %197
  br i1 %198, label %199, label %201

199:                                              ; preds = %176
  %200 = load i32, ptr %23, align 4, !tbaa !15
  store i32 %200, ptr %13, align 4, !tbaa !15
  br label %201

201:                                              ; preds = %199, %176
  %202 = load i32, ptr %23, align 4, !tbaa !15
  %203 = load i32, ptr %14, align 4, !tbaa !15
  %204 = icmp slt i32 %202, %203
  br i1 %204, label %205, label %207

205:                                              ; preds = %201
  %206 = load i32, ptr %23, align 4, !tbaa !15
  store i32 %206, ptr %14, align 4, !tbaa !15
  br label %207

207:                                              ; preds = %205, %201
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %208

208:                                              ; preds = %207
  %209 = load i32, ptr %18, align 4, !tbaa !15
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %18, align 4, !tbaa !15
  br label %55, !llvm.loop !20

211:                                              ; preds = %61
  br label %212

212:                                              ; preds = %211
  %213 = load i32, ptr %16, align 4, !tbaa !15
  %214 = add nsw i32 %213, 1
  store i32 %214, ptr %16, align 4, !tbaa !15
  br label %47, !llvm.loop !21

215:                                              ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !15
  br label %216

216:                                              ; preds = %245, %215
  %217 = load i32, ptr %24, align 4, !tbaa !15
  %218 = sitofp i32 %217 to float
  %219 = load float, ptr %12, align 4, !tbaa !13
  %220 = fcmp olt float %218, %219
  br i1 %220, label %222, label %221

221:                                              ; preds = %216
  store i32 14, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %248

222:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = load i32, ptr %24, align 4, !tbaa !15
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds float, ptr %223, i64 %225
  %227 = load float, ptr %226, align 4, !tbaa !13
  %228 = load i32, ptr %14, align 4, !tbaa !15
  %229 = sitofp i32 %228 to float
  %230 = fsub float %227, %229
  %231 = load i32, ptr %13, align 4, !tbaa !15
  %232 = sitofp i32 %231 to float
  %233 = load i32, ptr %14, align 4, !tbaa !15
  %234 = sitofp i32 %233 to float
  %235 = fsub float %232, %234
  %236 = fdiv float %230, %235
  store float %236, ptr %25, align 4, !tbaa !13
  %237 = load float, ptr %25, align 4, !tbaa !13
  %238 = fmul float %237, 2.560000e+02
  %239 = fptosi float %238 to i32
  %240 = trunc i32 %239 to i8
  %241 = load ptr, ptr %8, align 8, !tbaa !5
  %242 = load i32, ptr %24, align 4, !tbaa !15
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds i8, ptr %241, i64 %243
  store i8 %240, ptr %244, align 1, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %245

245:                                              ; preds = %222
  %246 = load i32, ptr %24, align 4, !tbaa !15
  %247 = add nsw i32 %246, 1
  store i32 %247, ptr %24, align 4, !tbaa !15
  br label %216, !llvm.loop !23

248:                                              ; preds = %221
  %249 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
  %250 = load ptr, ptr %15, align 8, !tbaa !5
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  ret ptr %250
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef, ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nounwind
declare double @cos(double noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nounwind
declare double @sin(double noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #4

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #6

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, float noundef) #4

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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind 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 #7 = { nounwind }
attributes #8 = { nounwind allocsize(0) }

!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, !11, i64 0}
!10 = !{!"_ZTS5Image", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !7, i64 24, !11, i64 1524}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !6, i64 16}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !18}


; 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"

@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z21Reconstruct_magnitudeP5ImagePfS1_(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 {
  %4 = load i32, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 4
  %6 = load i32, ptr %5, align 4, !tbaa !11
  %7 = mul nsw i32 %6, %4
  %8 = sitofp i32 %7 to float
  %9 = tail call noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef nonnull %0, ptr noundef nonnull @.str.6)
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %12 = fmul float %8, 4.000000e+00
  %13 = fptoui float %12 to i64
  %14 = tail call noalias ptr @malloc(i64 noundef %13) #6
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  %16 = load i32, ptr %5, align 4, !tbaa !11
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.preheader84.lr.ph, label %.preheader

.preheader84.lr.ph:                               ; preds = %3
  %18 = load i32, ptr %0, align 8, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.preheader84, label %.preheader

.preheader84:                                     ; preds = %.preheader84.lr.ph, %._crit_edge99
  %20 = phi i32 [ %33, %._crit_edge99 ], [ %16, %.preheader84.lr.ph ]
  %21 = phi i32 [ %34, %._crit_edge99 ], [ %18, %.preheader84.lr.ph ]
  %.070104 = phi i32 [ %.171.lcssa, %._crit_edge99 ], [ 0, %.preheader84.lr.ph ]
  %.072103 = phi i32 [ %.173.lcssa, %._crit_edge99 ], [ 10000, %.preheader84.lr.ph ]
  %.078102 = phi i32 [ %35, %._crit_edge99 ], [ 0, %.preheader84.lr.ph ]
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.preheader83.lr.ph, label %._crit_edge99

.preheader83.lr.ph:                               ; preds = %.preheader84
  %23 = uitofp nneg i32 %.078102 to float
  br label %.preheader83

.preheader.loopexit:                              ; preds = %._crit_edge99
  %24 = sitofp i32 %.173.lcssa to float
  %25 = uitofp nneg i32 %.171.lcssa to float
  br label %.preheader

.preheader:                                       ; preds = %.preheader84.lr.ph, %.preheader.loopexit, %3
  %.072.lcssa = phi float [ 1.000000e+04, %3 ], [ %24, %.preheader.loopexit ], [ 1.000000e+04, %.preheader84.lr.ph ]
  %.070.lcssa = phi float [ 0.000000e+00, %3 ], [ %25, %.preheader.loopexit ], [ 0.000000e+00, %.preheader84.lr.ph ]
  %26 = icmp sgt i32 %7, 0
  br i1 %26, label %.lr.ph110, label %._crit_edge111

.lr.ph110:                                        ; preds = %.preheader
  %27 = fsub float %.070.lcssa, %.072.lcssa
  br label %124

.preheader83:                                     ; preds = %.preheader83.lr.ph, %._crit_edge92
  %28 = phi i32 [ %21, %.preheader83.lr.ph ], [ %52, %._crit_edge92 ]
  %.17198 = phi i32 [ %.070104, %.preheader83.lr.ph ], [ %spec.select, %._crit_edge92 ]
  %.17397 = phi i32 [ %.072103, %.preheader83.lr.ph ], [ %.274, %._crit_edge92 ]
  %.07796 = phi i32 [ 0, %.preheader83.lr.ph ], [ %57, %._crit_edge92 ]
  %29 = load i32, ptr %5, align 4, !tbaa !11
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.preheader82.lr.ph, label %._crit_edge92

.preheader82.lr.ph:                               ; preds = %.preheader83
  %31 = uitofp nneg i32 %.07796 to float
  %32 = icmp sgt i32 %28, 0
  br i1 %32, label %.preheader82, label %._crit_edge92

._crit_edge99.loopexit:                           ; preds = %._crit_edge92
  %.pre116 = load i32, ptr %5, align 4, !tbaa !11
  br label %._crit_edge99

._crit_edge99:                                    ; preds = %._crit_edge99.loopexit, %.preheader84
  %33 = phi i32 [ %20, %.preheader84 ], [ %.pre116, %._crit_edge99.loopexit ]
  %34 = phi i32 [ %21, %.preheader84 ], [ %52, %._crit_edge99.loopexit ]
  %.173.lcssa = phi i32 [ %.072103, %.preheader84 ], [ %.274, %._crit_edge99.loopexit ]
  %.171.lcssa = phi i32 [ %.070104, %.preheader84 ], [ %spec.select, %._crit_edge99.loopexit ]
  %35 = add nuw nsw i32 %.078102, 1
  %36 = icmp slt i32 %35, %33
  br i1 %36, label %.preheader84, label %.preheader.loopexit, !llvm.loop !13

.preheader82:                                     ; preds = %.preheader82.lr.ph, %._crit_edge
  %37 = phi i32 [ %59, %._crit_edge ], [ %29, %.preheader82.lr.ph ]
  %38 = phi i32 [ %60, %._crit_edge ], [ %28, %.preheader82.lr.ph ]
  %.07689 = phi i32 [ %62, %._crit_edge ], [ 0, %.preheader82.lr.ph ]
  %39 = phi <2 x float> [ %61, %._crit_edge ], [ zeroinitializer, %.preheader82.lr.ph ]
  %40 = icmp sgt i32 %38, 0
  br i1 %40, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader82
  %41 = uitofp nneg i32 %.07689 to float
  %42 = fmul float %23, %41
  br label %64

._crit_edge92:                                    ; preds = %._crit_edge, %.preheader82.lr.ph, %.preheader83
  %43 = phi <2 x float> [ zeroinitializer, %.preheader83 ], [ zeroinitializer, %.preheader82.lr.ph ], [ %61, %._crit_edge ]
  %44 = extractelement <2 x float> %43, i64 1
  %45 = tail call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %44, i32 noundef 2)
  %46 = extractelement <2 x float> %43, i64 0
  %47 = tail call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %46, i32 noundef 2)
  %48 = fadd double %45, %47
  %49 = tail call double @sqrt(double noundef %48) #7
  %50 = fptosi double %49 to i32
  %51 = sitofp i32 %50 to float
  %52 = load i32, ptr %0, align 8, !tbaa !5
  %53 = mul nsw i32 %52, %.078102
  %54 = add nsw i32 %53, %.07796
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds float, ptr %14, i64 %55
  store float %51, ptr %56, align 4, !tbaa !16
  %spec.select = tail call i32 @llvm.smax.i32(i32 %.17198, i32 %50)
  %.274 = tail call i32 @llvm.smin.i32(i32 %.17397, i32 %50)
  %57 = add nuw nsw i32 %.07796, 1
  %58 = icmp slt i32 %57, %52
  br i1 %58, label %.preheader83, label %._crit_edge99.loopexit, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %64
  %.pre = load i32, ptr %5, align 4, !tbaa !11
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader82
  %59 = phi i32 [ %37, %.preheader82 ], [ %.pre, %._crit_edge.loopexit ]
  %60 = phi i32 [ %38, %.preheader82 ], [ %121, %._crit_edge.loopexit ]
  %61 = phi <2 x float> [ %39, %.preheader82 ], [ %119, %._crit_edge.loopexit ]
  %62 = add nuw nsw i32 %.07689, 1
  %63 = icmp slt i32 %62, %59
  br i1 %63, label %.preheader82, label %._crit_edge92, !llvm.loop !19

64:                                               ; preds = %.lr.ph, %64
  %65 = phi i32 [ %38, %.lr.ph ], [ %121, %64 ]
  %.07585 = phi i32 [ 0, %.lr.ph ], [ %120, %64 ]
  %66 = phi <2 x float> [ %39, %.lr.ph ], [ %119, %64 ]
  %67 = load i32, ptr %5, align 4, !tbaa !11
  %68 = uitofp nneg i32 %.07585 to float
  %69 = fmul float %31, %68
  %70 = insertelement <2 x i32> poison, i32 %65, i64 0
  %71 = insertelement <2 x i32> %70, i32 %67, i64 1
  %72 = sitofp <2 x i32> %71 to <2 x float>
  %73 = insertelement <2 x float> poison, float %69, i64 0
  %74 = insertelement <2 x float> %73, float %42, i64 1
  %75 = fdiv <2 x float> %74, %72
  %shift = shufflevector <2 x float> %75, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %76 = fadd <2 x float> %75, %shift
  %77 = extractelement <2 x float> %76, i64 0
  %78 = mul nsw i32 %65, %.07689
  %79 = add nsw i32 %78, %.07585
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds float, ptr %1, i64 %80
  %82 = load float, ptr %81, align 4, !tbaa !16
  %83 = tail call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %82, i32 noundef 2)
  %84 = load i32, ptr %0, align 8, !tbaa !5
  %85 = mul nsw i32 %84, %.07689
  %86 = add nsw i32 %85, %.07585
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds float, ptr %2, i64 %87
  %89 = load float, ptr %88, align 4, !tbaa !16
  %90 = tail call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %89, i32 noundef 2)
  %91 = fadd double %83, %90
  %92 = tail call double @sqrt(double noundef %91) #7
  %93 = tail call noundef float @_ZSt4sqrtf(float noundef %8)
  %94 = fpext float %93 to double
  %95 = fdiv double %92, %94
  %96 = fptrunc double %95 to float
  %97 = fpext float %96 to double
  %98 = tail call noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef -1)
  %99 = fmul double %98, 2.000000e+00
  %100 = fpext float %77 to double
  %101 = fmul double %99, %100
  %102 = tail call double @cos(double noundef %101) #7
  %103 = fadd float %41, %68
  %104 = tail call noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef -1, float noundef %103)
  %105 = fpext <2 x float> %66 to <2 x double>
  %106 = tail call noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef -1)
  %107 = fmul double %106, 2.000000e+00
  %108 = fmul double %107, %100
  %109 = tail call double @sin(double noundef %108) #7
  %110 = tail call noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef -1, float noundef %103)
  %111 = insertelement <2 x double> poison, double %109, i64 0
  %112 = insertelement <2 x double> %111, double %102, i64 1
  %113 = insertelement <2 x double> poison, double %97, i64 0
  %114 = shufflevector <2 x double> %113, <2 x double> poison, <2 x i32> zeroinitializer
  %115 = fmul <2 x double> %112, %114
  %116 = insertelement <2 x double> poison, double %110, i64 0
  %117 = insertelement <2 x double> %116, double %104, i64 1
  %118 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %115, <2 x double> %117, <2 x double> %105)
  %119 = fptrunc <2 x double> %118 to <2 x float>
  %120 = add nuw nsw i32 %.07585, 1
  %121 = load i32, ptr %0, align 8, !tbaa !5
  %122 = icmp slt i32 %120, %121
  br i1 %122, label %64, label %._crit_edge.loopexit, !llvm.loop !20

._crit_edge111:                                   ; preds = %124, %.preheader
  %123 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14)
  ret ptr %9

124:                                              ; preds = %.lr.ph110, %124
  %indvars.iv = phi i64 [ 0, %.lr.ph110 ], [ %indvars.iv.next, %124 ]
  %125 = getelementptr inbounds float, ptr %14, i64 %indvars.iv
  %126 = load float, ptr %125, align 4, !tbaa !16
  %127 = fsub float %126, %.072.lcssa
  %128 = fdiv float %127, %27
  %129 = fmul float %128, 2.560000e+02
  %130 = fptosi float %129 to i32
  %131 = trunc i32 %130 to i8
  %132 = getelementptr inbounds i8, ptr %11, i64 %indvars.iv
  store i8 %131, ptr %132, align 1, !tbaa !21
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %133 = trunc nuw nsw i64 %indvars.iv.next to i32
  %134 = uitofp nneg i32 %133 to float
  %135 = fcmp olt float %134, %8
  br i1 %135, label %124, label %._crit_edge111, !llvm.loop !22
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z14CreateNewImageP5ImagePc(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4acosIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIifEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #5

attributes #0 = { 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 #1 = { nofree 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 #2 = { mustprogress nofree nounwind willreturn memory(write) "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { 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, !7, i64 0}
!6 = !{!"_ZTS5Image", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !8, i64 24, !7, i64 1524}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 4}
!12 = !{!6, !10, i64 16}
!13 = distinct !{!13, !14, !15}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.unswitch.partial.disable"}
!16 = !{!17, !17, i64 0}
!17 = !{!"float", !8, i64 0}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14, !15}
!20 = distinct !{!20, !14}
!21 = !{!8, !8, i64 0}
!22 = distinct !{!22, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass