; LLVM IR from sp-nitech/SPTK :: third_party/WORLD/synthesis.ll (ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd)

; 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.sptk::world::RandnState" = type { i32, i32, i32, i32 }
%"struct.sptk::world::MinimumPhaseAnalysis" = type { i32, ptr, ptr, ptr, %"struct.sptk::world::fft_plan", %"struct.sptk::world::fft_plan" }
%"struct.sptk::world::fft_plan" = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.sptk::world::InverseRealFFT" = type { i32, ptr, ptr, %"struct.sptk::world::fft_plan" }
%"struct.sptk::world::ForwardRealFFT" = type { i32, ptr, ptr, %"struct.sptk::world::fft_plan" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.sptk::world::RandnState", align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"struct.sptk::world::MinimumPhaseAnalysis", align 8
  %23 = alloca %"struct.sptk::world::InverseRealFFT", align 8
  %24 = alloca %"struct.sptk::world::ForwardRealFFT", align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store i32 %4, ptr %14, align 4, !tbaa !9
  store double %5, ptr %15, align 8, !tbaa !11
  store i32 %6, ptr %16, align 4, !tbaa !9
  store i32 %7, ptr %17, align 4, !tbaa !9
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #9
  call void @llvm.memset.p0.i64(ptr align 4 %19, i8 0, i64 16, i1 false)
  call void @_ZN4sptk5world12randn_reseedEPNS0_10RandnStateE(ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %39 = load i32, ptr %14, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %40, i64 8)
  %42 = extractvalue { i64, i1 } %41, 1
  %43 = extractvalue { i64, i1 } %41, 0
  %44 = select i1 %42, i64 -1, i64 %43
  %45 = call noalias noundef nonnull ptr @_Znam(i64 noundef %44) #10
  store ptr %45, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %56, %9
  %47 = load i32, ptr %21, align 4, !tbaa !9
  %48 = load i32, ptr %17, align 4, !tbaa !9
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  br label %59

51:                                               ; preds = %46
  %52 = load ptr, ptr %18, align 8, !tbaa !5
  %53 = load i32, ptr %21, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %52, i64 %54
  store double 0.000000e+00, ptr %55, align 8, !tbaa !11
  br label %56

56:                                               ; preds = %51
  %57 = load i32, ptr %21, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %21, align 4, !tbaa !9
  br label %46, !llvm.loop !13

59:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 176, ptr %22) #9
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 176, i1 false)
  %60 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN4sptk5world30InitializeMinimumPhaseAnalysisEiPNS0_20MinimumPhaseAnalysisE(i32 noundef %60, ptr noundef %22)
  call void @llvm.lifetime.start.p0(i64 96, ptr %23) #9
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 96, i1 false)
  %61 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN4sptk5world24InitializeInverseRealFFTEiPNS0_14InverseRealFFTE(i32 noundef %61, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 96, ptr %24) #9
  call void @llvm.memset.p0.i64(ptr align 8 %24, i8 0, i64 96, i1 false)
  %62 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef %62, ptr noundef %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  %63 = load i32, ptr %17, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %64, i64 8)
  %66 = extractvalue { i64, i1 } %65, 1
  %67 = extractvalue { i64, i1 } %65, 0
  %68 = select i1 %66, i64 -1, i64 %67
  %69 = call noalias noundef nonnull ptr @_Znam(i64 noundef %68) #10
  store ptr %69, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %70 = load i32, ptr %17, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %71, i64 4)
  %73 = extractvalue { i64, i1 } %72, 1
  %74 = extractvalue { i64, i1 } %72, 0
  %75 = select i1 %73, i64 -1, i64 %74
  %76 = call noalias noundef nonnull ptr @_Znam(i64 noundef %75) #10
  store ptr %76, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %77 = load i32, ptr %17, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %78, i64 8)
  %80 = extractvalue { i64, i1 } %79, 1
  %81 = extractvalue { i64, i1 } %79, 0
  %82 = select i1 %80, i64 -1, i64 %81
  %83 = call noalias noundef nonnull ptr @_Znam(i64 noundef %82) #10
  store ptr %83, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %84 = load i32, ptr %17, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %85, i64 8)
  %87 = extractvalue { i64, i1 } %86, 1
  %88 = extractvalue { i64, i1 } %86, 0
  %89 = select i1 %87, i64 -1, i64 %88
  %90 = call noalias noundef nonnull ptr @_Znam(i64 noundef %89) #10
  store ptr %90, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %91 = load ptr, ptr %10, align 8, !tbaa !5
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = load double, ptr %15, align 8, !tbaa !11
  %95 = fdiv double %94, 1.000000e+03
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = sdiv i32 %97, %98
  %100 = sitofp i32 %99 to double
  %101 = fadd double %100, 1.000000e+00
  %102 = load ptr, ptr %25, align 8, !tbaa !5
  %103 = load ptr, ptr %26, align 8, !tbaa !5
  %104 = load ptr, ptr %27, align 8, !tbaa !5
  %105 = load ptr, ptr %28, align 8, !tbaa !5
  %106 = call noundef i32 @_ZN4sptk5world12_GLOBAL__N_111GetTimeBaseEPKdiididPdPiS4_S4_(ptr noundef %91, i32 noundef %92, i32 noundef %93, double noundef %95, i32 noundef %96, double noundef %101, ptr noundef %102, ptr noundef %103, ptr noundef %104, ptr noundef %105)
  store i32 %106, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %108, i64 8)
  %110 = extractvalue { i64, i1 } %109, 1
  %111 = extractvalue { i64, i1 } %109, 0
  %112 = select i1 %110, i64 -1, i64 %111
  %113 = call noalias noundef nonnull ptr @_Znam(i64 noundef %112) #10
  store ptr %113, ptr %30, align 8, !tbaa !5
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = load ptr, ptr %30, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_112GetDCRemoverEiPd(i32 noundef %114, ptr noundef %115)
  %116 = load double, ptr %15, align 8, !tbaa !11
  %117 = fdiv double %116, 1.000000e+03
  store double %117, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %209, %59
  %119 = load i32, ptr %36, align 4, !tbaa !9
  %120 = load i32, ptr %29, align 4, !tbaa !9
  %121 = icmp slt i32 %119, %120
  br i1 %121, label %123, label %122

