; LLVM IR from sp-nitech/SPTK :: third_party/SWIPE/swipe.ll (ZN4sptk5swipe5swipeERKSt6vectorIdSaIdEEddddd)

; 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::swipe::vector" = type { i32, ptr }
%"struct.sptk::swipe::intvector" = type { i32, ptr }
%"struct.sptk::swipe::matrix" = type { i32, i32, ptr }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe4log2Ed(double noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe5roundEd(double noundef) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN4sptk5swipe6erb2hzEd(double noundef) #2

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

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

declare { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef) #5

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

declare void @_ZN4sptk5swipe5freevENS0_6vectorE(i32, ptr) #5

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

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

declare { i64, ptr } @_ZN4sptk5swipe5zeromEii(i32 noundef, i32 noundef) #5

declare void @_ZN4sptk5swipe5freemENS0_6matrixE(i64, ptr) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe6SfirstENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe4SnthENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe5SlastENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN4sptk5swipe5pitchENS0_6matrixENS0_6vectorEd(i64, ptr, i32, ptr, double noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN4sptk5swipe5swipeERKSt6vectorIdSaIdEEddddd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) #2 {
  %7 = alloca %"struct.sptk::swipe::vector", align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca %"struct.sptk::swipe::intvector", align 8
  %20 = alloca %"struct.sptk::swipe::vector", align 8
  %21 = alloca %"struct.sptk::swipe::vector", align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.sptk::swipe::vector", align 8
  %25 = alloca %"struct.sptk::swipe::vector", align 8
  %26 = alloca %"struct.sptk::swipe::intvector", align 8
  %27 = alloca %"struct.sptk::swipe::intvector", align 8
  %28 = alloca %"struct.sptk::swipe::matrix", align 8
  %29 = alloca %"struct.sptk::swipe::matrix", align 8
  %30 = alloca %"struct.sptk::swipe::vector", align 8
  %31 = alloca %"struct.sptk::swipe::vector", align 8
  %32 = alloca %"struct.sptk::swipe::vector", align 8
  %33 = alloca %"struct.sptk::swipe::vector", align 8
  %34 = alloca %"struct.sptk::swipe::intvector", align 8
  %35 = alloca %"struct.sptk::swipe::intvector", align 8
  %36 = alloca %"struct.sptk::swipe::matrix", align 8
  %37 = alloca %"struct.sptk::swipe::vector", align 8
  %38 = alloca %"struct.sptk::swipe::vector", align 8
  %39 = alloca %"struct.sptk::swipe::vector", align 8
  %40 = alloca %"struct.sptk::swipe::vector", align 8
  %41 = alloca %"struct.sptk::swipe::intvector", align 8
  %42 = alloca %"struct.sptk::swipe::intvector", align 8
  %43 = alloca %"struct.sptk::swipe::matrix", align 8
  %44 = alloca %"struct.sptk::swipe::vector", align 8
  %45 = alloca %"struct.sptk::swipe::vector", align 8
  %46 = alloca %"struct.sptk::swipe::vector", align 8
  %47 = alloca %"struct.sptk::swipe::vector", align 8
  %48 = alloca %"struct.sptk::swipe::intvector", align 8
  %49 = alloca %"struct.sptk::swipe::intvector", align 8
  %50 = alloca %"struct.sptk::swipe::vector", align 8
  %51 = alloca %"struct.sptk::swipe::intvector", align 8
  %52 = alloca %"struct.sptk::swipe::intvector", align 8
  %53 = alloca %"struct.sptk::swipe::vector", align 8
  %54 = alloca %"struct.sptk::swipe::vector", align 8
  %55 = alloca %"struct.sptk::swipe::matrix", align 8
  %56 = alloca %"struct.sptk::swipe::vector", align 8
  %57 = alloca %"struct.sptk::swipe::vector", align 8
  %58 = alloca %"struct.sptk::swipe::matrix", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store double %1, ptr %9, align 8, !tbaa !9
  store double %2, ptr %10, align 8, !tbaa !9
  store double %3, ptr %11, align 8, !tbaa !9
  store double %4, ptr %12, align 8, !tbaa !9
  store double %5, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store double 0.000000e+00, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %59 = load double, ptr %9, align 8, !tbaa !9
  %60 = fdiv double %59, 2.000000e+00
  store double %60, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %61 = load double, ptr %9, align 8, !tbaa !9
  store double %61, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %62 = load double, ptr %9, align 8, !tbaa !9
  %63 = fmul double %62, 8.000000e+00
  store double %63, ptr %18, align 8, !tbaa !9
  %64 = load double, ptr %11, align 8, !tbaa !9
  %65 = load double, ptr %16, align 8, !tbaa !9
  %66 = fcmp ogt double %64, %65
  br i1 %66, label %67, label %74

67:                                               ; preds = %6
  %68 = load double, ptr %16, align 8, !tbaa !9
  store double %68, ptr %11, align 8, !tbaa !9
  %69 = load ptr, ptr @stderr, align 8, !tbaa !5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %69, ptr noundef @.str) #8
  %71 = load ptr, ptr @stderr, align 8, !tbaa !5
  %72 = load double, ptr %11, align 8, !tbaa !9
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %71, ptr noundef @.str.1, double noundef %72) #8
  br label %74

74:                                               ; preds = %67, %6
  %75 = load double, ptr %13, align 8, !tbaa !9
  %76 = load double, ptr %17, align 8, !tbaa !9
  %77 = fcmp ogt double %75, %76
  br i1 %77, label %78, label %83

78:                                               ; preds = %74
  %79 = load double, ptr %17, align 8, !tbaa !9
  store double %79, ptr %13, align 8, !tbaa !9
  %80 = load ptr, ptr @stderr, align 8, !tbaa !5
  %81 = load double, ptr %17, align 8, !tbaa !9
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %80, ptr noundef @.str.2, double noundef %81) #8
  br label %83

83:                                               ; preds = %78, %74
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %84 = load double, ptr %18, align 8, !tbaa !9
  %85 = load double, ptr %10, align 8, !tbaa !9
  %86 = fdiv double %84, %85
  %87 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %86)
  %88 = load double, ptr %18, align 8, !tbaa !9
  %89 = load double, ptr %11, align 8, !tbaa !9
  %90 = fdiv double %88, %89
  %91 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %90)
  %92 = fsub double %87, %91
  %93 = call noundef double @_ZN4sptk5swipe5roundEd(double noundef %92)
  %94 = fadd double %93, 1.000000e+00
  %95 = fptosi double %94 to i32
  %96 = call { i32, ptr } @_ZN4sptk5swipe6makeivEi(i32 noundef %95)
  %97 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 0
  %98 = extractvalue { i32, ptr } %96, 0
  store i32 %98, ptr %97, align 8
  %99 = getelementptr inbounds { i32, ptr }, ptr %19, i32 0, i32 1
  %100 = extractvalue { i32, ptr } %96, 1
  store ptr %100, ptr %99, align 8
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %101

101:                                              ; preds = %122, %83
  %102 = load i32, ptr %14, align 4, !tbaa !11
  %103 = getelementptr inbounds %"struct.sptk::swipe::intvector", ptr %19, i32 0, i32 0
  %104 = load i32, ptr %103, align 8, !tbaa !13
  %105 = icmp slt i32 %102, %104
  br i1 %105, label %106, label %125

106:                                              ; preds = %101
  %107 = load double, ptr %18, align 8, !tbaa !9
  %108 = load double, ptr %10, align 8, !tbaa !9
  %109 = fdiv double %107, %108
  %110 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %109)
  %111 = call noundef double @_ZN4sptk5swipe5roundEd(double noundef %110)
  %112 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %111)
  %113 = load i32, ptr %14, align 4, !tbaa !11
  %114 = call noundef double @_ZSt3powIiiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i32 noundef %113)
  %115 = fdiv double %112, %114
  %116 = fptosi double %115 to i32
  %117 = getelementptr inbounds %"struct.sptk::swipe::intvector", ptr %19, i32 0, i32 1
  %118 = load ptr, ptr %117, align 8, !tbaa !15
  %119 = load i32, ptr %14, align 4, !tbaa !11
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i32, ptr %118, i64 %120
  store i32 %116, ptr %121, align 4, !tbaa !11
  br label %122

122:                                              ; preds = %106
  %123 = load i32, ptr %14, align 4, !tbaa !11
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %14, align 4, !tbaa !11
  br label %101, !llvm.loop !16

125:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %126 = load double, ptr %11, align 8, !tbaa !9
  %127 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %126)
  %128 = load double, ptr %10, align 8, !tbaa !9
  %129 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %128)
  %130 = fsub double %127, %129
  %131 = fdiv double %130, 1.041670e-02
  %132 = call double @llvm.ceil.f64(double %131)
  %133 = fptosi double %132 to i32
  %134 = call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %133)
  %135 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 0
  %136 = extractvalue { i32, ptr } %134, 0
  store i32 %136, ptr %135, align 8
  %137 = getelementptr inbounds { i32, ptr }, ptr %20, i32 0, i32 1
  %138 = extractvalue { i32, ptr } %134, 1
  store ptr %138, ptr %137, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %139 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %20, i32 0, i32 0
  %140 = load i32, ptr %139, align 8, !tbaa !18
  %141 = call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %140)
  %142 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 0
  %143 = extractvalue { i32, ptr } %141, 0
  store i32 %143, ptr %142, align 8
  %144 = getelementptr inbounds { i32, ptr }, ptr %21, i32 0, i32 1
  %145 = extractvalue { i32, ptr } %141, 1
  store ptr %145, ptr %144, align 8
  %146 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %20, i32 0, i32 0
  %147 = load i32, ptr %146, align 8, !tbaa !18
  %148 = sub nsw i32 %147, 1
  store i32 %148, ptr %14, align 4, !tbaa !11
  br label %149

149:                                              ; preds = %181, %125
  %150 = load i32, ptr %14, align 4, !tbaa !11
  %151 = icmp sge i32 %150, 0
  br i1 %151, label %152, label %184

152:                                              ; preds = %149
  %153 = load double, ptr %10, align 8, !tbaa !9
  %154 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %153)
  %155 = load i32, ptr %14, align 4, !tbaa !11
  %156 = sitofp i32 %155 to double
  %157 = call double @llvm.fmuladd.f64(double %156, double 1.041670e-02, double %154)
  store double %157, ptr %15, align 8, !tbaa !9
  %158 = load double, ptr %15, align 8, !tbaa !9
  %159 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %158)
  %160 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %20, i32 0, i32 1
  %161 = load ptr, ptr %160, align 8, !tbaa !20
  %162 = load i32, ptr %14, align 4, !tbaa !11
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds double, ptr %161, i64 %163
  store double %159, ptr %164, align 8, !tbaa !9
  %165 = load double, ptr %15, align 8, !tbaa !9
  %166 = fadd double 1.000000e+00, %165
  %167 = load double, ptr %18, align 8, !tbaa !9
  %168 = getelementptr inbounds %"struct.sptk::swipe::intvector", ptr %19, i32 0, i32 1
  %169 = load ptr, ptr %168, align 8, !tbaa !15
  %170 = getelementptr inbounds i32, ptr %169, i64 0
  %171 = load i32, ptr %170, align 4, !tbaa !11
  %172 = sitofp i32 %171 to double
  %173 = fdiv double %167, %172
  %174 = call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %173)
  %175 = fsub double %166, %174
  %176 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %21, i32 0, i32 1
  %177 = load ptr, ptr %176, align 8, !tbaa !20
  %178 = load i32, ptr %14, align 4, !tbaa !11
  %179 = sext i32 %178 to i64
  %180 = getelementptr inbounds double, ptr %177, i64 %179
  store double %175, ptr %180, align 8, !tbaa !9
  br label %181

181:                                              ; preds = %152
  %182 = load i32, ptr %14, align 4, !tbaa !11
  %183 = add nsw i32 %182, -1
  store i32 %183, ptr %14, align 4, !tbaa !11
  br label %149, !llvm.loop !21

184:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store double 0x3F00000000000000, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %185 = load ptr, ptr %8, align 8, !tbaa !5
  %186 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %185) #8
  %187 = trunc i64 %186 to i32
  store i32 %187, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #8
  %188 = load i32, ptr %23, align 4, !tbaa !11
  %189 = call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %188)
  %190 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 0
  %191 = extractvalue { i32, ptr } %189, 0
  store i32 %191, ptr %190, align 8
  %192 = getelementptr inbounds { i32, ptr }, ptr %24, i32 0, i32 1
  %193 = extractvalue { i32, ptr } %189, 1
  store ptr %193, ptr %192, align 8
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %194

194:                                              ; preds = %211, %184
  %195 = load i32, ptr %14, align 4, !tbaa !11
  %196 = load i32, ptr %23, align 4, !tbaa !11
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %198, label %214

198:                                              ; preds = %194
  %199 = load ptr, ptr %8, align 8, !tbaa !5
  %200 = load i32, ptr %14, align 4, !tbaa !11
  %201 = sext i32 %200 to i64
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %199, i64 noundef %201) #8
  %203 = load double, ptr %202, align 8, !tbaa !9
  %204 = load double, ptr %22, align 8, !tbaa !9
  %205 = fmul double %203, %204
  %206 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %24, i32 0, i32 1
  %207 = load ptr, ptr %206, align 8, !tbaa !20
  %208 = load i32, ptr %14, align 4, !tbaa !11
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds double, ptr %207, i64 %209
  store double %205, ptr %210, align 8, !tbaa !9
  br label %211

211:                                              ; preds = %198
  %212 = load i32, ptr %14, align 4, !tbaa !11
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %14, align 4, !tbaa !11
  br label %194, !llvm.loop !22

214:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #8
  %215 = load double, ptr %16, align 8, !tbaa !9
  %216 = call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %215)
  %217 = load double, ptr %15, align 8, !tbaa !9
  %218 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %217)
  %219 = fdiv double %218, 4.000000e+00
  %220 = call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %219)
  %221 = fsub double %216, %220
  %222 = fdiv double %221, 1.000000e-01
  %223 = call double @llvm.ceil.f64(double %222)
  %224 = fptosi double %223 to i32
  %225 = call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %224)
  %226 = getelementptr inbounds { i32, ptr }, ptr %25, i32 0, i32 0
  %227 = extractvalue { i32, ptr } %225, 0
  store i32 %227, ptr %226, align 8
  %228 = getelementptr inbounds { i32, ptr }, ptr %25, i32 0, i32 1
  %229 = extractvalue { i32, ptr } %225, 1
  store ptr %229, ptr %228, align 8
  %230 = load double, ptr %10, align 8, !tbaa !9
  %231 = fdiv double %230, 4.000000e+00
  %232 = call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %231)
  store double %232, ptr %15, align 8, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !11
  br label %233

233:                                              ; preds = %249, %214
  %234 = load i32, ptr %14, align 4, !tbaa !11
  %235 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %25, i32 0, i32 0
  %236 = load i32, ptr %235, align 8, !tbaa !18
  %237 = icmp slt i32 %234, %236
  br i1 %237, label %238, label %252

238:                                              ; preds = %233
  %239 = load double, ptr %15, align 8, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !11
  %241 = sitofp i32 %240 to double
  %242 = call double @llvm.fmuladd.f64(double %241, double 1.000000e-01, double %239)
  %243 = call noundef double @_ZN4sptk5swipe6erb2hzEd(double noundef %242)
  %244 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %25, i32 0, i32 1
  %245 = load ptr, ptr %244, align 8, !tbaa !20
  %246 = load i32, ptr %14, align 4, !tbaa !11
  %247 = sext i32 %246 to i64
  %248 = getelementptr inbounds double, ptr %245, i64 %247
  store double %243, ptr %248, align 8, !tbaa !9
  br label %249

249:                                              ; preds = %238
  %250 = load i32, ptr %14, align 4, !tbaa !11
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %14, align 4, !tbaa !11
  br label %233, !llvm.loop !23

252:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %253 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %25, i32 0, i32 1
  %254 = load ptr, ptr %253, align 8, !tbaa !20
  %255 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %25, i32 0, i32 0
  %256 = load i32, ptr %255, align 8, !tbaa !18
  %257 = sub nsw i32 %256, 1
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds double, ptr %254, i64 %258
  %260 = load double, ptr %259, align 8, !tbaa !9
  %261 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %20, i32 0, i32 1
  %262 = load ptr, ptr %261, align 8, !tbaa !20
  %263 = getelementptr inbounds double, ptr %262, i64 0
  %264 = load double, ptr %263, align 8, !tbaa !9
  %265 = fdiv double %260, %264
  %266 = fsub double %265, 7.500000e-01
  %267 = call double @llvm.floor.f64(double %266)
  %268 = fptosi double %267 to i32
  %269 = call { i32, ptr } @_ZN4sptk5swipe6onesivEi(i32 noundef %268)
  %270 = getelementptr inbounds { i32, ptr }, ptr %26, i32 0, i32 0
  %271 = extractvalue { i32, ptr } %269, 0
  store i32 %271, ptr %270, align 8
  %272 = getelementptr inbounds { i32, ptr }, ptr %26, i32 0, i32 1
  %273 = extractvalue { i32, ptr } %269, 1
  store ptr %273, ptr %272, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !24
  %274 = getelementptr inbounds { i32, ptr }, ptr %27, i32 0, i32 0
  %275 = load i32, ptr %274, align 8
  %276 = getelementptr inbounds { i32, ptr }, ptr %27, i32 0, i32 1
  %277 = load ptr, ptr %276, align 8
  %278 = call noundef i32 @_ZN4sptk5swipe5sieveENS0_9intvectorE(i32 %275, ptr %277)
  %279 = getelementptr inbounds %"struct.sptk::swipe::intvector", ptr %26, i32 0, i32 1
  %280 = load ptr, ptr %279, align 8, !tbaa !15
  %281 = getelementptr inbounds i32, ptr %280, i64 0
  store i32 1, ptr %281, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %282 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %20, i32 0, i32 0
  %283 = load i32, ptr %282, align 8, !tbaa !18
  %284 = getelementptr inbounds %"struct.sptk::swipe::vector", ptr %24, i32 0, i32 0
  %285 = load i32, ptr %284, align 8, !tbaa !18
  %286 = sitofp i32 %285 to double
  %287 = load double, ptr %17, align 8, !tbaa !9
  %288 = fdiv double %286, %287
  %289 = load double, ptr %13, align 8, !tbaa !9
  %290 = fdiv double %288, %289
  %291 = call double @llvm.ceil.f64(double %290)
  %292 = fptosi double %291 to i32
  %293 = call { i64, ptr } @_ZN4sptk5swipe5zeromEii(i32 noundef %283, i32 noundef %292)
  %294 = getelementptr inbounds { i64, ptr }, ptr %28, i32 0, i32 0
  %295 = extractvalue { i64, ptr } %293, 0
  store i64 %295, ptr %294, align 8
  %296 = getelementptr inbounds { i64, ptr }, ptr %28, i32 0, i32 1
  %297 = extractvalue { i64, ptr } %293, 1
  store ptr %297, ptr %296, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %30, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !24
  %298 = load double, ptr %16, align 8, !tbaa !9
  %299 = load double, ptr %17, align 8, !tbaa !9
  %300 = load double, ptr %13, align 8, !tbaa !9
  %301 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 0
  %302 = load i64, ptr %301, align 8
  %303 = getelementptr inbounds { i64, ptr }, ptr %29, i32 0, i32 1
  %304 = load ptr, ptr %303, align 8
  %305 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 0
  %306 = load i32, ptr %305, align 8
  %307 = getelementptr inbounds { i32, ptr }, ptr %30, i32 0, i32 1
  %308 = load ptr, ptr %307, align 8
  %309 = getelementptr inbounds { i32, ptr }, ptr %31, i32 0, i32 0
  %310 = load i32, ptr %309, align 8
  %311 = getelementptr inbounds { i32, ptr }, ptr %31, i32 0, i32 1
  %312 = load ptr, ptr %311, align 8
  call void @_ZN4sptk5swipe6SfirstENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %302, ptr %304, i32 %306, ptr %308, i32 %310, ptr %312, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %32, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %33, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %34, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %35, double noundef %298, double noundef %299, double noundef %300, i32 noundef 0)
  store i32 1, ptr %14, align 4, !tbaa !11
  br label %313

313:                                              ; preds = %336, %252
  %314 = load i32, ptr %14, align 4, !tbaa !11
  %315 = getelementptr inbounds %"struct.sptk::swipe::intvector", ptr %19, i32 0, i32 0
  %316 = load i32, ptr %315, align 8, !tbaa !13
  %317 = sub nsw i32 %316, 1
  %318 = icmp slt i32 %314, %317
  br i1 %318, label %319, label %339

319:                                              ; preds = %313
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %36, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %37, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %39, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %40, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %42, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !24
  %320 = load double, ptr %16, align 8, !tbaa !9
  %321 = load double, ptr %17, align 8, !tbaa !9
  %322 = load double, ptr %13, align 8, !tbaa !9
  %323 = load i32, ptr %14, align 4, !tbaa !11
  %324 = getelementptr inbounds { i64, ptr }, ptr %36, i32 0, i32 0
  %325 = load i64, ptr %324, align 8
  %326 = getelementptr inbounds { i64, ptr }, ptr %36, i32 0, i32 1
  %327 = load ptr, ptr %326, align 8
  %328 = getelementptr inbounds { i32, ptr }, ptr %37, i32 0, i32 0
  %329 = load i32, ptr %328, align 8
  %330 = getelementptr inbounds { i32, ptr }, ptr %37, i32 0, i32 1
  %331 = load ptr, ptr %330, align 8
  %332 = getelementptr inbounds { i32, ptr }, ptr %38, i32 0, i32 0
  %333 = load i32, ptr %332, align 8
  %334 = getelementptr inbounds { i32, ptr }, ptr %38, i32 0, i32 1
  %335 = load ptr, ptr %334, align 8
  call void @_ZN4sptk5swipe4SnthENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %325, ptr %327, i32 %329, ptr %331, i32 %333, ptr %335, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %39, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %40, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %41, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %42, double noundef %320, double noundef %321, double noundef %322, i32 noundef %323)
  br label %336

336:                                              ; preds = %319
  %337 = load i32, ptr %14, align 4, !tbaa !11
  %338 = add nsw i32 %337, 1
  store i32 %338, ptr %14, align 4, !tbaa !11
  br label %313, !llvm.loop !26

339:                                              ; preds = %313
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %47, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %48, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !24
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %49, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !24
  %340 = load double, ptr %16, align 8, !tbaa !9
  %341 = load double, ptr %17, align 8, !tbaa !9
  %342 = load double, ptr %13, align 8, !tbaa !9
  %343 = load i32, ptr %14, align 4, !tbaa !11
  %344 = getelementptr inbounds { i64, ptr }, ptr %43, i32 0, i32 0
  %345 = load i64, ptr %344, align 8
  %346 = getelementptr inbounds { i64, ptr }, ptr %43, i32 0, i32 1
  %347 = load ptr, ptr %346, align 8
  %348 = getelementptr inbounds { i32, ptr }, ptr %44, i32 0, i32 0
  %349 = load i32, ptr %348, align 8
  %350 = getelementptr inbounds { i32, ptr }, ptr %44, i32 0, i32 1
  %351 = load ptr, ptr %350, align 8
  %352 = getelementptr inbounds { i32, ptr }, ptr %45, i32 0, i32 0
  %353 = load i32, ptr %352, align 8
  %354 = getelementptr inbounds { i32, ptr }, ptr %45, i32 0, i32 1
  %355 = load ptr, ptr %354, align 8
  call void @_ZN4sptk5swipe5SlastENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %345, ptr %347, i32 %349, ptr %351, i32 %353, ptr %355, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %46, ptr noundef byval(%"struct.sptk::swipe::vector") align 8 %47, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %48, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8 %49, double noundef %340, double noundef %341, double noundef %342, i32 noundef %343)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %50, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !24
  %356 = getelementptr inbounds { i32, ptr }, ptr %50, i32 0, i32 0
  %357 = load i32, ptr %356, align 8
  %358 = getelementptr inbounds { i32, ptr }, ptr %50, i32 0, i32 1
  %359 = load ptr, ptr %358, align 8
  call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %357, ptr %359)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %19, i64 16, i1 false), !tbaa.struct !24
  %360 = getelementptr inbounds { i32, ptr }, ptr %51, i32 0, i32 0
  %361 = load i32, ptr %360, align 8
  %362 = getelementptr inbounds { i32, ptr }, ptr %51, i32 0, i32 1
  %363 = load ptr, ptr %362, align 8
  call void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32 %361, ptr %363)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %52, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !24
  %364 = getelementptr inbounds { i32, ptr }, ptr %52, i32 0, i32 0
  %365 = load i32, ptr %364, align 8
  %366 = getelementptr inbounds { i32, ptr }, ptr %52, i32 0, i32 1
  %367 = load ptr, ptr %366, align 8
  call void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32 %365, ptr %367)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !24
  %368 = getelementptr inbounds { i32, ptr }, ptr %53, i32 0, i32 0
  %369 = load i32, ptr %368, align 8
  %370 = getelementptr inbounds { i32, ptr }, ptr %53, i32 0, i32 1
  %371 = load ptr, ptr %370, align 8
  call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %369, ptr %371)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 %24, i64 16, i1 false), !tbaa.struct !24
  %372 = getelementptr inbounds { i32, ptr }, ptr %54, i32 0, i32 0
  %373 = load i32, ptr %372, align 8
  %374 = getelementptr inbounds { i32, ptr }, ptr %54, i32 0, i32 1
  %375 = load ptr, ptr %374, align 8
  call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %373, ptr %375)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %56, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !24
  %376 = load double, ptr %12, align 8, !tbaa !9
  %377 = getelementptr inbounds { i64, ptr }, ptr %55, i32 0, i32 0
  %378 = load i64, ptr %377, align 8
  %379 = getelementptr inbounds { i64, ptr }, ptr %55, i32 0, i32 1
  %380 = load ptr, ptr %379, align 8
  %381 = getelementptr inbounds { i32, ptr }, ptr %56, i32 0, i32 0
  %382 = load i32, ptr %381, align 8
  %383 = getelementptr inbounds { i32, ptr }, ptr %56, i32 0, i32 1
  %384 = load ptr, ptr %383, align 8
  %385 = call { i32, ptr } @_ZN4sptk5swipe5pitchENS0_6matrixENS0_6vectorEd(i64 %378, ptr %380, i32 %382, ptr %384, double noundef %376)
  %386 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 0
  %387 = extractvalue { i32, ptr } %385, 0
  store i32 %387, ptr %386, align 8
  %388 = getelementptr inbounds { i32, ptr }, ptr %7, i32 0, i32 1
  %389 = extractvalue { i32, ptr } %385, 1
  store ptr %389, ptr %388, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %20, i64 16, i1 false), !tbaa.struct !24
  %390 = getelementptr inbounds { i32, ptr }, ptr %57, i32 0, i32 0
  %391 = load i32, ptr %390, align 8
  %392 = getelementptr inbounds { i32, ptr }, ptr %57, i32 0, i32 1
  %393 = load ptr, ptr %392, align 8
  call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %391, ptr %393)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %58, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !25
  %394 = getelementptr inbounds { i64, ptr }, ptr %58, i32 0, i32 0
  %395 = load i64, ptr %394, align 8
  %396 = getelementptr inbounds { i64, ptr }, ptr %58, i32 0, i32 1
  %397 = load ptr, ptr %396, align 8
  call void @_ZN4sptk5swipe5freemENS0_6matrixE(i64 %395, ptr %397)
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 16, 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
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  %398 = load { i32, ptr }, ptr %7, align 8
  ret { i32, ptr } %398
}

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #7

declare { i32, ptr } @_ZN4sptk5swipe6makeivEi(i32 noundef) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

declare { i32, ptr } @_ZN4sptk5swipe6onesivEi(i32 noundef) #5

declare noundef i32 @_ZN4sptk5swipe5sieveENS0_9intvectorE(i32, ptr) #5

declare void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32, ptr) #5

attributes #0 = { 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 #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 0}
!14 = !{!"_ZTSN4sptk5swipe9intvectorE", !12, i64 0, !6, i64 8}
!15 = !{!14, !6, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !12, i64 0}
!19 = !{!"_ZTSN4sptk5swipe6vectorE", !12, i64 0, !6, i64 8}
!20 = !{!19, !6, i64 8}
!21 = distinct !{!21, !17}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !17}
!24 = !{i64 0, i64 4, !11, i64 8, i64 8, !5}
!25 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 8, !5}
!26 = distinct !{!26, !17}


; 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::swipe::vector" = type { i32, ptr }
%"struct.sptk::swipe::intvector" = type { i32, ptr }

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [39 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe4log2Ed(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe5roundEd(double noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_ZN4sptk5swipe6erb2hzEd(double noundef) local_unnamed_addr #2

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

declare { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef) local_unnamed_addr #4

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

declare void @_ZN4sptk5swipe5freevENS0_6vectorE(i32, ptr) local_unnamed_addr #4

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

declare { i64, ptr } @_ZN4sptk5swipe5zeromEii(i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @_ZN4sptk5swipe5freemENS0_6matrixE(i64, ptr) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe6SfirstENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe4SnthENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4sptk5swipe5SlastENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64, ptr, i32, ptr, i32, ptr, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::vector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, ptr noundef byval(%"struct.sptk::swipe::intvector") align 8, double noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local { i32, ptr } @_ZN4sptk5swipe5pitchENS0_6matrixENS0_6vectorEd(i64, ptr, i32, ptr, double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local { i32, ptr } @_ZN4sptk5swipe5swipeERKSt6vectorIdSaIdEEddddd(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5) local_unnamed_addr #2 {
  %7 = alloca %"struct.sptk::swipe::vector", align 8
  %8 = alloca %"struct.sptk::swipe::vector", align 8
  %9 = alloca %"struct.sptk::swipe::intvector", align 8
  %10 = alloca %"struct.sptk::swipe::intvector", align 8
  %11 = alloca %"struct.sptk::swipe::vector", align 8
  %12 = alloca %"struct.sptk::swipe::vector", align 8
  %13 = alloca %"struct.sptk::swipe::intvector", align 8
  %14 = alloca %"struct.sptk::swipe::intvector", align 8
  %15 = alloca %"struct.sptk::swipe::vector", align 8
  %16 = alloca %"struct.sptk::swipe::vector", align 8
  %17 = alloca %"struct.sptk::swipe::intvector", align 8
  %18 = alloca %"struct.sptk::swipe::intvector", align 8
  %19 = fmul double %1, 5.000000e-01
  %20 = fmul double %1, 8.000000e+00
  %21 = fcmp olt double %19, %3
  br i1 %21, label %22, label %27

22:                                               ; preds = %6
  %23 = load ptr, ptr @stderr, align 8, !tbaa !5
  %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str) #6
  %25 = load ptr, ptr @stderr, align 8, !tbaa !5
  %26 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str.1, double noundef %19) #6
  br label %27

27:                                               ; preds = %22, %6
  %.0 = phi double [ %19, %22 ], [ %3, %6 ]
  %28 = fcmp ogt double %5, %1
  br i1 %28, label %29, label %32

29:                                               ; preds = %27
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.2, double noundef %1) #6
  br label %32

32:                                               ; preds = %29, %27
  %.0196 = phi double [ %1, %29 ], [ %5, %27 ]
  %33 = fdiv double %20, %2
  %34 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %33)
  %35 = fdiv double %20, %.0
  %36 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %35)
  %37 = fsub double %34, %36
  %38 = tail call noundef double @_ZN4sptk5swipe5roundEd(double noundef %37)
  %39 = fadd double %38, 1.000000e+00
  %40 = fptosi double %39 to i32
  %41 = tail call { i32, ptr } @_ZN4sptk5swipe6makeivEi(i32 noundef %40)
  %42 = extractvalue { i32, ptr } %41, 0
  %43 = extractvalue { i32, ptr } %41, 1
  %44 = icmp sgt i32 %42, 0
  br i1 %44, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %32
  %wide.trip.count = zext nneg i32 %42 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %45 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %33)
  %46 = tail call noundef double @_ZN4sptk5swipe5roundEd(double noundef %45)
  %47 = tail call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %46)
  %48 = trunc nuw nsw i64 %indvars.iv to i32
  %49 = tail call noundef double @_ZSt3powIiiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i32 noundef %48)
  %50 = fdiv double %47, %49
  %51 = fptosi double %50 to i32
  %52 = getelementptr inbounds i32, ptr %43, i64 %indvars.iv
  store i32 %51, ptr %52, align 4, !tbaa !9
  %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 !11

._crit_edge:                                      ; preds = %.lr.ph, %32
  %53 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %.0)
  %54 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %2)
  %55 = fsub double %53, %54
  %56 = fdiv double %55, 1.041670e-02
  %57 = tail call double @llvm.ceil.f64(double %56)
  %58 = fptosi double %57 to i32
  %59 = tail call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %58)
  %60 = extractvalue { i32, ptr } %59, 0
  %61 = extractvalue { i32, ptr } %59, 1
  %62 = tail call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %60)
  %63 = extractvalue { i32, ptr } %62, 0
  %64 = extractvalue { i32, ptr } %62, 1
  %65 = icmp sgt i32 %60, 0
  br i1 %65, label %.lr.ph208.preheader, label %._crit_edge209

.lr.ph208.preheader:                              ; preds = %._crit_edge
  %66 = zext nneg i32 %60 to i64
  br label %.lr.ph208

.lr.ph208:                                        ; preds = %.lr.ph208.preheader, %.lr.ph208
  %indvars.iv225 = phi i64 [ %66, %.lr.ph208.preheader ], [ %indvars.iv.next226, %.lr.ph208 ]
  %indvars.iv.next226 = add nsw i64 %indvars.iv225, -1
  %67 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %2)
  %68 = trunc nuw nsw i64 %indvars.iv.next226 to i32
  %69 = uitofp nneg i32 %68 to double
  %70 = tail call double @llvm.fmuladd.f64(double %69, double 1.041670e-02, double %67)
  %71 = tail call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %70)
  %72 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.next226
  store double %71, ptr %72, align 8, !tbaa !13
  %73 = fadd double %70, 1.000000e+00
  %74 = load i32, ptr %43, align 4, !tbaa !9
  %75 = sitofp i32 %74 to double
  %76 = fdiv double %20, %75
  %77 = tail call noundef double @_ZN4sptk5swipe4log2Ed(double noundef %76)
  %78 = fsub double %73, %77
  %79 = getelementptr inbounds double, ptr %64, i64 %indvars.iv.next226
  store double %78, ptr %79, align 8, !tbaa !13
  %80 = icmp ugt i64 %indvars.iv225, 1
  br i1 %80, label %.lr.ph208, label %._crit_edge209, !llvm.loop !15

._crit_edge209:                                   ; preds = %.lr.ph208, %._crit_edge
  %.0198.lcssa = phi double [ 0.000000e+00, %._crit_edge ], [ %70, %.lr.ph208 ]
  %81 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %82 = trunc i64 %81 to i32
  %83 = tail call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %82)
  %84 = extractvalue { i32, ptr } %83, 0
  %85 = extractvalue { i32, ptr } %83, 1
  %86 = icmp sgt i32 %82, 0
  br i1 %86, label %.lr.ph212.preheader, label %._crit_edge213

.lr.ph212.preheader:                              ; preds = %._crit_edge209
  %wide.trip.count231 = and i64 %81, 2147483647
  br label %.lr.ph212

.lr.ph212:                                        ; preds = %.lr.ph212.preheader, %.lr.ph212
  %indvars.iv228 = phi i64 [ 0, %.lr.ph212.preheader ], [ %indvars.iv.next229, %.lr.ph212 ]
  %87 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv228) #7
  %88 = load double, ptr %87, align 8, !tbaa !13
  %89 = fmul double %88, 0x3F00000000000000
  %90 = getelementptr inbounds double, ptr %85, i64 %indvars.iv228
  store double %89, ptr %90, align 8, !tbaa !13
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %exitcond232.not = icmp eq i64 %indvars.iv.next229, %wide.trip.count231
  br i1 %exitcond232.not, label %._crit_edge213, label %.lr.ph212, !llvm.loop !16

._crit_edge213:                                   ; preds = %.lr.ph212, %._crit_edge209
  %91 = tail call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %19)
  %92 = tail call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, double noundef %.0198.lcssa)
  %93 = fmul double %92, 2.500000e-01
  %94 = tail call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %93)
  %95 = fsub double %91, %94
  %96 = fdiv double %95, 1.000000e-01
  %97 = tail call double @llvm.ceil.f64(double %96)
  %98 = fptosi double %97 to i32
  %99 = tail call { i32, ptr } @_ZN4sptk5swipe5makevEi(i32 noundef %98)
  %100 = extractvalue { i32, ptr } %99, 0
  %101 = extractvalue { i32, ptr } %99, 1
  %102 = fmul double %2, 2.500000e-01
  %103 = tail call noundef double @_ZN4sptk5swipe6hz2erbEd(double noundef %102)
  %104 = icmp sgt i32 %100, 0
  br i1 %104, label %.lr.ph216.preheader, label %._crit_edge217

.lr.ph216.preheader:                              ; preds = %._crit_edge213
  %wide.trip.count236 = zext nneg i32 %100 to i64
  br label %.lr.ph216

.lr.ph216:                                        ; preds = %.lr.ph216.preheader, %.lr.ph216
  %indvars.iv233 = phi i64 [ 0, %.lr.ph216.preheader ], [ %indvars.iv.next234, %.lr.ph216 ]
  %105 = trunc nuw nsw i64 %indvars.iv233 to i32
  %106 = uitofp nneg i32 %105 to double
  %107 = tail call double @llvm.fmuladd.f64(double %106, double 1.000000e-01, double %103)
  %108 = tail call noundef double @_ZN4sptk5swipe6erb2hzEd(double noundef %107)
  %109 = getelementptr inbounds double, ptr %101, i64 %indvars.iv233
  store double %108, ptr %109, align 8, !tbaa !13
  %indvars.iv.next234 = add nuw nsw i64 %indvars.iv233, 1
  %exitcond237.not = icmp eq i64 %indvars.iv.next234, %wide.trip.count236
  br i1 %exitcond237.not, label %._crit_edge217, label %.lr.ph216, !llvm.loop !17

._crit_edge217:                                   ; preds = %.lr.ph216, %._crit_edge213
  %110 = sext i32 %100 to i64
  %111 = getelementptr double, ptr %101, i64 %110
  %112 = getelementptr i8, ptr %111, i64 -8
  %113 = load double, ptr %112, align 8, !tbaa !13
  %114 = load double, ptr %61, align 8, !tbaa !13
  %115 = fdiv double %113, %114
  %116 = fadd double %115, -7.500000e-01
  %117 = tail call double @llvm.floor.f64(double %116)
  %118 = fptosi double %117 to i32
  %119 = tail call { i32, ptr } @_ZN4sptk5swipe6onesivEi(i32 noundef %118)
  %120 = extractvalue { i32, ptr } %119, 0
  %121 = extractvalue { i32, ptr } %119, 1
  %122 = tail call noundef i32 @_ZN4sptk5swipe5sieveENS0_9intvectorE(i32 %120, ptr %121)
  store i32 1, ptr %121, align 4, !tbaa !9
  %123 = sitofp i32 %84 to double
  %124 = fdiv double %123, %1
  %125 = fdiv double %124, %.0196
  %126 = tail call double @llvm.ceil.f64(double %125)
  %127 = fptosi double %126 to i32
  %128 = tail call { i64, ptr } @_ZN4sptk5swipe5zeromEii(i32 noundef %60, i32 noundef %127)
  %129 = extractvalue { i64, ptr } %128, 0
  %130 = extractvalue { i64, ptr } %128, 1
  store i32 %100, ptr %7, align 8, !tbaa !9
  %.sroa.1076.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %101, ptr %.sroa.1076.0..sroa_idx, align 8, !tbaa !5
  store i32 %63, ptr %8, align 8, !tbaa !9
  %.sroa.899.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store ptr %64, ptr %.sroa.899.0..sroa_idx, align 8, !tbaa !5
  store i32 %42, ptr %9, align 8, !tbaa !9
  %.sroa.10126.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %43, ptr %.sroa.10126.0..sroa_idx, align 8, !tbaa !5
  store i32 %120, ptr %10, align 8, !tbaa !9
  %.sroa.10.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %121, ptr %.sroa.10.0..sroa_idx, align 8, !tbaa !5
  tail call void @_ZN4sptk5swipe6SfirstENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %129, ptr %130, i32 %84, ptr %85, i32 %60, ptr nonnull %61, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %7, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %8, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %9, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %10, double noundef %19, double noundef %1, double noundef %.0196, i32 noundef 0)
  %131 = add i32 %42, -1
  %132 = icmp sgt i32 %42, 2
  br i1 %132, label %.lr.ph220, label %._crit_edge221

.lr.ph220:                                        ; preds = %._crit_edge217
  %.sroa.1076.0..sroa_idx77 = getelementptr inbounds i8, ptr %11, i64 8
  %.sroa.899.0..sroa_idx100 = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.10126.0..sroa_idx127 = getelementptr inbounds i8, ptr %13, i64 8
  %.sroa.10.0..sroa_idx64 = getelementptr inbounds i8, ptr %14, i64 8
  br label %133

133:                                              ; preds = %.lr.ph220, %133
  %.4218 = phi i32 [ 1, %.lr.ph220 ], [ %134, %133 ]
  store i32 %100, ptr %11, align 8, !tbaa !9
  store ptr %101, ptr %.sroa.1076.0..sroa_idx77, align 8, !tbaa !5
  store i32 %63, ptr %12, align 8, !tbaa !9
  store ptr %64, ptr %.sroa.899.0..sroa_idx100, align 8, !tbaa !5
  store i32 %42, ptr %13, align 8, !tbaa !9
  store ptr %43, ptr %.sroa.10126.0..sroa_idx127, align 8, !tbaa !5
  store i32 %120, ptr %14, align 8, !tbaa !9
  store ptr %121, ptr %.sroa.10.0..sroa_idx64, align 8, !tbaa !5
  tail call void @_ZN4sptk5swipe4SnthENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %129, ptr %130, i32 %84, ptr %85, i32 %60, ptr nonnull %61, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %11, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %12, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %13, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %14, double noundef %19, double noundef %1, double noundef %.0196, i32 noundef %.4218)
  %134 = add nuw nsw i32 %.4218, 1
  %exitcond238.not = icmp eq i32 %134, %131
  br i1 %exitcond238.not, label %._crit_edge221, label %133, !llvm.loop !18

._crit_edge221:                                   ; preds = %133, %._crit_edge217
  %.4.lcssa = phi i32 [ 1, %._crit_edge217 ], [ %131, %133 ]
  store i32 %100, ptr %15, align 8, !tbaa !9
  %.sroa.1076.0..sroa_idx79 = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %101, ptr %.sroa.1076.0..sroa_idx79, align 8, !tbaa !5
  store i32 %63, ptr %16, align 8, !tbaa !9
  %.sroa.899.0..sroa_idx102 = getelementptr inbounds i8, ptr %16, i64 8
  store ptr %64, ptr %.sroa.899.0..sroa_idx102, align 8, !tbaa !5
  store i32 %42, ptr %17, align 8, !tbaa !9
  %.sroa.10126.0..sroa_idx129 = getelementptr inbounds i8, ptr %17, i64 8
  store ptr %43, ptr %.sroa.10126.0..sroa_idx129, align 8, !tbaa !5
  store i32 %120, ptr %18, align 8, !tbaa !9
  %.sroa.10.0..sroa_idx66 = getelementptr inbounds i8, ptr %18, i64 8
  store ptr %121, ptr %.sroa.10.0..sroa_idx66, align 8, !tbaa !5
  tail call void @_ZN4sptk5swipe5SlastENS0_6matrixENS0_6vectorES2_S2_S2_NS0_9intvectorES3_dddi(i64 %129, ptr %130, i32 %84, ptr %85, i32 %60, ptr nonnull %61, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %15, ptr noundef nonnull byval(%"struct.sptk::swipe::vector") align 8 %16, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %17, ptr noundef nonnull byval(%"struct.sptk::swipe::intvector") align 8 %18, double noundef %19, double noundef %1, double noundef %.0196, i32 noundef %.4.lcssa)
  tail call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %100, ptr %101)
  tail call void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32 %42, ptr %43)
  tail call void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32 %120, ptr nonnull %121)
  tail call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %63, ptr %64)
  tail call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %84, ptr %85)
  %135 = tail call { i32, ptr } @_ZN4sptk5swipe5pitchENS0_6matrixENS0_6vectorEd(i64 %129, ptr %130, i32 %60, ptr nonnull %61, double noundef %4)
  tail call void @_ZN4sptk5swipe5freevENS0_6vectorE(i32 %60, ptr nonnull %61)
  tail call void @_ZN4sptk5swipe5freemENS0_6matrixE(i64 %129, ptr %130)
  ret { i32, ptr } %135
}

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

declare { i32, ptr } @_ZN4sptk5swipe6makeivEi(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

declare { i32, ptr } @_ZN4sptk5swipe6onesivEi(i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZN4sptk5swipe5sieveENS0_9intvectorE(i32, ptr) local_unnamed_addr #4

declare void @_ZN4sptk5swipe6freeivENS0_9intvectorE(i32, ptr) local_unnamed_addr #4

attributes #0 = { 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 #1 = { mustprogress 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { cold nounwind }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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