; 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::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::TableHeaderComponent" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::AsyncUpdater", %"class.juce::OwnedArray.407", %"class.juce::Array.412", %"class.juce::ScopedPointer.159", i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"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::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::OwnedArray.407" = type { %"class.juce::ArrayAllocationBase.408", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.408" = type <{ %"class.juce::HeapBlock.409", i32, [4 x i8] }>
%"class.juce::HeapBlock.409" = type { ptr }
%"class.juce::Array.412" = type { %"class.juce::ArrayAllocationBase.413", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.413" = type <{ %"class.juce::HeapBlock.414", i32, [4 x i8] }>
%"class.juce::HeapBlock.414" = type { ptr }
%"class.juce::ScopedPointer.159" = type { ptr }
%"struct.juce::TableHeaderComponent::ColumnInfo" = type { %"class.juce::String", i32, i32, i32, i32, i32, double }

declare i32 @__gxx_personality_v0(...)

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

; 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component23createComponentSnapshotERKNS_9RectangleIiEEbf(ptr dead_on_unwind noalias writable sret(%"class.juce::Image") align 8, ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, float noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10MouseEvent13getMouseDownXEv(ptr noundef nonnull align 8 dereferenceable(74)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9ComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce20TableHeaderComponent12getInfoForIdEi(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef, i1 noundef zeroext) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4juce20TableHeaderComponent14getColumnIdAtXEi(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20TableHeaderComponent9beginDragERKNS_10MouseEventE(ptr noundef nonnull align 8 dereferenceable(308) %0, ptr noundef nonnull align 8 dereferenceable(74) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.juce::Rectangle", align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.juce::Image", align 8
  %11 = alloca i1, align 1
  %12 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  %14 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %106

17:                                               ; preds = %2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = call noundef i32 @_ZNK4juce10MouseEvent13getMouseDownXEv(ptr noundef nonnull align 8 dereferenceable(74) %18) #7
  %20 = call noundef i32 @_ZNK4juce20TableHeaderComponent14getColumnIdAtXEi(ptr noundef nonnull align 8 dereferenceable(308) %13, i32 noundef %19)
  %21 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  store i32 %20, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %22 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  %23 = load i32, ptr %22, align 4, !tbaa !9
  %24 = call noundef ptr @_ZNK4juce20TableHeaderComponent12getInfoForIdEi(ptr noundef nonnull align 8 dereferenceable(308) %13, i32 noundef %23)
  store ptr %24, ptr %5, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = icmp eq ptr %25, null
  br i1 %26, label %33, label %27

27:                                               ; preds = %17
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.juce::TableHeaderComponent::ColumnInfo", ptr %28, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !47
  %31 = and i32 %30, 4
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %35

33:                                               ; preds = %27, %17
  %34 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %105

35:                                               ; preds = %27
  %36 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  %37 = load i32, ptr %36, align 4, !tbaa !9
  %38 = call noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308) %13, i32 noundef %37, i1 noundef zeroext true)
  %39 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 17
  store i32 %38, ptr %39, align 4, !tbaa !50
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %40 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 17
  %41 = load i32, ptr %40, align 4, !tbaa !50
  call void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %6, ptr noundef nonnull align 8 dereferenceable(308) %13, i32 noundef %41)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %42 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  %43 = load i32, ptr %42, align 4, !tbaa !9
  store i32 %43, ptr %7, align 4, !tbaa !51
  %44 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  store i32 0, ptr %44, align 4, !tbaa !9
  %45 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 208) #8
          to label %46 unwind label %66

46:                                               ; preds = %35
  store i1 true, ptr %11, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  invoke void @_ZN4juce9Component23createComponentSnapshotERKNS_9RectangleIiEEbf(ptr dead_on_unwind writable sret(%"class.juce::Image") align 8 %10, ptr noundef nonnull align 8 dereferenceable(197) %13, ptr noundef nonnull align 4 dereferenceable(16) %6, i1 noundef zeroext false, float noundef 1.000000e+00)
          to label %47 unwind label %70

47:                                               ; preds = %46
  invoke void @_ZN4juce20TableHeaderComponent15DragOverlayCompC2ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(208) %45, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %48 unwind label %74

48:                                               ; preds = %47
  store i1 false, ptr %11, align 1
  %49 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 5
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9ComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef %45)
          to label %51 unwind label %74

51:                                               ; preds = %48
  %52 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #7
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %13, ptr noundef %52, i32 noundef -1)
          to label %53 unwind label %74

