; 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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::DrawablePath" = type { %"class.juce::DrawableShape", %"class.juce::ScopedPointer.200" }
%"class.juce::DrawableShape" = type { %"class.juce::Drawable", %"class.juce::PathStrokeType", [4 x i8], %"class.juce::Array.196", %"class.juce::Path", %"class.juce::Path", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::ScopedPointer.199", %"class.juce::ScopedPointer.199" }
%"class.juce::Drawable" = type { %"class.juce::Component.base", %"class.juce::Point" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::Array.196" = type { %"class.juce::ArrayAllocationBase.123", i32, [4 x i8] }
%"class.juce::DrawableShape::RelativeFillType" = type { %"class.juce::FillType", %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"class.juce::FillType" = type { %"class.juce::Colour", %"class.juce::ScopedPointer.198", %"class.juce::Image", %"class.juce::AffineTransform" }
%"class.juce::ScopedPointer.198" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::ScopedPointer.199" = type { ptr }
%"class.juce::ScopedPointer.200" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.183 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #0

; 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) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(41)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: nounwind
declare void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef nonnull align 8 dereferenceable(48)) #5 align 2

declare void @_ZN4juce4Path8addArrowERKNS_4LineIfEEfff(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4juce14LookAndFeel_V227createFileBrowserGoUpButtonEv(ptr noundef nonnull align 8 dereferenceable(304) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca %"class.juce::String", align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i1, align 1
  %8 = alloca %"class.juce::Path", align 8
  %9 = alloca %"class.juce::Line", align 4
  %10 = alloca %"class.juce::DrawablePath", align 8
  %11 = alloca %"class.juce::FillType", align 8
  %12 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  %14 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 464) #8
  store i1 true, ptr %7, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef @.str.183)
          to label %15 unwind label %24

15:                                               ; preds = %1
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %14, ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 3)
          to label %16 unwind label %28

16:                                               ; preds = %15
  store i1 false, ptr %7, align 1
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  store ptr %14, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #7
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 5.000000e+01, float noundef 1.000000e+02, float noundef 5.000000e+01, float noundef 0.000000e+00) #7
  invoke void @_ZN4juce4Path8addArrowERKNS_4LineIfEEfff(ptr noundef nonnull align 8 dereferenceable(41) %8, ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 4.000000e+01, float noundef 1.000000e+02, float noundef 5.000000e+01)
          to label %17 unwind label %36

17:                                               ; preds = %16
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 560, ptr %10) #7
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %10)
          to label %18 unwind label %40

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #7
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD99999A0000000) #7
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef %12) #7
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %10, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %19 unwind label %44

19:                                               ; preds = %18
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %10, ptr noundef nonnull align 8 dereferenceable(41) %8)
          to label %20 unwind label %48

20:                                               ; preds = %19
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %21, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %22 unwind label %48

22:                                               ; preds = %20
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %10) #7
  call void @llvm.lifetime.end.p0(i64 560, ptr %10) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  ret ptr %23

24:                                               ; preds = %1
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %5, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %6, align 4
  br label %32

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

32:                                               ; preds = %28, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  %33 = load i1, ptr %7, align 1
  br i1 %33, label %34, label %35

34:                                               ; preds = %32
  call void @_ZdlPvm(ptr noundef %14, i64 noundef 464) #9
  br label %35

35:                                               ; preds = %34, %32
  br label %55

36:                                               ; preds = %16
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %5, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %6, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  br label %54

40:                                               ; preds = %17
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %5, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %6, align 4
  br label %53

44:                                               ; preds = %18
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %5, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %6, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #7
  br label %52

48:                                               ; preds = %20, %19
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %5, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %6, align 4
  br label %52

52:                                               ; preds = %48, %44
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %10) #7
  br label %53

53:                                               ; preds = %52, %40
  call void @llvm.lifetime.end.p0(i64 560, ptr %10) #7
  br label %54

54:                                               ; preds = %53, %36
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #7
  br label %55

55:                                               ; preds = %54, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  br label %56

56:                                               ; preds = %55
  %57 = load ptr, ptr %5, align 8
  %58 = load i32, ptr %6, align 4
  %59 = insertvalue { ptr, i32 } poison, ptr %57, 0
  %60 = insertvalue { ptr, i32 } %59, i32 %58, 1
  resume { ptr, i32 } %60
}

declare void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr, ptr, i32)

declare void @_ZN4juce12DrawablePathC1Ev(ptr)

declare void @_ZN4juce12DrawablePathD1Ev(ptr)

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


; 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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::DrawablePath" = type { %"class.juce::DrawableShape", %"class.juce::ScopedPointer.200" }
%"class.juce::DrawableShape" = type { %"class.juce::Drawable", %"class.juce::PathStrokeType", [4 x i8], %"class.juce::Array.196", %"class.juce::Path", %"class.juce::Path", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::ScopedPointer.199", %"class.juce::ScopedPointer.199" }
%"class.juce::Drawable" = type { %"class.juce::Component.base", %"class.juce::Point" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::Array.196" = type { %"class.juce::ArrayAllocationBase.123", i32, [4 x i8] }
%"class.juce::DrawableShape::RelativeFillType" = type { %"class.juce::FillType", %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"class.juce::FillType" = type { %"class.juce::Colour", %"class.juce::ScopedPointer.198", %"class.juce::Image", %"class.juce::AffineTransform" }
%"class.juce::ScopedPointer.198" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::ScopedPointer.199" = type { ptr }
%"class.juce::ScopedPointer.200" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.183 = external hidden unnamed_addr constant [3 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #0

; 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 #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #6 align 2

; Function Attrs: nounwind
declare void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #5 align 2

declare void @_ZN4juce4Path8addArrowERKNS_4LineIfEEfff(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef, float noundef, float noundef) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN4juce14LookAndFeel_V227createFileBrowserGoUpButtonEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::String", align 8
  %3 = alloca %"class.juce::Path", align 8
  %4 = alloca %"class.juce::Line", align 4
  %5 = alloca %"class.juce::DrawablePath", align 8
  %6 = alloca %"class.juce::FillType", align 8
  %7 = alloca %"class.juce::Colour", align 1
  %8 = tail call noalias noundef nonnull dereferenceable(464) ptr @_Znwm(i64 noundef 464) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull @.str.183)
          to label %9 unwind label %16

9:                                                ; preds = %1
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %8, ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 3)
          to label %10 unwind label %18

10:                                               ; preds = %9
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #8
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 5.000000e+01, float noundef 1.000000e+02, float noundef 5.000000e+01, float noundef 0.000000e+00) #8
  invoke void @_ZN4juce4Path8addArrowERKNS_4LineIfEEfff(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 4.000000e+01, float noundef 1.000000e+02, float noundef 5.000000e+01)
          to label %11 unwind label %21

11:                                               ; preds = %10
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 560, ptr nonnull %5) #8
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %5)
          to label %12 unwind label %23

12:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #8
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %7, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD99999A0000000) #8
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull %7) #8
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %5, ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %13 unwind label %25

13:                                               ; preds = %12
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %5, ptr noundef nonnull align 8 dereferenceable(41) %3)
          to label %14 unwind label %27

14:                                               ; preds = %13
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %8, ptr noundef nonnull %5, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %15 unwind label %27

15:                                               ; preds = %14
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %5) #8
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %5) #8
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #8
  ret ptr %8

16:                                               ; preds = %1
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %20

18:                                               ; preds = %9
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %2) #8
  br label %20

20:                                               ; preds = %18, %16
  %.pn = phi { ptr, i32 } [ %19, %18 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @_ZdlPvm(ptr noundef nonnull %8, i64 noundef 464) #9
  br label %32

21:                                               ; preds = %10
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %31

23:                                               ; preds = %11
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %30

25:                                               ; preds = %12
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #8
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #8
  br label %29

27:                                               ; preds = %14, %13
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %29

29:                                               ; preds = %27, %25
  %.pn11 = phi { ptr, i32 } [ %28, %27 ], [ %26, %25 ]
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %5) #8
  br label %30

30:                                               ; preds = %29, %23
  %.pn11.pn = phi { ptr, i32 } [ %.pn11, %29 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %5) #8
  br label %31

31:                                               ; preds = %30, %21
  %.pn11.pn.pn = phi { ptr, i32 } [ %.pn11.pn, %30 ], [ %22, %21 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #8
  br label %32

32:                                               ; preds = %20, %31
  %.pn11.pn.pn.pn = phi { ptr, i32 } [ %.pn11.pn.pn, %31 ], [ %.pn, %20 ]
  resume { ptr, i32 } %.pn11.pn.pn.pn
}

declare void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr, ptr, i32) local_unnamed_addr

declare void @_ZN4juce12DrawablePathC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce12DrawablePathD1Ev(ptr) local_unnamed_addr

attributes #0 = { 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 #1 = { nobuiltin 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress 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 = { 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 #7 = { builtin allocsize(0) }
attributes #8 = { nounwind }
attributes #9 = { builtin 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: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass