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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk5world3D4CEPKdiiS2_S2_iiPKNS0_9D4COptionEPPd(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.sptk::world::RandnState", align 4
  %20 = alloca i32, align 4
  %21 = alloca %"struct.sptk::world::ForwardRealFFT", align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i32 %1, ptr %11, align 4, !tbaa !9
  store i32 %2, ptr %12, align 4, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store ptr %7, ptr %17, align 8, !tbaa !5
  store ptr %8, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #10
  call void @llvm.memset.p0.i64(ptr align 4 %19, i8 0, i64 16, i1 false)
  call void @_ZN4sptk5world12randn_reseedEPNS0_10RandnStateE(ptr noundef %19)
  %32 = load i32, ptr %15, align 4, !tbaa !9
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_122InitializeAperiodicityEiiPPd(i32 noundef %32, i32 noundef %33, ptr noundef %34)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = sitofp i32 %35 to double
  %37 = fmul double 4.000000e+00, %36
  %38 = fdiv double %37, 4.700000e+01
  %39 = fadd double %38, 1.000000e+00
  %40 = call double @log(double noundef %39) #10
  %41 = fdiv double %40, 0x3FE62E42FEFA39EF
  %42 = fptosi double %41 to i32
  %43 = sitofp i32 %42 to double
  %44 = fadd double 1.000000e+00, %43
  %45 = call double @pow(double noundef 2.000000e+00, double noundef %44) #10
  %46 = fptosi double %45 to i32
  store i32 %46, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 96, ptr %21) #10
  call void @llvm.memset.p0.i64(ptr align 8 %21, i8 0, i64 96, i1 false)
  %47 = load i32, ptr %20, align 4, !tbaa !9
  call void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef %47, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  %48 = load i32, ptr %12, align 4, !tbaa !9
  %49 = sitofp i32 %48 to double
  %50 = fdiv double %49, 2.000000e+00
  %51 = fsub double %50, 3.000000e+03
  %52 = call noundef double @_ZN4sptk5world11MyMinDoubleEdd(double noundef 1.500000e+04, double noundef %51)
  %53 = fdiv double %52, 3.000000e+03
  %54 = fptosi double %53 to i32
  store i32 %54, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  %55 = load i32, ptr %20, align 4, !tbaa !9
  %56 = sitofp i32 %55 to double
  %57 = fmul double 3.000000e+03, %56
  %58 = load i32, ptr %12, align 4, !tbaa !9
  %59 = sitofp i32 %58 to double
  %60 = fdiv double %57, %59
  %61 = fptosi double %60 to i32
  %62 = mul nsw i32 %61, 2
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %64 = load i32, ptr %23, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %65, i64 8)
  %67 = extractvalue { i64, i1 } %66, 1
  %68 = extractvalue { i64, i1 } %66, 0
  %69 = select i1 %67, i64 -1, i64 %68
  %70 = call noalias noundef nonnull ptr @_Znam(i64 noundef %69) #11
  store ptr %70, ptr %24, align 8, !tbaa !5
  %71 = load i32, ptr %23, align 4, !tbaa !9
  %72 = load ptr, ptr %24, align 8, !tbaa !5
  call void @_ZN4sptk5world13NuttallWindowEiPd(i32 noundef %71, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %73 = load i32, ptr %15, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %74, i64 8)
  %76 = extractvalue { i64, i1 } %75, 1
  %77 = extractvalue { i64, i1 } %75, 0
  %78 = select i1 %76, i64 -1, i64 %77
  %79 = call noalias noundef nonnull ptr @_Znam(i64 noundef %78) #11
  store ptr %79, ptr %25, align 8, !tbaa !5
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = load i32, ptr %11, align 4, !tbaa !9
  %83 = load ptr, ptr %14, align 8, !tbaa !5
  %84 = load i32, ptr %15, align 4, !tbaa !9
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = load ptr, ptr %25, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_112D4CLoveTrainEPKdiiS3_iS3_PdPNS0_10RandnStateE(ptr noundef %80, i32 noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %87 = load i32, ptr %22, align 4, !tbaa !9
  %88 = add nsw i32 %87, 2
  %89 = sext i32 %88 to i64
  %90 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %89, i64 8)
  %91 = extractvalue { i64, i1 } %90, 1
  %92 = extractvalue { i64, i1 } %90, 0
  %93 = select i1 %91, i64 -1, i64 %92
  %94 = call noalias noundef nonnull ptr @_Znam(i64 noundef %93) #11
  store ptr %94, ptr %26, align 8, !tbaa !5
  %95 = load ptr, ptr %26, align 8, !tbaa !5
  %96 = getelementptr inbounds double, ptr %95, i64 0
  store double -6.000000e+01, ptr %96, align 8, !tbaa !11
  %97 = load ptr, ptr %26, align 8, !tbaa !5
  %98 = load i32, ptr %22, align 4, !tbaa !9
  %99 = add nsw i32 %98, 1
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds double, ptr %97, i64 %100
  store double 0xBD719799812DEA11, ptr %101, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %102 = load i32, ptr %22, align 4, !tbaa !9
  %103 = add nsw i32 %102, 2
  %104 = sext i32 %103 to i64
  %105 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %104, i64 8)
  %106 = extractvalue { i64, i1 } %105, 1
  %107 = extractvalue { i64, i1 } %105, 0
  %108 = select i1 %106, i64 -1, i64 %107
  %109 = call noalias noundef nonnull ptr @_Znam(i64 noundef %108) #11
  store ptr %109, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %110

110:                                              ; preds = %123, %9
  %111 = load i32, ptr %28, align 4, !tbaa !9
  %112 = load i32, ptr %22, align 4, !tbaa !9
  %113 = icmp sle i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  br label %126

115:                                              ; preds = %110
  %116 = load i32, ptr %28, align 4, !tbaa !9
  %117 = sitofp i32 %116 to double
  %118 = fmul double %117, 3.000000e+03
  %119 = load ptr, ptr %27, align 8, !tbaa !5
  %120 = load i32, ptr %28, align 4, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds double, ptr %119, i64 %121
  store double %118, ptr %122, align 8, !tbaa !11
  br label %123

123:                                              ; preds = %115
  %124 = load i32, ptr %28, align 4, !tbaa !9
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %28, align 4, !tbaa !9
  br label %110, !llvm.loop !13

126:                                              ; preds = %114
  %127 = load i32, ptr %12, align 4, !tbaa !9
  %128 = sitofp i32 %127 to double
  %129 = fdiv double %128, 2.000000e+00
  %130 = load ptr, ptr %27, align 8, !tbaa !5
  %131 = load i32, ptr %22, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %130, i64 %133
  store double %129, ptr %134, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #10
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = sdiv i32 %135, 2
  %137 = add nsw i32 %136, 1
  %138 = sext i32 %137 to i64
  %139 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %138, i64 8)
  %140 = extractvalue { i64, i1 } %139, 1
  %141 = extractvalue { i64, i1 } %139, 0
  %142 = select i1 %140, i64 -1, i64 %141
  %143 = call noalias noundef nonnull ptr @_Znam(i64 noundef %142) #11
  store ptr %143, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  store i32 0, ptr %30, align 4, !tbaa !9
  br label %144

144:                                              ; preds = %163, %126
  %145 = load i32, ptr %30, align 4, !tbaa !9
  %146 = load i32, ptr %16, align 4, !tbaa !9
  %147 = sdiv i32 %146, 2
  %148 = icmp sle i32 %145, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  br label %166

150:                                              ; preds = %144
  %151 = load i32, ptr %30, align 4, !tbaa !9
  %152 = sitofp i32 %151 to double
  %153 = load i32, ptr %12, align 4, !tbaa !9
  %154 = sitofp i32 %153 to double
  %155 = fmul double %152, %154
  %156 = load i32, ptr %16, align 4, !tbaa !9
  %157 = sitofp i32 %156 to double
  %158 = fdiv double %155, %157
  %159 = load ptr, ptr %29, align 8, !tbaa !5
  %160 = load i32, ptr %30, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  store double %158, ptr %162, align 8, !tbaa !11
  br label %163

163:                                              ; preds = %150
  %164 = load i32, ptr %30, align 4, !tbaa !9
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %30, align 4, !tbaa !9
  br label %144, !llvm.loop !15

166:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  store i32 0, ptr %31, align 4, !tbaa !9
  br label %167

167:                                              ; preds = %221, %166
  %168 = load i32, ptr %31, align 4, !tbaa !9
  %169 = load i32, ptr %15, align 4, !tbaa !9
  %170 = icmp slt i32 %168, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %224

172:                                              ; preds = %167
  %173 = load ptr, ptr %14, align 8, !tbaa !5
  %174 = load i32, ptr %31, align 4, !tbaa !9
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds double, ptr %173, i64 %175
  %177 = load double, ptr %176, align 8, !tbaa !11
  %178 = fcmp oeq double %177, 0.000000e+00
  br i1 %178, label %189, label %179

179:                                              ; preds = %172
  %180 = load ptr, ptr %25, align 8, !tbaa !5
  %181 = load i32, ptr %31, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds double, ptr %180, i64 %182
  %184 = load double, ptr %183, align 8, !tbaa !11
  %185 = load ptr, ptr %17, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.sptk::world::D4COption", ptr %185, i32 0, i32 0
  %187 = load double, ptr %186, align 8, !tbaa !16
  %188 = fcmp ole double %184, %187
  br i1 %188, label %189, label %190

189:                                              ; preds = %179, %172
  br label %221

190:                                              ; preds = %179
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = load i32, ptr %11, align 4, !tbaa !9
  %193 = load i32, ptr %12, align 4, !tbaa !9
  %194 = load ptr, ptr %14, align 8, !tbaa !5
  %195 = load i32, ptr %31, 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 = call noundef double @_ZN4sptk5world11MyMaxDoubleEdd(double noundef 4.700000e+01, double noundef %198)
  %200 = load i32, ptr %20, align 4, !tbaa !9
  %201 = load ptr, ptr %13, align 8, !tbaa !5
  %202 = load i32, ptr %31, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds double, ptr %201, i64 %203
  %205 = load double, ptr %204, align 8, !tbaa !11
  %206 = load i32, ptr %22, align 4, !tbaa !9
  %207 = load ptr, ptr %24, align 8, !tbaa !5
  %208 = load i32, ptr %23, align 4, !tbaa !9
  %209 = load ptr, ptr %26, align 8, !tbaa !5
  %210 = getelementptr inbounds double, ptr %209, i64 1
  call void @_ZN4sptk5world12_GLOBAL__N_114D4CGeneralBodyEPKdiididiS3_iPKNS0_14ForwardRealFFTEPdPNS0_10RandnStateE(ptr noundef %191, i32 noundef %192, i32 noundef %193, double noundef %199, i32 noundef %200, double noundef %205, i32 noundef %206, ptr noundef %207, i32 noundef %208, ptr noundef %21, ptr noundef %210, ptr noundef %19)
  %211 = load ptr, ptr %27, align 8, !tbaa !5
  %212 = load ptr, ptr %26, align 8, !tbaa !5
  %213 = load i32, ptr %22, align 4, !tbaa !9
  %214 = load ptr, ptr %29, align 8, !tbaa !5
  %215 = load i32, ptr %16, align 4, !tbaa !9
  %216 = load ptr, ptr %18, align 8, !tbaa !5
  %217 = load i32, ptr %31, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds ptr, ptr %216, i64 %218
  %220 = load ptr, ptr %219, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_115GetAperiodicityEPKdS3_iS3_iPd(ptr noundef %211, ptr noundef %212, i32 noundef %213, ptr noundef %214, i32 noundef %215, ptr noundef %220)
  br label %221

221:                                              ; preds = %190, %189
  %222 = load i32, ptr %31, align 4, !tbaa !9
  %223 = add nsw i32 %222, 1
  store i32 %223, ptr %31, align 4, !tbaa !9
  br label %167, !llvm.loop !18

224:                                              ; preds = %171
  call void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef %21)
  %225 = load ptr, ptr %25, 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) #12
  br label %228

228:                                              ; preds = %227, %224
  %229 = load ptr, ptr %27, 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) #12
  br label %232

232:                                              ; preds = %231, %228
  %233 = load ptr, ptr %26, 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) #12
  br label %236

236:                                              ; preds = %235, %232
  %237 = load ptr, ptr %24, align 8, !tbaa !5
  %238 = icmp eq ptr %237, null
  br i1 %238, label %240, label %239

239:                                              ; preds = %236
  call void @_ZdaPv(ptr noundef %237) #12
  br label %240

240:                                              ; preds = %239, %236
  %241 = load ptr, ptr %29, align 8, !tbaa !5
  %242 = icmp eq ptr %241, null
  br i1 %242, label %244, label %243

243:                                              ; preds = %240
  call void @_ZdaPv(ptr noundef %241) #12
  br label %244

244:                                              ; preds = %243, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 96, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #10
  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: mustprogress nounwind uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_122InitializeAperiodicityEiiPPd(i32 noundef, i32 noundef, ptr noundef) #4

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #5

; Function Attrs: nounwind
declare double @log(double noundef) #5

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef) #3

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

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 = { 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{!17, !12, i64 0}
!17 = !{!"_ZTSN4sptk5world9D4COptionE", !12, i64 0}
!18 = distinct !{!18, !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::ForwardRealFFT" = type { i32, ptr, ptr, %"struct.sptk::world::fft_plan" }
%"struct.sptk::world::fft_plan" = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4sptk5world3D4CEPKdiiS2_S2_iiPKNS0_9D4COptionEPPd(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca %"struct.sptk::world::RandnState", align 4
  %11 = alloca %"struct.sptk::world::ForwardRealFFT", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #9
  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)
  call void @_ZN4sptk5world12_GLOBAL__N_122InitializeAperiodicityEiiPPd(i32 noundef %5, i32 noundef %6, ptr noundef %8)
  %12 = sitofp i32 %2 to double
  %13 = fmul double %12, 4.000000e+00
  %14 = fdiv double %13, 4.700000e+01
  %15 = fadd double %14, 1.000000e+00
  %16 = call double @log(double noundef %15) #9
  %17 = fdiv double %16, 0x3FE62E42FEFA39EF
  %18 = fptosi double %17 to i32
  %19 = sitofp i32 %18 to double
  %20 = fadd double %19, 1.000000e+00
  %exp2 = call double @exp2(double %20)
  %21 = fptosi double %exp2 to i32
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %11) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %11, i8 0, i64 96, i1 false)
  call void @_ZN4sptk5world24InitializeForwardRealFFTEiPNS0_14ForwardRealFFTE(i32 noundef %21, ptr noundef nonnull %11)
  %22 = fmul double %12, 5.000000e-01
  %23 = fadd double %22, -3.000000e+03
  %24 = call noundef double @_ZN4sptk5world11MyMinDoubleEdd(double noundef 1.500000e+04, double noundef %23)
  %25 = sitofp i32 %21 to double
  %26 = fmul double %25, 3.000000e+03
  %27 = zext i32 %5 to i64
  %28 = icmp slt i32 %5, 0
  %29 = shl nuw nsw i64 %27, 3
  %30 = select i1 %28, i64 -1, i64 %29
  %31 = insertelement <2 x double> poison, double %24, i64 0
  %32 = insertelement <2 x double> %31, double %26, i64 1
  %33 = insertelement <2 x double> <double 3.000000e+03, double poison>, double %12, i64 1
  %34 = fdiv <2 x double> %32, %33
  %35 = fptosi <2 x double> %34 to <2 x i32>
  %36 = extractelement <2 x i32> %35, i64 1
  %37 = shl nsw i32 %36, 1
  %38 = or disjoint i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = shl nsw i64 %39, 3
  %41 = icmp slt <2 x i32> %35, <i32 -2, i32 0>
  %42 = extractelement <2 x i1> %41, i64 1
  %43 = select i1 %42, i64 -1, i64 %40
  %44 = call noalias noundef nonnull ptr @_Znam(i64 noundef %43) #10
  call void @_ZN4sptk5world13NuttallWindowEiPd(i32 noundef %38, ptr noundef nonnull %44)
  %45 = call noalias noundef nonnull ptr @_Znam(i64 noundef %30) #10
  call void @_ZN4sptk5world12_GLOBAL__N_112D4CLoveTrainEPKdiiS3_iS3_PdPNS0_10RandnStateE(ptr noundef %0, i32 noundef %2, i32 noundef %1, ptr noundef %4, i32 noundef %5, ptr noundef %3, ptr noundef nonnull %45, ptr noundef nonnull %10)
  %46 = extractelement <2 x i32> %35, i64 0
  %47 = add nsw i32 %46, 2
  %48 = sext i32 %47 to i64
  %49 = shl nsw i64 %48, 3
  %50 = extractelement <2 x i1> %41, i64 0
  %51 = select i1 %50, i64 -1, i64 %49
  %52 = call noalias noundef nonnull ptr @_Znam(i64 noundef %51) #10
  store double -6.000000e+01, ptr %52, align 8, !tbaa !5
  %53 = add i32 %46, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %52, i64 %54
  store double 0xBD719799812DEA11, ptr %55, align 8, !tbaa !5
  %56 = call noalias noundef nonnull ptr @_Znam(i64 noundef %51) #10
  %.not78 = icmp slt i32 %46, 0
  br i1 %.not78, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %9
  %wide.trip.count = zext i32 %53 to i64
  %min.iters.check = icmp ult i32 %53, 4
  br i1 %min.iters.check, label %.lr.ph.preheader115, label %vector.ph

.lr.ph.preheader115:                              ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i32> [ <i32 0, i32 1>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <2 x i32> %vec.ind, <i32 2, i32 2>
  %57 = uitofp <2 x i32> %vec.ind to <2 x double>
  %58 = uitofp <2 x i32> %step.add to <2 x double>
  %59 = fmul <2 x double> %57, <double 3.000000e+03, double 3.000000e+03>
  %60 = fmul <2 x double> %58, <double 3.000000e+03, double 3.000000e+03>
  %61 = getelementptr inbounds double, ptr %56, i64 %index
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  store <2 x double> %59, ptr %61, align 8, !tbaa !5
  store <2 x double> %60, ptr %62, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %vec.ind.next = add <2 x i32> %vec.ind, <i32 4, i32 4>
  %63 = icmp eq i64 %index.next, %n.vec
  br i1 %63, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader115

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %9
  %64 = getelementptr inbounds double, ptr %56, i64 %54
  store double %22, ptr %64, align 8, !tbaa !5
  %65 = sdiv i32 %6, 2
  %66 = add nsw i32 %65, 1
  %67 = sext i32 %66 to i64
  %68 = icmp slt i32 %6, -3
  %69 = shl nsw i64 %67, 3
  %70 = select i1 %68, i64 -1, i64 %69
  %71 = call noalias noundef nonnull ptr @_Znam(i64 noundef %70) #10
  %.not7780 = icmp slt i32 %6, -1
  br i1 %.not7780, label %.preheader, label %.lr.ph83

.lr.ph83:                                         ; preds = %._crit_edge
  %72 = sitofp i32 %6 to double
  %wide.trip.count91 = zext i32 %66 to i64
  %min.iters.check101 = icmp ult i32 %66, 2
  br i1 %min.iters.check101, label %scalar.ph100.preheader, label %vector.ph102

scalar.ph100.preheader:                           ; preds = %middle.block99, %.lr.ph83
  %indvars.iv88.ph = phi i64 [ 0, %.lr.ph83 ], [ %n.vec104, %middle.block99 ]
  br label %scalar.ph100

vector.ph102:                                     ; preds = %.lr.ph83
  %n.vec104 = and i64 %wide.trip.count91, 4294967294
  %broadcast.splatinsert = insertelement <2 x double> poison, double %12, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert111 = insertelement <2 x double> poison, double %72, i64 0
  %broadcast.splat112 = shufflevector <2 x double> %broadcast.splatinsert111, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body106

vector.body106:                                   ; preds = %vector.body106, %vector.ph102
  %index107 = phi i64 [ 0, %vector.ph102 ], [ %index.next113, %vector.body106 ]
  %vec.ind108 = phi <2 x i32> [ <i32 0, i32 1>, %vector.ph102 ], [ %vec.ind.next110, %vector.body106 ]
  %73 = uitofp <2 x i32> %vec.ind108 to <2 x double>
  %74 = fmul <2 x double> %broadcast.splat, %73
  %75 = fdiv <2 x double> %74, %broadcast.splat112
  %76 = getelementptr inbounds double, ptr %71, i64 %index107
  store <2 x double> %75, ptr %76, align 8, !tbaa !5
  %index.next113 = add nuw i64 %index107, 2
  %vec.ind.next110 = add <2 x i32> %vec.ind108, <i32 2, i32 2>
  %77 = icmp eq i64 %index.next113, %n.vec104
  br i1 %77, label %middle.block99, label %vector.body106, !llvm.loop !13

middle.block99:                                   ; preds = %vector.body106
  %cmp.n114 = icmp eq i64 %n.vec104, %wide.trip.count91
  br i1 %cmp.n114, label %.preheader, label %scalar.ph100.preheader

.lr.ph:                                           ; preds = %.lr.ph.preheader115, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader115 ]
  %78 = trunc nuw nsw i64 %indvars.iv to i32
  %79 = uitofp nneg i32 %78 to double
  %80 = fmul double %79, 3.000000e+03
  %81 = getelementptr inbounds double, ptr %56, i64 %indvars.iv
  store double %80, ptr %81, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

.preheader:                                       ; preds = %scalar.ph100, %middle.block99, %._crit_edge
  %82 = icmp sgt i32 %5, 0
  br i1 %82, label %.lr.ph85, label %._crit_edge86

