; LLVM IR from sp-nitech/SPTK :: src/generation/excitation_generation.ll (ZN4sptk20ExcitationGeneration3GetEPdS1_S1_S1_)

; 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.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::ExcitationGeneration" = type { ptr, ptr, ptr, i8, double }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4sptk20ExcitationGeneration3GetEPdS1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 align 2 personality ptr @__gxx_personality_v0 {
  %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 double, align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  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
  %19 = load ptr, ptr %7, align 8
  %20 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 3
  %21 = load i8, ptr %20, align 8, !tbaa !9, !range !13, !noundef !14
  %22 = trunc i8 %21 to i1
  br i1 %22, label %24, label %23

23:                                               ; preds = %5
  store i1 false, ptr %6, align 1
  br label %120

24:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  %25 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = load ptr, ptr %26, align 8, !tbaa !16
  %28 = getelementptr inbounds ptr, ptr %27, i64 4
  %29 = load ptr, ptr %28, align 8
  %30 = invoke noundef zeroext i1 %29(ptr noundef nonnull align 8 dereferenceable(136) %26, ptr noundef %13)
          to label %31 unwind label %37

31:                                               ; preds = %24
  br i1 %30, label %32, label %36

32:                                               ; preds = %31
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #4
  %34 = load double, ptr %33, align 8, !tbaa !18
  %35 = fcmp olt double %34, 0.000000e+00
  br i1 %35, label %36, label %41

36:                                               ; preds = %32, %31
  store i1 false, ptr %6, align 1
  store i32 1, ptr %16, align 4
  br label %44

37:                                               ; preds = %24
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %14, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %15, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %122

41:                                               ; preds = %32
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #4
  %43 = load double, ptr %42, align 8, !tbaa !18
  store double %43, ptr %12, align 8, !tbaa !18
  store i32 0, ptr %16, align 4
  br label %44

44:                                               ; preds = %41, %36
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  %45 = load i32, ptr %16, align 4
  switch i32 %45, label %119 [
    i32 0, label %46
  ]

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  store double 0.000000e+00, ptr %17, align 8, !tbaa !18
  %47 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !19
  %49 = icmp ne ptr %48, null
  br i1 %49, label %50, label %58

50:                                               ; preds = %46
  %51 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 2
  %52 = load ptr, ptr %51, align 8, !tbaa !19
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = getelementptr inbounds ptr, ptr %53, i64 3
  %55 = load ptr, ptr %54, align 8
  %56 = call noundef zeroext i1 %55(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef %17)
  br i1 %56, label %58, label %57

57:                                               ; preds = %50
  store i1 false, ptr %6, align 1
  store i32 1, ptr %16, align 4
  br label %118

58:                                               ; preds = %50, %46
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %64

61:                                               ; preds = %58
  %62 = load double, ptr %12, align 8, !tbaa !18
  %63 = load ptr, ptr %11, align 8, !tbaa !5
  store double %62, ptr %63, align 8, !tbaa !18
  br label %64

64:                                               ; preds = %61, %58
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %67, label %70

67:                                               ; preds = %64
  %68 = load double, ptr %17, align 8, !tbaa !18
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  store double %68, ptr %69, align 8, !tbaa !18
  br label %70

70:                                               ; preds = %67, %64
  %71 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 1
  %72 = load ptr, ptr %71, align 8, !tbaa !15
  %73 = call noundef double @_ZNK4sptk39InputSourceInterpolationWithMagicNumber14GetMagicNumberEv(ptr noundef nonnull align 8 dereferenceable(136) %72)
  %74 = load double, ptr %12, align 8, !tbaa !18
  %75 = fcmp oeq double %73, %74
  br i1 %75, label %76, label %89

76:                                               ; preds = %70
  %77 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 4
  store double 1.000000e+00, ptr %77, align 8, !tbaa !20
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = icmp ne ptr %78, null
  br i1 %79, label %80, label %83

80:                                               ; preds = %76
  %81 = load double, ptr %17, align 8, !tbaa !18
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  store double %81, ptr %82, align 8, !tbaa !18
  br label %83

83:                                               ; preds = %80, %76
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %88

86:                                               ; preds = %83
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  store double 0.000000e+00, ptr %87, align 8, !tbaa !18
  br label %88

88:                                               ; preds = %86, %83
  store i1 true, ptr %6, align 1
  store i32 1, ptr %16, align 4
  br label %118

89:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %90 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 4
  %91 = load double, ptr %90, align 8, !tbaa !20
  %92 = fcmp ole double 1.000000e+00, %91
  br i1 %92, label %93, label %99

93:                                               ; preds = %89
  %94 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 4
  %95 = load double, ptr %94, align 8, !tbaa !20
  %96 = fsub double %95, 1.000000e+00
  store double %96, ptr %94, align 8, !tbaa !20
  %97 = load double, ptr %12, align 8, !tbaa !18
  %98 = call double @sqrt(double noundef %97) #4
  store double %98, ptr %18, align 8, !tbaa !18
  br label %100

99:                                               ; preds = %89
  store double 0.000000e+00, ptr %18, align 8, !tbaa !18
  br label %100

100:                                              ; preds = %99, %93
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %106

103:                                              ; preds = %100
  %104 = load double, ptr %18, align 8, !tbaa !18
  %105 = load ptr, ptr %8, align 8, !tbaa !5
  store double %104, ptr %105, align 8, !tbaa !18
  br label %106

106:                                              ; preds = %103, %100
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %109, label %112

109:                                              ; preds = %106
  %110 = load double, ptr %18, align 8, !tbaa !18
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  store double %110, ptr %111, align 8, !tbaa !18
  br label %112

112:                                              ; preds = %109, %106
  %113 = load double, ptr %12, align 8, !tbaa !18
  %114 = fdiv double 1.000000e+00, %113
  %115 = getelementptr inbounds %"class.sptk::ExcitationGeneration", ptr %19, i32 0, i32 4
  %116 = load double, ptr %115, align 8, !tbaa !20
  %117 = fadd double %116, %114
  store double %117, ptr %115, align 8, !tbaa !20
  store i1 true, ptr %6, align 1
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %118

118:                                              ; preds = %112, %88, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %119

119:                                              ; preds = %118, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br label %120

120:                                              ; preds = %119, %23
  %121 = load i1, ptr %6, align 1
  ret i1 %121

122:                                              ; preds = %37
  %123 = load ptr, ptr %14, align 8
  %124 = load i32, ptr %15, align 4
  %125 = insertvalue { ptr, i32 } poison, ptr %123, 0
  %126 = insertvalue { ptr, i32 } %125, i32 %124, 1
  resume { ptr, i32 } %126
}

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

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

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 24}
!10 = !{!"_ZTSN4sptk20ExcitationGenerationE", !6, i64 8, !6, i64 16, !11, i64 24, !12, i64 32}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!10, !6, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"vtable pointer", !8, i64 0}
!18 = !{!12, !12, i64 0}
!19 = !{!10, !6, i64 16}
!20 = !{!10, !12, i64 32}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

11:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = load ptr, ptr %12, align 8, !tbaa !14
  %14 = load ptr, ptr %13, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %14, i64 32
  %16 = load ptr, ptr %15, align 8
  %17 = invoke noundef zeroext i1 %16(ptr noundef nonnull align 8 dereferenceable(136) %13, ptr noundef nonnull %6)
          to label %18 unwind label %23

18:                                               ; preds = %11
  br i1 %17, label %19, label %.thread

19:                                               ; preds = %18
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #4
  %21 = load double, ptr %20, align 8, !tbaa !17
  %22 = fcmp olt double %21, 0.000000e+00
  br i1 %22, label %.thread, label %25

23:                                               ; preds = %11
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  resume { ptr, i32 } %24

.thread:                                          ; preds = %19, %18
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  br label %65

25:                                               ; preds = %19
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #4
  %27 = load double, ptr %26, align 8, !tbaa !17
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  store double 0.000000e+00, ptr %7, align 8, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = load ptr, ptr %28, align 8, !tbaa !18
  %.not = icmp eq ptr %29, null
  br i1 %.not, label %35, label %30

30:                                               ; preds = %25
  %31 = load ptr, ptr %29, align 8, !tbaa !15
  %32 = getelementptr inbounds i8, ptr %31, i64 24
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef zeroext i1 %33(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull %7)
  br i1 %34, label %35, label %64

35:                                               ; preds = %30, %25
  %.not33 = icmp eq ptr %4, null
  br i1 %.not33, label %37, label %36

36:                                               ; preds = %35
  store double %27, ptr %4, align 8, !tbaa !17
  br label %37

37:                                               ; preds = %36, %35
  %.not34 = icmp eq ptr %3, null
  br i1 %.not34, label %40, label %38

38:                                               ; preds = %37
  %39 = load double, ptr %7, align 8, !tbaa !17
  store double %39, ptr %3, align 8, !tbaa !17
  br label %40

40:                                               ; preds = %38, %37
  %41 = load ptr, ptr %12, align 8, !tbaa !14
  %42 = call noundef double @_ZNK4sptk39InputSourceInterpolationWithMagicNumber14GetMagicNumberEv(ptr noundef nonnull align 8 dereferenceable(136) %41)
  %43 = fcmp oeq double %42, %27
  %44 = getelementptr inbounds i8, ptr %0, i64 32
  br i1 %43, label %45, label %50

45:                                               ; preds = %40
  store double 1.000000e+00, ptr %44, align 8, !tbaa !19
  %.not37 = icmp eq ptr %1, null
  br i1 %.not37, label %48, label %46

46:                                               ; preds = %45
  %47 = load double, ptr %7, align 8, !tbaa !17
  store double %47, ptr %1, align 8, !tbaa !17
  br label %48

48:                                               ; preds = %46, %45
  %.not38 = icmp eq ptr %2, null
  br i1 %.not38, label %64, label %49

49:                                               ; preds = %48
  store double 0.000000e+00, ptr %2, align 8, !tbaa !17
  br label %64

50:                                               ; preds = %40
  %51 = load double, ptr %44, align 8, !tbaa !19
  %52 = fcmp ult double %51, 1.000000e+00
  br i1 %52, label %56, label %53

53:                                               ; preds = %50
  %54 = fadd double %51, -1.000000e+00
  store double %54, ptr %44, align 8, !tbaa !19
  %55 = call double @sqrt(double noundef %27) #4
  br label %56

56:                                               ; preds = %50, %53
  %.0 = phi double [ %55, %53 ], [ 0.000000e+00, %50 ]
  %.not35 = icmp eq ptr %1, null
  br i1 %.not35, label %58, label %57

57:                                               ; preds = %56
  store double %.0, ptr %1, align 8, !tbaa !17
  br label %58

58:                                               ; preds = %57, %56
  %.not36 = icmp eq ptr %2, null
  br i1 %.not36, label %60, label %59

59:                                               ; preds = %58
  store double %.0, ptr %2, align 8, !tbaa !17
  br label %60

60:                                               ; preds = %59, %58
  %61 = fdiv double 1.000000e+00, %27
  %62 = load double, ptr %44, align 8, !tbaa !19
  %63 = fadd double %61, %62
  store double %63, ptr %44, align 8, !tbaa !19
  br label %64

64:                                               ; preds = %48, %49, %30, %60
  %.1 = phi i1 [ true, %60 ], [ false, %30 ], [ true, %49 ], [ true, %48 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br label %65

65:                                               ; preds = %.thread, %64, %5
  %.3 = phi i1 [ false, %5 ], [ %.1, %64 ], [ false, %.thread ]
  ret i1 %.3
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"_ZTSN4sptk20ExcitationGenerationE", !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{i8 0, i8 2}
!13 = !{}
!14 = !{!6, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !9, i64 0}
!17 = !{!11, !11, i64 0}
!18 = !{!6, !7, i64 16}
!19 = !{!6, !11, i64 32}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass