; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_gui_basics)

; 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.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #1

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) #2

; Function Attrs: nounwind
declare void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #4

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) #4

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V231drawStretchableLayoutResizerBarERNS_8GraphicsEiibbb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4, i1 noundef zeroext %5, i1 noundef zeroext %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca float, align 4
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %"class.juce::ColourGradient", align 8
  %23 = alloca %"class.juce::Colour", align 1
  %24 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  %25 = zext i1 %4 to i8
  store i8 %25, ptr %12, align 1, !tbaa !11
  %26 = zext i1 %5 to i8
  store i8 %26, ptr %13, align 1, !tbaa !11
  %27 = zext i1 %6 to i8
  store i8 %27, ptr %14, align 1, !tbaa !11
  %28 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store float 5.000000e-01, ptr %15, align 4, !tbaa !13
  %29 = load i8, ptr %13, align 1, !tbaa !11, !range !15, !noundef !16
  %30 = trunc i8 %29 to i1
  br i1 %30, label %34, label %31

31:                                               ; preds = %7
  %32 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %41

34:                                               ; preds = %31, %7
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %16, i32 noundef 419430655) #6
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %35, ptr noundef %16)
          to label %36 unwind label %37

36:                                               ; preds = %34
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  store float 1.000000e+00, ptr %15, align 4, !tbaa !13
  br label %41

37:                                               ; preds = %34
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %17, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %18, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  br label %89

41:                                               ; preds = %36, %31
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = sitofp i32 %42 to float
  %44 = fmul float %43, 5.000000e-01
  store float %44, ptr %19, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %45 = load i32, ptr %11, align 4, !tbaa !9
  %46 = sitofp i32 %45 to float
  %47 = fmul float %46, 5.000000e-01
  store float %47, ptr %20, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = load i32, ptr %11, align 4, !tbaa !9
  %50 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %48, i32 noundef %49)
  %51 = sitofp i32 %50 to float
  %52 = fmul float %51, 0x3FD99999A0000000
  store float %52, ptr %21, align 4, !tbaa !13
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %22) #6
  %54 = load float, ptr %15, align 4, !tbaa !13
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %23, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, float noundef %54) #6
  %55 = load float, ptr %19, align 4, !tbaa !13
  %56 = load float, ptr %21, align 4, !tbaa !13
  %57 = call float @llvm.fmuladd.f32(float %56, float 0x3FB99999A0000000, float %55)
  %58 = load float, ptr %20, align 4, !tbaa !13
  %59 = load float, ptr %21, align 4, !tbaa !13
  %60 = fadd float %58, %59
  %61 = load float, ptr %15, align 4, !tbaa !13
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %24, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef %61) #6
  %62 = load float, ptr %19, align 4, !tbaa !13
  %63 = load float, ptr %20, align 4, !tbaa !13
  %64 = load float, ptr %21, align 4, !tbaa !13
  %65 = fneg float %64
  %66 = call float @llvm.fmuladd.f32(float %65, float 4.000000e+00, float %63)
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef %23, float noundef %57, float noundef %60, ptr noundef %24, float noundef %62, float noundef %66, i1 noundef zeroext true)
          to label %67 unwind label %80

67:                                               ; preds = %41
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %53, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %68 unwind label %84

68:                                               ; preds = %67
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = load float, ptr %19, align 4, !tbaa !13
  %71 = load float, ptr %21, align 4, !tbaa !13
  %72 = fsub float %70, %71
  %73 = load float, ptr %20, align 4, !tbaa !13
  %74 = load float, ptr %21, align 4, !tbaa !13
  %75 = fsub float %73, %74
  %76 = load float, ptr %21, align 4, !tbaa !13
  %77 = fmul float %76, 2.000000e+00
  %78 = load float, ptr %21, align 4, !tbaa !13
  %79 = fmul float %78, 2.000000e+00
  call void @_ZNK4juce8Graphics11fillEllipseEffff(ptr noundef nonnull align 8 dereferenceable(17) %69, float noundef %72, float noundef %75, float noundef %77, float noundef %79)
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void

80:                                               ; preds = %41
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %17, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %18, align 4
  br label %88

84:                                               ; preds = %67
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %17, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %18, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %22) #6
  br label %88

88:                                               ; preds = %84, %80
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %89

89:                                               ; preds = %88, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %90

90:                                               ; preds = %89
  %91 = load ptr, ptr %17, align 8
  %92 = load i32, ptr %18, align 4
  %93 = insertvalue { ptr, i32 } poison, ptr %91, 0
  %94 = insertvalue { ptr, i32 } %93, i32 %92, 1
  resume { ptr, i32 } %94
}

declare void @_ZNK4juce8Graphics11fillEllipseEffff(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef) #4

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


; 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.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #4

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V231drawStretchableLayoutResizerBarERNS_8GraphicsEiibbb(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4, i1 noundef zeroext %5, i1 noundef zeroext %6) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::ColourGradient", align 8
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Colour", align 1
  %brmerge = or i1 %5, %6
  br i1 %brmerge, label %12, label %16

12:                                               ; preds = %7
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %8, i32 noundef 419430655) #6
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %13 unwind label %14

13:                                               ; preds = %12
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  br label %16

14:                                               ; preds = %12
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  br label %40

16:                                               ; preds = %7, %13
  %.0 = phi float [ 1.000000e+00, %13 ], [ 5.000000e-01, %7 ]
  %17 = sitofp i32 %2 to float
  %18 = fmul float %17, 5.000000e-01
  %19 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %2, i32 noundef %3)
  %20 = insertelement <2 x i32> poison, i32 %3, i64 0
  %21 = insertelement <2 x i32> %20, i32 %19, i64 1
  %22 = sitofp <2 x i32> %21 to <2 x float>
  %23 = fmul <2 x float> %22, <float 5.000000e-01, float 0x3FD99999A0000000>
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %10, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, float noundef %.0) #6
  %24 = extractelement <2 x float> %23, i64 1
  %25 = call float @llvm.fmuladd.f32(float %24, float 0x3FB99999A0000000, float %18)
  %26 = extractelement <2 x float> %23, i64 0
  %27 = fadd float %26, %24
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %11, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef %.0) #6
  %28 = fneg float %24
  %29 = call float @llvm.fmuladd.f32(float %28, float 4.000000e+00, float %26)
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull %10, float noundef %25, float noundef %27, ptr noundef nonnull %11, float noundef %18, float noundef %29, i1 noundef zeroext true)
          to label %30 unwind label %35

30:                                               ; preds = %16
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %31 unwind label %37

31:                                               ; preds = %30
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  %32 = fsub float %18, %24
  %33 = fsub float %26, %24
  %34 = fmul float %24, 2.000000e+00
  call void @_ZNK4juce8Graphics11fillEllipseEffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %32, float noundef %33, float noundef %34, float noundef %34)
  ret void

35:                                               ; preds = %16
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %30
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  br label %40

40:                                               ; preds = %39, %14
  %.pn.pn = phi { ptr, i32 } [ %.pn, %39 ], [ %15, %14 ]
  resume { ptr, i32 } %.pn.pn
}

declare void @_ZNK4juce8Graphics11fillEllipseEffff(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass