; LLVM IR from sp-nitech/SPTK :: src/filter (line_spectral_pairs_digital_filter)

; 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" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%class.anon = type { i8 }
%"class.sptk::LineSpectralPairsDigitalFilter" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.sptk::LineSpectralPairsDigitalFilter::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector", %"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 @_ZNK4sptk30LineSpectralPairsDigitalFilter3RunERKSt6vectorIdSaIdEEdPdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, double noundef %2, ptr noundef %3, ptr noundef %4) #0 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.0", 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", align 8
  %24 = alloca %class.anon, align 1
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store double %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %35 = load ptr, ptr %7, align 8
  %36 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 2
  %37 = load i8, ptr %36, align 4, !tbaa !11, !range !15, !noundef !16
  %38 = trunc i8 %37 to i1
  br i1 %38, label %39, label %53

39:                                               ; preds = %5
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %43 = load i32, ptr %42, align 8, !tbaa !17
  %44 = add nsw i32 %43, 1
  %45 = sext i32 %44 to i64
  %46 = icmp ne i64 %41, %45
  br i1 %46, label %53, label %47

47:                                               ; preds = %39
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = icmp eq ptr null, %48
  br i1 %49, label %53, label %50

50:                                               ; preds = %47
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = icmp eq ptr null, %51
  br i1 %52, label %53, label %54

53:                                               ; preds = %50, %47, %39, %5
  store i1 false, ptr %6, align 1
  br label %327

54:                                               ; preds = %50
  %55 = load ptr, ptr %11, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %55, i32 0, i32 1
  %57 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  %58 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %59 = load i32, ptr %58, align 8, !tbaa !17
  %60 = add nsw i32 %59, 1
  %61 = sext i32 %60 to i64
  %62 = icmp ne i64 %57, %61
  br i1 %62, label %63, label %82

63:                                               ; preds = %54
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %64, i32 0, i32 1
  %66 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %67 = load i32, ptr %66, align 8, !tbaa !17
  %68 = add nsw i32 %67, 1
  %69 = sext i32 %68 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %69)
  %70 = load ptr, ptr %11, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %70, i32 0, i32 1
  %72 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #6
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %74, i32 0, i32 1
  %76 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #6
  %77 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %76, ptr %77, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store double 0.000000e+00, ptr %14, align 8, !tbaa !9
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8
  %80 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %79, ptr %81, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %82

82:                                               ; preds = %63, %54
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %83, i32 0, i32 2
  %85 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #6
  %86 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %87 = load i32, ptr %86, align 8, !tbaa !17
  %88 = add nsw i32 %87, 1
  %89 = sext i32 %88 to i64
  %90 = icmp ne i64 %85, %89
  br i1 %90, label %91, label %110

91:                                               ; preds = %82
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %92, i32 0, i32 2
  %94 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %95 = load i32, ptr %94, align 8, !tbaa !17
  %96 = add nsw i32 %95, 1
  %97 = sext i32 %96 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %97)
  %98 = load ptr, ptr %11, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %98, i32 0, i32 2
  %100 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #6
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  %102 = load ptr, ptr %11, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %102, i32 0, i32 2
  %104 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #6
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %104, ptr %105, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  store double 0.000000e+00, ptr %17, align 8, !tbaa !9
  %106 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8
  %108 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %107, ptr %109, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %110

110:                                              ; preds = %91, %82
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %111, i32 0, i32 3
  %113 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %112) #6
  %114 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %115 = load i32, ptr %114, align 8, !tbaa !17
  %116 = sext i32 %115 to i64
  %117 = icmp ne i64 %113, %116
  br i1 %117, label %118, label %124

118:                                              ; preds = %110
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %119, i32 0, i32 3
  %121 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %122 = load i32, ptr %121, align 8, !tbaa !17
  %123 = sext i32 %122 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %123)
  br label %124

124:                                              ; preds = %118, %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %125 = load double, ptr %9, align 8, !tbaa !9
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef 0) #6
  %128 = load double, ptr %127, align 8, !tbaa !9
  %129 = fmul double %125, %128
  store double %129, ptr %18, align 8, !tbaa !9
  %130 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %131 = load i32, ptr %130, align 8, !tbaa !17
  %132 = icmp eq i32 0, %131
  br i1 %132, label %133, label %136

133:                                              ; preds = %124
  %134 = load double, ptr %18, align 8, !tbaa !9
  %135 = load ptr, ptr %10, align 8, !tbaa !5
  store double %134, ptr %135, align 8, !tbaa !9
  store i1 true, ptr %6, align 1
  store i32 1, ptr %19, align 4
  br label %326

136:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %137) #6
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %21, i32 0, i32 0
  store ptr %138, ptr %139, align 8
  %140 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef 1) #6
  %141 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %20, i32 0, i32 0
  store ptr %140, ptr %141, align 8
  %142 = load ptr, ptr %8, align 8, !tbaa !5
  %143 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %142) #6
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %145, i32 0, i32 3
  %147 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #6
  %148 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %147, ptr %148, align 8
  %149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %20, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8
  %151 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %22, i32 0, i32 0
  %152 = load ptr, ptr %151, align 8
  %153 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  %154 = load ptr, ptr %153, align 8
  %155 = call ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEZNK4sptk30LineSpectralPairsDigitalFilter3RunERKS6_dS8_PNSB_6BufferEE3$_0ET0_T_SI_SH_T1_"(ptr %150, ptr %152, ptr %154)
  %156 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %155, ptr %156, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %157 = load ptr, ptr %11, align 8, !tbaa !5
  %158 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %157, i32 0, i32 3
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %158, i64 noundef 0) #6
  store ptr %159, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %160 = load ptr, ptr %11, align 8, !tbaa !5
  %161 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %160, i32 0, i32 1
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef 0) #6
  store ptr %162, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter::Buffer", ptr %163, i32 0, i32 2
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef 0) #6
  store ptr %165, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %166 = load double, ptr %18, align 8, !tbaa !9
  store double %166, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %167 = load ptr, ptr %27, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %167, i64 0
  %169 = load double, ptr %168, align 8, !tbaa !9
  store double %169, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %170 = load ptr, ptr %28, align 8, !tbaa !5
  %171 = getelementptr inbounds double, ptr %170, i64 0
  %172 = load double, ptr %171, align 8, !tbaa !9
  store double %172, ptr %31, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 1, ptr %32, align 4, !tbaa !18
  br label %173

173:                                              ; preds = %246, %136
  %174 = load i32, ptr %32, align 4, !tbaa !18
  %175 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %176 = load i32, ptr %175, align 8, !tbaa !17
  %177 = icmp slt i32 %174, %176
  br i1 %177, label %179, label %178

178:                                              ; preds = %173
  store i32 2, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %249

179:                                              ; preds = %173
  %180 = load double, ptr %30, align 8, !tbaa !9
  %181 = load ptr, ptr %26, align 8, !tbaa !5
  %182 = load i32, ptr %32, align 4, !tbaa !18
  %183 = sub nsw i32 %182, 1
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds double, ptr %181, i64 %184
  %186 = load double, ptr %185, align 8, !tbaa !9
  %187 = load ptr, ptr %27, align 8, !tbaa !5
  %188 = load i32, ptr %32, align 4, !tbaa !18
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds double, ptr %187, i64 %189
  %191 = load double, ptr %190, align 8, !tbaa !9
  %192 = call double @llvm.fmuladd.f64(double %180, double %186, double %191)
  store double %192, ptr %190, align 8, !tbaa !9
  %193 = load double, ptr %31, align 8, !tbaa !9
  %194 = load ptr, ptr %26, align 8, !tbaa !5
  %195 = load i32, ptr %32, align 4, !tbaa !18
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds double, ptr %194, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !9
  %199 = load ptr, ptr %28, align 8, !tbaa !5
  %200 = load i32, ptr %32, align 4, !tbaa !18
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds double, ptr %199, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !9
  %204 = call double @llvm.fmuladd.f64(double %193, double %198, double %203)
  store double %204, ptr %202, align 8, !tbaa !9
  %205 = load double, ptr %30, align 8, !tbaa !9
  %206 = load ptr, ptr %27, align 8, !tbaa !5
  %207 = load i32, ptr %32, align 4, !tbaa !18
  %208 = add nsw i32 %207, 1
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds double, ptr %206, i64 %209
  %211 = load double, ptr %210, align 8, !tbaa !9
  %212 = fadd double %211, %205
  store double %212, ptr %210, align 8, !tbaa !9
  %213 = load double, ptr %31, align 8, !tbaa !9
  %214 = load ptr, ptr %28, align 8, !tbaa !5
  %215 = load i32, ptr %32, align 4, !tbaa !18
  %216 = add nsw i32 %215, 1
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds double, ptr %214, i64 %217
  %219 = load double, ptr %218, align 8, !tbaa !9
  %220 = fadd double %219, %213
  store double %220, ptr %218, align 8, !tbaa !9
  %221 = load ptr, ptr %27, align 8, !tbaa !5
  %222 = load i32, ptr %32, align 4, !tbaa !18
  %223 = add nsw i32 %222, 1
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %221, i64 %224
  %226 = load double, ptr %225, align 8, !tbaa !9
  store double %226, ptr %30, align 8, !tbaa !9
  %227 = load ptr, ptr %28, align 8, !tbaa !5
  %228 = load i32, ptr %32, align 4, !tbaa !18
  %229 = add nsw i32 %228, 1
  %230 = sext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %227, i64 %230
  %232 = load double, ptr %231, align 8, !tbaa !9
  store double %232, ptr %31, align 8, !tbaa !9
  %233 = load ptr, ptr %27, align 8, !tbaa !5
  %234 = load i32, ptr %32, align 4, !tbaa !18
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds double, ptr %233, i64 %235
  %237 = load double, ptr %236, align 8, !tbaa !9
  %238 = load ptr, ptr %28, align 8, !tbaa !5
  %239 = load i32, ptr %32, align 4, !tbaa !18
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds double, ptr %238, i64 %240
  %242 = load double, ptr %241, align 8, !tbaa !9
  %243 = fadd double %237, %242
  %244 = load double, ptr %29, align 8, !tbaa !9
  %245 = fadd double %244, %243
  store double %245, ptr %29, align 8, !tbaa !9
  br label %246

246:                                              ; preds = %179
  %247 = load i32, ptr %32, align 4, !tbaa !18
  %248 = add nsw i32 %247, 2
  store i32 %248, ptr %32, align 4, !tbaa !18
  br label %173, !llvm.loop !19

249:                                              ; preds = %178
  %250 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %251 = load i32, ptr %250, align 8, !tbaa !17
  %252 = call noundef zeroext i1 @_ZN4sptk6IsEvenEi(i32 noundef %251)
  br i1 %252, label %269, label %253

253:                                              ; preds = %249
  %254 = load double, ptr %30, align 8, !tbaa !9
  %255 = load ptr, ptr %26, align 8, !tbaa !5
  %256 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %257 = load i32, ptr %256, align 8, !tbaa !17
  %258 = sub nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds double, ptr %255, i64 %259
  %261 = load double, ptr %260, align 8, !tbaa !9
  %262 = load ptr, ptr %27, align 8, !tbaa !5
  %263 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %264 = load i32, ptr %263, align 8, !tbaa !17
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds double, ptr %262, i64 %265
  %267 = load double, ptr %266, align 8, !tbaa !9
  %268 = call double @llvm.fmuladd.f64(double %254, double %261, double %267)
  store double %268, ptr %266, align 8, !tbaa !9
  br label %269

269:                                              ; preds = %253, %249
  %270 = load ptr, ptr %27, align 8, !tbaa !5
  %271 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %272 = load i32, ptr %271, align 8, !tbaa !17
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds double, ptr %270, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !9
  %276 = load ptr, ptr %28, align 8, !tbaa !5
  %277 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %278 = load i32, ptr %277, align 8, !tbaa !17
  %279 = sext i32 %278 to i64
  %280 = getelementptr inbounds double, ptr %276, i64 %279
  %281 = load double, ptr %280, align 8, !tbaa !9
  %282 = fsub double %275, %281
  %283 = load double, ptr %29, align 8, !tbaa !9
  %284 = fadd double %283, %282
  store double %284, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  %285 = load double, ptr %29, align 8, !tbaa !9
  %286 = load ptr, ptr %10, align 8, !tbaa !5
  store double %285, ptr %286, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %287 = getelementptr inbounds %"class.sptk::LineSpectralPairsDigitalFilter", ptr %35, i32 0, i32 1
  %288 = load i32, ptr %287, align 8, !tbaa !17
  store i32 %288, ptr %33, align 4, !tbaa !18
  br label %289

289:                                              ; preds = %314, %269
  %290 = load i32, ptr %33, align 4, !tbaa !18
  %291 = icmp slt i32 0, %290
  br i1 %291, label %293, label %292

292:                                              ; preds = %289
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  br label %317

293:                                              ; preds = %289
  %294 = load ptr, ptr %27, align 8, !tbaa !5
  %295 = load i32, ptr %33, align 4, !tbaa !18
  %296 = sub nsw i32 %295, 1
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds double, ptr %294, i64 %297
  %299 = load double, ptr %298, align 8, !tbaa !9
  %300 = load ptr, ptr %27, align 8, !tbaa !5
  %301 = load i32, ptr %33, align 4, !tbaa !18
  %302 = sext i32 %301 to i64
  %303 = getelementptr inbounds double, ptr %300, i64 %302
  store double %299, ptr %303, align 8, !tbaa !9
  %304 = load ptr, ptr %28, align 8, !tbaa !5
  %305 = load i32, ptr %33, align 4, !tbaa !18
  %306 = sub nsw i32 %305, 1
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds double, ptr %304, i64 %307
  %309 = load double, ptr %308, align 8, !tbaa !9
  %310 = load ptr, ptr %28, align 8, !tbaa !5
  %311 = load i32, ptr %33, align 4, !tbaa !18
  %312 = sext i32 %311 to i64
  %313 = getelementptr inbounds double, ptr %310, i64 %312
  store double %309, ptr %313, align 8, !tbaa !9
  br label %314

314:                                              ; preds = %293
  %315 = load i32, ptr %33, align 4, !tbaa !18
  %316 = add nsw i32 %315, -1
  store i32 %316, ptr %33, align 4, !tbaa !18
  br label %289, !llvm.loop !21

317:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %318 = load double, ptr %29, align 8, !tbaa !9
  %319 = fmul double -5.000000e-01, %318
  store double %319, ptr %34, align 8, !tbaa !9
  %320 = load double, ptr %34, align 8, !tbaa !9
  %321 = load ptr, ptr %27, align 8, !tbaa !5
  %322 = getelementptr inbounds double, ptr %321, i64 0
  store double %320, ptr %322, align 8, !tbaa !9
  %323 = load double, ptr %34, align 8, !tbaa !9
  %324 = load ptr, ptr %28, align 8, !tbaa !5
  %325 = getelementptr inbounds double, ptr %324, i64 0
  store double %323, ptr %325, align 8, !tbaa !9
  store i1 true, ptr %6, align 1
  store i32 1, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %326

326:                                              ; preds = %317, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %327

327:                                              ; preds = %326, %53
  %328 = load i1, ptr %6, align 1
  ret i1 %328
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 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 void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEZNK4sptk30LineSpectralPairsDigitalFilter3RunERKS6_dS8_PNSB_6BufferEE3$_0ET0_T_SI_SH_T1_"(ptr, ptr, ptr) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 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) #1 align 2

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

declare noundef zeroext i1 @_ZN4sptk6IsEvenEi(i32 noundef) #5

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 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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, !14, i64 12}
!12 = !{!"_ZTSN4sptk30LineSpectralPairsDigitalFilterE", !13, i64 8, !14, i64 12}
!13 = !{!"int", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!12, !13, i64 8}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; 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.0" = type { ptr }

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

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

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

27:                                               ; preds = %21
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %26)
  %28 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  %29 = tail call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store double 0.000000e+00, ptr %6, align 8, !tbaa !14
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %28, ptr %29, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %30

30:                                               ; preds = %27, %21
  %31 = getelementptr inbounds i8, ptr %4, i64 32
  %32 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  %33 = load i32, ptr %14, align 8, !tbaa !13
  %34 = add nsw i32 %33, 1
  %35 = sext i32 %34 to i64
  %.not97 = icmp eq i64 %32, %35
  br i1 %.not97, label %39, label %36

36:                                               ; preds = %30
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %35)
  %37 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  %38 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store double 0.000000e+00, ptr %7, align 8, !tbaa !14
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %37, ptr %38, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  br label %39

39:                                               ; preds = %36, %30
  %40 = getelementptr inbounds i8, ptr %4, i64 56
  %41 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = load i32, ptr %14, align 8, !tbaa !13
  %43 = sext i32 %42 to i64
  %.not98 = icmp eq i64 %41, %43
  br i1 %.not98, label %45, label %44

44:                                               ; preds = %39
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %43)
  br label %45

45:                                               ; preds = %44, %39
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #6
  %47 = load double, ptr %46, align 8, !tbaa !14
  %48 = fmul double %47, %2
  %49 = load i32, ptr %14, align 8, !tbaa !13
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %51, label %52

51:                                               ; preds = %45
  store double %48, ptr %3, align 8, !tbaa !14
  br label %127

52:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %53 = call ptr @_ZNKSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  store ptr %53, ptr %8, align 8
  %54 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #6
  %55 = call ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %56 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %57 = call ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEZNK4sptk30LineSpectralPairsDigitalFilter3RunERKS6_dS8_PNSB_6BufferEE3$_0ET0_T_SI_SH_T1_"(ptr %54, ptr %55, ptr %56)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #6
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #6
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #6
  %61 = load i32, ptr %14, align 8, !tbaa !13
  %.09099 = load double, ptr %59, align 8, !tbaa !14
  %62 = icmp sgt i32 %61, 1
  br i1 %62, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %52
  %63 = load double, ptr %60, align 8, !tbaa !14
  %64 = zext nneg i32 %61 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %52
  %.091.lcssa = phi double [ %48, %52 ], [ %86, %.lr.ph ]
  %.090.lcssa = phi double [ %.09099, %52 ], [ %.090, %.lr.ph ]
  %65 = call noundef zeroext i1 @_ZN4sptk6IsEvenEi(i32 noundef %61)
  %.pre = load i32, ptr %14, align 8, !tbaa !13
  %.phi.trans.insert = sext i32 %.pre to i64
  br i1 %65, label %._crit_edge._crit_edge, label %88

._crit_edge._crit_edge:                           ; preds = %._crit_edge
  %.phi.trans.insert115 = getelementptr inbounds double, ptr %59, i64 %.phi.trans.insert
  %.pre116 = load double, ptr %.phi.trans.insert115, align 8, !tbaa !14
  br label %95

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %.090103 = phi double [ %.09099, %.lr.ph.preheader ], [ %.090, %.lr.ph ]
  %.089101 = phi double [ %63, %.lr.ph.preheader ], [ %82, %.lr.ph ]
  %.091100 = phi double [ %48, %.lr.ph.preheader ], [ %86, %.lr.ph ]
  %66 = getelementptr double, ptr %58, i64 %indvars.iv
  %67 = getelementptr i8, ptr %66, i64 -8
  %68 = load double, ptr %67, align 8, !tbaa !14
  %69 = getelementptr inbounds double, ptr %59, i64 %indvars.iv
  %70 = load double, ptr %69, align 8, !tbaa !14
  %71 = call double @llvm.fmuladd.f64(double %.090103, double %68, double %70)
  store double %71, ptr %69, align 8, !tbaa !14
  %72 = load double, ptr %66, align 8, !tbaa !14
  %73 = getelementptr inbounds double, ptr %60, i64 %indvars.iv
  %74 = load double, ptr %73, align 8, !tbaa !14
  %75 = call double @llvm.fmuladd.f64(double %.089101, double %72, double %74)
  store double %75, ptr %73, align 8, !tbaa !14
  %76 = add nuw nsw i64 %indvars.iv, 1
  %77 = getelementptr inbounds double, ptr %59, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !14
  %79 = fadd double %.090103, %78
  store double %79, ptr %77, align 8, !tbaa !14
  %80 = getelementptr inbounds double, ptr %60, i64 %76
  %81 = load double, ptr %80, align 8, !tbaa !14
  %82 = fadd double %.089101, %81
  store double %82, ptr %80, align 8, !tbaa !14
  %83 = load double, ptr %69, align 8, !tbaa !14
  %84 = load double, ptr %73, align 8, !tbaa !14
  %85 = fadd double %83, %84
  %86 = fadd double %.091100, %85
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %.090 = load double, ptr %77, align 8, !tbaa !14
  %87 = icmp ult i64 %indvars.iv.next, %64
  br i1 %87, label %.lr.ph, label %._crit_edge, !llvm.loop !16

88:                                               ; preds = %._crit_edge
  %89 = getelementptr double, ptr %58, i64 %.phi.trans.insert
  %90 = getelementptr i8, ptr %89, i64 -8
  %91 = load double, ptr %90, align 8, !tbaa !14
  %92 = getelementptr inbounds double, ptr %59, i64 %.phi.trans.insert
  %93 = load double, ptr %92, align 8, !tbaa !14
  %94 = call double @llvm.fmuladd.f64(double %.090.lcssa, double %91, double %93)
  store double %94, ptr %92, align 8, !tbaa !14
  br label %95

95:                                               ; preds = %._crit_edge._crit_edge, %88
  %96 = phi double [ %.pre116, %._crit_edge._crit_edge ], [ %94, %88 ]
  %97 = getelementptr inbounds double, ptr %60, i64 %.phi.trans.insert
  %98 = load double, ptr %97, align 8, !tbaa !14
  %99 = fsub double %96, %98
  %100 = fadd double %.091.lcssa, %99
  store double %100, ptr %3, align 8, !tbaa !14
  %101 = icmp sgt i32 %.pre, 0
  br i1 %101, label %.lr.ph108.preheader, label %._crit_edge109

.lr.ph108.preheader:                              ; preds = %95
  %102 = zext nneg i32 %.pre to i64
  %min.iters.check = icmp ult i32 %.pre, 10
  br i1 %min.iters.check, label %.lr.ph108.preheader130, label %vector.memcheck

.lr.ph108.preheader130:                           ; preds = %middle.block, %vector.memcheck, %.lr.ph108.preheader
  %indvars.iv112.ph = phi i64 [ %102, %vector.memcheck ], [ %102, %.lr.ph108.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph108

vector.memcheck:                                  ; preds = %.lr.ph108.preheader
  %103 = shl nuw nsw i64 %102, 3
  %104 = add nuw nsw i64 %103, 8
  %scevgep = getelementptr i8, ptr %59, i64 %104
  %scevgep119 = getelementptr i8, ptr %60, i64 %104
  %bound0 = icmp ult ptr %59, %scevgep119
  %bound1 = icmp ult ptr %60, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph108.preheader130, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %102, 2147483644
  %ind.end = and i64 %102, 3
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %102, %index
  %105 = add nsw i64 %offset.idx, -1
  %106 = getelementptr inbounds double, ptr %59, i64 %105
  %107 = getelementptr inbounds i8, ptr %106, i64 -8
  %108 = getelementptr inbounds i8, ptr %106, i64 -24
  %wide.load = load <2 x double>, ptr %107, align 8, !tbaa !14, !alias.scope !18, !noalias !21
  %wide.load120 = load <2 x double>, ptr %108, align 8, !tbaa !14, !alias.scope !18, !noalias !21
  %109 = getelementptr inbounds double, ptr %59, i64 %offset.idx
  %110 = getelementptr inbounds i8, ptr %109, i64 -8
  %111 = getelementptr inbounds i8, ptr %109, i64 -24
  store <2 x double> %wide.load, ptr %110, align 8, !tbaa !14, !alias.scope !18, !noalias !21
  store <2 x double> %wide.load120, ptr %111, align 8, !tbaa !14, !alias.scope !18, !noalias !21
  %112 = getelementptr inbounds double, ptr %60, i64 %105
  %113 = getelementptr inbounds i8, ptr %112, i64 -8
  %114 = getelementptr inbounds i8, ptr %112, i64 -24
  %wide.load124 = load <2 x double>, ptr %113, align 8, !tbaa !14, !alias.scope !21
  %wide.load126 = load <2 x double>, ptr %114, align 8, !tbaa !14, !alias.scope !21
  %115 = getelementptr inbounds double, ptr %60, i64 %offset.idx
  %116 = getelementptr inbounds i8, ptr %115, i64 -8
  %117 = getelementptr inbounds i8, ptr %115, i64 -24
  store <2 x double> %wide.load124, ptr %116, align 8, !tbaa !14, !alias.scope !21
  store <2 x double> %wide.load126, ptr %117, align 8, !tbaa !14, !alias.scope !21
  %index.next = add nuw i64 %index, 4
  %118 = icmp eq i64 %index.next, %n.vec
  br i1 %118, label %middle.block, label %vector.body, !llvm.loop !23

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %102
  br i1 %cmp.n, label %._crit_edge109, label %.lr.ph108.preheader130

._crit_edge109:                                   ; preds = %.lr.ph108, %middle.block, %95
  %119 = fmul double %100, -5.000000e-01
  store double %119, ptr %59, align 8, !tbaa !14
  store double %119, ptr %60, align 8, !tbaa !14
  br label %127

.lr.ph108:                                        ; preds = %.lr.ph108.preheader130, %.lr.ph108
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %.lr.ph108 ], [ %indvars.iv112.ph, %.lr.ph108.preheader130 ]
  %indvars.iv.next113 = add nsw i64 %indvars.iv112, -1
  %120 = getelementptr inbounds double, ptr %59, i64 %indvars.iv.next113
  %121 = load double, ptr %120, align 8, !tbaa !14
  %122 = getelementptr inbounds double, ptr %59, i64 %indvars.iv112
  store double %121, ptr %122, align 8, !tbaa !14
  %123 = getelementptr inbounds double, ptr %60, i64 %indvars.iv.next113
  %124 = load double, ptr %123, align 8, !tbaa !14
  %125 = getelementptr inbounds double, ptr %60, i64 %indvars.iv112
  store double %124, ptr %125, align 8, !tbaa !14
  %126 = icmp ugt i64 %indvars.iv112, 1
  br i1 %126, label %.lr.ph108, label %._crit_edge109, !llvm.loop !26

127:                                              ; preds = %51, %._crit_edge109, %5, %12
  %.1 = phi i1 [ false, %12 ], [ false, %5 ], [ true, %._crit_edge109 ], [ true, %51 ]
  ret i1 %.1
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPKdSt6vectorIdSaIdEEEENS1_IPdS6_EEZNK4sptk30LineSpectralPairsDigitalFilter3RunERKS6_dS8_PNSB_6BufferEE3$_0ET0_T_SI_SH_T1_"(ptr, ptr, ptr) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 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 #1 align 2

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

declare noundef zeroext i1 @_ZN4sptk6IsEvenEi(i32 noundef) local_unnamed_addr #5

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 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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, !10, i64 12}
!6 = !{!"_ZTSN4sptk30LineSpectralPairsDigitalFilterE", !7, i64 8, !10, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!6, !7, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19}
!19 = distinct !{!19, !20}
!20 = distinct !{!20, !"LVerDomain"}
!21 = !{!22}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !17, !24, !25}
!24 = !{!"llvm.loop.isvectorized", i32 1}
!25 = !{!"llvm.loop.unroll.runtime.disable"}
!26 = distinct !{!26, !17, !24}


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