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

; 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::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 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }
%"class.juce::DrawableText" = type { %"class.juce::Drawable", %"class.juce::RelativeParallelogram", %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate", [3 x %"class.juce::Point.35"], %"class.juce::Font", %"class.juce::Font", %"class.juce::String", %"class.juce::Colour", %"class.juce::Justification" }
%"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::Point.35" = type { float, float }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Justification" = type { i32 }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZTVN4juce12DrawableTextE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #2 align 2

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12DrawableTextC2Ev(ptr noundef nonnull align 8 dereferenceable(328) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.juce::RelativeParallelogram", align 8
  %6 = alloca %"class.juce::RelativePoint", align 8
  %7 = alloca %"class.juce::RelativePoint", align 8
  %8 = alloca %"class.juce::RelativePoint", align 8
  %9 = alloca %"class.juce::Font", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  call void @_ZN4juce8DrawableC2Ev(ptr noundef nonnull align 8 dereferenceable(208) %10)
  store ptr getelementptr inbounds inrange(-16, 392) ({ [51 x ptr] }, ptr @_ZTVN4juce12DrawableTextE, i32 0, i32 0, i32 2), ptr %10, align 8, !tbaa !9
  %11 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 1
  invoke void @_ZN4juce21RelativeParallelogramC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %12 unwind label %39

12:                                               ; preds = %1
  %13 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 2
  invoke void @_ZN4juce18RelativeCoordinateC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %14 unwind label %43

14:                                               ; preds = %12
  %15 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 3
  invoke void @_ZN4juce18RelativeCoordinateC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %16 unwind label %47

16:                                               ; preds = %14
  %17 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 4
  %18 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %17, i32 0, i32 0
  %19 = getelementptr inbounds %"class.juce::Point.35", ptr %18, i64 3
  br label %20

20:                                               ; preds = %20, %16
  %21 = phi ptr [ %18, %16 ], [ %22, %20 ]
  call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %21) #6
  %22 = getelementptr inbounds %"class.juce::Point.35", ptr %21, i64 1
  %23 = icmp eq ptr %22, %19
  br i1 %23, label %24, label %20

24:                                               ; preds = %20
  %25 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 5
  invoke void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %26 unwind label %51

26:                                               ; preds = %24
  %27 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 6
  invoke void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %28 unwind label %55

28:                                               ; preds = %26
  %29 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 7
  call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %30 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %30, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE) #6
  %31 = getelementptr inbounds %"class.juce::DrawableText", ptr %10, i32 0, i32 9
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 noundef 33) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %32 unwind label %59

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %7, float noundef 5.000000e+01, float noundef 0.000000e+00)
          to label %33 unwind label %63

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %8, float noundef 0.000000e+00, float noundef 2.000000e+01)
          to label %34 unwind label %67

34:                                               ; preds = %33
  invoke void @_ZN4juce21RelativeParallelogramC1ERKNS_13RelativePointES3_S3_(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %35 unwind label %71

35:                                               ; preds = %34
  invoke void @_ZN4juce12DrawableText14setBoundingBoxERKNS_21RelativeParallelogramE(ptr noundef nonnull align 8 dereferenceable(328) %10, ptr noundef nonnull align 8 dereferenceable(48) %5)
          to label %36 unwind label %75

36:                                               ; preds = %35
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %9, float noundef 1.500000e+01, i32 noundef 0)
          to label %37 unwind label %83

37:                                               ; preds = %36
  invoke void @_ZN4juce12DrawableText7setFontERKNS_4FontEb(ptr noundef nonnull align 8 dereferenceable(328) %10, ptr noundef nonnull align 8 dereferenceable(8) %9, i1 noundef zeroext true)
          to label %38 unwind label %87

38:                                               ; preds = %37
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  ret void

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

43:                                               ; preds = %12
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %3, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %4, align 4
  br label %96

47:                                               ; preds = %14
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %3, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %4, align 4
  br label %95

51:                                               ; preds = %24
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %3, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %4, align 4
  br label %94

55:                                               ; preds = %26
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %3, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %4, align 4
  br label %93

59:                                               ; preds = %28
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %3, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %4, align 4
  br label %82

63:                                               ; preds = %32
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %3, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %4, align 4
  br label %81

67:                                               ; preds = %33
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %3, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %4, align 4
  br label %80

71:                                               ; preds = %34
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %3, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %4, align 4
  br label %79

75:                                               ; preds = %35
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %3, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %4, align 4
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #6
  br label %79

79:                                               ; preds = %75, %71
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %80

80:                                               ; preds = %79, %67
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %81

81:                                               ; preds = %80, %63
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %82

82:                                               ; preds = %81, %59
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #6
  br label %92

83:                                               ; preds = %36
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %3, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %4, align 4
  br label %91

87:                                               ; preds = %37
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %3, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %4, align 4
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %91

91:                                               ; preds = %87, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %92

92:                                               ; preds = %91, %82
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  br label %93

93:                                               ; preds = %92, %55
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br label %94

94:                                               ; preds = %93, %51
  call void @_ZN4juce18RelativeCoordinateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %95

95:                                               ; preds = %94, %47
  call void @_ZN4juce18RelativeCoordinateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %96

96:                                               ; preds = %95, %43
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  br label %97

97:                                               ; preds = %96, %39
  call void @_ZN4juce8DrawableD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %10) #6
  br label %98

98:                                               ; preds = %97
  %99 = load ptr, ptr %3, align 8
  %100 = load i32, ptr %4, align 4
  %101 = insertvalue { ptr, i32 } poison, ptr %99, 0
  %102 = insertvalue { ptr, i32 } %101, i32 %100, 1
  resume { ptr, i32 } %102
}

declare void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawableText7setFontERKNS_4FontEb(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) #5 align 2

declare void @_ZN4juce8DrawableD2Ev(ptr)

declare void @_ZN4juce18RelativeCoordinateC1Ev(ptr)

declare void @_ZN4juce18RelativeCoordinateD1Ev(ptr)

declare void @_ZN4juce21RelativeParallelogramC1Ev(ptr)

declare void @_ZN4juce21RelativeParallelogramC1ERKNS_13RelativePointES3_S3_(ptr, ptr, ptr, ptr)

declare void @_ZN4juce21RelativeParallelogramD1Ev(ptr)

declare void @_ZN4juce13RelativePointC1Eff(ptr, float, float)

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"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 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZTVN4juce12DrawableTextE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #2 align 2

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12DrawableTextC2Ev(ptr noundef nonnull align 8 dereferenceable(328) %0) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::RelativeParallelogram", align 8
  %3 = alloca %"class.juce::RelativePoint", align 8
  %4 = alloca %"class.juce::RelativePoint", align 8
  %5 = alloca %"class.juce::RelativePoint", align 8
  %6 = alloca %"class.juce::Font", align 8
  tail call void @_ZN4juce8DrawableC2Ev(ptr noundef nonnull align 8 dereferenceable(208) %0)
  store ptr getelementptr inbounds inrange(-16, 392) (i8, ptr @_ZTVN4juce12DrawableTextE, i64 16), ptr %0, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 208
  invoke void @_ZN4juce21RelativeParallelogramC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %8 unwind label %26

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 256
  invoke void @_ZN4juce18RelativeCoordinateC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %10 unwind label %28

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %0, i64 264
  invoke void @_ZN4juce18RelativeCoordinateC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %.preheader.preheader unwind label %30

.preheader.preheader:                             ; preds = %10
  %.ptr = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr) #6
  %.ptr.1 = getelementptr inbounds i8, ptr %0, i64 280
  tail call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1) #6
  %.ptr.2 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 296
  invoke void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %13 unwind label %32

13:                                               ; preds = %.preheader.preheader
  %14 = getelementptr inbounds i8, ptr %0, i64 304
  invoke void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %15 unwind label %34

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %0, i64 312
  tail call void @_ZN4juce6StringC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 320
  tail call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 324
  tail call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef 33) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %3, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %19 unwind label %36

19:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %4, float noundef 5.000000e+01, float noundef 0.000000e+00)
          to label %20 unwind label %38

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  invoke void @_ZN4juce13RelativePointC1Eff(ptr noundef nonnull align 8 dereferenceable(16) %5, float noundef 0.000000e+00, float noundef 2.000000e+01)
          to label %21 unwind label %40

21:                                               ; preds = %20
  invoke void @_ZN4juce21RelativeParallelogramC1ERKNS_13RelativePointES3_S3_(ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %22 unwind label %42

22:                                               ; preds = %21
  invoke void @_ZN4juce12DrawableText14setBoundingBoxERKNS_21RelativeParallelogramE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %23 unwind label %44

23:                                               ; preds = %22
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %6, float noundef 1.500000e+01, i32 noundef 0)
          to label %24 unwind label %50

24:                                               ; preds = %23
  invoke void @_ZN4juce12DrawableText7setFontERKNS_4FontEb(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, i1 noundef zeroext true)
          to label %25 unwind label %52

25:                                               ; preds = %24
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  ret void

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

28:                                               ; preds = %8
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %59

30:                                               ; preds = %10
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %58

32:                                               ; preds = %.preheader.preheader
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %57

34:                                               ; preds = %13
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %56

36:                                               ; preds = %15
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %49

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

40:                                               ; preds = %20
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %47

42:                                               ; preds = %21
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %46

44:                                               ; preds = %22
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %2) #6
  br label %46

46:                                               ; preds = %44, %42
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ]
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #6
  br label %47

47:                                               ; preds = %46, %40
  %.pn.pn = phi { ptr, i32 } [ %.pn, %46 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %48

48:                                               ; preds = %47, %38
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %47 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  br label %49

49:                                               ; preds = %48, %36
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %48 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %55

50:                                               ; preds = %23
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %54

52:                                               ; preds = %24
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %54

54:                                               ; preds = %52, %50
  %.pn19 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %55

55:                                               ; preds = %54, %49
  %.pn19.pn = phi { ptr, i32 } [ %.pn19, %54 ], [ %.pn.pn.pn.pn, %49 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %56

56:                                               ; preds = %55, %34
  %.pn19.pn.pn = phi { ptr, i32 } [ %.pn19.pn, %55 ], [ %35, %34 ]
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %57

57:                                               ; preds = %56, %32
  %.pn19.pn.pn.pn = phi { ptr, i32 } [ %.pn19.pn.pn, %56 ], [ %33, %32 ]
  call void @_ZN4juce18RelativeCoordinateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %58

58:                                               ; preds = %57, %30
  %.pn19.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn19.pn.pn.pn, %57 ], [ %31, %30 ]
  call void @_ZN4juce18RelativeCoordinateD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %59

59:                                               ; preds = %58, %28
  %.pn19.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn19.pn.pn.pn.pn, %58 ], [ %29, %28 ]
  call void @_ZN4juce21RelativeParallelogramD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  br label %60

60:                                               ; preds = %59, %26
  %.pn19.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn19.pn.pn.pn.pn.pn, %59 ], [ %27, %26 ]
  call void @_ZN4juce8DrawableD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %0) #6
  resume { ptr, i32 } %.pn19.pn.pn.pn.pn.pn.pn
}

declare void @_ZN4juce4FontC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawableText7setFontERKNS_4FontEb(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) local_unnamed_addr #5 align 2

declare void @_ZN4juce8DrawableD2Ev(ptr) local_unnamed_addr

declare void @_ZN4juce18RelativeCoordinateC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce18RelativeCoordinateD1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce21RelativeParallelogramC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce21RelativeParallelogramC1ERKNS_13RelativePointES3_S3_(ptr, ptr, ptr, ptr) local_unnamed_addr

declare void @_ZN4juce21RelativeParallelogramD1Ev(ptr) local_unnamed_addr

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass