; LLVM IR from rdguez-mariano/fast_imas_IPOL :: libLocalDesc/surf/keypoint.ll (Z14getOrientationP13imageIntegraliiid)

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

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z14getOrientationP13imageIntegraliiid(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store double %4, ptr %10, align 8, !tbaa !11
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = call ptr @llvm.stacksave.p0()
  store ptr %31, ptr %11, align 8
  %32 = alloca double, i64 %30, align 16
  store i64 %30, ptr %12, align 8
  %33 = load i32, ptr %9, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = alloca double, i64 %34, align 16
  store i64 %34, ptr %13, align 8
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = alloca double, i64 %37, align 16
  store i64 %37, ptr %14, align 8
  %39 = load i32, ptr %9, align 4, !tbaa !9
  %40 = zext i32 %39 to i64
  %41 = alloca double, i64 %40, align 16
  store i64 %40, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = mul i64 8, %43
  call void @llvm.memset.p0.i64(ptr align 16 %38, i8 0, i64 %44, i1 false)
  %45 = load i32, ptr %9, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = mul i64 8, %46
  call void @llvm.memset.p0.i64(ptr align 16 %41, i8 0, i64 %47, i1 false)
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = mul i64 8, %49
  call void @llvm.memset.p0.i64(ptr align 16 %32, i8 0, i64 %50, i1 false)
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = mul i64 8, %52
  call void @llvm.memset.p0.i64(ptr align 16 %35, i8 0, i64 %53, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 -6, ptr %20, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %155, %5
  %55 = load i32, ptr %20, align 4, !tbaa !9
  %56 = icmp sle i32 %55, 6
  br i1 %56, label %58, label %57

57:                                               ; preds = %54
  store i32 2, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %158

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 -6, ptr %22, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %151, %58
  %60 = load i32, ptr %22, align 4, !tbaa !9
  %61 = icmp sle i32 %60, 6
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %154

63:                                               ; preds = %59
  %64 = load i32, ptr %20, align 4, !tbaa !9
  %65 = load i32, ptr %20, align 4, !tbaa !9
  %66 = mul nsw i32 %64, %65
  %67 = load i32, ptr %22, align 4, !tbaa !9
  %68 = load i32, ptr %22, align 4, !tbaa !9
  %69 = mul nsw i32 %67, %68
  %70 = add nsw i32 %66, %69
  %71 = icmp sle i32 %70, 36
  br i1 %71, label %72, label %150

72:                                               ; preds = %63
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = sitofp i32 %74 to double
  %76 = load double, ptr %10, align 8, !tbaa !11
  %77 = load i32, ptr %20, align 4, !tbaa !9
  %78 = sitofp i32 %77 to double
  %79 = call double @llvm.fmuladd.f64(double %76, double %78, double %75)
  %80 = fptosi double %79 to i32
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = sitofp i32 %81 to double
  %83 = load double, ptr %10, align 8, !tbaa !11
  %84 = load i32, ptr %22, align 4, !tbaa !9
  %85 = sitofp i32 %84 to double
  %86 = call double @llvm.fmuladd.f64(double %83, double %85, double %82)
  %87 = fptosi double %86 to i32
  %88 = load double, ptr %10, align 8, !tbaa !11
  %89 = fmul double 2.000000e+00, %88
  %90 = call noundef i32 @_Z6froundd(double noundef %89)
  %91 = call noundef i64 @_Z5haarXP13imageIntegraliii(ptr noundef %73, i32 noundef %80, i32 noundef %87, i32 noundef %90)
  store i64 %91, ptr %16, align 8, !tbaa !13
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = load i32, ptr %7, align 4, !tbaa !9
  %94 = sitofp i32 %93 to double
  %95 = load double, ptr %10, align 8, !tbaa !11
  %96 = load i32, ptr %20, align 4, !tbaa !9
  %97 = sitofp i32 %96 to double
  %98 = call double @llvm.fmuladd.f64(double %95, double %97, double %94)
  %99 = fptosi double %98 to i32
  %100 = load i32, ptr %8, align 4, !tbaa !9
  %101 = sitofp i32 %100 to double
  %102 = load double, ptr %10, align 8, !tbaa !11
  %103 = load i32, ptr %22, align 4, !tbaa !9
  %104 = sitofp i32 %103 to double
  %105 = call double @llvm.fmuladd.f64(double %102, double %104, double %101)
  %106 = fptosi double %105 to i32
  %107 = load double, ptr %10, align 8, !tbaa !11
  %108 = fmul double 2.000000e+00, %107
  %109 = call noundef i32 @_Z6froundd(double noundef %108)
  %110 = call noundef i64 @_Z5haarYP13imageIntegraliii(ptr noundef %92, i32 noundef %99, i32 noundef %106, i32 noundef %109)
  store i64 %110, ptr %17, align 8, !tbaa !13
  %111 = load i64, ptr %17, align 8, !tbaa !13
  %112 = load i64, ptr %16, align 8, !tbaa !13
  %113 = call noundef double @_ZSt5atan2IllEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i64 noundef %111, i64 noundef %112)
  %114 = load i32, ptr %9, align 4, !tbaa !9
  %115 = sitofp i32 %114 to double
  %116 = fmul double %113, %115
  %117 = fdiv double %116, 0x401921FB54442D18
  %118 = fptosi double %117 to i32
  store i32 %118, ptr %19, align 4, !tbaa !9
  %119 = load i32, ptr %19, align 4, !tbaa !9
  %120 = icmp sge i32 %119, 0
  br i1 %120, label %121, label %123

121:                                              ; preds = %72
  %122 = load i32, ptr %19, align 4, !tbaa !9
  br label %127

123:                                              ; preds = %72
  %124 = load i32, ptr %19, align 4, !tbaa !9
  %125 = load i32, ptr %9, align 4, !tbaa !9
  %126 = add nsw i32 %124, %125
  br label %127

127:                                              ; preds = %123, %121
  %128 = phi i32 [ %122, %121 ], [ %126, %123 ]
  store i32 %128, ptr %19, align 4, !tbaa !9
  %129 = load i32, ptr %20, align 4, !tbaa !9
  %130 = sitofp i32 %129 to double
  %131 = load i32, ptr %22, align 4, !tbaa !9
  %132 = sitofp i32 %131 to double
  %133 = call noundef double @_Z8gaussianddd(double noundef %130, double noundef %132, double noundef 2.000000e+00)
  store double %133, ptr %18, align 8, !tbaa !11
  %134 = load i64, ptr %16, align 8, !tbaa !13
  %135 = sitofp i64 %134 to double
  %136 = load double, ptr %18, align 8, !tbaa !11
  %137 = load i32, ptr %19, align 4, !tbaa !9
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds double, ptr %38, i64 %138
  %140 = load double, ptr %139, align 8, !tbaa !11
  %141 = call double @llvm.fmuladd.f64(double %135, double %136, double %140)
  store double %141, ptr %139, align 8, !tbaa !11
  %142 = load i64, ptr %17, align 8, !tbaa !13
  %143 = sitofp i64 %142 to double
  %144 = load double, ptr %18, align 8, !tbaa !11
  %145 = load i32, ptr %19, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds double, ptr %41, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !11
  %149 = call double @llvm.fmuladd.f64(double %143, double %144, double %148)
  store double %149, ptr %147, align 8, !tbaa !11
  br label %150

150:                                              ; preds = %127, %63
  br label %151

151:                                              ; preds = %150
  %152 = load i32, ptr %22, align 4, !tbaa !9
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %22, align 4, !tbaa !9
  br label %59, !llvm.loop !15

154:                                              ; preds = %62
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %20, align 4, !tbaa !9
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %20, align 4, !tbaa !9
  br label %54, !llvm.loop !17

158:                                              ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %273, %158
  %160 = load i32, ptr %23, align 4, !tbaa !9
  %161 = load i32, ptr %9, align 4, !tbaa !9
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %164, label %163

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

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %165 = load i32, ptr %9, align 4, !tbaa !9
  %166 = sub nsw i32 0, %165
  %167 = sdiv i32 %166, 12
  store i32 %167, ptr %24, align 4, !tbaa !9
  br label %168

168:                                              ; preds = %269, %164
  %169 = load i32, ptr %24, align 4, !tbaa !9
  %170 = load i32, ptr %9, align 4, !tbaa !9
  %171 = sdiv i32 %170, 12
  %172 = icmp sle i32 %169, %171
  br i1 %172, label %174, label %173

173:                                              ; preds = %168
  store i32 11, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %272

174:                                              ; preds = %168
  %175 = load i32, ptr %23, align 4, !tbaa !9
  %176 = load i32, ptr %24, align 4, !tbaa !9
  %177 = add nsw i32 %175, %176
  %178 = icmp sle i32 0, %177
  br i1 %178, label %179, label %208

179:                                              ; preds = %174
  %180 = load i32, ptr %23, align 4, !tbaa !9
  %181 = load i32, ptr %24, align 4, !tbaa !9
  %182 = add nsw i32 %180, %181
  %183 = load i32, ptr %9, align 4, !tbaa !9
  %184 = icmp slt i32 %182, %183
  br i1 %184, label %185, label %208

185:                                              ; preds = %179
  %186 = load i32, ptr %23, align 4, !tbaa !9
  %187 = load i32, ptr %24, align 4, !tbaa !9
  %188 = add nsw i32 %186, %187
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %38, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !11
  %192 = load i32, ptr %23, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %32, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !11
  %196 = fadd double %195, %191
  store double %196, ptr %194, align 8, !tbaa !11
  %197 = load i32, ptr %23, align 4, !tbaa !9
  %198 = load i32, ptr %24, align 4, !tbaa !9
  %199 = add nsw i32 %197, %198
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds double, ptr %41, i64 %200
  %202 = load double, ptr %201, align 8, !tbaa !11
  %203 = load i32, ptr %23, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds double, ptr %35, i64 %204
  %206 = load double, ptr %205, align 8, !tbaa !11
  %207 = fadd double %206, %202
  store double %207, ptr %205, align 8, !tbaa !11
  br label %268

208:                                              ; preds = %179, %174
  %209 = load i32, ptr %23, align 4, !tbaa !9
  %210 = load i32, ptr %24, align 4, !tbaa !9
  %211 = add nsw i32 %209, %210
  %212 = icmp slt i32 %211, 0
  br i1 %212, label %213, label %240

213:                                              ; preds = %208
  %214 = load i32, ptr %9, align 4, !tbaa !9
  %215 = load i32, ptr %23, align 4, !tbaa !9
  %216 = add nsw i32 %214, %215
  %217 = load i32, ptr %24, align 4, !tbaa !9
  %218 = add nsw i32 %216, %217
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds double, ptr %38, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !11
  %222 = load i32, ptr %23, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds double, ptr %32, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !11
  %226 = fadd double %225, %221
  store double %226, ptr %224, align 8, !tbaa !11
  %227 = load i32, ptr %23, align 4, !tbaa !9
  %228 = load i32, ptr %24, align 4, !tbaa !9
  %229 = add nsw i32 %227, %228
  %230 = load i32, ptr %9, align 4, !tbaa !9
  %231 = add nsw i32 %229, %230
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds double, ptr %41, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !11
  %235 = load i32, ptr %23, align 4, !tbaa !9
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds double, ptr %35, i64 %236
  %238 = load double, ptr %237, align 8, !tbaa !11
  %239 = fadd double %238, %234
  store double %239, ptr %237, align 8, !tbaa !11
  br label %267

240:                                              ; preds = %208
  %241 = load i32, ptr %23, align 4, !tbaa !9
  %242 = load i32, ptr %24, align 4, !tbaa !9
  %243 = add nsw i32 %241, %242
  %244 = load i32, ptr %9, align 4, !tbaa !9
  %245 = sub nsw i32 %243, %244
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds double, ptr %38, i64 %246
  %248 = load double, ptr %247, align 8, !tbaa !11
  %249 = load i32, ptr %23, align 4, !tbaa !9
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds double, ptr %32, i64 %250
  %252 = load double, ptr %251, align 8, !tbaa !11
  %253 = fadd double %252, %248
  store double %253, ptr %251, align 8, !tbaa !11
  %254 = load i32, ptr %23, align 4, !tbaa !9
  %255 = load i32, ptr %24, align 4, !tbaa !9
  %256 = add nsw i32 %254, %255
  %257 = load i32, ptr %9, align 4, !tbaa !9
  %258 = sub nsw i32 %256, %257
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds double, ptr %41, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !11
  %262 = load i32, ptr %23, align 4, !tbaa !9
  %263 = sext i32 %262 to i64
  %264 = getelementptr inbounds double, ptr %35, i64 %263
  %265 = load double, ptr %264, align 8, !tbaa !11
  %266 = fadd double %265, %261
  store double %266, ptr %264, align 8, !tbaa !11
  br label %267

267:                                              ; preds = %240, %213
  br label %268

268:                                              ; preds = %267, %185
  br label %269

269:                                              ; preds = %268
  %270 = load i32, ptr %24, align 4, !tbaa !9
  %271 = add nsw i32 %270, 1
  store i32 %271, ptr %24, align 4, !tbaa !9
  br label %168, !llvm.loop !18

272:                                              ; preds = %173
  br label %273

273:                                              ; preds = %272
  %274 = load i32, ptr %23, align 4, !tbaa !9
  %275 = add nsw i32 %274, 1
  store i32 %275, ptr %23, align 4, !tbaa !9
  br label %159, !llvm.loop !19

276:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %277 = getelementptr inbounds double, ptr %32, i64 0
  %278 = load double, ptr %277, align 16, !tbaa !11
  %279 = getelementptr inbounds double, ptr %32, i64 0
  %280 = load double, ptr %279, align 16, !tbaa !11
  %281 = getelementptr inbounds double, ptr %35, i64 0
  %282 = load double, ptr %281, align 16, !tbaa !11
  %283 = getelementptr inbounds double, ptr %35, i64 0
  %284 = load double, ptr %283, align 16, !tbaa !11
  %285 = fmul double %282, %284
  %286 = call double @llvm.fmuladd.f64(double %278, double %280, double %285)
  store double %286, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %287

287:                                              ; preds = %329, %276
  %288 = load i32, ptr %27, align 4, !tbaa !9
  %289 = load i32, ptr %9, align 4, !tbaa !9
  %290 = icmp slt i32 %288, %289
  br i1 %290, label %292, label %291

291:                                              ; preds = %287
  store i32 14, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %332

292:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %293 = load i32, ptr %27, align 4, !tbaa !9
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds double, ptr %32, i64 %294
  %296 = load double, ptr %295, align 8, !tbaa !11
  %297 = load i32, ptr %27, align 4, !tbaa !9
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %32, i64 %298
  %300 = load double, ptr %299, align 8, !tbaa !11
  %301 = load i32, ptr %27, align 4, !tbaa !9
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %35, i64 %302
  %304 = load double, ptr %303, align 8, !tbaa !11
  %305 = load i32, ptr %27, align 4, !tbaa !9
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds double, ptr %35, i64 %306
  %308 = load double, ptr %307, align 8, !tbaa !11
  %309 = fmul double %304, %308
  %310 = call double @llvm.fmuladd.f64(double %296, double %300, double %309)
  store double %310, ptr %28, align 8, !tbaa !11
  %311 = load double, ptr %25, align 8, !tbaa !11
  %312 = load double, ptr %28, align 8, !tbaa !11
  %313 = fcmp olt double %311, %312
  br i1 %313, label %314, label %316

314:                                              ; preds = %292
  %315 = load i32, ptr %27, align 4, !tbaa !9
  br label %318

316:                                              ; preds = %292
  %317 = load i32, ptr %26, align 4, !tbaa !9
  br label %318

318:                                              ; preds = %316, %314
  %319 = phi i32 [ %315, %314 ], [ %317, %316 ]
  store i32 %319, ptr %26, align 4, !tbaa !9
  %320 = load double, ptr %25, align 8, !tbaa !11
  %321 = load double, ptr %28, align 8, !tbaa !11
  %322 = fcmp olt double %320, %321
  br i1 %322, label %323, label %325

323:                                              ; preds = %318
  %324 = load double, ptr %28, align 8, !tbaa !11
  br label %327

325:                                              ; preds = %318
  %326 = load double, ptr %25, align 8, !tbaa !11
  br label %327

327:                                              ; preds = %325, %323
  %328 = phi double [ %324, %323 ], [ %326, %325 ]
  store double %328, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %329

329:                                              ; preds = %327
  %330 = load i32, ptr %27, align 4, !tbaa !9
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %27, align 4, !tbaa !9
  br label %287, !llvm.loop !20

332:                                              ; preds = %291
  %333 = load i32, ptr %26, align 4, !tbaa !9
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds double, ptr %35, i64 %334
  %336 = load double, ptr %335, align 8, !tbaa !11
  %337 = load i32, ptr %26, align 4, !tbaa !9
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds double, ptr %32, i64 %338
  %340 = load double, ptr %339, align 8, !tbaa !11
  %341 = call double @atan2(double noundef %336, double noundef %340) #8
  %342 = fptrunc double %341 to float
  store i32 1, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #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 @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  %343 = load ptr, ptr %11, align 8
  call void @llvm.stackrestore.p0(ptr %343)
  ret float %342
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z5haarXP13imageIntegraliii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z5haarYP13imageIntegraliii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5atan2IllEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i64 noundef, i64 noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z8gaussianddd(double noundef, double noundef, double noundef) #6

; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #7

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { inlinehint 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 #6 = { 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 #7 = { 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 #8 = { 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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}


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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z14getOrientationP13imageIntegraliiid(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, double noundef %4) local_unnamed_addr #1 {
  %6 = zext i32 %3 to i64
  %7 = alloca double, i64 %6, align 16
  %8 = alloca double, i64 %6, align 16
  %9 = alloca double, i64 %6, align 16
  %10 = alloca double, i64 %6, align 16
  %11 = sext i32 %3 to i64
  %12 = shl nsw i64 %11, 3
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %9, i8 0, i64 %12, i1 false)
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %10, i8 0, i64 %12, i1 false)
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %7, i8 0, i64 %12, i1 false)
  call void @llvm.memset.p0.i64(ptr nonnull align 16 %8, i8 0, i64 %12, i1 false)
  %13 = sitofp i32 %1 to double
  %14 = sitofp i32 %2 to double
  %15 = fmul double %4, 2.000000e+00
  %16 = sitofp i32 %3 to double
  br label %.preheader108

.preheader108:                                    ; preds = %5, %28
  %.0110 = phi i32 [ -6, %5 ], [ %29, %28 ]
  %17 = mul nsw i32 %.0110, %.0110
  %18 = sitofp i32 %.0110 to double
  %19 = tail call double @llvm.fmuladd.f64(double %4, double %18, double %13)
  %20 = fptosi double %19 to i32
  br label %30

.preheader:                                       ; preds = %28
  %21 = icmp sgt i32 %3, 0
  br i1 %21, label %.lr.ph114, label %._crit_edge115.thread

._crit_edge115.thread:                            ; preds = %.preheader
  %22 = load double, ptr %7, align 16, !tbaa !5
  %23 = load double, ptr %8, align 16, !tbaa !5
  br label %._crit_edge121

.lr.ph114:                                        ; preds = %.preheader
  %24 = udiv i32 %3, 12
  %.neg = sub nsw i32 0, %24
  %25 = udiv i32 %3, 12
  %26 = sext i32 %.neg to i64
  %27 = add nuw nsw i32 %25, 1
  %invariant.gep138 = getelementptr double, ptr %9, i64 %11
  %invariant.gep = getelementptr double, ptr %10, i64 %11
  br label %.lr.ph

28:                                               ; preds = %59
  %29 = add nsw i32 %.0110, 1
  %exitcond123.not = icmp eq i32 %29, 7
  br i1 %exitcond123.not, label %.preheader, label %.preheader108, !llvm.loop !9

30:                                               ; preds = %.preheader108, %59
  %.0105109 = phi i32 [ -6, %.preheader108 ], [ %60, %59 ]
  %31 = mul nsw i32 %.0105109, %.0105109
  %32 = add nuw nsw i32 %31, %17
  %33 = icmp ult i32 %32, 37
  br i1 %33, label %34, label %59

34:                                               ; preds = %30
  %35 = sitofp i32 %.0105109 to double
  %36 = tail call double @llvm.fmuladd.f64(double %4, double %35, double %14)
  %37 = fptosi double %36 to i32
  %38 = tail call noundef i32 @_Z6froundd(double noundef %15)
  %39 = tail call noundef i64 @_Z5haarXP13imageIntegraliii(ptr noundef %0, i32 noundef %20, i32 noundef %37, i32 noundef %38)
  %40 = tail call noundef i32 @_Z6froundd(double noundef %15)
  %41 = tail call noundef i64 @_Z5haarYP13imageIntegraliii(ptr noundef %0, i32 noundef %20, i32 noundef %37, i32 noundef %40)
  %42 = tail call noundef double @_ZSt5atan2IllEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i64 noundef %41, i64 noundef %39)
  %43 = fmul double %42, %16
  %44 = fdiv double %43, 0x401921FB54442D18
  %45 = fptosi double %44 to i32
  %46 = icmp slt i32 %45, 0
  %47 = select i1 %46, i32 %3, i32 0
  %48 = add nsw i32 %47, %45
  %49 = tail call noundef double @_Z8gaussianddd(double noundef %18, double noundef %35, double noundef 2.000000e+00)
  %50 = sitofp i64 %39 to double
  %51 = sext i32 %48 to i64
  %52 = getelementptr inbounds double, ptr %9, i64 %51
  %53 = load double, ptr %52, align 8, !tbaa !5
  %54 = tail call double @llvm.fmuladd.f64(double %50, double %49, double %53)
  store double %54, ptr %52, align 8, !tbaa !5
  %55 = sitofp i64 %41 to double
  %56 = getelementptr inbounds double, ptr %10, i64 %51
  %57 = load double, ptr %56, align 8, !tbaa !5
  %58 = tail call double @llvm.fmuladd.f64(double %55, double %49, double %57)
  store double %58, ptr %56, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %30, %34
  %60 = add nsw i32 %.0105109, 1
  %exitcond.not = icmp eq i32 %60, 7
  br i1 %exitcond.not, label %28, label %30, !llvm.loop !11

._crit_edge115:                                   ; preds = %._crit_edge
  %61 = load double, ptr %7, align 16, !tbaa !5
  %62 = load double, ptr %8, align 16, !tbaa !5
  %.not = icmp eq i32 %3, 1
  br i1 %.not, label %._crit_edge121, label %.lr.ph120.preheader

.lr.ph120.preheader:                              ; preds = %._crit_edge115
  %63 = fmul double %62, %62
  %64 = tail call double @llvm.fmuladd.f64(double %61, double %61, double %63)
  %65 = add nsw i64 %6, -1
  %xtraiter = and i64 %65, 1
  %66 = icmp eq i32 %3, 2
  br i1 %66, label %._crit_edge121.loopexit.unr-lcssa, label %.lr.ph120.preheader.new

.lr.ph120.preheader.new:                          ; preds = %.lr.ph120.preheader
  %unroll_iter = and i64 %65, -2
  br label %.lr.ph120

.lr.ph:                                           ; preds = %.lr.ph114, %._crit_edge
  %indvars.iv126 = phi i64 [ 0, %.lr.ph114 ], [ %indvars.iv.next127, %._crit_edge ]
  %67 = getelementptr inbounds double, ptr %7, i64 %indvars.iv126
  %68 = getelementptr inbounds double, ptr %8, i64 %indvars.iv126
  %gep139 = getelementptr double, ptr %invariant.gep138, i64 %indvars.iv126
  %.promoted = load double, ptr %68, align 8, !tbaa !5
  br label %69

._crit_edge:                                      ; preds = %93
  store double %95, ptr %68, align 8, !tbaa !5
  %indvars.iv.next127 = add nuw nsw i64 %indvars.iv126, 1
  %exitcond129.not = icmp eq i64 %indvars.iv.next127, %6
  br i1 %exitcond129.not, label %._crit_edge115, label %.lr.ph, !llvm.loop !12

69:                                               ; preds = %.lr.ph, %93
  %70 = phi double [ %.promoted, %.lr.ph ], [ %95, %93 ]
  %indvars.iv = phi i64 [ %26, %.lr.ph ], [ %indvars.iv.next, %93 ]
  %71 = add nsw i64 %indvars.iv, %indvars.iv126
  %72 = trunc nsw i64 %71 to i32
  %or.cond = icmp ult i32 %72, %3
  br i1 %or.cond, label %73, label %79

73:                                               ; preds = %69
  %74 = getelementptr inbounds double, ptr %9, i64 %71
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = load double, ptr %67, align 8, !tbaa !5
  %77 = fadd double %75, %76
  store double %77, ptr %67, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %10, i64 %71
  br label %93

79:                                               ; preds = %69
  %80 = icmp slt i64 %71, 0
  br i1 %80, label %81, label %86

81:                                               ; preds = %79
  %82 = getelementptr double, ptr %gep139, i64 %indvars.iv
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = load double, ptr %67, align 8, !tbaa !5
  %85 = fadd double %83, %84
  store double %85, ptr %67, align 8, !tbaa !5
  %gep = getelementptr double, ptr %invariant.gep, i64 %71
  br label %93

86:                                               ; preds = %79
  %87 = sub nsw i64 %71, %11
  %88 = getelementptr inbounds double, ptr %9, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !5
  %90 = load double, ptr %67, align 8, !tbaa !5
  %91 = fadd double %89, %90
  store double %91, ptr %67, align 8, !tbaa !5
  %92 = getelementptr inbounds double, ptr %10, i64 %87
  br label %93

93:                                               ; preds = %73, %86, %81
  %.sink = phi ptr [ %78, %73 ], [ %92, %86 ], [ %gep, %81 ]
  %94 = load double, ptr %.sink, align 8, !tbaa !5
  %95 = fadd double %94, %70
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond125.not = icmp eq i32 %27, %lftr.wideiv
  br i1 %exitcond125.not, label %._crit_edge, label %69, !llvm.loop !13

._crit_edge121.loopexit.unr-lcssa:                ; preds = %.lr.ph120, %.lr.ph120.preheader
  %.lcssa.ph = phi i32 [ poison, %.lr.ph120.preheader ], [ %127, %.lr.ph120 ]
  %indvars.iv130.unr = phi i64 [ 1, %.lr.ph120.preheader ], [ %indvars.iv.next131.1, %.lr.ph120 ]
  %.0101117.unr = phi i32 [ 0, %.lr.ph120.preheader ], [ %127, %.lr.ph120 ]
  %.0102116.unr = phi double [ %64, %.lr.ph120.preheader ], [ %128, %.lr.ph120 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge121.loopexit, label %.lr.ph120.epil

.lr.ph120.epil:                                   ; preds = %._crit_edge121.loopexit.unr-lcssa
  %96 = getelementptr inbounds double, ptr %7, i64 %indvars.iv130.unr
  %97 = load double, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds double, ptr %8, i64 %indvars.iv130.unr
  %99 = load double, ptr %98, align 8, !tbaa !5
  %100 = fmul double %99, %99
  %101 = tail call double @llvm.fmuladd.f64(double %97, double %97, double %100)
  %102 = fcmp olt double %.0102116.unr, %101
  %103 = trunc nuw nsw i64 %indvars.iv130.unr to i32
  %104 = select i1 %102, i32 %103, i32 %.0101117.unr
  br label %._crit_edge121.loopexit

._crit_edge121.loopexit:                          ; preds = %._crit_edge121.loopexit.unr-lcssa, %.lr.ph120.epil
  %.lcssa = phi i32 [ %.lcssa.ph, %._crit_edge121.loopexit.unr-lcssa ], [ %104, %.lr.ph120.epil ]
  %.phi.trans.insert = sext i32 %.lcssa to i64
  %.phi.trans.insert135 = getelementptr inbounds double, ptr %8, i64 %.phi.trans.insert
  %.pre = load double, ptr %.phi.trans.insert135, align 8, !tbaa !5
  %.phi.trans.insert136 = getelementptr inbounds double, ptr %7, i64 %.phi.trans.insert
  %.pre137 = load double, ptr %.phi.trans.insert136, align 8, !tbaa !5
  br label %._crit_edge121

._crit_edge121:                                   ; preds = %._crit_edge115, %._crit_edge115.thread, %._crit_edge121.loopexit
  %105 = phi double [ %.pre137, %._crit_edge121.loopexit ], [ %22, %._crit_edge115.thread ], [ %61, %._crit_edge115 ]
  %106 = phi double [ %.pre, %._crit_edge121.loopexit ], [ %23, %._crit_edge115.thread ], [ %62, %._crit_edge115 ]
  %107 = tail call double @atan2(double noundef %106, double noundef %105) #6
  %108 = fptrunc double %107 to float
  ret float %108

.lr.ph120:                                        ; preds = %.lr.ph120, %.lr.ph120.preheader.new
  %indvars.iv130 = phi i64 [ 1, %.lr.ph120.preheader.new ], [ %indvars.iv.next131.1, %.lr.ph120 ]
  %.0101117 = phi i32 [ 0, %.lr.ph120.preheader.new ], [ %127, %.lr.ph120 ]
  %.0102116 = phi double [ %64, %.lr.ph120.preheader.new ], [ %128, %.lr.ph120 ]
  %niter = phi i64 [ 0, %.lr.ph120.preheader.new ], [ %niter.next.1, %.lr.ph120 ]
  %109 = getelementptr inbounds double, ptr %7, i64 %indvars.iv130
  %110 = load double, ptr %109, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %8, i64 %indvars.iv130
  %112 = load double, ptr %111, align 8, !tbaa !5
  %113 = fmul double %112, %112
  %114 = tail call double @llvm.fmuladd.f64(double %110, double %110, double %113)
  %115 = fcmp olt double %.0102116, %114
  %116 = trunc nuw nsw i64 %indvars.iv130 to i32
  %117 = select i1 %115, i32 %116, i32 %.0101117
  %118 = select i1 %115, double %114, double %.0102116
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %119 = getelementptr inbounds double, ptr %7, i64 %indvars.iv.next131
  %120 = load double, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds double, ptr %8, i64 %indvars.iv.next131
  %122 = load double, ptr %121, align 8, !tbaa !5
  %123 = fmul double %122, %122
  %124 = tail call double @llvm.fmuladd.f64(double %120, double %120, double %123)
  %125 = fcmp olt double %118, %124
  %126 = trunc nuw nsw i64 %indvars.iv.next131 to i32
  %127 = select i1 %125, i32 %126, i32 %117
  %128 = select i1 %125, double %124, double %118
  %indvars.iv.next131.1 = add nuw nsw i64 %indvars.iv130, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge121.loopexit.unr-lcssa, label %.lr.ph120, !llvm.loop !14
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z5haarXP13imageIntegraliii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_Z5haarYP13imageIntegraliii(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5atan2IllEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_Z8gaussianddd(double noundef, double noundef, double noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan2(double noundef, double noundef) local_unnamed_addr #5

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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