.lr.ph85:                                         ; preds = %.preheader
  %83 = getelementptr inbounds i8, ptr %52, i64 8
  br label %89

scalar.ph100:                                     ; preds = %scalar.ph100.preheader, %scalar.ph100
  %indvars.iv88 = phi i64 [ %indvars.iv.next89, %scalar.ph100 ], [ %indvars.iv88.ph, %scalar.ph100.preheader ]
  %84 = trunc nuw nsw i64 %indvars.iv88 to i32
  %85 = uitofp nneg i32 %84 to double
  %86 = fmul double %12, %85
  %87 = fdiv double %86, %72
  %88 = getelementptr inbounds double, ptr %71, i64 %indvars.iv88
  store double %87, ptr %88, align 8, !tbaa !5
  %indvars.iv.next89 = add nuw nsw i64 %indvars.iv88, 1
  %exitcond92.not = icmp eq i64 %indvars.iv.next89, %wide.trip.count91
  br i1 %exitcond92.not, label %.preheader, label %scalar.ph100, !llvm.loop !15

._crit_edge86:                                    ; preds = %104, %.preheader
  call void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef nonnull %11)
  call void @_ZdaPv(ptr noundef nonnull %45) #11
  call void @_ZdaPv(ptr noundef nonnull %56) #11
  call void @_ZdaPv(ptr noundef nonnull %52) #11
  call void @_ZdaPv(ptr noundef nonnull %44) #11
  call void @_ZdaPv(ptr noundef nonnull %71) #11
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #9
  ret void

89:                                               ; preds = %.lr.ph85, %104
  %indvars.iv93 = phi i64 [ 0, %.lr.ph85 ], [ %indvars.iv.next94, %104 ]
  %90 = getelementptr inbounds double, ptr %4, i64 %indvars.iv93
  %91 = load double, ptr %90, align 8, !tbaa !5
  %92 = fcmp oeq double %91, 0.000000e+00
  br i1 %92, label %104, label %93

93:                                               ; preds = %89
  %94 = getelementptr inbounds double, ptr %45, i64 %indvars.iv93
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = load double, ptr %7, align 8, !tbaa !16
  %97 = fcmp ugt double %95, %96
  br i1 %97, label %98, label %104

98:                                               ; preds = %93
  %99 = call noundef double @_ZN4sptk5world11MyMaxDoubleEdd(double noundef 4.700000e+01, double noundef %91)
  %100 = getelementptr inbounds double, ptr %3, i64 %indvars.iv93
  %101 = load double, ptr %100, align 8, !tbaa !5
  call void @_ZN4sptk5world12_GLOBAL__N_114D4CGeneralBodyEPKdiididiS3_iPKNS0_14ForwardRealFFTEPdPNS0_10RandnStateE(ptr noundef %0, i32 noundef %1, i32 noundef %2, double noundef %99, i32 noundef %21, double noundef %101, i32 noundef %46, ptr noundef nonnull %44, i32 noundef %38, ptr noundef nonnull %11, ptr noundef nonnull %83, ptr noundef nonnull %10)
  %102 = getelementptr inbounds ptr, ptr %8, i64 %indvars.iv93
  %103 = load ptr, ptr %102, align 8, !tbaa !18
  call void @_ZN4sptk5world12_GLOBAL__N_115GetAperiodicityEPKdS3_iS3_iPd(ptr noundef nonnull %56, ptr noundef nonnull %52, i32 noundef %46, ptr noundef nonnull %71, i32 noundef %6, ptr noundef %103)
  br label %104

104:                                              ; preds = %89, %93, %98
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %exitcond97.not = icmp eq i64 %indvars.iv.next94, %27
  br i1 %exitcond97.not, label %._crit_edge86, label %89, !llvm.loop !20
}

; 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: mustprogress nounwind uwtable
declare hidden void @_ZN4sptk5world12_GLOBAL__N_122InitializeAperiodicityEiiPPd(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4sptk5world21DestroyForwardRealFFTEPNS0_14ForwardRealFFTE(ptr noundef) local_unnamed_addr #3

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

declare double @exp2(double) local_unnamed_addr

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 = { 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 = { 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 allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !11, !12}
!14 = distinct !{!14, !10, !12, !11}
!15 = distinct !{!15, !10, !12, !11}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN4sptk5world9D4COptionE", !6, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"any pointer", !7, i64 0}
!20 = distinct !{!20, !10}


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