; LLVM IR from sgtlaugh/algovault :: code_library/fft.ll (ZN3fft8multiplyESt6vectorIxSaIxEES2_)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.fft::(anonymous namespace)::ComplexNum" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZN3fft12_GLOBAL__N_11uE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11fE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_12dpE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3fft6squareESt6vectorIxSaIxEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef) #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3fft8multiplyESt6vectorIxSaIxEES2_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %15 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %16 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %17 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %18 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %19 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %20 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %21 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %22 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %23 = alloca i1, align 1
  %24 = alloca i64, align 8
  %25 = alloca %"class.std::allocator", align 1
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  br i1 %26, label %27, label %33

27:                                               ; preds = %3
  call void @_ZNSt6vectorIxSaIxEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN3fft6squareESt6vectorIxSaIxEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef %7)
          to label %28 unwind label %29

28:                                               ; preds = %27
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %133

29:                                               ; preds = %27
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %8, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %9, align 4
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %134

33:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  %34 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %35 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %36 = add i64 %34, %35
  %37 = sub i64 %36, 1
  %38 = trunc i64 %37 to i32
  store i32 %38, ptr %13, align 4, !tbaa !9
  %39 = call noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  store i32 %39, ptr %12, align 4, !tbaa !9
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %58, %33
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = icmp slt i32 %41, %42
  br i1 %43, label %44, label %61

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #6
  %45 = load i32, ptr %10, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %46) #6
  %48 = load i64, ptr %47, align 8, !tbaa !11
  %49 = sitofp i64 %48 to x86_fp80
  %50 = load i32, ptr %10, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %51) #6
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = sitofp i64 %53 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef %49, x86_fp80 noundef %54)
  %55 = load i32, ptr %10, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %56
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %57, ptr align 16 %14, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %58

58:                                               ; preds = %44
  %59 = load i32, ptr %10, align 4, !tbaa !9
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %10, align 4, !tbaa !9
  br label %40, !llvm.loop !16

61:                                               ; preds = %40
  %62 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11uE, ptr noundef @_ZN3fft12_GLOBAL__N_11fE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %62)
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %63

63:                                               ; preds = %93, %61
  %64 = load i32, ptr %10, align 4, !tbaa !9
  %65 = load i32, ptr %12, align 4, !tbaa !9
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %67, label %96

67:                                               ; preds = %63
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = sub nsw i32 %68, 1
  %70 = load i32, ptr %12, align 4, !tbaa !9
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = sub nsw i32 %70, %71
  %73 = and i32 %69, %72
  store i32 %73, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #6
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %75
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %78
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %18, ptr align 16 %79, i64 32, i1 false), !tbaa.struct !13
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %17, ptr noundef nonnull align 16 dereferenceable(32) %76, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %18)
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #6
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %81
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %20, ptr noundef nonnull align 16 dereferenceable(32) %82)
  %83 = load i32, ptr %10, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %84
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21, ptr noundef nonnull align 16 dereferenceable(32) %85)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %19, ptr noundef nonnull align 16 dereferenceable(32) %20, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %21)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %16, ptr noundef nonnull align 16 dereferenceable(32) %17, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %19)
  %86 = load i32, ptr %12, align 4, !tbaa !9
  %87 = sitofp i32 %86 to double
  %88 = fdiv double -2.500000e-01, %87
  %89 = fpext double %88 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %22, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %89)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %15, ptr noundef nonnull align 16 dereferenceable(32) %16, ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %22)
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %91
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %92, ptr align 16 %15, i64 32, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  br label %93

93:                                               ; preds = %67
  %94 = load i32, ptr %10, align 4, !tbaa !9
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %10, align 4, !tbaa !9
  br label %63, !llvm.loop !18

96:                                               ; preds = %63
  %97 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef @_ZN3fft12_GLOBAL__N_11uE, ptr noundef @_ZN3fft12_GLOBAL__N_11fE, ptr noundef @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %97)
  store i1 false, ptr %23, align 1
  %98 = load i32, ptr %13, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 0, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %99, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %100 unwind label %120

100:                                              ; preds = %96
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %101

101:                                              ; preds = %117, %100
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %104 unwind label %124

104:                                              ; preds = %101
  %105 = load i32, ptr %103, align 4, !tbaa !9
  %106 = icmp slt i32 %102, %105
  br i1 %106, label %107, label %128

107:                                              ; preds = %104
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %109
  %111 = getelementptr inbounds %"struct.fft::(anonymous namespace)::ComplexNum", ptr %110, i32 0, i32 0
  %112 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %111)
          to label %113 unwind label %124

113:                                              ; preds = %107
  %114 = load i32, ptr %10, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %115) #6
  store i64 %112, ptr %116, align 8, !tbaa !11
  br label %117

117:                                              ; preds = %113
  %118 = load i32, ptr %10, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %10, align 4, !tbaa !9
  br label %101, !llvm.loop !19

120:                                              ; preds = %96
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %8, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %9, align 4
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %132

124:                                              ; preds = %107, %101
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %8, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %9, align 4
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %132

128:                                              ; preds = %104
  store i1 true, ptr %23, align 1
  %129 = load i1, ptr %23, align 1
  br i1 %129, label %131, label %130

130:                                              ; preds = %128
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %131

131:                                              ; preds = %130, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %133

132:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %134

133:                                              ; preds = %131, %28
  ret void

134:                                              ; preds = %132, %29
  %135 = load ptr, ptr %8, align 8
  %136 = load i32, ptr %9, align 4
  %137 = insertvalue { ptr, i32 } poison, ptr %135, 0
  %138 = insertvalue { ptr, i32 } %137, i32 %136, 1
  resume { ptr, i32 } %138
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.fft::(anonymous namespace)::ComplexNum" = type { x86_fp80, x86_fp80 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@_ZN3fft12_GLOBAL__N_11uE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_11fE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16
@_ZN3fft12_GLOBAL__N_12dpE = external hidden global [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], align 16

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32), x86_fp80 noundef, x86_fp80 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3fft6squareESt6vectorIxSaIxEE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3fft8multiplyESt6vectorIxSaIxEES2_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %1, ptr noundef nonnull %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %8 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %9 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %10 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %11 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %12 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %13 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %14 = alloca %"struct.fft::(anonymous namespace)::ComplexNum", align 16
  %15 = alloca i64, align 8
  %16 = alloca %"class.std::allocator", align 1
  %17 = tail call noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  br i1 %17, label %18, label %22

18:                                               ; preds = %3
  call void @_ZNSt6vectorIxSaIxEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %1)
  invoke void @_ZN3fft6squareESt6vectorIxSaIxEE(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull %4)
          to label %19 unwind label %20

19:                                               ; preds = %18
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %70

20:                                               ; preds = %18
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %71

22:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %23 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %24 = tail call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #6
  %25 = add i64 %24, %23
  %26 = trunc i64 %25 to i32
  %27 = add i32 %26, -1
  store i32 %27, ptr %6, align 4, !tbaa !5
  %28 = tail call noundef i32 @_ZN3fft12_GLOBAL__N_15buildERSt6vectorIxSaIxEES4_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2)
  store i32 %28, ptr %5, align 4, !tbaa !5
  %29 = icmp sgt i32 %28, 0
  br i1 %29, label %.lr.ph.preheader, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %22
  tail call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %28)
  br label %._crit_edge34

.lr.ph.preheader:                                 ; preds = %22
  %30 = zext nneg i32 %28 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #6
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = sitofp i64 %32 to x86_fp80
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = sitofp i64 %35 to x86_fp80
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %7, x86_fp80 noundef %33, x86_fp80 noundef %36)
  %37 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %37, ptr noundef nonnull align 16 dereferenceable(32) %7, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %38 = icmp ult i64 %indvars.iv.next, %30
  br i1 %38, label %.lr.ph, label %._crit_edge, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %28)
  br i1 %29, label %.lr.ph33.preheader, label %._crit_edge34

.lr.ph33.preheader:                               ; preds = %._crit_edge
  %39 = add nsw i32 %28, -1
  %40 = sitofp i32 %28 to double
  %41 = fdiv double -2.500000e-01, %40
  %42 = fpext double %41 to x86_fp80
  %43 = zext nneg i32 %28 to i64
  br label %.lr.ph33

.lr.ph33:                                         ; preds = %.lr.ph33.preheader, %.lr.ph33
  %indvars.iv43 = phi i64 [ 0, %.lr.ph33.preheader ], [ %indvars.iv.next44, %.lr.ph33 ]
  %44 = trunc nuw nsw i64 %indvars.iv43 to i32
  %45 = sub nsw i32 %28, %44
  %46 = and i32 %39, %45
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %47
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %10, ptr noundef nonnull align 16 dereferenceable(32) %48, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %48)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  %49 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %indvars.iv43
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %12, ptr noundef nonnull align 16 dereferenceable(32) %49)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %13, ptr noundef nonnull align 16 dereferenceable(32) %49)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %11, ptr noundef nonnull align 16 dereferenceable(32) %12, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %13)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %9, ptr noundef nonnull align 16 dereferenceable(32) %10, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %11)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNumC2Eee(ptr noundef nonnull align 16 dereferenceable(32) %14, x86_fp80 noundef 0xK00000000000000000000, x86_fp80 noundef %42)
  call void @_ZN3fft12_GLOBAL__N_110ComplexNummlES1_(ptr dead_on_unwind nonnull writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %8, ptr noundef nonnull align 16 dereferenceable(32) %9, ptr noundef nonnull byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16 %14)
  %50 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11uE, i64 0, i64 %indvars.iv43
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %50, ptr noundef nonnull align 16 dereferenceable(32) %8, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %51 = icmp ult i64 %indvars.iv.next44, %43
  br i1 %51, label %.lr.ph33, label %._crit_edge34, !llvm.loop !16

._crit_edge34:                                    ; preds = %.lr.ph33, %._crit_edge.thread, %._crit_edge
  call void @_ZN3fft12_GLOBAL__N_19transformEPNS0_10ComplexNumES2_S2_i(ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11uE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_11fE, ptr noundef nonnull @_ZN3fft12_GLOBAL__N_12dpE, i32 noundef %28)
  %52 = sext i32 %27 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  store i64 0, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  call void @_ZNSaIxEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  invoke void @_ZNSt6vectorIxSaIxEEC2EmRKxRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %52, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %53 unwind label %65

53:                                               ; preds = %._crit_edge34
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  %54 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.lr.ph38, label %._crit_edge39

.lr.ph38:                                         ; preds = %53, %59
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %59 ], [ 0, %53 ]
  %57 = getelementptr inbounds [2097152 x %"struct.fft::(anonymous namespace)::ComplexNum"], ptr @_ZN3fft12_GLOBAL__N_11fE, i64 0, i64 %indvars.iv46
  %58 = invoke noundef i64 @_ZN3fft12_GLOBAL__N_116round_to_nearestERKe(ptr noundef nonnull align 16 dereferenceable(16) %57)
          to label %59 unwind label %67

59:                                               ; preds = %.lr.ph38
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv46) #6
  store i64 %58, ptr %60, align 8, !tbaa !9
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = icmp slt i64 %indvars.iv.next47, %63
  br i1 %64, label %.lr.ph38, label %._crit_edge39, !llvm.loop !17

65:                                               ; preds = %._crit_edge34
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %69

67:                                               ; preds = %.lr.ph38
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %69

._crit_edge39:                                    ; preds = %59, %53
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %70

69:                                               ; preds = %67, %65
  %.pn = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %71

70:                                               ; preds = %._crit_edge39, %19
  ret void

71:                                               ; preds = %69, %20
  %.pn27 = phi { ptr, i32 } [ %21, %20 ], [ %.pn, %69 ]
  resume { ptr, i32 } %.pn27
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3fft12_GLOBAL__N_18is_equalERKSt6vectorIxSaIxEES5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNummiES1_(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32), ptr noundef byval(%"struct.fft::(anonymous namespace)::ComplexNum") align 16) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3fft12_GLOBAL__N_110ComplexNum9conjugateEv(ptr dead_on_unwind noalias writable sret(%"struct.fft::(anonymous namespace)::ComplexNum") align 16, ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIxED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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


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