122:                                              ; preds = %118
  store i32 5, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %212

123:                                              ; preds = %118
  %124 = load ptr, ptr %26, align 8, !tbaa !5
  %125 = load i32, ptr %29, align 4, !tbaa !9
  %126 = sub nsw i32 %125, 1
  %127 = load i32, ptr %36, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  %129 = call noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef %126, i32 noundef %128)
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %124, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !9
  %133 = load ptr, ptr %26, align 8, !tbaa !5
  %134 = load i32, ptr %36, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds i32, ptr %133, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !9
  %138 = sub nsw i32 %132, %137
  store i32 %138, ptr %31, align 4, !tbaa !9
  %139 = load ptr, ptr %28, align 8, !tbaa !5
  %140 = load ptr, ptr %26, align 8, !tbaa !5
  %141 = load i32, ptr %36, align 4, !tbaa !9
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %140, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %139, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !11
  %148 = load i32, ptr %31, align 4, !tbaa !9
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = load i32, ptr %11, align 4, !tbaa !9
  %153 = load double, ptr %15, align 8, !tbaa !11
  %154 = load ptr, ptr %25, align 8, !tbaa !5
  %155 = load i32, ptr %36, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %154, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !11
  %159 = load ptr, ptr %27, align 8, !tbaa !5
  %160 = load i32, ptr %36, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !11
  %164 = load i32, ptr %16, align 4, !tbaa !9
  %165 = load ptr, ptr %30, align 8, !tbaa !5
  %166 = load ptr, ptr %20, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_118GetOneFrameSegmentEdiPKPKdiS5_idddiPKNS0_14ForwardRealFFTEPKNS0_14InverseRealFFTEPKNS0_20MinimumPhaseAnalysisES3_PdPNS0_10RandnStateE(double noundef %147, i32 noundef %148, ptr noundef %149, i32 noundef %150, ptr noundef %151, i32 noundef %152, double noundef %153, double noundef %158, double noundef %163, i32 noundef %164, ptr noundef %24, ptr noundef %23, ptr noundef %22, ptr noundef %165, ptr noundef %166, ptr noundef %19)
  %167 = load ptr, ptr %26, align 8, !tbaa !5
  %168 = load i32, ptr %36, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds i32, ptr %167, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !9
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = sdiv i32 %172, 2
  %174 = sub nsw i32 %171, %173
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %33, align 4, !tbaa !9
  %176 = load i32, ptr %33, align 4, !tbaa !9
  %177 = sub nsw i32 0, %176
  %178 = call noundef i32 @_ZN4sptk5world8MyMaxIntEii(i32 noundef 0, i32 noundef %177)
  store i32 %178, ptr %34, align 4, !tbaa !9
  %179 = load i32, ptr %14, align 4, !tbaa !9
  %180 = load i32, ptr %17, align 4, !tbaa !9
  %181 = load i32, ptr %33, align 4, !tbaa !9
  %182 = sub nsw i32 %180, %181
  %183 = call noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef %179, i32 noundef %182)
  store i32 %183, ptr %35, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %184 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %184, ptr %38, align 4, !tbaa !9
  br label %185

185:                                              ; preds = %205, %123
  %186 = load i32, ptr %38, align 4, !tbaa !9
  %187 = load i32, ptr %35, align 4, !tbaa !9
  %188 = icmp slt i32 %186, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 8, ptr %37, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %208

190:                                              ; preds = %185
  %191 = load i32, ptr %38, align 4, !tbaa !9
  %192 = load i32, ptr %33, align 4, !tbaa !9
  %193 = add nsw i32 %191, %192
  store i32 %193, ptr %32, align 4, !tbaa !9
  %194 = load ptr, ptr %20, align 8, !tbaa !5
  %195 = load i32, ptr %38, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds double, ptr %194, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !11
  %199 = load ptr, ptr %18, align 8, !tbaa !5
  %200 = load i32, ptr %32, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds double, ptr %199, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !11
  %204 = fadd double %203, %198
  store double %204, ptr %202, align 8, !tbaa !11
  br label %205

205:                                              ; preds = %190
  %206 = load i32, ptr %38, align 4, !tbaa !9
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %38, align 4, !tbaa !9
  br label %185, !llvm.loop !15

208:                                              ; preds = %189
  br label %209

209:                                              ; preds = %208
  %210 = load i32, ptr %36, align 4, !tbaa !9
  %211 = add nsw i32 %210, 1
  store i32 %211, ptr %36, align 4, !tbaa !9
  br label %118, !llvm.loop !16

212:                                              ; preds = %122
  %213 = load ptr, ptr %30, align 8, !tbaa !5
  %214 = icmp eq ptr %213, null
  br i1 %214, label %216, label %215

215:                                              ; preds = %212
  call void @_ZdaPv(ptr noundef %213) #11
  br label %216

216:                                              ; preds = %215, %212
  %217 = load ptr, ptr %25, align 8, !tbaa !5
  %218 = icmp eq ptr %217, null
  br i1 %218, label %220, label %219

219:                                              ; preds = %216
  call void @_ZdaPv(ptr noundef %217) #11
  br label %220

220:                                              ; preds = %219, %216
  %221 = load ptr, ptr %26, align 8, !tbaa !5
  %222 = icmp eq ptr %221, null
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  call void @_ZdaPv(ptr noundef %221) #11
  br label %224

224:                                              ; preds = %223, %220
  %225 = load ptr, ptr %27, align 8, !tbaa !5
  %226 = icmp eq ptr %225, null
  br i1 %226, label %228, label %227

227:                                              ; preds = %224
  call void @_ZdaPv(ptr noundef %225) #11
  br label %228

228:                                              ; preds = %227, %224
  %229 = load ptr, ptr %28, align 8, !tbaa !5
  %230 = icmp eq ptr %229, null
  br i1 %230, label %232, label %231

231:                                              ; preds = %228
  call void @_ZdaPv(ptr noundef %229) #11
  br label %232

232:                                              ; preds = %231, %228
  call void @_ZN4sptk5world27DestroyMinimumPhaseAnalysisEPNS0_20MinimumPhaseAnalysisE(ptr noundef %22)
  call void @_ZN4sptk5world21DestroyInverseRealFFTEPNS0_14InverseRealFFTE(ptr noundef %23)
  call void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef %24)
  %233 = load ptr, ptr %20, align 8, !tbaa !5
  %234 = icmp eq ptr %233, null
  br i1 %234, label %236, label %235

235:                                              ; preds = %232
  call void @_ZdaPv(ptr noundef %233) #11
  br label %236

236:                                              ; preds = %235, %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 96, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 176, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #9
  ret void
}

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

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

declare void @_ZN4sptk5world12randn_reseedEPNS0_10RandnStateE(ptr noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

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

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

declare void @_ZN4sptk5world30InitializeMinimumPhaseAnalysisEiPNS0_20MinimumPhaseAnalysisE(i32 noundef, ptr noundef) #3

declare void @_ZN4sptk5world24InitializeInverseRealFFTEiPNS0_14InverseRealFFTE(i32 noundef, ptr noundef) #3

declare void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN4sptk5world12_GLOBAL__N_111GetTimeBaseEPKdiididPdPiS4_S4_(ptr noundef, i32 noundef, i32 noundef, double noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_112GetDCRemoverEiPd(i32 noundef, ptr noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_118GetOneFrameSegmentEdiPKPKdiS5_idddiPKNS0_14ForwardRealFFTEPKNS0_14InverseRealFFTEPKNS0_20MinimumPhaseAnalysisES3_PdPNS0_10RandnStateE(double noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4sptk5world8MyMaxIntEii(i32 noundef, i32 noundef) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #8

declare void @_ZN4sptk5world27DestroyMinimumPhaseAnalysisEPNS0_20MinimumPhaseAnalysisE(ptr noundef) #3

declare void @_ZN4sptk5world21DestroyInverseRealFFTEPNS0_14InverseRealFFTE(ptr noundef) #3

declare void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef) #3

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { 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 = { 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 #8 = { 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 #9 = { nounwind }
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 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

%"struct.sptk::world::RandnState" = type { i32, i32, i32, i32 }
%"struct.sptk::world::MinimumPhaseAnalysis" = type { i32, ptr, ptr, ptr, %"struct.sptk::world::fft_plan", %"struct.sptk::world::fft_plan" }
%"struct.sptk::world::fft_plan" = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.sptk::world::InverseRealFFT" = type { i32, ptr, ptr, %"struct.sptk::world::fft_plan" }
%"struct.sptk::world::ForwardRealFFT" = type { i32, ptr, ptr, %"struct.sptk::world::fft_plan" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk5world9SynthesisEPKdiPKS2_S4_idiiPd(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5, i32 noundef %6, i32 noundef %7, ptr nocapture noundef %8) local_unnamed_addr #0 {
  %10 = alloca %"struct.sptk::world::RandnState", align 4
  %11 = alloca %"struct.sptk::world::MinimumPhaseAnalysis", align 8
  %12 = alloca %"struct.sptk::world::InverseRealFFT", align 8
  %13 = alloca %"struct.sptk::world::ForwardRealFFT", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %10, i8 0, i64 16, i1 false)
  call void @_ZN4sptk5world12randn_reseedEPNS0_10RandnStateE(ptr noundef nonnull %10)
  %14 = zext nneg i32 %4 to i64
  %15 = icmp slt i32 %4, 0
  %16 = shl nuw nsw i64 %14, 3
  %17 = select i1 %15, i64 -1, i64 %16
  %18 = call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #9
  %19 = icmp sgt i32 %7, 0
  br i1 %19, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %9
  %20 = zext nneg i32 %7 to i64
  %21 = shl nuw nsw i64 %20, 3
  call void @llvm.memset.p0.i64(ptr align 8 %8, i8 0, i64 %21, i1 false), !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %9
  call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %11) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %11, i8 0, i64 176, i1 false)
  call void @_ZN4sptk5world30InitializeMinimumPhaseAnalysisEiPNS0_20MinimumPhaseAnalysisE(i32 noundef %4, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %12, i8 0, i64 96, i1 false)
  call void @_ZN4sptk5world24InitializeInverseRealFFTEiPNS0_14InverseRealFFTE(i32 noundef %4, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %13) #8
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %13, i8 0, i64 96, i1 false)
  call void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef %4, ptr noundef nonnull %13)
  %22 = sext i32 %7 to i64
  %23 = icmp slt i32 %7, 0
  %24 = shl nsw i64 %22, 3
  %25 = select i1 %23, i64 -1, i64 %24
  %26 = call noalias noundef nonnull ptr @_Znam(i64 noundef %25) #9
  %27 = shl nsw i64 %22, 2
  %28 = select i1 %23, i64 -1, i64 %27
  %29 = call noalias noundef nonnull ptr @_Znam(i64 noundef %28) #9
  %30 = call noalias noundef nonnull ptr @_Znam(i64 noundef %25) #9
  %31 = call noalias noundef nonnull ptr @_Znam(i64 noundef %25) #9
  %32 = fdiv double %5, 1.000000e+03
  %33 = sdiv i32 %6, %4
  %34 = sitofp i32 %33 to double
  %35 = fadd double %34, 1.000000e+00
  %36 = call noundef i32 @_ZN4sptk5world12_GLOBAL__N_111GetTimeBaseEPKdiididPdPiS4_S4_(ptr noundef %0, i32 noundef %1, i32 noundef %6, double noundef %32, i32 noundef %7, double noundef %35, ptr noundef nonnull %26, ptr noundef nonnull %29, ptr noundef nonnull %30, ptr noundef nonnull %31)
  %37 = call noalias noundef nonnull ptr @_Znam(i64 noundef %17) #9
  call void @_ZN4sptk5world12_GLOBAL__N_112GetDCRemoverEiPd(i32 noundef %4, ptr noundef nonnull %37)
  %38 = icmp sgt i32 %36, 0
  br i1 %38, label %.lr.ph84, label %._crit_edge85

.lr.ph84:                                         ; preds = %._crit_edge
  %39 = add nsw i32 %36, -1
  %.neg = sdiv i32 %4, -2
  %wide.trip.count91 = zext nneg i32 %36 to i64
  br label %40

.loopexit:                                        ; preds = %.lr.ph81, %middle.block, %40
  %exitcond92.not = icmp eq i64 %indvars.iv.next89, %wide.trip.count91
  br i1 %exitcond92.not, label %._crit_edge85, label %40, !llvm.loop !9

40:                                               ; preds = %.lr.ph84, %.loopexit
  %indvars.iv88 = phi i64 [ 0, %.lr.ph84 ], [ %indvars.iv.next89, %.loopexit ]
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %41 = trunc nuw nsw i64 %indvars.iv.next89 to i32
  %42 = call noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef %39, i32 noundef %41)
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds i32, ptr %29, i64 %43
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = getelementptr inbounds i32, ptr %29, i64 %indvars.iv88
  %47 = load i32, ptr %46, align 4, !tbaa !11
  %48 = sub nsw i32 %45, %47
  %49 = sext i32 %47 to i64
  %50 = getelementptr inbounds double, ptr %31, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !5
  %52 = getelementptr inbounds double, ptr %26, i64 %indvars.iv88
  %53 = load double, ptr %52, align 8, !tbaa !5
  %54 = getelementptr inbounds double, ptr %30, i64 %indvars.iv88
  %55 = load double, ptr %54, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_118GetOneFrameSegmentEdiPKPKdiS5_idddiPKNS0_14ForwardRealFFTEPKNS0_14InverseRealFFTEPKNS0_20MinimumPhaseAnalysisES3_PdPNS0_10RandnStateE(double noundef %51, i32 noundef %48, ptr noundef %2, i32 noundef %4, ptr noundef %3, i32 noundef %1, double noundef %32, double noundef %53, double noundef %55, i32 noundef %6, ptr noundef nonnull %13, ptr noundef nonnull %12, ptr noundef nonnull %11, ptr noundef nonnull %37, ptr noundef nonnull %18, ptr noundef nonnull %10)
  %56 = load i32, ptr %46, align 4, !tbaa !11
  %57 = add i32 %56, %.neg
  %58 = add nsw i32 %57, 1
  %59 = xor i32 %57, -1
  %60 = call noundef i32 @_ZN4sptk5world8MyMaxIntEii(i32 noundef 0, i32 noundef %59)
  %61 = sub nsw i32 %7, %58
  %62 = call noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef %4, i32 noundef %61)
  %63 = icmp slt i32 %60, %62
  br i1 %63, label %.lr.ph81.preheader, label %.loopexit

.lr.ph81.preheader:                               ; preds = %40
  %64 = sext i32 %60 to i64
  %65 = sext i32 %58 to i64
  %wide.trip.count = sext i32 %62 to i64
  %invariant.gep = getelementptr double, ptr %8, i64 %65
  %66 = sub nsw i64 %wide.trip.count, %64
  %min.iters.check = icmp ult i64 %66, 4
  br i1 %min.iters.check, label %.lr.ph81.preheader96, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph81.preheader
  %n.vec = and i64 %66, -4
  %ind.end = add nsw i64 %n.vec, %64
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %64
  %67 = getelementptr inbounds double, ptr %18, i64 %offset.idx
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  %wide.load = load <2 x double>, ptr %67, align 8, !tbaa !5
  %wide.load93 = load <2 x double>, ptr %68, align 8, !tbaa !5
  %69 = getelementptr double, ptr %invariant.gep, i64 %offset.idx
  %70 = getelementptr i8, ptr %69, i64 16
  %wide.load94 = load <2 x double>, ptr %69, align 8, !tbaa !5
  %wide.load95 = load <2 x double>, ptr %70, align 8, !tbaa !5
  %71 = fadd <2 x double> %wide.load, %wide.load94
  %72 = fadd <2 x double> %wide.load93, %wide.load95
  store <2 x double> %71, ptr %69, align 8, !tbaa !5
  store <2 x double> %72, ptr %70, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %73 = icmp eq i64 %index.next, %n.vec
  br i1 %73, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %66, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph81.preheader96

.lr.ph81.preheader96:                             ; preds = %middle.block, %.lr.ph81.preheader
  %indvars.iv.ph = phi i64 [ %64, %.lr.ph81.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph81

.lr.ph81:                                         ; preds = %.lr.ph81.preheader96, %.lr.ph81
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph81 ], [ %indvars.iv.ph, %.lr.ph81.preheader96 ]
  %74 = getelementptr inbounds double, ptr %18, i64 %indvars.iv
  %75 = load double, ptr %74, align 8, !tbaa !5
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv
  %76 = load double, ptr %gep, align 8, !tbaa !5
  %77 = fadd double %75, %76
  store double %77, ptr %gep, align 8, !tbaa !5
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph81, !llvm.loop !16

._crit_edge85:                                    ; preds = %.loopexit, %._crit_edge
  call void @_ZdaPv(ptr noundef nonnull %37) #10
  call void @_ZdaPv(ptr noundef nonnull %26) #10
  call void @_ZdaPv(ptr noundef nonnull %29) #10
  call void @_ZdaPv(ptr noundef nonnull %30) #10
  call void @_ZdaPv(ptr noundef nonnull %31) #10
  call void @_ZN4sptk5world27DestroyMinimumPhaseAnalysisEPNS0_20MinimumPhaseAnalysisE(ptr noundef nonnull %11)
  call void @_ZN4sptk5world21DestroyInverseRealFFTEPNS0_14InverseRealFFTE(ptr noundef nonnull %12)
  call void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef nonnull %13)
  call void @_ZdaPv(ptr noundef nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  ret void
}

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

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

declare void @_ZN4sptk5world12randn_reseedEPNS0_10RandnStateE(ptr noundef) local_unnamed_addr #3

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

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

declare void @_ZN4sptk5world30InitializeMinimumPhaseAnalysisEiPNS0_20MinimumPhaseAnalysisE(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN4sptk5world24InitializeInverseRealFFTEiPNS0_14InverseRealFFTE(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN4sptk5world12_GLOBAL__N_111GetTimeBaseEPKdiididPdPiS4_S4_(ptr noundef, i32 noundef, i32 noundef, double noundef, i32 noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_112GetDCRemoverEiPd(i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4sptk5world8MyMinIntEii(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_118GetOneFrameSegmentEdiPKPKdiS5_idddiPKNS0_14ForwardRealFFTEPKNS0_14InverseRealFFTEPKNS0_20MinimumPhaseAnalysisES3_PdPNS0_10RandnStateE(double noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, double noundef, double noundef, double noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4sptk5world8MyMaxIntEii(i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #7

declare void @_ZN4sptk5world27DestroyMinimumPhaseAnalysisEPNS0_20MinimumPhaseAnalysisE(ptr noundef) local_unnamed_addr #3

declare void @_ZN4sptk5world21DestroyInverseRealFFTEPNS0_14InverseRealFFTE(ptr noundef) local_unnamed_addr #3

declare void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef) local_unnamed_addr #3

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #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 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !10, !15, !14}


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