; LLVM IR from sp-nitech/SPTK :: src/math (real_valued_fast_fourier_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" = type { ptr }
%"class.sptk::RealValuedFastFourierTransform" = type { ptr, i32, i32, i32, %"class.sptk::FastFourierTransform", i8, %"class.std::vector" }
%"class.sptk::FastFourierTransform" = type { ptr, i32, i32, i32, i8, %"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 }
%"class.sptk::RealValuedFastFourierTransform::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector" }

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

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

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

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

44:                                               ; preds = %5
  %45 = load ptr, ptr %8, align 8, !tbaa !5
  %46 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #6
  %47 = load i32, ptr %12, align 4, !tbaa !18
  %48 = sext i32 %47 to i64
  %49 = icmp ne i64 %46, %48
  br i1 %49, label %59, label %50

50:                                               ; preds = %44
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = icmp eq ptr null, %51
  br i1 %52, label %59, label %53

53:                                               ; preds = %50
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = icmp eq ptr null, %54
  br i1 %55, label %59, label %56

56:                                               ; preds = %53
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = icmp eq ptr null, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %56, %53, %50, %44, %5
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %367

60:                                               ; preds = %56
  %61 = load ptr, ptr %11, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %61, i32 0, i32 1
  %63 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  %64 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %65 = load i32, ptr %64, align 8, !tbaa !22
  %66 = sext i32 %65 to i64
  %67 = icmp ne i64 %63, %66
  br i1 %67, label %68, label %74

68:                                               ; preds = %60
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %69, i32 0, i32 1
  %71 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !22
  %73 = sext i32 %72 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %73)
  br label %74

74:                                               ; preds = %68, %60
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %75, i32 0, i32 2
  %77 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #6
  %78 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %79 = load i32, ptr %78, align 8, !tbaa !22
  %80 = sext i32 %79 to i64
  %81 = icmp ne i64 %77, %80
  br i1 %81, label %82, label %88

82:                                               ; preds = %74
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %83, i32 0, i32 2
  %85 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %86 = load i32, ptr %85, align 8, !tbaa !22
  %87 = sext i32 %86 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %87)
  br label %88

88:                                               ; preds = %82, %74
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = call noundef i64 @_ZNKSt6vectorIdSaIdEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #6
  %91 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %92 = load i32, ptr %91, align 4, !tbaa !23
  %93 = sext i32 %92 to i64
  %94 = icmp ult i64 %90, %93
  br i1 %94, label %95, label %100

95:                                               ; preds = %88
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %98 = load i32, ptr %97, align 4, !tbaa !23
  %99 = sext i32 %98 to i64
  call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %99)
  br label %100

100:                                              ; preds = %95, %88
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = call noundef i64 @_ZNKSt6vectorIdSaIdEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #6
  %103 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %104 = load i32, ptr %103, align 4, !tbaa !23
  %105 = sext i32 %104 to i64
  %106 = icmp ult i64 %102, %105
  br i1 %106, label %107, label %112

107:                                              ; preds = %100
  %108 = load ptr, ptr %10, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %110 = load i32, ptr %109, align 4, !tbaa !23
  %111 = sext i32 %110 to i64
  call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %111)
  br label %112

112:                                              ; preds = %107, %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !18
  br label %113

113:                                              ; preds = %146, %112
  %114 = load i32, ptr %14, align 4, !tbaa !18
  %115 = load i32, ptr %12, align 4, !tbaa !18
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 2, ptr %13, align 4
  br label %149

118:                                              ; preds = %113
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = load i32, ptr %14, align 4, !tbaa !18
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %14, align 4, !tbaa !18
  %122 = sext i32 %120 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %119, i64 noundef %122) #6
  %124 = load double, ptr %123, align 8, !tbaa !24
  %125 = load ptr, ptr %11, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %125, i32 0, i32 1
  %127 = load i32, ptr %15, align 4, !tbaa !18
  %128 = sext i32 %127 to i64
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %128) #6
  store double %124, ptr %129, align 8, !tbaa !24
  %130 = load i32, ptr %12, align 4, !tbaa !18
  %131 = load i32, ptr %14, align 4, !tbaa !18
  %132 = icmp sle i32 %130, %131
  br i1 %132, label %133, label %134

133:                                              ; preds = %118
  store i32 2, ptr %13, align 4
  br label %149

134:                                              ; preds = %118
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = load i32, ptr %14, align 4, !tbaa !18
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %14, align 4, !tbaa !18
  %138 = sext i32 %136 to i64
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %135, i64 noundef %138) #6
  %140 = load double, ptr %139, align 8, !tbaa !24
  %141 = load ptr, ptr %11, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %141, i32 0, i32 2
  %143 = load i32, ptr %15, align 4, !tbaa !18
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %144) #6
  store double %140, ptr %145, align 8, !tbaa !24
  br label %146

146:                                              ; preds = %134
  %147 = load i32, ptr %15, align 4, !tbaa !18
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %15, align 4, !tbaa !18
  br label %113, !llvm.loop !26

149:                                              ; preds = %133, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %150

150:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %151 = load ptr, ptr %11, align 8, !tbaa !5
  %152 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %151, i32 0, i32 1
  %153 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #6
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  %155 = load i32, ptr %12, align 4, !tbaa !18
  %156 = add nsw i32 %155, 1
  %157 = sdiv i32 %156, 2
  %158 = sext i32 %157 to i64
  %159 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %17, i64 noundef %158) #6
  %160 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %159, ptr %160, align 8
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %161, i32 0, i32 1
  %163 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %162) #6
  %164 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %163, ptr %164, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  store double 0.000000e+00, ptr %19, align 8, !tbaa !24
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8
  %167 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %166, ptr %168, ptr noundef nonnull align 8 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %169 = load ptr, ptr %11, align 8, !tbaa !5
  %170 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %169, i32 0, i32 2
  %171 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %170) #6
  %172 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %171, ptr %172, align 8
  %173 = load i32, ptr %12, align 4, !tbaa !18
  %174 = sdiv i32 %173, 2
  %175 = sext i32 %174 to i64
  %176 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %21, i64 noundef %175) #6
  %177 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %176, ptr %177, align 8
  %178 = load ptr, ptr %11, align 8, !tbaa !5
  %179 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %178, i32 0, i32 2
  %180 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %179) #6
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store double 0.000000e+00, ptr %23, align 8, !tbaa !24
  %182 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  %183 = load ptr, ptr %182, align 8
  %184 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %185 = load ptr, ptr %184, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %183, ptr %185, ptr noundef nonnull align 8 dereferenceable(8) %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  %186 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 4
  %187 = load ptr, ptr %11, align 8, !tbaa !5
  %188 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %187, i32 0, i32 1
  %189 = load ptr, ptr %11, align 8, !tbaa !5
  %190 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform::Buffer", ptr %189, i32 0, i32 2
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  %193 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %186, ptr noundef nonnull align 8 dereferenceable(24) %188, ptr noundef nonnull align 8 dereferenceable(24) %190, ptr noundef %191, ptr noundef %192)
  br i1 %193, label %195, label %194

194:                                              ; preds = %150
  store i1 false, ptr %6, align 1
  store i32 1, ptr %13, align 4
  br label %367

195:                                              ; preds = %150
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %198 = load i32, ptr %197, align 4, !tbaa !23
  %199 = sext i32 %198 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %196, i64 noundef %199)
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %202 = load i32, ptr %201, align 4, !tbaa !23
  %203 = sext i32 %202 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %200, i64 noundef %203)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %204, i64 noundef 0) #6
  store ptr %205, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef 0) #6
  store ptr %207, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %208 = load ptr, ptr %24, align 8, !tbaa !5
  store ptr %208, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %209 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %209, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %210 = load ptr, ptr %26, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %212 = load i32, ptr %211, align 4, !tbaa !23
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds double, ptr %210, i64 %213
  store ptr %214, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %215 = load ptr, ptr %27, align 8, !tbaa !5
  %216 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %217 = load i32, ptr %216, align 4, !tbaa !23
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds double, ptr %215, i64 %218
  store ptr %219, ptr %29, align 8, !tbaa !5
  %220 = load ptr, ptr %26, align 8, !tbaa !5
  %221 = load double, ptr %220, align 8, !tbaa !24
  %222 = load ptr, ptr %27, align 8, !tbaa !5
  %223 = load double, ptr %222, align 8, !tbaa !24
  %224 = fsub double %221, %223
  %225 = load ptr, ptr %26, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %227 = load i32, ptr %226, align 8, !tbaa !22
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds double, ptr %225, i64 %228
  store double %224, ptr %229, align 8, !tbaa !24
  %230 = load ptr, ptr %26, align 8, !tbaa !5
  %231 = load double, ptr %230, align 8, !tbaa !24
  %232 = load ptr, ptr %27, align 8, !tbaa !5
  %233 = load double, ptr %232, align 8, !tbaa !24
  %234 = fadd double %231, %233
  %235 = load ptr, ptr %26, align 8, !tbaa !5
  store double %234, ptr %235, align 8, !tbaa !24
  %236 = load ptr, ptr %27, align 8, !tbaa !5
  %237 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %238 = load i32, ptr %237, align 8, !tbaa !22
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %236, i64 %239
  store double 0.000000e+00, ptr %240, align 8, !tbaa !24
  %241 = load ptr, ptr %27, align 8, !tbaa !5
  store double 0.000000e+00, ptr %241, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %242 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 6
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef 0) #6
  store ptr %243, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %244 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 6
  %245 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %244, i64 noundef 0) #6
  %246 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %247 = load i32, ptr %246, align 4, !tbaa !23
  %248 = sdiv i32 %247, 4
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds double, ptr %245, i64 %249
  store ptr %250, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  store i32 1, ptr %32, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %251 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %252 = load i32, ptr %251, align 8, !tbaa !22
  %253 = sub nsw i32 %252, 2
  store i32 %253, ptr %33, align 4, !tbaa !18
  br label %254

254:                                              ; preds = %325, %195
  %255 = load i32, ptr %32, align 4, !tbaa !18
  %256 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %257 = load i32, ptr %256, align 8, !tbaa !22
  %258 = icmp slt i32 %255, %257
  br i1 %258, label %260, label %259

259:                                              ; preds = %254
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %330

260:                                              ; preds = %254
  %261 = load ptr, ptr %26, align 8, !tbaa !5
  %262 = getelementptr inbounds double, ptr %261, i32 1
  store ptr %262, ptr %26, align 8, !tbaa !5
  %263 = load ptr, ptr %27, align 8, !tbaa !5
  %264 = getelementptr inbounds double, ptr %263, i32 1
  store ptr %264, ptr %27, align 8, !tbaa !5
  %265 = load ptr, ptr %30, align 8, !tbaa !5
  %266 = getelementptr inbounds double, ptr %265, i32 1
  store ptr %266, ptr %30, align 8, !tbaa !5
  %267 = load ptr, ptr %31, align 8, !tbaa !5
  %268 = getelementptr inbounds double, ptr %267, i32 1
  store ptr %268, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %269 = load ptr, ptr %26, align 8, !tbaa !5
  %270 = load double, ptr %269, align 8, !tbaa !24
  %271 = load ptr, ptr %26, align 8, !tbaa !5
  %272 = load i32, ptr %33, align 4, !tbaa !18
  %273 = sext i32 %272 to i64
  %274 = getelementptr inbounds double, ptr %271, i64 %273
  %275 = load double, ptr %274, align 8, !tbaa !24
  %276 = fsub double %270, %275
  store double %276, ptr %34, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  %277 = load ptr, ptr %27, align 8, !tbaa !5
  %278 = load double, ptr %277, align 8, !tbaa !24
  %279 = load ptr, ptr %27, align 8, !tbaa !5
  %280 = load i32, ptr %33, align 4, !tbaa !18
  %281 = sext i32 %280 to i64
  %282 = getelementptr inbounds double, ptr %279, i64 %281
  %283 = load double, ptr %282, align 8, !tbaa !24
  %284 = fadd double %278, %283
  store double %284, ptr %35, align 8, !tbaa !24
  %285 = load ptr, ptr %26, align 8, !tbaa !5
  %286 = load double, ptr %285, align 8, !tbaa !24
  %287 = load ptr, ptr %26, align 8, !tbaa !5
  %288 = load i32, ptr %33, align 4, !tbaa !18
  %289 = sext i32 %288 to i64
  %290 = getelementptr inbounds double, ptr %287, i64 %289
  %291 = load double, ptr %290, align 8, !tbaa !24
  %292 = fadd double %286, %291
  %293 = load ptr, ptr %31, align 8, !tbaa !5
  %294 = load double, ptr %293, align 8, !tbaa !24
  %295 = load double, ptr %35, align 8, !tbaa !24
  %296 = call double @llvm.fmuladd.f64(double %294, double %295, double %292)
  %297 = load ptr, ptr %30, align 8, !tbaa !5
  %298 = load double, ptr %297, align 8, !tbaa !24
  %299 = load double, ptr %34, align 8, !tbaa !24
  %300 = fneg double %298
  %301 = call double @llvm.fmuladd.f64(double %300, double %299, double %296)
  %302 = fmul double %301, 5.000000e-01
  %303 = load ptr, ptr %28, align 8, !tbaa !5
  %304 = getelementptr inbounds double, ptr %303, i32 -1
  store ptr %304, ptr %28, align 8, !tbaa !5
  store double %302, ptr %304, align 8, !tbaa !24
  %305 = load ptr, ptr %27, align 8, !tbaa !5
  %306 = load double, ptr %305, align 8, !tbaa !24
  %307 = fneg double %306
  %308 = load ptr, ptr %27, align 8, !tbaa !5
  %309 = load i32, ptr %33, align 4, !tbaa !18
  %310 = sext i32 %309 to i64
  %311 = getelementptr inbounds double, ptr %308, i64 %310
  %312 = load double, ptr %311, align 8, !tbaa !24
  %313 = fadd double %307, %312
  %314 = load ptr, ptr %30, align 8, !tbaa !5
  %315 = load double, ptr %314, align 8, !tbaa !24
  %316 = load double, ptr %35, align 8, !tbaa !24
  %317 = call double @llvm.fmuladd.f64(double %315, double %316, double %313)
  %318 = load ptr, ptr %31, align 8, !tbaa !5
  %319 = load double, ptr %318, align 8, !tbaa !24
  %320 = load double, ptr %34, align 8, !tbaa !24
  %321 = call double @llvm.fmuladd.f64(double %319, double %320, double %317)
  %322 = fmul double %321, 5.000000e-01
  %323 = load ptr, ptr %29, align 8, !tbaa !5
  %324 = getelementptr inbounds double, ptr %323, i32 -1
  store ptr %324, ptr %29, align 8, !tbaa !5
  store double %322, ptr %324, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %325

325:                                              ; preds = %260
  %326 = load i32, ptr %32, align 4, !tbaa !18
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %32, align 4, !tbaa !18
  %328 = load i32, ptr %33, align 4, !tbaa !18
  %329 = sub nsw i32 %328, 2
  store i32 %329, ptr %33, align 4, !tbaa !18
  br label %254, !llvm.loop !28

330:                                              ; preds = %259
  %331 = load ptr, ptr %24, align 8, !tbaa !5
  %332 = getelementptr inbounds double, ptr %331, i64 1
  store ptr %332, ptr %26, align 8, !tbaa !5
  %333 = load ptr, ptr %25, align 8, !tbaa !5
  %334 = getelementptr inbounds double, ptr %333, i64 1
  store ptr %334, ptr %27, align 8, !tbaa !5
  %335 = load ptr, ptr %24, align 8, !tbaa !5
  %336 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %337 = load i32, ptr %336, align 4, !tbaa !23
  %338 = sext i32 %337 to i64
  %339 = getelementptr inbounds double, ptr %335, i64 %338
  store ptr %339, ptr %28, align 8, !tbaa !5
  %340 = load ptr, ptr %25, align 8, !tbaa !5
  %341 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %342 = load i32, ptr %341, align 4, !tbaa !23
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds double, ptr %340, i64 %343
  store ptr %344, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store i32 1, ptr %36, align 4, !tbaa !18
  br label %345

345:                                              ; preds = %363, %330
  %346 = load i32, ptr %36, align 4, !tbaa !18
  %347 = getelementptr inbounds %"class.sptk::RealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %348 = load i32, ptr %347, align 8, !tbaa !22
  %349 = icmp slt i32 %346, %348
  br i1 %349, label %351, label %350

350:                                              ; preds = %345
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  br label %366

351:                                              ; preds = %345
  %352 = load ptr, ptr %28, align 8, !tbaa !5
  %353 = getelementptr inbounds double, ptr %352, i32 -1
  store ptr %353, ptr %28, align 8, !tbaa !5
  %354 = load double, ptr %353, align 8, !tbaa !24
  %355 = load ptr, ptr %26, align 8, !tbaa !5
  %356 = getelementptr inbounds double, ptr %355, i32 1
  store ptr %356, ptr %26, align 8, !tbaa !5
  store double %354, ptr %355, align 8, !tbaa !24
  %357 = load ptr, ptr %29, align 8, !tbaa !5
  %358 = getelementptr inbounds double, ptr %357, i32 -1
  store ptr %358, ptr %29, align 8, !tbaa !5
  %359 = load double, ptr %358, align 8, !tbaa !24
  %360 = fneg double %359
  %361 = load ptr, ptr %27, align 8, !tbaa !5
  %362 = getelementptr inbounds double, ptr %361, i32 1
  store ptr %362, ptr %27, align 8, !tbaa !5
  store double %360, ptr %361, align 8, !tbaa !24
  br label %363

363:                                              ; preds = %351
  %364 = load i32, ptr %36, align 4, !tbaa !18
  %365 = add nsw i32 %364, 1
  store i32 %365, ptr %36, align 4, !tbaa !18
  br label %345, !llvm.loop !29

366:                                              ; preds = %350
  store i1 true, ptr %6, align 1
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #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
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %367

367:                                              ; preds = %366, %194, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  %368 = load i1, ptr %6, align 1
  ret i1 %368
}

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

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

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

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

; 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

declare noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !11, i64 8}
!10 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !13, i64 72, !14, i64 80}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN4sptk20FastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !13, i64 20, !14, i64 24}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !13, i64 72}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{!10, !11, i64 16}
!23 = !{!10, !11, i64 12}
!24 = !{!25, !25, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}
!29 = distinct !{!29, !27}


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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform3RunERKSt6vectorIdSaIdEEPS3_S6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #1 align 2 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca double, align 8
  %10 = getelementptr inbounds i8, ptr %0, i64 8
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %12 = add nsw i32 %11, 1
  %13 = getelementptr inbounds i8, ptr %0, i64 72
  %14 = load i8, ptr %13, align 8, !tbaa !17, !range !18, !noundef !19
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %16, label %.loopexit

16:                                               ; preds = %5
  %17 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  %18 = sext i32 %12 to i64
  %19 = icmp ne i64 %17, %18
  %20 = icmp eq ptr %2, null
  %or.cond = or i1 %20, %19
  %21 = icmp eq ptr %3, null
  %or.cond3 = or i1 %21, %or.cond
  %22 = icmp eq ptr %4, null
  %or.cond5 = or i1 %22, %or.cond3
  br i1 %or.cond5, label %.loopexit, label %23

23:                                               ; preds = %16
  %24 = getelementptr inbounds i8, ptr %4, i64 8
  %25 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = load i32, ptr %26, align 8, !tbaa !20
  %28 = sext i32 %27 to i64
  %.not = icmp eq i64 %25, %28
  br i1 %.not, label %30, label %29

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

30:                                               ; preds = %29, %23
  %31 = getelementptr inbounds i8, ptr %4, i64 32
  %32 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %33 = load i32, ptr %26, align 8, !tbaa !20
  %34 = sext i32 %33 to i64
  %.not123 = icmp eq i64 %32, %34
  br i1 %.not123, label %36, label %35

35:                                               ; preds = %30
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %34)
  br label %36

36:                                               ; preds = %35, %30
  %37 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %38 = getelementptr inbounds i8, ptr %0, i64 12
  %39 = load i32, ptr %38, align 4, !tbaa !21
  %40 = sext i32 %39 to i64
  %41 = icmp ult i64 %37, %40
  br i1 %41, label %42, label %43

42:                                               ; preds = %36
  tail call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %40)
  br label %43

43:                                               ; preds = %42, %36
  %44 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE8capacityEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %45 = load i32, ptr %38, align 4, !tbaa !21
  %46 = sext i32 %45 to i64
  %47 = icmp ult i64 %44, %46
  br i1 %47, label %48, label %49

48:                                               ; preds = %43
  tail call void @_ZNSt6vectorIdSaIdEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %46)
  br label %49

49:                                               ; preds = %48, %43
  %.not124127 = icmp slt i32 %11, 0
  br i1 %.not124127, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %49
  %50 = zext nneg i32 %11 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %54
  %indvars.iv149 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next150, %54 ]
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %54 ]
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #7
  %52 = load double, ptr %51, align 8, !tbaa !22
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv149) #7
  store double %52, ptr %53, align 8, !tbaa !22
  %.not125 = icmp ult i64 %indvars.iv, %50
  br i1 %.not125, label %54, label %._crit_edge

54:                                               ; preds = %.lr.ph
  %55 = or disjoint i64 %indvars.iv, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %56 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %55) #7
  %57 = load double, ptr %56, align 8, !tbaa !22
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %indvars.iv149) #7
  store double %57, ptr %58, align 8, !tbaa !22
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %59 = trunc nuw i64 %indvars.iv.next to i32
  %.not124 = icmp slt i32 %11, %59
  br i1 %.not124, label %._crit_edge, label %.lr.ph, !llvm.loop !24

._crit_edge:                                      ; preds = %54, %.lr.ph, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %60 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  store ptr %60, ptr %6, align 8
  %61 = add nsw i32 %11, 2
  %62 = sdiv i32 %61, 2
  %63 = sext i32 %62 to i64
  %64 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %63) #7
  %65 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store double 0.000000e+00, ptr %7, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %64, ptr %65, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %66 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  store ptr %66, ptr %8, align 8
  %67 = sdiv i32 %12, 2
  %68 = sext i32 %67 to i64
  %69 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %68) #7
  %70 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store double 0.000000e+00, ptr %9, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %69, ptr %70, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  %71 = getelementptr inbounds i8, ptr %0, i64 24
  %72 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %71, ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull %2, ptr noundef nonnull %3)
  br i1 %72, label %73, label %.loopexit

73:                                               ; preds = %._crit_edge
  %74 = load i32, ptr %38, align 4, !tbaa !21
  %75 = sext i32 %74 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %75)
  %76 = load i32, ptr %38, align 4, !tbaa !21
  %77 = sext i32 %76 to i64
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %77)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #7
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #7
  %80 = load i32, ptr %38, align 4, !tbaa !21
  %81 = load double, ptr %78, align 8, !tbaa !22
  %82 = load double, ptr %79, align 8, !tbaa !22
  %83 = fsub double %81, %82
  %84 = load i32, ptr %26, align 8, !tbaa !20
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds double, ptr %78, i64 %85
  store double %83, ptr %86, align 8, !tbaa !22
  %87 = load double, ptr %78, align 8, !tbaa !22
  %88 = load double, ptr %79, align 8, !tbaa !22
  %89 = fadd double %87, %88
  store double %89, ptr %78, align 8, !tbaa !22
  %90 = getelementptr inbounds double, ptr %79, i64 %85
  store double 0.000000e+00, ptr %90, align 8, !tbaa !22
  store double 0.000000e+00, ptr %79, align 8, !tbaa !22
  %91 = getelementptr inbounds i8, ptr %0, i64 80
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef 0) #7
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %91, i64 noundef 0) #7
  %94 = load i32, ptr %38, align 4, !tbaa !21
  %95 = load i32, ptr %26, align 8, !tbaa !20
  %96 = icmp sgt i32 %95, 1
  br i1 %96, label %.lr.ph140.preheader, label %.loopexit

.lr.ph140.preheader:                              ; preds = %73
  %97 = sdiv i32 %94, 4
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds double, ptr %93, i64 %98
  %100 = sext i32 %80 to i64
  %101 = getelementptr double, ptr %79, i64 %100
  %102 = getelementptr double, ptr %78, i64 %100
  %103 = zext nneg i32 %95 to i64
  %104 = add nsw i32 %95, -1
  %105 = zext i32 %104 to i64
  %min.iters.check = icmp ult i32 %95, 23
  br i1 %min.iters.check, label %.lr.ph140.preheader269, label %vector.scevcheck

.lr.ph140.preheader269:                           ; preds = %middle.block, %vector.memcheck, %vector.scevcheck, %.lr.ph140.preheader
  %indvars.iv154.ph = phi i64 [ %103, %vector.memcheck ], [ %103, %vector.scevcheck ], [ %103, %.lr.ph140.preheader ], [ %ind.end, %middle.block ]
  %.0102137.ph = phi i32 [ 1, %vector.memcheck ], [ 1, %vector.scevcheck ], [ 1, %.lr.ph140.preheader ], [ %ind.end231, %middle.block ]
  %.0103136.ph = phi ptr [ %99, %vector.memcheck ], [ %99, %vector.scevcheck ], [ %99, %.lr.ph140.preheader ], [ %ind.end233, %middle.block ]
  %.0104135.ph = phi ptr [ %92, %vector.memcheck ], [ %92, %vector.scevcheck ], [ %92, %.lr.ph140.preheader ], [ %ind.end235, %middle.block ]
  %.0105134.ph = phi ptr [ %101, %vector.memcheck ], [ %101, %vector.scevcheck ], [ %101, %.lr.ph140.preheader ], [ %ind.end237, %middle.block ]
  %.0106133.ph = phi ptr [ %102, %vector.memcheck ], [ %102, %vector.scevcheck ], [ %102, %.lr.ph140.preheader ], [ %ind.end239, %middle.block ]
  %.0108132.ph = phi ptr [ %79, %vector.memcheck ], [ %79, %vector.scevcheck ], [ %79, %.lr.ph140.preheader ], [ %ind.end241, %middle.block ]
  %.0110131.ph = phi ptr [ %78, %vector.memcheck ], [ %78, %vector.scevcheck ], [ %78, %.lr.ph140.preheader ], [ %ind.end243, %middle.block ]
  br label %.lr.ph140

vector.scevcheck:                                 ; preds = %.lr.ph140.preheader
  %106 = add nsw i32 %95, -2
  %107 = shl nsw i64 %100, 3
  %108 = add nsw i64 %107, -8
  %scevgep = getelementptr i8, ptr %78, i64 %108
  %109 = zext i32 %106 to i64
  %mul.neg = mul nsw i64 %109, -8
  %110 = getelementptr i8, ptr %scevgep, i64 %mul.neg
  %111 = icmp ugt ptr %110, %scevgep
  %scevgep158 = getelementptr i8, ptr %79, i64 %108
  %112 = zext i32 %106 to i64
  %mul159.neg = mul nsw i64 %112, -8
  %113 = getelementptr i8, ptr %scevgep158, i64 %mul159.neg
  %114 = icmp ugt ptr %113, %scevgep158
  %115 = shl nuw nsw i64 %103, 3
  %116 = add nsw i64 %115, -8
  %scevgep162 = getelementptr i8, ptr %78, i64 %116
  %117 = zext i32 %106 to i64
  %mul163.neg = mul nsw i64 %117, -8
  %118 = getelementptr i8, ptr %scevgep162, i64 %mul163.neg
  %119 = icmp ugt ptr %118, %scevgep162
  %scevgep166 = getelementptr i8, ptr %79, i64 %116
  %120 = zext i32 %106 to i64
  %mul167.neg = mul nsw i64 %120, -8
  %121 = getelementptr i8, ptr %scevgep166, i64 %mul167.neg
  %122 = icmp ugt ptr %121, %scevgep166
  %123 = or i1 %111, %114
  %124 = or i1 %123, %119
  %125 = or i1 %124, %122
  br i1 %125, label %.lr.ph140.preheader269, label %vector.memcheck

vector.memcheck:                                  ; preds = %vector.scevcheck
  %scevgep170 = getelementptr inbounds i8, ptr %78, i64 8
  %126 = add nsw i32 %95, -2
  %127 = zext i32 %126 to i64
  %128 = shl nuw nsw i64 %127, 3
  %129 = add nuw nsw i64 %128, 16
  %scevgep171 = getelementptr i8, ptr %78, i64 %129
  %130 = shl nsw i64 %100, 3
  %131 = add nsw i64 %130, -8
  %132 = sub nsw i64 %131, %128
  %scevgep172 = getelementptr i8, ptr %78, i64 %132
  %scevgep173 = getelementptr i8, ptr %79, i64 %132
  %scevgep174 = getelementptr inbounds i8, ptr %79, i64 8
  %scevgep175 = getelementptr i8, ptr %79, i64 %129
  %133 = shl nsw i64 %98, 3
  %134 = getelementptr i8, ptr %93, i64 %133
  %scevgep176 = getelementptr i8, ptr %134, i64 8
  %135 = getelementptr i8, ptr %93, i64 %133
  %136 = getelementptr i8, ptr %135, i64 %128
  %scevgep177 = getelementptr i8, ptr %136, i64 16
  %scevgep178 = getelementptr inbounds i8, ptr %92, i64 8
  %scevgep179 = getelementptr i8, ptr %92, i64 %129
  %137 = shl nuw nsw i64 %103, 3
  %138 = add nsw i64 %137, -8
  %139 = sub nsw i64 %138, %128
  %scevgep180 = getelementptr i8, ptr %78, i64 %139
  %scevgep181 = getelementptr i8, ptr %78, i64 %137
  %scevgep182 = getelementptr i8, ptr %79, i64 %139
  %scevgep183 = getelementptr i8, ptr %79, i64 %137
  %bound0 = icmp ult ptr %scevgep170, %102
  %bound1 = icmp ult ptr %scevgep172, %scevgep171
  %found.conflict = and i1 %bound0, %bound1
  %bound0184 = icmp ult ptr %scevgep170, %101
  %bound1185 = icmp ult ptr %scevgep173, %scevgep171
  %found.conflict186 = and i1 %bound0184, %bound1185
  %conflict.rdx = or i1 %found.conflict, %found.conflict186
  %bound0187 = icmp ult ptr %scevgep174, %102
  %bound1188 = icmp ult ptr %scevgep172, %scevgep175
  %found.conflict189 = and i1 %bound0187, %bound1188
  %conflict.rdx190 = or i1 %conflict.rdx, %found.conflict189
  %bound0191 = icmp ult ptr %scevgep174, %101
  %bound1192 = icmp ult ptr %scevgep173, %scevgep175
  %found.conflict193 = and i1 %bound0191, %bound1192
  %conflict.rdx194 = or i1 %conflict.rdx190, %found.conflict193
  %bound0195 = icmp ult ptr %scevgep176, %102
  %bound1196 = icmp ult ptr %scevgep172, %scevgep177
  %found.conflict197 = and i1 %bound0195, %bound1196
  %conflict.rdx198 = or i1 %conflict.rdx194, %found.conflict197
  %bound0199 = icmp ult ptr %scevgep176, %101
  %bound1200 = icmp ult ptr %scevgep173, %scevgep177
  %found.conflict201 = and i1 %bound0199, %bound1200
  %conflict.rdx202 = or i1 %conflict.rdx198, %found.conflict201
  %bound0203 = icmp ult ptr %scevgep178, %102
  %bound1204 = icmp ult ptr %scevgep172, %scevgep179
  %found.conflict205 = and i1 %bound0203, %bound1204
  %conflict.rdx206 = or i1 %conflict.rdx202, %found.conflict205
  %bound0207 = icmp ult ptr %scevgep178, %101
  %bound1208 = icmp ult ptr %scevgep173, %scevgep179
  %found.conflict209 = and i1 %bound0207, %bound1208
  %conflict.rdx210 = or i1 %conflict.rdx206, %found.conflict209
  %bound0211 = icmp ult ptr %scevgep172, %101
  %bound1212 = icmp ult ptr %scevgep173, %102
  %found.conflict213 = and i1 %bound0211, %bound1212
  %conflict.rdx214 = or i1 %conflict.rdx210, %found.conflict213
  %bound0215 = icmp ult ptr %scevgep172, %scevgep181
  %bound1216 = icmp ult ptr %scevgep180, %102
  %found.conflict217 = and i1 %bound0215, %bound1216
  %conflict.rdx218 = or i1 %conflict.rdx214, %found.conflict217
  %bound0219 = icmp ult ptr %scevgep172, %scevgep183
  %bound1220 = icmp ult ptr %scevgep182, %102
  %found.conflict221 = and i1 %bound0219, %bound1220
  %conflict.rdx222 = or i1 %conflict.rdx218, %found.conflict221
  %bound0223 = icmp ult ptr %scevgep173, %scevgep181
  %bound1224 = icmp ult ptr %scevgep180, %101
  %found.conflict225 = and i1 %bound0223, %bound1224
  %conflict.rdx226 = or i1 %conflict.rdx222, %found.conflict225
  %bound0227 = icmp ult ptr %scevgep173, %scevgep183
  %bound1228 = icmp ult ptr %scevgep182, %101
  %found.conflict229 = and i1 %bound0227, %bound1228
  %conflict.rdx230 = or i1 %conflict.rdx226, %found.conflict229
  br i1 %conflict.rdx230, label %.lr.ph140.preheader269, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %105, 4294967294
  %140 = shl nuw nsw i64 %n.vec, 1
  %ind.end = sub nsw i64 %103, %140
  %ind.end231 = or i32 %104, 1
  %141 = shl nuw nsw i64 %n.vec, 3
  %ind.end233 = getelementptr i8, ptr %99, i64 %141
  %142 = shl nuw nsw i64 %n.vec, 3
  %ind.end235 = getelementptr i8, ptr %92, i64 %142
  %143 = mul nsw i64 %n.vec, -8
  %ind.end237 = getelementptr i8, ptr %101, i64 %143
  %144 = mul nsw i64 %n.vec, -8
  %ind.end239 = getelementptr i8, ptr %102, i64 %144
  %145 = shl nuw nsw i64 %n.vec, 3
  %ind.end241 = getelementptr i8, ptr %79, i64 %145
  %146 = shl nuw nsw i64 %n.vec, 3
  %ind.end243 = getelementptr i8, ptr %78, i64 %146
  %invariant.gep = getelementptr i8, ptr %78, i64 8
  %invariant.gep271 = getelementptr i8, ptr %79, i64 8
  %invariant.gep273 = getelementptr i8, ptr %92, i64 8
  %invariant.gep275 = getelementptr i8, ptr %99, i64 8
  %invariant.gep277 = getelementptr i8, ptr %102, i64 -16
  %invariant.gep279 = getelementptr i8, ptr %101, i64 -16
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %147 = shl i64 %index, 1
  %offset.idx = sub i64 %103, %147
  %offset.idx245 = shl i64 %index, 3
  %offset.idx246 = shl i64 %index, 3
  %offset.idx248 = mul i64 %index, -8
  %offset.idx250 = mul i64 %index, -8
  %offset.idx252 = shl i64 %index, 3
  %offset.idx254 = shl i64 %index, 3
  %148 = add nsw i64 %offset.idx, -2
  %gep = getelementptr i8, ptr %invariant.gep, i64 %offset.idx254
  %gep272 = getelementptr i8, ptr %invariant.gep271, i64 %offset.idx252
  %gep274 = getelementptr i8, ptr %invariant.gep273, i64 %offset.idx246
  %gep276 = getelementptr i8, ptr %invariant.gep275, i64 %offset.idx245
  %wide.load = load <2 x double>, ptr %gep, align 8, !tbaa !22, !alias.scope !26, !noalias !29
  %149 = getelementptr inbounds double, ptr %gep, i64 %148
  %150 = getelementptr inbounds i8, ptr %149, i64 -8
  %wide.load256 = load <2 x double>, ptr %150, align 8, !tbaa !22, !alias.scope !32
  %reverse = shufflevector <2 x double> %wide.load256, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %151 = fsub <2 x double> %wide.load, %reverse
  %wide.load257 = load <2 x double>, ptr %gep272, align 8, !tbaa !22, !alias.scope !34, !noalias !29
  %152 = getelementptr inbounds double, ptr %gep272, i64 %148
  %153 = getelementptr inbounds i8, ptr %152, i64 -8
  %wide.load258 = load <2 x double>, ptr %153, align 8, !tbaa !22, !alias.scope !36
  %reverse259 = shufflevector <2 x double> %wide.load258, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %154 = fadd <2 x double> %wide.load257, %reverse259
  %155 = fadd <2 x double> %wide.load, %reverse
  %wide.load260 = load <2 x double>, ptr %gep276, align 8, !tbaa !22, !alias.scope !38, !noalias !29
  %156 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load260, <2 x double> %154, <2 x double> %155)
  %wide.load261 = load <2 x double>, ptr %gep274, align 8, !tbaa !22, !alias.scope !40, !noalias !29
  %157 = fneg <2 x double> %wide.load261
  %158 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %151, <2 x double> %156)
  %159 = fmul <2 x double> %158, <double 5.000000e-01, double 5.000000e-01>
  %gep278 = getelementptr i8, ptr %invariant.gep277, i64 %offset.idx250
  %reverse262 = shufflevector <2 x double> %159, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse262, ptr %gep278, align 8, !tbaa !22, !alias.scope !42, !noalias !43
  %wide.load263 = load <2 x double>, ptr %gep272, align 8, !tbaa !22, !alias.scope !34, !noalias !29
  %wide.load264 = load <2 x double>, ptr %153, align 8, !tbaa !22, !alias.scope !36
  %reverse265 = shufflevector <2 x double> %wide.load264, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %160 = fsub <2 x double> %reverse265, %wide.load263
  %wide.load266 = load <2 x double>, ptr %gep274, align 8, !tbaa !22, !alias.scope !40, !noalias !29
  %161 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load266, <2 x double> %154, <2 x double> %160)
  %wide.load267 = load <2 x double>, ptr %gep276, align 8, !tbaa !22, !alias.scope !38, !noalias !29
  %162 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load267, <2 x double> %151, <2 x double> %161)
  %163 = fmul <2 x double> %162, <double 5.000000e-01, double 5.000000e-01>
  %gep280 = getelementptr i8, ptr %invariant.gep279, i64 %offset.idx248
  %reverse268 = shufflevector <2 x double> %163, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  store <2 x double> %reverse268, ptr %gep280, align 8, !tbaa !22, !alias.scope !44, !noalias !45
  %index.next = add nuw i64 %index, 2
  %164 = icmp eq i64 %index.next, %n.vec
  br i1 %164, label %middle.block, label %vector.body, !llvm.loop !46

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %105
  br i1 %cmp.n, label %._crit_edge141, label %.lr.ph140.preheader269

._crit_edge141:                                   ; preds = %.lr.ph140, %middle.block
  br i1 %96, label %.lr.ph148.preheader, label %.loopexit

.lr.ph148.preheader:                              ; preds = %._crit_edge141
  %165 = sext i32 %94 to i64
  %166 = getelementptr inbounds double, ptr %79, i64 %165
  %167 = getelementptr inbounds double, ptr %78, i64 %165
  %168 = add nsw i32 %95, -2
  %xtraiter = and i32 %104, 3
  %169 = icmp ult i32 %168, 3
  br i1 %169, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph148.preheader.new

.lr.ph148.preheader.new:                          ; preds = %.lr.ph148.preheader
  %unroll_iter = and i32 %104, -4
  br label %.lr.ph148

.lr.ph140:                                        ; preds = %.lr.ph140.preheader269, %.lr.ph140
  %indvars.iv154 = phi i64 [ %indvars.iv.next155, %.lr.ph140 ], [ %indvars.iv154.ph, %.lr.ph140.preheader269 ]
  %.0102137 = phi i32 [ %199, %.lr.ph140 ], [ %.0102137.ph, %.lr.ph140.preheader269 ]
  %.0103136 = phi ptr [ %173, %.lr.ph140 ], [ %.0103136.ph, %.lr.ph140.preheader269 ]
  %.0104135 = phi ptr [ %172, %.lr.ph140 ], [ %.0104135.ph, %.lr.ph140.preheader269 ]
  %.0105134 = phi ptr [ %198, %.lr.ph140 ], [ %.0105134.ph, %.lr.ph140.preheader269 ]
  %.0106133 = phi ptr [ %189, %.lr.ph140 ], [ %.0106133.ph, %.lr.ph140.preheader269 ]
  %.0108132 = phi ptr [ %171, %.lr.ph140 ], [ %.0108132.ph, %.lr.ph140.preheader269 ]
  %.0110131 = phi ptr [ %170, %.lr.ph140 ], [ %.0110131.ph, %.lr.ph140.preheader269 ]
  %indvars.iv.next155 = add nsw i64 %indvars.iv154, -2
  %170 = getelementptr inbounds i8, ptr %.0110131, i64 8
  %171 = getelementptr inbounds i8, ptr %.0108132, i64 8
  %172 = getelementptr inbounds i8, ptr %.0104135, i64 8
  %173 = getelementptr inbounds i8, ptr %.0103136, i64 8
  %174 = load double, ptr %170, align 8, !tbaa !22
  %175 = getelementptr inbounds double, ptr %170, i64 %indvars.iv.next155
  %176 = load double, ptr %175, align 8, !tbaa !22
  %177 = fsub double %174, %176
  %178 = load double, ptr %171, align 8, !tbaa !22
  %179 = getelementptr inbounds double, ptr %171, i64 %indvars.iv.next155
  %180 = load double, ptr %179, align 8, !tbaa !22
  %181 = fadd double %178, %180
  %182 = fadd double %174, %176
  %183 = load double, ptr %173, align 8, !tbaa !22
  %184 = call double @llvm.fmuladd.f64(double %183, double %181, double %182)
  %185 = load double, ptr %172, align 8, !tbaa !22
  %186 = fneg double %185
  %187 = call double @llvm.fmuladd.f64(double %186, double %177, double %184)
  %188 = fmul double %187, 5.000000e-01
  %189 = getelementptr inbounds i8, ptr %.0106133, i64 -8
  store double %188, ptr %189, align 8, !tbaa !22
  %190 = load double, ptr %171, align 8, !tbaa !22
  %191 = load double, ptr %179, align 8, !tbaa !22
  %192 = fsub double %191, %190
  %193 = load double, ptr %172, align 8, !tbaa !22
  %194 = call double @llvm.fmuladd.f64(double %193, double %181, double %192)
  %195 = load double, ptr %173, align 8, !tbaa !22
  %196 = call double @llvm.fmuladd.f64(double %195, double %177, double %194)
  %197 = fmul double %196, 5.000000e-01
  %198 = getelementptr inbounds i8, ptr %.0105134, i64 -8
  store double %197, ptr %198, align 8, !tbaa !22
  %199 = add nuw nsw i32 %.0102137, 1
  %exitcond.not = icmp eq i32 %199, %95
  br i1 %exitcond.not, label %._crit_edge141, label %.lr.ph140, !llvm.loop !49

.lr.ph148:                                        ; preds = %.lr.ph148, %.lr.ph148.preheader.new
  %.1145 = phi ptr [ %166, %.lr.ph148.preheader.new ], [ %217, %.lr.ph148 ]
  %.1107144 = phi ptr [ %167, %.lr.ph148.preheader.new ], [ %215, %.lr.ph148 ]
  %.pn126143 = phi ptr [ %79, %.lr.ph148.preheader.new ], [ %.1109.3, %.lr.ph148 ]
  %.pn142 = phi ptr [ %78, %.lr.ph148.preheader.new ], [ %.1111.3, %.lr.ph148 ]
  %niter = phi i32 [ 0, %.lr.ph148.preheader.new ], [ %niter.next.3, %.lr.ph148 ]
  %.1109 = getelementptr inbounds i8, ptr %.pn126143, i64 8
  %.1111 = getelementptr inbounds i8, ptr %.pn142, i64 8
  %200 = getelementptr inbounds i8, ptr %.1107144, i64 -8
  %201 = load double, ptr %200, align 8, !tbaa !22
  store double %201, ptr %.1111, align 8, !tbaa !22
  %202 = getelementptr inbounds i8, ptr %.1145, i64 -8
  %203 = load double, ptr %202, align 8, !tbaa !22
  %204 = fneg double %203
  store double %204, ptr %.1109, align 8, !tbaa !22
  %.1109.1 = getelementptr inbounds i8, ptr %.pn126143, i64 16
  %.1111.1 = getelementptr inbounds i8, ptr %.pn142, i64 16
  %205 = getelementptr inbounds i8, ptr %.1107144, i64 -16
  %206 = load double, ptr %205, align 8, !tbaa !22
  store double %206, ptr %.1111.1, align 8, !tbaa !22
  %207 = getelementptr inbounds i8, ptr %.1145, i64 -16
  %208 = load double, ptr %207, align 8, !tbaa !22
  %209 = fneg double %208
  store double %209, ptr %.1109.1, align 8, !tbaa !22
  %.1109.2 = getelementptr inbounds i8, ptr %.pn126143, i64 24
  %.1111.2 = getelementptr inbounds i8, ptr %.pn142, i64 24
  %210 = getelementptr inbounds i8, ptr %.1107144, i64 -24
  %211 = load double, ptr %210, align 8, !tbaa !22
  store double %211, ptr %.1111.2, align 8, !tbaa !22
  %212 = getelementptr inbounds i8, ptr %.1145, i64 -24
  %213 = load double, ptr %212, align 8, !tbaa !22
  %214 = fneg double %213
  store double %214, ptr %.1109.2, align 8, !tbaa !22
  %.1109.3 = getelementptr inbounds i8, ptr %.pn126143, i64 32
  %.1111.3 = getelementptr inbounds i8, ptr %.pn142, i64 32
  %215 = getelementptr inbounds i8, ptr %.1107144, i64 -32
  %216 = load double, ptr %215, align 8, !tbaa !22
  store double %216, ptr %.1111.3, align 8, !tbaa !22
  %217 = getelementptr inbounds i8, ptr %.1145, i64 -32
  %218 = load double, ptr %217, align 8, !tbaa !22
  %219 = fneg double %218
  store double %219, ptr %.1109.3, align 8, !tbaa !22
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph148, !llvm.loop !50

.loopexit.loopexit.unr-lcssa:                     ; preds = %.lr.ph148, %.lr.ph148.preheader
  %.1145.unr = phi ptr [ %166, %.lr.ph148.preheader ], [ %217, %.lr.ph148 ]
  %.1107144.unr = phi ptr [ %167, %.lr.ph148.preheader ], [ %215, %.lr.ph148 ]
  %.pn126143.unr = phi ptr [ %79, %.lr.ph148.preheader ], [ %.1109.3, %.lr.ph148 ]
  %.pn142.unr = phi ptr [ %78, %.lr.ph148.preheader ], [ %.1111.3, %.lr.ph148 ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.lr.ph148.epil

.lr.ph148.epil:                                   ; preds = %.loopexit.loopexit.unr-lcssa, %.lr.ph148.epil
  %.1145.epil = phi ptr [ %222, %.lr.ph148.epil ], [ %.1145.unr, %.loopexit.loopexit.unr-lcssa ]
  %.1107144.epil = phi ptr [ %220, %.lr.ph148.epil ], [ %.1107144.unr, %.loopexit.loopexit.unr-lcssa ]
  %.pn126143.epil = phi ptr [ %.1109.epil, %.lr.ph148.epil ], [ %.pn126143.unr, %.loopexit.loopexit.unr-lcssa ]
  %.pn142.epil = phi ptr [ %.1111.epil, %.lr.ph148.epil ], [ %.pn142.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph148.epil ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %.1109.epil = getelementptr inbounds i8, ptr %.pn126143.epil, i64 8
  %.1111.epil = getelementptr inbounds i8, ptr %.pn142.epil, i64 8
  %220 = getelementptr inbounds i8, ptr %.1107144.epil, i64 -8
  %221 = load double, ptr %220, align 8, !tbaa !22
  store double %221, ptr %.1111.epil, align 8, !tbaa !22
  %222 = getelementptr inbounds i8, ptr %.1145.epil, i64 -8
  %223 = load double, ptr %222, align 8, !tbaa !22
  %224 = fneg double %223
  store double %224, ptr %.1109.epil, align 8, !tbaa !22
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.loopexit, label %.lr.ph148.epil, !llvm.loop !51

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %.lr.ph148.epil, %73, %._crit_edge141, %._crit_edge, %5, %16
  %.0100 = phi i1 [ false, %16 ], [ false, %5 ], [ false, %._crit_edge ], [ true, %._crit_edge141 ], [ true, %73 ], [ true, %.lr.ph148.epil ], [ true, %.loopexit.loopexit.unr-lcssa ]
  ret i1 %.0100
}

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

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

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

; 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

declare noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #6

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 72, !12, i64 80}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4sptk20FastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !11, i64 20, !12, i64 24}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!6, !11, i64 72}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !7, i64 16}
!21 = !{!6, !7, i64 12}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27}
!27 = distinct !{!27, !28}
!28 = distinct !{!28, !"LVerDomain"}
!29 = !{!30, !31}
!30 = distinct !{!30, !28}
!31 = distinct !{!31, !28}
!32 = !{!33}
!33 = distinct !{!33, !28}
!34 = !{!35}
!35 = distinct !{!35, !28}
!36 = !{!37}
!37 = distinct !{!37, !28}
!38 = !{!39}
!39 = distinct !{!39, !28}
!40 = !{!41}
!41 = distinct !{!41, !28}
!42 = !{!30}
!43 = !{!31, !33, !37}
!44 = !{!31}
!45 = !{!33, !37}
!46 = distinct !{!46, !25, !47, !48}
!47 = !{!"llvm.loop.isvectorized", i32 1}
!48 = !{!"llvm.loop.unroll.runtime.disable"}
!49 = distinct !{!49, !25, !47}
!50 = distinct !{!50, !25}
!51 = distinct !{!51, !52}
!52 = !{!"llvm.loop.unroll.disable"}


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