53:                                               ; preds = %51
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %54 = load i32, ptr %7, align 4, !tbaa !51
  %55 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  store i32 %54, ptr %55, align 4, !tbaa !9
  %56 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 5
  %57 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #7
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %57, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %58 unwind label %66

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %59 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 4
  %60 = call noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %59) #7
  store i32 %60, ptr %12, align 4, !tbaa !51
  br label %61

61:                                               ; preds = %98, %58
  %62 = load i32, ptr %12, align 4, !tbaa !51
  %63 = add nsw i32 %62, -1
  store i32 %63, ptr %12, align 4, !tbaa !51
  %64 = icmp sge i32 %63, 0
  br i1 %64, label %82, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %103

66:                                               ; preds = %53, %35
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  br label %104

70:                                               ; preds = %46
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  br label %78

74:                                               ; preds = %51, %48, %47
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %8, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %9, align 4
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br label %78

78:                                               ; preds = %74, %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  %79 = load i1, ptr %11, align 1
  br i1 %79, label %80, label %81

80:                                               ; preds = %78
  call void @_ZdlPvm(ptr noundef %45, i64 noundef 208) #9
  br label %81

81:                                               ; preds = %80, %78
  br label %104

82:                                               ; preds = %61
  %83 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 4
  %84 = load i32, ptr %12, align 4, !tbaa !51
  %85 = invoke noundef ptr @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %83, i32 noundef %84)
          to label %86 unwind label %99

86:                                               ; preds = %82
  %87 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 13
  %88 = load i32, ptr %87, align 4, !tbaa !9
  %89 = load ptr, ptr %85, align 8, !tbaa !52
  %90 = getelementptr inbounds ptr, ptr %89, i64 5
  %91 = load ptr, ptr %90, align 8
  invoke void %91(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef %13, i32 noundef %88)
          to label %92 unwind label %99

92:                                               ; preds = %86
  %93 = load i32, ptr %12, align 4, !tbaa !51
  %94 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %13, i32 0, i32 4
  %95 = call noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %94) #7
  %96 = sub nsw i32 %95, 1
  %97 = invoke noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %93, i32 noundef %96)
          to label %98 unwind label %99

98:                                               ; preds = %92
  store i32 %97, ptr %12, align 4, !tbaa !51
  br label %61, !llvm.loop !54

99:                                               ; preds = %92, %86, %82
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %8, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %104

103:                                              ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  br label %105

104:                                              ; preds = %99, %81, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %107

105:                                              ; preds = %103, %33
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %106

106:                                              ; preds = %105, %2
  ret void

