; LLVM IR from zsiciarz/aquila :: aquila/source/generator (PinkNoiseGenerator)

; 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.Aquila::PinkNoiseGenerator" = type { %"class.Aquila::Generator", [20 x double], i32, i32 }
%"class.Aquila::Generator" = type { %"class.Aquila::SignalSource", double, double, double }
%"class.Aquila::SignalSource" = type { ptr, %"class.std::vector", double }
%"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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN6Aquila12randomDoubleEv() #1

; 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 double @_ZN6Aquila18PinkNoiseGenerator10pinkSampleEv(ptr noundef nonnull align 8 dereferenceable(232) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %8 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 2
  %9 = load i32, ptr %8, align 8, !tbaa !9
  store i32 %9, ptr %3, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  store double 0.000000e+00, ptr %4, align 8, !tbaa !20
  %10 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 2
  %11 = load i32, ptr %10, align 8, !tbaa !9
  %12 = add nsw i32 %11, 1
  store i32 %12, ptr %10, align 8, !tbaa !9
  %13 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 2
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 3
  %16 = load i32, ptr %15, align 4, !tbaa !21
  %17 = icmp sgt i32 %14, %16
  br i1 %17, label %18, label %20

18:                                               ; preds = %1
  %19 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 2
  store i32 0, ptr %19, align 8, !tbaa !9
  br label %20

20:                                               ; preds = %18, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %21 = load i32, ptr %3, align 4, !tbaa !19
  %22 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 2
  %23 = load i32, ptr %22, align 8, !tbaa !9
  %24 = xor i32 %21, %23
  store i32 %24, ptr %5, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store i64 0, ptr %6, align 8, !tbaa !22
  br label %25

25:                                               ; preds = %49, %20
  %26 = load i64, ptr %6, align 8, !tbaa !22
  %27 = icmp ult i64 %26, 20
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %52

29:                                               ; preds = %25
  %30 = load i32, ptr %5, align 4, !tbaa !19
  %31 = load i64, ptr %6, align 8, !tbaa !22
  %32 = trunc i64 %31 to i32
  %33 = shl i32 1, %32
  %34 = and i32 %30, %33
  %35 = icmp ne i32 %34, 0
  br i1 %35, label %36, label %42

36:                                               ; preds = %29
  %37 = call noundef double @_ZN6Aquila12randomDoubleEv()
  %38 = fsub double %37, 5.000000e-01
  %39 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 1
  %40 = load i64, ptr %6, align 8, !tbaa !22
  %41 = getelementptr inbounds [20 x double], ptr %39, i64 0, i64 %40
  store double %38, ptr %41, align 8, !tbaa !20
  br label %42

42:                                               ; preds = %36, %29
  %43 = getelementptr inbounds %"class.Aquila::PinkNoiseGenerator", ptr %7, i32 0, i32 1
  %44 = load i64, ptr %6, align 8, !tbaa !22
  %45 = getelementptr inbounds [20 x double], ptr %43, i64 0, i64 %44
  %46 = load double, ptr %45, align 8, !tbaa !20
  %47 = load double, ptr %4, align 8, !tbaa !20
  %48 = fadd double %47, %46
  store double %48, ptr %4, align 8, !tbaa !20
  br label %49

49:                                               ; preds = %42
  %50 = load i64, ptr %6, align 8, !tbaa !22
  %51 = add i64 %50, 1
  store i64 %51, ptr %6, align 8, !tbaa !22
  br label %25, !llvm.loop !24

52:                                               ; preds = %28
  %53 = load double, ptr %4, align 8, !tbaa !20
  %54 = fdiv double %53, 2.000000e+01
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  ret double %54
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !18, i64 224}
!10 = !{!"_ZTSN6Aquila18PinkNoiseGeneratorE", !11, i64 0, !7, i64 64, !18, i64 224, !18, i64 228}
!11 = !{!"_ZTSN6Aquila9GeneratorE", !12, i64 0, !17, i64 40, !17, i64 48, !17, i64 56}
!12 = !{!"_ZTSN6Aquila12SignalSourceE", !13, i64 8, !17, i64 32}
!13 = !{!"_ZTSSt6vectorIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"double", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!18, !18, i64 0}
!20 = !{!17, !17, i64 0}
!21 = !{!10, !18, i64 228}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZN6Aquila12randomDoubleEv() local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef double @_ZN6Aquila18PinkNoiseGenerator10pinkSampleEv(ptr nocapture noundef nonnull align 8 dereferenceable(232) %0) local_unnamed_addr #1 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 224
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = add nsw i32 %3, 1
  %5 = getelementptr inbounds i8, ptr %0, i64 228
  %6 = load i32, ptr %5, align 4, !tbaa !18
  %.not = icmp slt i32 %3, %6
  %spec.store.select = select i1 %.not, i32 %4, i32 0
  store i32 %spec.store.select, ptr %2, align 8
  %7 = xor i32 %spec.store.select, %3
  %8 = getelementptr inbounds i8, ptr %0, i64 64
  %9 = and i32 %7, 1
  %.not10 = icmp eq i32 %9, 0
  br i1 %.not10, label %._crit_edge, label %10

._crit_edge:                                      ; preds = %1
  %.pre = load double, ptr %8, align 8, !tbaa !19
  br label %13

10:                                               ; preds = %1
  %11 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %12 = fadd double %11, -5.000000e-01
  store double %12, ptr %8, align 8, !tbaa !19
  br label %13

13:                                               ; preds = %._crit_edge, %10
  %14 = phi double [ %.pre, %._crit_edge ], [ %12, %10 ]
  %15 = and i32 %7, 2
  %.not10.1 = icmp eq i32 %15, 0
  br i1 %.not10.1, label %._crit_edge13, label %16

._crit_edge13:                                    ; preds = %13
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 72
  %.pre14 = load double, ptr %.phi.trans.insert, align 8, !tbaa !19
  br label %20

16:                                               ; preds = %13
  %17 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %18 = fadd double %17, -5.000000e-01
  %19 = getelementptr inbounds i8, ptr %0, i64 72
  store double %18, ptr %19, align 8, !tbaa !19
  br label %20

20:                                               ; preds = %._crit_edge13, %16
  %21 = phi double [ %.pre14, %._crit_edge13 ], [ %18, %16 ]
  %22 = and i32 %7, 4
  %.not10.2 = icmp eq i32 %22, 0
  br i1 %.not10.2, label %._crit_edge15, label %23

._crit_edge15:                                    ; preds = %20
  %.phi.trans.insert16 = getelementptr inbounds i8, ptr %0, i64 80
  %.pre17 = load double, ptr %.phi.trans.insert16, align 8, !tbaa !19
  br label %27

23:                                               ; preds = %20
  %24 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %25 = fadd double %24, -5.000000e-01
  %26 = getelementptr inbounds i8, ptr %0, i64 80
  store double %25, ptr %26, align 8, !tbaa !19
  br label %27

27:                                               ; preds = %._crit_edge15, %23
  %28 = phi double [ %.pre17, %._crit_edge15 ], [ %25, %23 ]
  %29 = and i32 %7, 8
  %.not10.3 = icmp eq i32 %29, 0
  br i1 %.not10.3, label %._crit_edge18, label %30

._crit_edge18:                                    ; preds = %27
  %.phi.trans.insert19 = getelementptr inbounds i8, ptr %0, i64 88
  %.pre20 = load double, ptr %.phi.trans.insert19, align 8, !tbaa !19
  br label %34

30:                                               ; preds = %27
  %31 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %32 = fadd double %31, -5.000000e-01
  %33 = getelementptr inbounds i8, ptr %0, i64 88
  store double %32, ptr %33, align 8, !tbaa !19
  br label %34

34:                                               ; preds = %._crit_edge18, %30
  %35 = phi double [ %.pre20, %._crit_edge18 ], [ %32, %30 ]
  %36 = and i32 %7, 16
  %.not10.4 = icmp eq i32 %36, 0
  br i1 %.not10.4, label %._crit_edge21, label %37

._crit_edge21:                                    ; preds = %34
  %.phi.trans.insert22 = getelementptr inbounds i8, ptr %0, i64 96
  %.pre23 = load double, ptr %.phi.trans.insert22, align 8, !tbaa !19
  br label %41

37:                                               ; preds = %34
  %38 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %39 = fadd double %38, -5.000000e-01
  %40 = getelementptr inbounds i8, ptr %0, i64 96
  store double %39, ptr %40, align 8, !tbaa !19
  br label %41

41:                                               ; preds = %._crit_edge21, %37
  %42 = phi double [ %.pre23, %._crit_edge21 ], [ %39, %37 ]
  %43 = and i32 %7, 32
  %.not10.5 = icmp eq i32 %43, 0
  br i1 %.not10.5, label %._crit_edge24, label %44

._crit_edge24:                                    ; preds = %41
  %.phi.trans.insert25 = getelementptr inbounds i8, ptr %0, i64 104
  %.pre26 = load double, ptr %.phi.trans.insert25, align 8, !tbaa !19
  br label %48

44:                                               ; preds = %41
  %45 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %46 = fadd double %45, -5.000000e-01
  %47 = getelementptr inbounds i8, ptr %0, i64 104
  store double %46, ptr %47, align 8, !tbaa !19
  br label %48

48:                                               ; preds = %._crit_edge24, %44
  %49 = phi double [ %.pre26, %._crit_edge24 ], [ %46, %44 ]
  %50 = and i32 %7, 64
  %.not10.6 = icmp eq i32 %50, 0
  br i1 %.not10.6, label %._crit_edge27, label %51

._crit_edge27:                                    ; preds = %48
  %.phi.trans.insert28 = getelementptr inbounds i8, ptr %0, i64 112
  %.pre29 = load double, ptr %.phi.trans.insert28, align 8, !tbaa !19
  br label %55

51:                                               ; preds = %48
  %52 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %53 = fadd double %52, -5.000000e-01
  %54 = getelementptr inbounds i8, ptr %0, i64 112
  store double %53, ptr %54, align 8, !tbaa !19
  br label %55

55:                                               ; preds = %._crit_edge27, %51
  %56 = phi double [ %.pre29, %._crit_edge27 ], [ %53, %51 ]
  %57 = and i32 %7, 128
  %.not10.7 = icmp eq i32 %57, 0
  br i1 %.not10.7, label %._crit_edge30, label %58

._crit_edge30:                                    ; preds = %55
  %.phi.trans.insert31 = getelementptr inbounds i8, ptr %0, i64 120
  %.pre32 = load double, ptr %.phi.trans.insert31, align 8, !tbaa !19
  br label %62

58:                                               ; preds = %55
  %59 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %60 = fadd double %59, -5.000000e-01
  %61 = getelementptr inbounds i8, ptr %0, i64 120
  store double %60, ptr %61, align 8, !tbaa !19
  br label %62

62:                                               ; preds = %._crit_edge30, %58
  %63 = phi double [ %.pre32, %._crit_edge30 ], [ %60, %58 ]
  %64 = and i32 %7, 256
  %.not10.8 = icmp eq i32 %64, 0
  br i1 %.not10.8, label %._crit_edge33, label %65

._crit_edge33:                                    ; preds = %62
  %.phi.trans.insert34 = getelementptr inbounds i8, ptr %0, i64 128
  %.pre35 = load double, ptr %.phi.trans.insert34, align 8, !tbaa !19
  br label %69

65:                                               ; preds = %62
  %66 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %67 = fadd double %66, -5.000000e-01
  %68 = getelementptr inbounds i8, ptr %0, i64 128
  store double %67, ptr %68, align 8, !tbaa !19
  br label %69

69:                                               ; preds = %._crit_edge33, %65
  %70 = phi double [ %.pre35, %._crit_edge33 ], [ %67, %65 ]
  %71 = and i32 %7, 512
  %.not10.9 = icmp eq i32 %71, 0
  br i1 %.not10.9, label %._crit_edge36, label %72

._crit_edge36:                                    ; preds = %69
  %.phi.trans.insert37 = getelementptr inbounds i8, ptr %0, i64 136
  %.pre38 = load double, ptr %.phi.trans.insert37, align 8, !tbaa !19
  br label %76

72:                                               ; preds = %69
  %73 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %74 = fadd double %73, -5.000000e-01
  %75 = getelementptr inbounds i8, ptr %0, i64 136
  store double %74, ptr %75, align 8, !tbaa !19
  br label %76

76:                                               ; preds = %._crit_edge36, %72
  %77 = phi double [ %.pre38, %._crit_edge36 ], [ %74, %72 ]
  %78 = and i32 %7, 1024
  %.not10.10 = icmp eq i32 %78, 0
  br i1 %.not10.10, label %._crit_edge39, label %79

._crit_edge39:                                    ; preds = %76
  %.phi.trans.insert40 = getelementptr inbounds i8, ptr %0, i64 144
  %.pre41 = load double, ptr %.phi.trans.insert40, align 8, !tbaa !19
  br label %83

79:                                               ; preds = %76
  %80 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %81 = fadd double %80, -5.000000e-01
  %82 = getelementptr inbounds i8, ptr %0, i64 144
  store double %81, ptr %82, align 8, !tbaa !19
  br label %83

83:                                               ; preds = %._crit_edge39, %79
  %84 = phi double [ %.pre41, %._crit_edge39 ], [ %81, %79 ]
  %85 = and i32 %7, 2048
  %.not10.11 = icmp eq i32 %85, 0
  br i1 %.not10.11, label %._crit_edge42, label %86

._crit_edge42:                                    ; preds = %83
  %.phi.trans.insert43 = getelementptr inbounds i8, ptr %0, i64 152
  %.pre44 = load double, ptr %.phi.trans.insert43, align 8, !tbaa !19
  br label %90

86:                                               ; preds = %83
  %87 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %88 = fadd double %87, -5.000000e-01
  %89 = getelementptr inbounds i8, ptr %0, i64 152
  store double %88, ptr %89, align 8, !tbaa !19
  br label %90

90:                                               ; preds = %._crit_edge42, %86
  %91 = phi double [ %.pre44, %._crit_edge42 ], [ %88, %86 ]
  %92 = and i32 %7, 4096
  %.not10.12 = icmp eq i32 %92, 0
  br i1 %.not10.12, label %._crit_edge45, label %93

._crit_edge45:                                    ; preds = %90
  %.phi.trans.insert46 = getelementptr inbounds i8, ptr %0, i64 160
  %.pre47 = load double, ptr %.phi.trans.insert46, align 8, !tbaa !19
  br label %97

93:                                               ; preds = %90
  %94 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %95 = fadd double %94, -5.000000e-01
  %96 = getelementptr inbounds i8, ptr %0, i64 160
  store double %95, ptr %96, align 8, !tbaa !19
  br label %97

97:                                               ; preds = %._crit_edge45, %93
  %98 = phi double [ %.pre47, %._crit_edge45 ], [ %95, %93 ]
  %99 = and i32 %7, 8192
  %.not10.13 = icmp eq i32 %99, 0
  br i1 %.not10.13, label %._crit_edge48, label %100

._crit_edge48:                                    ; preds = %97
  %.phi.trans.insert49 = getelementptr inbounds i8, ptr %0, i64 168
  %.pre50 = load double, ptr %.phi.trans.insert49, align 8, !tbaa !19
  br label %104

100:                                              ; preds = %97
  %101 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %102 = fadd double %101, -5.000000e-01
  %103 = getelementptr inbounds i8, ptr %0, i64 168
  store double %102, ptr %103, align 8, !tbaa !19
  br label %104

104:                                              ; preds = %._crit_edge48, %100
  %105 = phi double [ %.pre50, %._crit_edge48 ], [ %102, %100 ]
  %106 = and i32 %7, 16384
  %.not10.14 = icmp eq i32 %106, 0
  br i1 %.not10.14, label %._crit_edge51, label %107

._crit_edge51:                                    ; preds = %104
  %.phi.trans.insert52 = getelementptr inbounds i8, ptr %0, i64 176
  %.pre53 = load double, ptr %.phi.trans.insert52, align 8, !tbaa !19
  br label %111

107:                                              ; preds = %104
  %108 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %109 = fadd double %108, -5.000000e-01
  %110 = getelementptr inbounds i8, ptr %0, i64 176
  store double %109, ptr %110, align 8, !tbaa !19
  br label %111

111:                                              ; preds = %._crit_edge51, %107
  %112 = phi double [ %.pre53, %._crit_edge51 ], [ %109, %107 ]
  %113 = and i32 %7, 32768
  %.not10.15 = icmp eq i32 %113, 0
  br i1 %.not10.15, label %._crit_edge54, label %114

._crit_edge54:                                    ; preds = %111
  %.phi.trans.insert55 = getelementptr inbounds i8, ptr %0, i64 184
  %.pre56 = load double, ptr %.phi.trans.insert55, align 8, !tbaa !19
  br label %118

114:                                              ; preds = %111
  %115 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %116 = fadd double %115, -5.000000e-01
  %117 = getelementptr inbounds i8, ptr %0, i64 184
  store double %116, ptr %117, align 8, !tbaa !19
  br label %118

118:                                              ; preds = %._crit_edge54, %114
  %119 = phi double [ %.pre56, %._crit_edge54 ], [ %116, %114 ]
  %120 = and i32 %7, 65536
  %.not10.16 = icmp eq i32 %120, 0
  br i1 %.not10.16, label %._crit_edge57, label %121

._crit_edge57:                                    ; preds = %118
  %.phi.trans.insert58 = getelementptr inbounds i8, ptr %0, i64 192
  %.pre59 = load double, ptr %.phi.trans.insert58, align 8, !tbaa !19
  br label %125

121:                                              ; preds = %118
  %122 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %123 = fadd double %122, -5.000000e-01
  %124 = getelementptr inbounds i8, ptr %0, i64 192
  store double %123, ptr %124, align 8, !tbaa !19
  br label %125

125:                                              ; preds = %._crit_edge57, %121
  %126 = phi double [ %.pre59, %._crit_edge57 ], [ %123, %121 ]
  %127 = and i32 %7, 131072
  %.not10.17 = icmp eq i32 %127, 0
  br i1 %.not10.17, label %._crit_edge60, label %128

._crit_edge60:                                    ; preds = %125
  %.phi.trans.insert61 = getelementptr inbounds i8, ptr %0, i64 200
  %.pre62 = load double, ptr %.phi.trans.insert61, align 8, !tbaa !19
  br label %132

128:                                              ; preds = %125
  %129 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %130 = fadd double %129, -5.000000e-01
  %131 = getelementptr inbounds i8, ptr %0, i64 200
  store double %130, ptr %131, align 8, !tbaa !19
  br label %132

132:                                              ; preds = %._crit_edge60, %128
  %133 = phi double [ %.pre62, %._crit_edge60 ], [ %130, %128 ]
  %134 = and i32 %7, 262144
  %.not10.18 = icmp eq i32 %134, 0
  br i1 %.not10.18, label %._crit_edge63, label %135

._crit_edge63:                                    ; preds = %132
  %.phi.trans.insert64 = getelementptr inbounds i8, ptr %0, i64 208
  %.pre65 = load double, ptr %.phi.trans.insert64, align 8, !tbaa !19
  br label %139

135:                                              ; preds = %132
  %136 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %137 = fadd double %136, -5.000000e-01
  %138 = getelementptr inbounds i8, ptr %0, i64 208
  store double %137, ptr %138, align 8, !tbaa !19
  br label %139

139:                                              ; preds = %._crit_edge63, %135
  %140 = phi double [ %.pre65, %._crit_edge63 ], [ %137, %135 ]
  %141 = and i32 %7, 524288
  %.not10.19 = icmp eq i32 %141, 0
  br i1 %.not10.19, label %._crit_edge66, label %142

._crit_edge66:                                    ; preds = %139
  %.phi.trans.insert67 = getelementptr inbounds i8, ptr %0, i64 216
  %.pre68 = load double, ptr %.phi.trans.insert67, align 8, !tbaa !19
  br label %146

142:                                              ; preds = %139
  %143 = tail call noundef double @_ZN6Aquila12randomDoubleEv()
  %144 = fadd double %143, -5.000000e-01
  %145 = getelementptr inbounds i8, ptr %0, i64 216
  store double %144, ptr %145, align 8, !tbaa !19
  br label %146

146:                                              ; preds = %._crit_edge66, %142
  %147 = phi double [ %.pre68, %._crit_edge66 ], [ %144, %142 ]
  %148 = fadd double %14, 0.000000e+00
  %149 = fadd double %148, %21
  %150 = fadd double %149, %28
  %151 = fadd double %150, %35
  %152 = fadd double %151, %42
  %153 = fadd double %152, %49
  %154 = fadd double %153, %56
  %155 = fadd double %154, %63
  %156 = fadd double %155, %70
  %157 = fadd double %156, %77
  %158 = fadd double %157, %84
  %159 = fadd double %158, %91
  %160 = fadd double %159, %98
  %161 = fadd double %160, %105
  %162 = fadd double %161, %112
  %163 = fadd double %162, %119
  %164 = fadd double %163, %126
  %165 = fadd double %164, %133
  %166 = fadd double %165, %140
  %167 = fadd double %166, %147
  %168 = fdiv double %167, 2.000000e+01
  ret double %168
}

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

!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, !17, i64 224}
!6 = !{!"_ZTSN6Aquila18PinkNoiseGeneratorE", !7, i64 0, !14, i64 64, !17, i64 224, !17, i64 228}
!7 = !{!"_ZTSN6Aquila9GeneratorE", !8, i64 0, !16, i64 40, !16, i64 48, !16, i64 56}
!8 = !{!"_ZTSN6Aquila12SignalSourceE", !9, i64 8, !16, i64 32}
!9 = !{!"_ZTSSt6vectorIdSaIdEE", !10, i64 0}
!10 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !11, i64 0}
!11 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"double", !14, i64 0}
!17 = !{!"int", !14, i64 0}
!18 = !{!6, !17, i64 228}
!19 = !{!16, !16, i64 0}


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