; LLVM IR from sp-nitech/SPTK :: src/math (frequency_transform)

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

%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::FrequencyTransform" = type <{ ptr, i32, i32, double, i8, [7 x i8] }>
%"class.sptk::FrequencyTransform::Buffer" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk18FrequencyTransform3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(25) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) #0 align 2 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %36 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 8, !tbaa !9
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %10, align 4, !tbaa !14
  %39 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 4
  %40 = load i8, ptr %39, align 8, !tbaa !15, !range !16, !noundef !17
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %54

42:                                               ; preds = %4
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  %45 = load i32, ptr %10, align 4, !tbaa !14
  %46 = sext i32 %45 to i64
  %47 = icmp ne i64 %44, %46
  br i1 %47, label %54, label %48

48:                                               ; preds = %42
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = icmp eq ptr null, %49
  br i1 %50, label %54, label %51

51:                                               ; preds = %48
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = icmp eq ptr null, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %51, %48, %42, %4
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %267

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %56 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !18
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %12, align 4, !tbaa !14
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  %61 = load i32, ptr %12, align 4, !tbaa !14
  %62 = sext i32 %61 to i64
  %63 = icmp ne i64 %60, %62
  br i1 %63, label %64, label %68

64:                                               ; preds = %55
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = load i32, ptr %12, align 4, !tbaa !14
  %67 = sext i32 %66 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %67)
  br label %68

68:                                               ; preds = %64, %55
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.sptk::FrequencyTransform::Buffer", ptr %69, i32 0, i32 1
  %71 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #5
  %72 = load i32, ptr %12, align 4, !tbaa !14
  %73 = sext i32 %72 to i64
  %74 = icmp ne i64 %71, %73
  br i1 %74, label %75, label %80

75:                                               ; preds = %68
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.sptk::FrequencyTransform::Buffer", ptr %76, i32 0, i32 1
  %78 = load i32, ptr %12, align 4, !tbaa !14
  %79 = sext i32 %78 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %79)
  br label %80

80:                                               ; preds = %75, %68
  %81 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %82 = load double, ptr %81, align 8, !tbaa !19
  %83 = fcmp oeq double 0.000000e+00, %82
  br i1 %83, label %84, label %145

84:                                               ; preds = %80
  %85 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 1
  %86 = load i32, ptr %85, align 8, !tbaa !9
  %87 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 2
  %88 = load i32, ptr %87, align 4, !tbaa !18
  %89 = icmp slt i32 %86, %88
  br i1 %89, label %90, label %122

90:                                               ; preds = %84
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #5
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %13, i32 0, i32 0
  store ptr %92, ptr %93, align 8
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #5
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %14, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #5
  %99 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %98, ptr %99, align 8
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %13, i32 0, i32 0
  %101 = load ptr, ptr %100, align 8
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %14, i32 0, i32 0
  %103 = load ptr, ptr %102, align 8
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8
  %106 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %101, ptr %103, ptr %105)
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %106, ptr %107, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  %110 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %109, ptr %110, align 8
  %111 = load i32, ptr %10, align 4, !tbaa !14
  %112 = sext i32 %111 to i64
  %113 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %18, i64 noundef %112) #5
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #5
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !20
  %118 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %119, ptr %121, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %144

122:                                              ; preds = %84
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #5
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #5
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %23, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = load i32, ptr %12, align 4, !tbaa !14
  %130 = sext i32 %129 to i64
  %131 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %23, i64 noundef %130) #5
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  store ptr %131, ptr %132, align 8
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  %134 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #5
  %135 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  %137 = load ptr, ptr %136, align 8
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %137, ptr %139, ptr %141)
  %143 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %142, ptr %143, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %144

144:                                              ; preds = %122, %90
  store i1 true, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %266

145:                                              ; preds = %80
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #5
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  %149 = load ptr, ptr %8, align 8, !tbaa !5
  %150 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %149) #5
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %150, ptr %151, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  store double 0.000000e+00, ptr %28, align 8, !tbaa !20
  %152 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %153 = load ptr, ptr %152, align 8
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %155 = load ptr, ptr %154, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %153, ptr %155, ptr noundef nonnull align 8 dereferenceable(8) %28)
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %156 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %157 = load double, ptr %156, align 8, !tbaa !19
  %158 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %159 = load double, ptr %158, align 8, !tbaa !19
  %160 = fneg double %157
  %161 = call double @llvm.fmuladd.f64(double %160, double %159, double 1.000000e+00)
  store double %161, ptr %29, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %162 = load ptr, ptr %7, align 8, !tbaa !5
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %162, i64 noundef 0) #5
  store ptr %163, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %164 = load ptr, ptr %9, align 8, !tbaa !5
  %165 = getelementptr inbounds %"class.sptk::FrequencyTransform::Buffer", ptr %164, i32 0, i32 1
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef 0) #5
  store ptr %166, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %167 = load ptr, ptr %8, align 8, !tbaa !5
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef 0) #5
  store ptr %168, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  %169 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 1
  %170 = load i32, ptr %169, align 8, !tbaa !9
  store i32 %170, ptr %33, align 4, !tbaa !14
  br label %171

171:                                              ; preds = %262, %145
  %172 = load i32, ptr %33, align 4, !tbaa !14
  %173 = icmp sle i32 0, %172
  br i1 %173, label %175, label %174

174:                                              ; preds = %171
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %265

175:                                              ; preds = %171
  %176 = load ptr, ptr %32, align 8, !tbaa !5
  %177 = getelementptr inbounds double, ptr %176, i64 0
  %178 = load double, ptr %177, align 8, !tbaa !20
  %179 = load ptr, ptr %31, align 8, !tbaa !5
  %180 = getelementptr inbounds double, ptr %179, i64 0
  store double %178, ptr %180, align 8, !tbaa !20
  %181 = load ptr, ptr %30, align 8, !tbaa !5
  %182 = load i32, ptr %33, align 4, !tbaa !14
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds double, ptr %181, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !20
  %186 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %187 = load double, ptr %186, align 8, !tbaa !19
  %188 = load ptr, ptr %31, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 0
  %190 = load double, ptr %189, align 8, !tbaa !20
  %191 = call double @llvm.fmuladd.f64(double %187, double %190, double %185)
  %192 = load ptr, ptr %32, align 8, !tbaa !5
  %193 = getelementptr inbounds double, ptr %192, i64 0
  store double %191, ptr %193, align 8, !tbaa !20
  %194 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 2
  %195 = load i32, ptr %194, align 4, !tbaa !18
  %196 = icmp sle i32 1, %195
  br i1 %196, label %197, label %216

197:                                              ; preds = %175
  %198 = load ptr, ptr %32, align 8, !tbaa !5
  %199 = getelementptr inbounds double, ptr %198, i64 1
  %200 = load double, ptr %199, align 8, !tbaa !20
  %201 = load ptr, ptr %31, align 8, !tbaa !5
  %202 = getelementptr inbounds double, ptr %201, i64 1
  store double %200, ptr %202, align 8, !tbaa !20
  %203 = load double, ptr %29, align 8, !tbaa !20
  %204 = load ptr, ptr %31, align 8, !tbaa !5
  %205 = getelementptr inbounds double, ptr %204, i64 0
  %206 = load double, ptr %205, align 8, !tbaa !20
  %207 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %208 = load double, ptr %207, align 8, !tbaa !19
  %209 = load ptr, ptr %31, align 8, !tbaa !5
  %210 = getelementptr inbounds double, ptr %209, i64 1
  %211 = load double, ptr %210, align 8, !tbaa !20
  %212 = fmul double %208, %211
  %213 = call double @llvm.fmuladd.f64(double %203, double %206, double %212)
  %214 = load ptr, ptr %32, align 8, !tbaa !5
  %215 = getelementptr inbounds double, ptr %214, i64 1
  store double %213, ptr %215, align 8, !tbaa !20
  br label %216

216:                                              ; preds = %197, %175
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 2, ptr %34, align 4, !tbaa !14
  br label %217

217:                                              ; preds = %258, %216
  %218 = load i32, ptr %34, align 4, !tbaa !14
  %219 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 2
  %220 = load i32, ptr %219, align 4, !tbaa !18
  %221 = icmp sle i32 %218, %220
  br i1 %221, label %223, label %222

222:                                              ; preds = %217
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %261

223:                                              ; preds = %217
  %224 = load ptr, ptr %32, align 8, !tbaa !5
  %225 = load i32, ptr %34, align 4, !tbaa !14
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds double, ptr %224, i64 %226
  %228 = load double, ptr %227, align 8, !tbaa !20
  %229 = load ptr, ptr %31, align 8, !tbaa !5
  %230 = load i32, ptr %34, align 4, !tbaa !14
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %229, i64 %231
  store double %228, ptr %232, align 8, !tbaa !20
  %233 = load ptr, ptr %31, align 8, !tbaa !5
  %234 = load i32, ptr %34, align 4, !tbaa !14
  %235 = sub nsw i32 %234, 1
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds double, ptr %233, i64 %236
  %238 = load double, ptr %237, align 8, !tbaa !20
  %239 = getelementptr inbounds %"class.sptk::FrequencyTransform", ptr %35, i32 0, i32 3
  %240 = load double, ptr %239, align 8, !tbaa !19
  %241 = load ptr, ptr %31, align 8, !tbaa !5
  %242 = load i32, ptr %34, align 4, !tbaa !14
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds double, ptr %241, i64 %243
  %245 = load double, ptr %244, align 8, !tbaa !20
  %246 = load ptr, ptr %32, align 8, !tbaa !5
  %247 = load i32, ptr %34, align 4, !tbaa !14
  %248 = sub nsw i32 %247, 1
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %246, i64 %249
  %251 = load double, ptr %250, align 8, !tbaa !20
  %252 = fsub double %245, %251
  %253 = call double @llvm.fmuladd.f64(double %240, double %252, double %238)
  %254 = load ptr, ptr %32, align 8, !tbaa !5
  %255 = load i32, ptr %34, align 4, !tbaa !14
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds double, ptr %254, i64 %256
  store double %253, ptr %257, align 8, !tbaa !20
  br label %258

258:                                              ; preds = %223
  %259 = load i32, ptr %34, align 4, !tbaa !14
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %34, align 4, !tbaa !14
  br label %217, !llvm.loop !21

261:                                              ; preds = %222
  br label %262

262:                                              ; preds = %261
  %263 = load i32, ptr %33, align 4, !tbaa !14
  %264 = add nsw i32 %263, -1
  store i32 %264, ptr %33, align 4, !tbaa !14
  br label %171, !llvm.loop !23

265:                                              ; preds = %174
  store i1 true, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %266

266:                                              ; preds = %265, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %267

267:                                              ; preds = %266, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %268 = load i1, ptr %5, align 1
  ret i1 %268
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr, ptr, ptr) #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

; 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) #2 align 2

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

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


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

%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk18FrequencyTransform3RunERKSt6vectorIdSaIdEEPS3_PNS0_6BufferE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(25) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 align 2 {
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %8 = alloca double, align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = load i8, ptr %10, align 8, !tbaa !5, !range !12, !noundef !13
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %.loopexit

13:                                               ; preds = %4
  %14 = load i32, ptr %9, align 8, !tbaa !14
  %15 = add nsw i32 %14, 1
  %16 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %17 = sext i32 %15 to i64
  %18 = icmp ne i64 %16, %17
  %19 = icmp eq ptr %2, null
  %or.cond = or i1 %19, %18
  %20 = icmp eq ptr %3, null
  %or.cond3 = or i1 %20, %or.cond
  br i1 %or.cond3, label %.loopexit, label %21

21:                                               ; preds = %13
  %22 = getelementptr inbounds i8, ptr %0, i64 12
  %23 = load i32, ptr %22, align 4, !tbaa !15
  %24 = add nsw i32 %23, 1
  %25 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %26 = sext i32 %24 to i64
  %.not = icmp eq i64 %25, %26
  br i1 %.not, label %28, label %27

27:                                               ; preds = %21
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %26)
  br label %28

28:                                               ; preds = %27, %21
  %29 = getelementptr inbounds i8, ptr %3, i64 8
  %30 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  %.not77 = icmp eq i64 %30, %26
  br i1 %.not77, label %32, label %31

31:                                               ; preds = %28
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %26)
  br label %32

32:                                               ; preds = %31, %28
  %33 = getelementptr inbounds i8, ptr %0, i64 16
  %34 = load double, ptr %33, align 8, !tbaa !16
  %35 = fcmp oeq double %34, 0.000000e+00
  br i1 %35, label %36, label %53

36:                                               ; preds = %32
  %37 = load i32, ptr %9, align 8, !tbaa !14
  %38 = load i32, ptr %22, align 4, !tbaa !15
  %39 = icmp slt i32 %37, %38
  %40 = tail call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  br i1 %39, label %41, label %48

41:                                               ; preds = %36
  %42 = tail call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %43 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %44 = tail call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %40, ptr %42, ptr %43)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %45 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %45, ptr %5, align 8
  %46 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef %16) #5
  %47 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  store double 0.000000e+00, ptr %6, align 8, !tbaa !17
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %46, ptr %47, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %.loopexit

48:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %49 = tail call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %49, ptr %7, align 8
  %50 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %26) #5
  %51 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %52 = call ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr %40, ptr %50, ptr %51)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %.loopexit

53:                                               ; preds = %32
  %54 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %55 = tail call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store double 0.000000e+00, ptr %8, align 8, !tbaa !17
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %54, ptr %55, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  %56 = load double, ptr %33, align 8, !tbaa !16
  %57 = fneg double %56
  %58 = call double @llvm.fmuladd.f64(double %57, double %56, double 1.000000e+00)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #5
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 0) #5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %62 = load i32, ptr %9, align 8, !tbaa !14
  %63 = icmp sgt i32 %62, -1
  br i1 %63, label %.lr.ph83, label %.loopexit

.lr.ph83:                                         ; preds = %53
  %64 = load i32, ptr %22, align 4, !tbaa !15
  %65 = getelementptr inbounds i8, ptr %61, i64 8
  %66 = getelementptr inbounds i8, ptr %60, i64 8
  %.not7879 = icmp slt i32 %64, 2
  %67 = zext nneg i32 %62 to i64
  br i1 %.not7879, label %.lr.ph83.split.us, label %.lr.ph.us.preheader

.lr.ph.us.preheader:                              ; preds = %.lr.ph83
  %68 = add nuw i32 %64, 1
  %wide.trip.count = zext i32 %68 to i64
  %69 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %60, i64 %69
  %scevgep103 = getelementptr i8, ptr %61, i64 %69
  %70 = add nsw i64 %wide.trip.count, -2
  %71 = add nsw i64 %wide.trip.count, -3
  %bound0 = icmp ult ptr %66, %scevgep103
  %bound1 = icmp ult ptr %65, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  %xtraiter = and i64 %wide.trip.count, 1
  %72 = icmp eq i64 %71, 0
  %unroll_iter = and i64 %70, -2
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %xtraiter110 = and i64 %wide.trip.count, 1
  %73 = icmp eq i64 %71, 0
  %unroll_iter112 = and i64 %70, -2
  %lcmp.mod111.not = icmp eq i64 %xtraiter110, 0
  br label %.lver.check

.lr.ph83.split.us:                                ; preds = %.lr.ph83
  %74 = icmp eq i32 %64, 1
  br i1 %74, label %.lr.ph83.split.us.split.us, label %.lr.ph83.split.us.split.preheader

.lr.ph83.split.us.split.preheader:                ; preds = %.lr.ph83.split.us
  %.pre = load double, ptr %61, align 8, !tbaa !17
  %75 = and i64 %67, 1
  %lcmp.mod115.not.not = icmp eq i64 %75, 0
  br i1 %lcmp.mod115.not.not, label %.lr.ph83.split.us.split.prol, label %.lr.ph83.split.us.split.prol.loopexit

.lr.ph83.split.us.split.prol:                     ; preds = %.lr.ph83.split.us.split.preheader
  store double %.pre, ptr %60, align 8, !tbaa !17
  %76 = getelementptr inbounds double, ptr %59, i64 %67
  %77 = load double, ptr %76, align 8, !tbaa !17
  %78 = load double, ptr %33, align 8, !tbaa !16
  %79 = call double @llvm.fmuladd.f64(double %78, double %.pre, double %77)
  store double %79, ptr %61, align 8, !tbaa !17
  %indvars.iv.next92.prol = add nsw i64 %67, -1
  br label %.lr.ph83.split.us.split.prol.loopexit

.lr.ph83.split.us.split.prol.loopexit:            ; preds = %.lr.ph83.split.us.split.prol, %.lr.ph83.split.us.split.preheader
  %.unr = phi double [ %.pre, %.lr.ph83.split.us.split.preheader ], [ %79, %.lr.ph83.split.us.split.prol ]
  %indvars.iv91.unr = phi i64 [ %67, %.lr.ph83.split.us.split.preheader ], [ %indvars.iv.next92.prol, %.lr.ph83.split.us.split.prol ]
  %80 = icmp eq i32 %62, 0
  br i1 %80, label %.loopexit, label %.lr.ph83.split.us.split

.lr.ph83.split.us.split.us:                       ; preds = %.lr.ph83.split.us, %.lr.ph83.split.us.split.us
  %indvars.iv94 = phi i64 [ %indvars.iv.next95, %.lr.ph83.split.us.split.us ], [ %67, %.lr.ph83.split.us ]
  %81 = load double, ptr %61, align 8, !tbaa !17
  store double %81, ptr %60, align 8, !tbaa !17
  %82 = getelementptr inbounds double, ptr %59, i64 %indvars.iv94
  %83 = load double, ptr %82, align 8, !tbaa !17
  %84 = load double, ptr %33, align 8, !tbaa !16
  %85 = call double @llvm.fmuladd.f64(double %84, double %81, double %83)
  store double %85, ptr %61, align 8, !tbaa !17
  %86 = load double, ptr %65, align 8, !tbaa !17
  store double %86, ptr %66, align 8, !tbaa !17
  %87 = load double, ptr %60, align 8, !tbaa !17
  %88 = load double, ptr %33, align 8, !tbaa !16
  %89 = fmul double %86, %88
  %90 = call double @llvm.fmuladd.f64(double %58, double %87, double %89)
  store double %90, ptr %65, align 8, !tbaa !17
  %indvars.iv.next95 = add nsw i64 %indvars.iv94, -1
  %.not100 = icmp eq i64 %indvars.iv94, 0
  br i1 %.not100, label %.loopexit, label %.lr.ph83.split.us.split.us, !llvm.loop !18

.lr.ph83.split.us.split:                          ; preds = %.lr.ph83.split.us.split.prol.loopexit, %.lr.ph83.split.us.split
  %91 = phi double [ %99, %.lr.ph83.split.us.split ], [ %.unr, %.lr.ph83.split.us.split.prol.loopexit ]
  %indvars.iv91 = phi i64 [ %indvars.iv.next92.1, %.lr.ph83.split.us.split ], [ %indvars.iv91.unr, %.lr.ph83.split.us.split.prol.loopexit ]
  store double %91, ptr %60, align 8, !tbaa !17
  %92 = getelementptr inbounds double, ptr %59, i64 %indvars.iv91
  %93 = load double, ptr %92, align 8, !tbaa !17
  %94 = load double, ptr %33, align 8, !tbaa !16
  %95 = call double @llvm.fmuladd.f64(double %94, double %91, double %93)
  store double %95, ptr %61, align 8, !tbaa !17
  %indvars.iv.next92 = add nsw i64 %indvars.iv91, -1
  store double %95, ptr %60, align 8, !tbaa !17
  %96 = getelementptr inbounds double, ptr %59, i64 %indvars.iv.next92
  %97 = load double, ptr %96, align 8, !tbaa !17
  %98 = load double, ptr %33, align 8, !tbaa !16
  %99 = call double @llvm.fmuladd.f64(double %98, double %95, double %97)
  store double %99, ptr %61, align 8, !tbaa !17
  %indvars.iv.next92.1 = add nsw i64 %indvars.iv91, -2
  %.not99.1 = icmp eq i64 %indvars.iv.next92, 0
  br i1 %.not99.1, label %.loopexit, label %.lr.ph83.split.us.split, !llvm.loop !18

.lver.check:                                      ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %indvars.iv88 = phi i64 [ %67, %.lr.ph.us.preheader ], [ %indvars.iv.next89, %._crit_edge.us ]
  %100 = load double, ptr %61, align 8, !tbaa !17
  store double %100, ptr %60, align 8, !tbaa !17
  %101 = getelementptr inbounds double, ptr %59, i64 %indvars.iv88
  %102 = load double, ptr %101, align 8, !tbaa !17
  %103 = load double, ptr %33, align 8, !tbaa !16
  %104 = call double @llvm.fmuladd.f64(double %103, double %100, double %102)
  store double %104, ptr %61, align 8, !tbaa !17
  %105 = load double, ptr %65, align 8, !tbaa !17
  store double %105, ptr %66, align 8, !tbaa !17
  %106 = load double, ptr %60, align 8, !tbaa !17
  %107 = load double, ptr %33, align 8, !tbaa !16
  %108 = fmul double %105, %107
  %109 = call double @llvm.fmuladd.f64(double %58, double %106, double %108)
  store double %109, ptr %65, align 8, !tbaa !17
  br i1 %found.conflict, label %.ph.lver.orig.preheader, label %.ph

.ph.lver.orig.preheader:                          ; preds = %.lver.check
  br i1 %73, label %._crit_edge.us.loopexit.unr-lcssa, label %.ph.lver.orig

.ph.lver.orig:                                    ; preds = %.ph.lver.orig.preheader, %.ph.lver.orig
  %indvars.iv.lver.orig = phi i64 [ %indvars.iv.next.lver.orig.1, %.ph.lver.orig ], [ 2, %.ph.lver.orig.preheader ]
  %niter113 = phi i64 [ %niter113.next.1, %.ph.lver.orig ], [ 0, %.ph.lver.orig.preheader ]
  %110 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.lver.orig
  %111 = load double, ptr %110, align 8, !tbaa !17
  %112 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.lver.orig
  store double %111, ptr %112, align 8, !tbaa !17
  %113 = add nsw i64 %indvars.iv.lver.orig, -1
  %114 = getelementptr inbounds double, ptr %60, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !17
  %116 = load double, ptr %33, align 8, !tbaa !16
  %117 = getelementptr inbounds double, ptr %61, i64 %113
  %118 = load double, ptr %117, align 8, !tbaa !17
  %119 = fsub double %111, %118
  %120 = call double @llvm.fmuladd.f64(double %116, double %119, double %115)
  store double %120, ptr %110, align 8, !tbaa !17
  %indvars.iv.next.lver.orig = or disjoint i64 %indvars.iv.lver.orig, 1
  %121 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.next.lver.orig
  %122 = load double, ptr %121, align 8, !tbaa !17
  %123 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.next.lver.orig
  store double %122, ptr %123, align 8, !tbaa !17
  %124 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.lver.orig
  %125 = load double, ptr %124, align 8, !tbaa !17
  %126 = load double, ptr %33, align 8, !tbaa !16
  %127 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.lver.orig
  %128 = load double, ptr %127, align 8, !tbaa !17
  %129 = fsub double %122, %128
  %130 = call double @llvm.fmuladd.f64(double %126, double %129, double %125)
  store double %130, ptr %121, align 8, !tbaa !17
  %indvars.iv.next.lver.orig.1 = add nuw nsw i64 %indvars.iv.lver.orig, 2
  %niter113.next.1 = add i64 %niter113, 2
  %niter113.ncmp.1 = icmp eq i64 %niter113.next.1, %unroll_iter112
  br i1 %niter113.ncmp.1, label %._crit_edge.us.loopexit.unr-lcssa, label %.ph.lver.orig, !llvm.loop !20

.ph:                                              ; preds = %.lver.check
  %load_initial = load double, ptr %66, align 8
  %load_initial105 = load double, ptr %65, align 8
  br i1 %72, label %._crit_edge.us.loopexit108.unr-lcssa, label %.ph.new

.ph.new:                                          ; preds = %.ph, %.ph.new
  %store_forwarded106 = phi double [ %142, %.ph.new ], [ %load_initial105, %.ph ]
  %store_forwarded = phi double [ %138, %.ph.new ], [ %load_initial, %.ph ]
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.ph.new ], [ 2, %.ph ]
  %niter = phi i64 [ %niter.next.1, %.ph.new ], [ 0, %.ph ]
  %131 = getelementptr inbounds double, ptr %61, i64 %indvars.iv
  %132 = load double, ptr %131, align 8, !tbaa !17
  %133 = getelementptr inbounds double, ptr %60, i64 %indvars.iv
  store double %132, ptr %133, align 8, !tbaa !17
  %134 = load double, ptr %33, align 8, !tbaa !16
  %135 = fsub double %132, %store_forwarded106
  %136 = call double @llvm.fmuladd.f64(double %134, double %135, double %store_forwarded)
  store double %136, ptr %131, align 8, !tbaa !17
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %137 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.next
  %138 = load double, ptr %137, align 8, !tbaa !17
  %139 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.next
  store double %138, ptr %139, align 8, !tbaa !17
  %140 = load double, ptr %33, align 8, !tbaa !16
  %141 = fsub double %138, %136
  %142 = call double @llvm.fmuladd.f64(double %140, double %141, double %132)
  store double %142, ptr %137, align 8, !tbaa !17
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.us.loopexit108.unr-lcssa, label %.ph.new, !llvm.loop !20

._crit_edge.us.loopexit.unr-lcssa:                ; preds = %.ph.lver.orig, %.ph.lver.orig.preheader
  %indvars.iv.lver.orig.unr = phi i64 [ 2, %.ph.lver.orig.preheader ], [ %indvars.iv.next.lver.orig.1, %.ph.lver.orig ]
  br i1 %lcmp.mod111.not, label %._crit_edge.us, label %.ph.lver.orig.epil

.ph.lver.orig.epil:                               ; preds = %._crit_edge.us.loopexit.unr-lcssa
  %143 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.lver.orig.unr
  %144 = load double, ptr %143, align 8, !tbaa !17
  %145 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.lver.orig.unr
  store double %144, ptr %145, align 8, !tbaa !17
  %146 = add nsw i64 %indvars.iv.lver.orig.unr, -1
  %147 = getelementptr inbounds double, ptr %60, i64 %146
  %148 = load double, ptr %147, align 8, !tbaa !17
  %149 = load double, ptr %33, align 8, !tbaa !16
  %150 = getelementptr inbounds double, ptr %61, i64 %146
  %151 = load double, ptr %150, align 8, !tbaa !17
  %152 = fsub double %144, %151
  %153 = call double @llvm.fmuladd.f64(double %149, double %152, double %148)
  store double %153, ptr %143, align 8, !tbaa !17
  br label %._crit_edge.us

._crit_edge.us.loopexit108.unr-lcssa:             ; preds = %.ph.new, %.ph
  %store_forwarded106.unr = phi double [ %load_initial105, %.ph ], [ %142, %.ph.new ]
  %store_forwarded.unr = phi double [ %load_initial, %.ph ], [ %138, %.ph.new ]
  %indvars.iv.unr = phi i64 [ 2, %.ph ], [ %indvars.iv.next.1, %.ph.new ]
  br i1 %lcmp.mod.not, label %._crit_edge.us, label %._crit_edge.us.loopexit108.epilog-lcssa

._crit_edge.us.loopexit108.epilog-lcssa:          ; preds = %._crit_edge.us.loopexit108.unr-lcssa
  %154 = getelementptr inbounds double, ptr %61, i64 %indvars.iv.unr
  %155 = load double, ptr %154, align 8, !tbaa !17
  %156 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.unr
  store double %155, ptr %156, align 8, !tbaa !17
  %157 = load double, ptr %33, align 8, !tbaa !16
  %158 = fsub double %155, %store_forwarded106.unr
  %159 = call double @llvm.fmuladd.f64(double %157, double %158, double %store_forwarded.unr)
  store double %159, ptr %154, align 8, !tbaa !17
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %._crit_edge.us.loopexit108.epilog-lcssa, %._crit_edge.us.loopexit108.unr-lcssa, %.ph.lver.orig.epil, %._crit_edge.us.loopexit.unr-lcssa
  %indvars.iv.next89 = add nsw i64 %indvars.iv88, -1
  %160 = icmp sgt i64 %indvars.iv88, 0
  br i1 %160, label %.lver.check, label %.loopexit, !llvm.loop !18

.loopexit:                                        ; preds = %._crit_edge.us, %.lr.ph83.split.us.split.prol.loopexit, %.lr.ph83.split.us.split, %.lr.ph83.split.us.split.us, %53, %48, %41, %4, %13
  %.1 = phi i1 [ false, %13 ], [ false, %4 ], [ true, %41 ], [ true, %48 ], [ true, %53 ], [ true, %.lr.ph83.split.us.split.us ], [ true, %.lr.ph83.split.us.split ], [ true, %.lr.ph83.split.us.split.prol.loopexit ], [ true, %._crit_edge.us ]
  ret i1 %.1
}

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEET0_T_SB_SA_(ptr, ptr, ptr) local_unnamed_addr #3

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

; 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 nounwind uwtable
declare dso_local ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

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

; 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 #2 align 2

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

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 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 #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !11, i64 24}
!6 = !{!"_ZTSN4sptk18FrequencyTransformE", !7, i64 8, !7, i64 12, !10, i64 16, !11, i64 24}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!6, !7, i64 8}
!15 = !{!6, !7, i64 12}
!16 = !{!6, !10, i64 16}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


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