107:                                              ; preds = %104
  %108 = load ptr, ptr %8, align 8
  %109 = load i32, ptr %9, align 4
  %110 = insertvalue { ptr, i32 } poison, ptr %108, 0
  %111 = insertvalue { ptr, i32 } %110, i32 %109, 1
  resume { ptr, i32 } %111
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #6 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 = { 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 #6 = { 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 #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"}
!9 = !{!10, !17, i64 284}
!10 = !{!"_ZTSN4juce20TableHeaderComponentE", !11, i64 0, !37, i64 200, !39, i64 216, !42, i64 240, !45, i64 264, !46, i64 272, !46, i64 273, !46, i64 274, !46, i64 275, !46, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !17, i64 300, !17, i64 304}
!11 = !{!"_ZTSN4juce9ComponentE", !12, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !6, i64 88, !23, i64 96, !6, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !7, i64 192, !7, i64 196}
!12 = !{!"_ZTSN4juce13MouseListenerE"}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, 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", !6, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, 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", !6, 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", !6, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!37 = !{!"_ZTSN4juce12AsyncUpdaterE", !38, i64 8}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!39 = !{!"_ZTSN4juce10OwnedArrayINS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !40, i64 0, !17, i64 16}
!40 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !41, i64 0, !17, i64 8}
!41 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent10ColumnInfoELb0EEE", !6, i64 0}
!42 = !{!"_ZTSN4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EEE", !43, i64 0, !17, i64 16}
!43 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionEEE", !44, i64 0, !17, i64 8}
!44 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent8ListenerELb0EEE", !6, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !6, i64 0}
!46 = !{!"bool", !7, i64 0}
!47 = !{!48, !17, i64 12}
!48 = !{!"_ZTSN4juce20TableHeaderComponent10ColumnInfoE", !13, i64 0, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !49, i64 32}
!49 = !{!"double", !7, i64 0}
!50 = !{!10, !17, i64 300}
!51 = !{!17, !17, i64 0}
!52 = !{!53, !53, i64 0}
!53 = !{!"vtable pointer", !8, i64 0}
!54 = distinct !{!54, !55}
!55 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }

declare i32 @__gxx_personality_v0(...)

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

; 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component23createComponentSnapshotERKNS_9RectangleIiEEbf(ptr dead_on_unwind noalias writable sret(%"class.juce::Image") align 8, ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, float noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10MouseEvent13getMouseDownXEv(ptr noundef nonnull align 8 dereferenceable(74)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9ComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce20TableHeaderComponent12getInfoForIdEi(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK4juce20TableHeaderComponent14getColumnIdAtXEi(ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20TableHeaderComponent9beginDragERKNS_10MouseEventE(ptr noundef nonnull align 8 dereferenceable(308) %0, ptr noundef nonnull align 8 dereferenceable(74) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Rectangle", align 4
  %4 = alloca %"class.juce::Image", align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 284
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %7 = icmp eq i32 %6, 0
  br i1 %7, label %8, label %58

8:                                                ; preds = %2
  %9 = tail call noundef i32 @_ZNK4juce10MouseEvent13getMouseDownXEv(ptr noundef nonnull align 8 dereferenceable(74) %1) #7
  %10 = tail call noundef i32 @_ZNK4juce20TableHeaderComponent14getColumnIdAtXEi(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %9)
  store i32 %10, ptr %5, align 4, !tbaa !5
  %11 = tail call noundef ptr @_ZNK4juce20TableHeaderComponent12getInfoForIdEi(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %10)
  %12 = icmp eq ptr %11, null
  br i1 %12, label %18, label %13

13:                                               ; preds = %8
  %14 = getelementptr inbounds i8, ptr %11, i64 12
  %15 = load i32, ptr %14, align 4, !tbaa !46
  %16 = and i32 %15, 4
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %19

18:                                               ; preds = %13, %8
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %58

19:                                               ; preds = %13
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %21 = tail call noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %20, i1 noundef zeroext true)
  %22 = getelementptr inbounds i8, ptr %0, i64 300
  store i32 %21, ptr %22, align 4, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  call void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %3, ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %21)
  %23 = load i32, ptr %5, align 4, !tbaa !5
  store i32 0, ptr %5, align 4, !tbaa !5
  %24 = invoke noalias noundef nonnull dereferenceable(208) ptr @_Znwm(i64 noundef 208) #8
          to label %25 unwind label %38

25:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  invoke void @_ZN4juce9Component23createComponentSnapshotERKNS_9RectangleIiEEbf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Image") align 8 %4, ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull align 4 dereferenceable(16) %3, i1 noundef zeroext false, float noundef 1.000000e+00)
          to label %26 unwind label %.thread

26:                                               ; preds = %25
  invoke void @_ZN4juce20TableHeaderComponent15DragOverlayCompC2ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(208) %24, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %28 unwind label %.thread23

.thread23:                                        ; preds = %26
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %43

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %0, i64 264
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9ComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull %24)
  %31 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  invoke void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef %31, i32 noundef -1)
          to label %32 unwind label %41

32:                                               ; preds = %28
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  store i32 %23, ptr %5, align 4, !tbaa !5
  %33 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %33, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %34 unwind label %38

34:                                               ; preds = %32
  %35 = getelementptr inbounds i8, ptr %0, i64 240
  %36 = call noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %35) #7
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %50, %34
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %58

38:                                               ; preds = %32, %19
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %57

.thread:                                          ; preds = %25
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %43

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %57

43:                                               ; preds = %.thread23, %.thread
  %.pn22 = phi { ptr, i32 } [ %40, %.thread ], [ %27, %.thread23 ]
  call void @_ZdlPvm(ptr noundef nonnull %24, i64 noundef 208) #9
  br label %57

.lr.ph:                                           ; preds = %34, %50
  %.in = phi i32 [ %53, %50 ], [ %36, %34 ]
  %44 = add nsw i32 %.in, -1
  %45 = call noundef ptr @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %35, i32 noundef %44)
  %46 = load i32, ptr %5, align 4, !tbaa !5
  %47 = load ptr, ptr %45, align 8, !tbaa !50
  %48 = getelementptr inbounds i8, ptr %47, i64 40
  %49 = load ptr, ptr %48, align 8
  invoke void %49(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull %0, i32 noundef %46)
          to label %50 unwind label %55

50:                                               ; preds = %.lr.ph
  %51 = call noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %35) #7
  %52 = add nsw i32 %51, -1
  %53 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %44, i32 noundef %52)
  %54 = icmp sgt i32 %53, 0
  br i1 %54, label %.lr.ph, label %._crit_edge, !llvm.loop !52

55:                                               ; preds = %.lr.ph
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %57

57:                                               ; preds = %41, %43, %55, %38
  %.pn18 = phi { ptr, i32 } [ %56, %55 ], [ %39, %38 ], [ %.pn22, %43 ], [ %42, %41 ]
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn18

58:                                               ; preds = %18, %._crit_edge, %2
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { 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 = { 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 #6 = { 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 #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, !16, i64 284}
!6 = !{!"_ZTSN4juce20TableHeaderComponentE", !7, i64 0, !36, i64 200, !38, i64 216, !41, i64 240, !44, i64 264, !45, i64 272, !45, i64 273, !45, i64 274, !45, i64 275, !45, i64 276, !16, i64 280, !16, i64 284, !16, i64 288, !16, i64 292, !16, i64 296, !16, i64 300, !16, i64 304}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce12AsyncUpdaterE", !37, i64 8}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!38 = !{!"_ZTSN4juce10OwnedArrayINS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !39, i64 0, !16, i64 16}
!39 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !40, i64 0, !16, i64 8}
!40 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent10ColumnInfoELb0EEE", !11, i64 0}
!41 = !{!"_ZTSN4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EEE", !42, i64 0, !16, i64 16}
!42 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionEEE", !43, i64 0, !16, i64 8}
!43 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent8ListenerELb0EEE", !11, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !11, i64 0}
!45 = !{!"bool", !12, i64 0}
!46 = !{!47, !16, i64 12}
!47 = !{!"_ZTSN4juce20TableHeaderComponent10ColumnInfoE", !9, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !48, i64 32}
!48 = !{!"double", !12, i64 0}
!49 = !{!6, !16, i64 300}
!50 = !{!51, !51, i64 0}
!51 = !{!"vtable pointer", !13, i64 0}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass