; 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::Identifier" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ValueTree" = type { %"class.juce::ReferenceCountedObjectPtr.174", %"class.juce::ListenerList.175" }
%"class.juce::ReferenceCountedObjectPtr.174" = type { ptr }
%"class.juce::ListenerList.175" = type { %"class.juce::Array.176" }
%"class.juce::Array.176" = type { %"class.juce::ArrayAllocationBase.177", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.177" = type <{ %"class.juce::HeapBlock.178", i32, [4 x i8] }>
%"class.juce::HeapBlock.178" = type { ptr }
%"class.juce::DrawableImage::ValueTreeWrapper" = type { %"class.juce::Drawable::ValueTreeWrapperBase" }
%"class.juce::Drawable::ValueTreeWrapperBase" = type { %"class.juce::ValueTree" }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::var" = type { ptr, %"union.juce::var::ValueUnion" }
%"union.juce::var::ValueUnion" = type { i64 }
%"class.juce::DrawableImage" = type { %"class.juce::Drawable", %"class.juce::Image", float, %"class.juce::Colour", %"class.juce::RelativeParallelogram" }
%"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::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::RelativeParallelogram" = type { %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"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 }

@_ZN4juce13DrawableImage13valueTreeTypeE = external dso_local global %"class.juce::Identifier", align 8

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: nounwind
declare void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Drawable20ValueTreeWrapperBase5setIDERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

declare void @_ZN4juce9ValueTreeC1ERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper18setImageIdentifierERKNS_3varEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper10setOpacityEfPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), float noundef, ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper16setOverlayColourENS_6ColourEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper14setBoundingBoxERKNS_21RelativeParallelogramEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce13DrawableImage15createValueTreeEPNS_16ComponentBuilder13ImageProviderE(ptr dead_on_unwind noalias writable sret(%"class.juce::ValueTree") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %"class.juce::DrawableImage::ValueTreeWrapper", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::var", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZN4juce9ValueTreeC1ERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableImage13valueTreeTypeE)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapperC1ERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %14 unwind label %40

14:                                               ; preds = %3
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component14getComponentIDEv(ptr noundef nonnull align 8 dereferenceable(197) %13) #6
  invoke void @_ZN4juce8Drawable20ValueTreeWrapperBase5setIDERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %16 unwind label %44

16:                                               ; preds = %14
  %17 = getelementptr inbounds %"class.juce::DrawableImage", ptr %13, i32 0, i32 2
  %18 = load float, ptr %17, align 8, !tbaa !9
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper10setOpacityEfPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %8, float noundef %18, ptr noundef null)
          to label %19 unwind label %44

19:                                               ; preds = %16
  %20 = getelementptr inbounds %"class.juce::DrawableImage", ptr %13, i32 0, i32 3
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper16setOverlayColourENS_6ColourEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %11, ptr noundef null)
          to label %21 unwind label %48

21:                                               ; preds = %19
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  %22 = getelementptr inbounds %"class.juce::DrawableImage", ptr %13, i32 0, i32 4
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper14setBoundingBoxERKNS_21RelativeParallelogramEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(48) %22, ptr noundef null)
          to label %23 unwind label %44

23:                                               ; preds = %21
  %24 = getelementptr inbounds %"class.juce::DrawableImage", ptr %13, i32 0, i32 1
  %25 = call noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  br i1 %25, label %26, label %62

26:                                               ; preds = %23
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  br label %29

29:                                               ; preds = %28
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %61

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.juce::DrawableImage", ptr %13, i32 0, i32 1
  %35 = load ptr, ptr %33, align 8, !tbaa !48
  %36 = getelementptr inbounds ptr, ptr %35, i64 3
  %37 = load ptr, ptr %36, align 8
  invoke void %37(ptr dead_on_unwind writable sret(%"class.juce::var") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %38 unwind label %52

38:                                               ; preds = %32
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper18setImageIdentifierERKNS_3varEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef null)
          to label %39 unwind label %56

39:                                               ; preds = %38
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %61

40:                                               ; preds = %3
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %9, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %10, align 4
  br label %65

44:                                               ; preds = %21, %16, %14
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %9, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %10, align 4
  br label %64

48:                                               ; preds = %19
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %9, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  br label %64

52:                                               ; preds = %32
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %9, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %10, align 4
  br label %60

56:                                               ; preds = %38
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %9, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %10, align 4
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %60

60:                                               ; preds = %56, %52
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  br label %64

61:                                               ; preds = %39, %29
  br label %62

62:                                               ; preds = %61, %23
  store i1 true, ptr %7, align 1
  call void @_ZN4juce8Drawable20ValueTreeWrapperBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  %63 = load i1, ptr %7, align 1
  br i1 %63, label %67, label %66

64:                                               ; preds = %60, %48, %44
  call void @_ZN4juce8Drawable20ValueTreeWrapperBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %65

65:                                               ; preds = %64, %40
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  br label %68

66:                                               ; preds = %62
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  br label %67

67:                                               ; preds = %66, %62
  ret void

68:                                               ; preds = %65
  %69 = load ptr, ptr %9, align 8
  %70 = load i32, ptr %10, align 4
  %71 = insertvalue { ptr, i32 } poison, ptr %69, 0
  %72 = insertvalue { ptr, i32 } %71, i32 %70, 1
  resume { ptr, i32 } %72
}

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

declare void @_ZN4juce13DrawableImage16ValueTreeWrapperC1ERKNS_9ValueTreeE(ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { "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, !40, i64 216}
!10 = !{!"_ZTSN4juce13DrawableImageE", !11, i64 0, !38, i64 208, !40, i64 216, !41, i64 220, !43, i64 224}
!11 = !{!"_ZTSN4juce8DrawableE", !12, i64 0, !17, i64 200}
!12 = !{!"_ZTSN4juce9ComponentE", !13, i64 0, !14, i64 8, !14, i64 16, !6, i64 24, !16, i64 32, !19, i64 48, !20, i64 56, !21, i64 64, !6, i64 88, !24, i64 96, !6, i64 104, !25, i64 112, !26, i64 120, !27, i64 128, !28, i64 136, !32, i64 160, !36, i64 184, !7, i64 192, !7, i64 196}
!13 = !{!"_ZTSN4juce13MouseListenerE"}
!14 = !{!"_ZTSN4juce6StringE", !15, i64 0}
!15 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!16 = !{!"_ZTSN4juce9RectangleIiEE", !17, i64 0, !18, i64 8, !18, i64 12}
!17 = !{!"_ZTSN4juce5PointIiEE", !18, i64 0, !18, i64 4}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!21 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !22, i64 0, !18, i64 16}
!22 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !23, i64 0, !18, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!24 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !29, i64 0}
!29 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !30, i64 0, !18, i64 16}
!30 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !31, i64 0, !18, i64 8}
!31 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13NamedValueSetE", !33, i64 0}
!33 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !34, i64 0, !18, i64 16}
!34 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !35, i64 0, !18, i64 8}
!35 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!36 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !37, i64 0}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!38 = !{!"_ZTSN4juce5ImageE", !39, i64 0}
!39 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEE", !6, i64 0}
!40 = !{!"float", !7, i64 0}
!41 = !{!"_ZTSN4juce6ColourE", !42, i64 0}
!42 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!43 = !{!"_ZTSN4juce21RelativeParallelogramE", !44, i64 0, !44, i64 16, !44, i64 32}
!44 = !{!"_ZTSN4juce13RelativePointE", !45, i64 0, !45, i64 8}
!45 = !{!"_ZTSN4juce18RelativeCoordinateE", !46, i64 0}
!46 = !{!"_ZTSN4juce10ExpressionE", !47, i64 0}
!47 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_10Expression4TermEEE", !6, i64 0}
!48 = !{!49, !49, i64 0}
!49 = !{!"vtable pointer", !8, i64 0}


; 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::Identifier" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ValueTree" = type { %"class.juce::ReferenceCountedObjectPtr.174", %"class.juce::ListenerList.175" }
%"class.juce::ReferenceCountedObjectPtr.174" = type { ptr }
%"class.juce::ListenerList.175" = type { %"class.juce::Array.176" }
%"class.juce::Array.176" = type { %"class.juce::ArrayAllocationBase.177", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.177" = type <{ %"class.juce::HeapBlock.178", i32, [4 x i8] }>
%"class.juce::HeapBlock.178" = type { ptr }
%"class.juce::DrawableImage::ValueTreeWrapper" = type { %"class.juce::Drawable::ValueTreeWrapperBase" }
%"class.juce::Drawable::ValueTreeWrapperBase" = type { %"class.juce::ValueTree" }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::var" = type { ptr, %"union.juce::var::ValueUnion" }
%"union.juce::var::ValueUnion" = type { i64 }

@_ZN4juce13DrawableImage13valueTreeTypeE = external dso_local global %"class.juce::Identifier", align 8

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: nounwind
declare void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce8Drawable20ValueTreeWrapperBase5setIDERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1

declare void @_ZN4juce9ValueTreeC1ERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper18setImageIdentifierERKNS_3varEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper10setOpacityEfPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), float noundef, ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper16setOverlayColourENS_6ColourEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableImage16ValueTreeWrapper14setBoundingBoxERKNS_21RelativeParallelogramEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce13DrawableImage15createValueTreeEPNS_16ComponentBuilder13ImageProviderE(ptr dead_on_unwind noalias nonnull writable sret(%"class.juce::ValueTree") align 8 %0, ptr noundef nonnull align 8 dereferenceable(272) %1, ptr noundef %2) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.juce::DrawableImage::ValueTreeWrapper", align 8
  %5 = alloca %"class.juce::Colour", align 1
  %6 = alloca %"class.juce::var", align 8
  tail call void @_ZN4juce9ValueTreeC1ERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableImage13valueTreeTypeE)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapperC1ERKNS_9ValueTreeE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %7 unwind label %26

7:                                                ; preds = %3
  %8 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component14getComponentIDEv(ptr noundef nonnull align 8 dereferenceable(197) %1) #6
  invoke void @_ZN4juce8Drawable20ValueTreeWrapperBase5setIDERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %9 unwind label %28

9:                                                ; preds = %7
  %10 = getelementptr inbounds i8, ptr %1, i64 216
  %11 = load float, ptr %10, align 8, !tbaa !5
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper10setOpacityEfPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %4, float noundef %11, ptr noundef null)
          to label %12 unwind label %28

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %1, i64 220
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper16setOverlayColourENS_6ColourEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %5, ptr noundef null)
          to label %14 unwind label %30

14:                                               ; preds = %12
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  %15 = getelementptr inbounds i8, ptr %1, i64 224
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper14setBoundingBoxERKNS_21RelativeParallelogramEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef null)
          to label %16 unwind label %28

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %1, i64 208
  %18 = call noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %19 = icmp ne ptr %2, null
  %or.cond = and i1 %19, %18
  br i1 %or.cond, label %20, label %37

20:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  %21 = load ptr, ptr %2, align 8, !tbaa !47
  %22 = getelementptr inbounds i8, ptr %21, i64 24
  %23 = load ptr, ptr %22, align 8
  invoke void %23(ptr dead_on_unwind nonnull writable sret(%"class.juce::var") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %24 unwind label %32

24:                                               ; preds = %20
  invoke void @_ZN4juce13DrawableImage16ValueTreeWrapper18setImageIdentifierERKNS_3varEPNS_11UndoManagerE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef null)
          to label %25 unwind label %34

25:                                               ; preds = %24
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %37

26:                                               ; preds = %3
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %39

28:                                               ; preds = %14, %9, %7
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %38

30:                                               ; preds = %12
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  br label %38

32:                                               ; preds = %20
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %36

34:                                               ; preds = %24
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %36

36:                                               ; preds = %34, %32
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  br label %38

37:                                               ; preds = %25, %16
  call void @_ZN4juce8Drawable20ValueTreeWrapperBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  ret void

38:                                               ; preds = %36, %30, %28
  %.pn.pn = phi { ptr, i32 } [ %.pn, %36 ], [ %29, %28 ], [ %31, %30 ]
  call void @_ZN4juce8Drawable20ValueTreeWrapperBaseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %39

39:                                               ; preds = %38, %26
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %38 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN4juce9ValueTreeD1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

declare void @_ZN4juce13DrawableImage16ValueTreeWrapperC1ERKNS_9ValueTreeE(ptr, ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 #5 = { "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, !39, i64 216}
!6 = !{!"_ZTSN4juce13DrawableImageE", !7, i64 0, !37, i64 208, !39, i64 216, !40, i64 220, !42, i64 224}
!7 = !{!"_ZTSN4juce8DrawableE", !8, i64 0, !16, i64 200}
!8 = !{!"_ZTSN4juce9ComponentE", !9, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !12, i64 88, !23, i64 96, !12, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !13, i64 192, !13, i64 196}
!9 = !{!"_ZTSN4juce13MouseListenerE"}
!10 = !{!"_ZTSN4juce6StringE", !11, i64 0}
!11 = !{!"_ZTSN4juce16CharPointer_UTF8E", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !13, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !12, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !12, i64 0}
!20 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !12, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !12, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !12, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !12, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !12, i64 0}
!27 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !28, i64 0}
!28 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !29, i64 0, !17, i64 16}
!29 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !30, i64 0, !17, i64 8}
!30 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !12, i64 0}
!31 = !{!"_ZTSN4juce13NamedValueSetE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !17, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !34, i64 0, !17, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !12, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !12, i64 0}
!37 = !{!"_ZTSN4juce5ImageE", !38, i64 0}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEE", !12, i64 0}
!39 = !{!"float", !13, i64 0}
!40 = !{!"_ZTSN4juce6ColourE", !41, i64 0}
!41 = !{!"_ZTSN4juce9PixelARGBE", !13, i64 0}
!42 = !{!"_ZTSN4juce21RelativeParallelogramE", !43, i64 0, !43, i64 16, !43, i64 32}
!43 = !{!"_ZTSN4juce13RelativePointE", !44, i64 0, !44, i64 8}
!44 = !{!"_ZTSN4juce18RelativeCoordinateE", !45, i64 0}
!45 = !{!"_ZTSN4juce10ExpressionE", !46, i64 0}
!46 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_10Expression4TermEEE", !12, i64 0}
!47 = !{!48, !48, i64 0}
!48 = !{!"vtable pointer", !14, i64 0}


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