; 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::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::MarkerListScope" = type { %"class.juce::Expression::Scope", ptr }
%"class.juce::Expression::Scope" = type { ptr }
%"class.juce::RelativeCoordinatePositionerBase::ComponentScope" = type { %"class.juce::Expression::Scope", ptr }
%"class.juce::MarkerList::Marker" = type { %"class.juce::String", %"class.juce::RelativeCoordinate" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8), double noundef) unnamed_addr #2

declare noundef double @_ZNK4juce10Expression8evaluateERKNS0_5ScopeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce32RelativeCoordinatePositionerBase14ComponentScope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind noalias writable sret(%"class.juce::Expression") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.juce::MarkerListScope", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  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
  %14 = load ptr, ptr %5, align 8
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = call noundef i32 @_ZN4juce18RelativeCoordinate15StandardStrings9getTypeOfERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  switch i32 %16, label %47 [
    i32 4, label %17
    i32 0, label %17
    i32 5, label %22
    i32 2, label %22
    i32 6, label %27
    i32 7, label %32
    i32 1, label %37
    i32 3, label %42
  ]

17:                                               ; preds = %3, %3
  %18 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %19) #5
  %21 = sitofp i32 %20 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %21)
  br label %85

22:                                               ; preds = %3, %3
  %23 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %24) #5
  %26 = sitofp i32 %25 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %26)
  br label %85

27:                                               ; preds = %3
  %28 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %29 = load ptr, ptr %28, align 8, !tbaa !9
  %30 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %29) #5
  %31 = sitofp i32 %30 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %31)
  br label %85

32:                                               ; preds = %3
  %33 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !9
  %35 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %34) #5
  %36 = sitofp i32 %35 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %36)
  br label %85

37:                                               ; preds = %3
  %38 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %39) #5
  %41 = sitofp i32 %40 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %41)
  br label %85

42:                                               ; preds = %3
  %43 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = call noundef i32 @_ZNK4juce9Component9getBottomEv(ptr noundef nonnull align 8 dereferenceable(197) %44) #5
  %46 = sitofp i32 %45 to double
  call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %46)
  br label %85

47:                                               ; preds = %3
  br label %48

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %49 = getelementptr inbounds %"class.juce::RelativeCoordinatePositionerBase::ComponentScope", ptr %14, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %50) #5
  store ptr %51, ptr %7, align 8, !tbaa !5
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %80

54:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = call noundef ptr @_ZN4juce15MarkerListScope10findMarkerERNS_9ComponentERKNS_6StringERPNS_10MarkerListE(ptr noundef nonnull align 8 dereferenceable(197) %55, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %57, ptr %9, align 8, !tbaa !5
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %73

60:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4juce15MarkerListScopeC2ERNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(197) %61)
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.juce::MarkerList::Marker", ptr %62, i32 0, i32 1
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce18RelativeCoordinate13getExpressionEv(ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %65 unwind label %69

65:                                               ; preds = %60
  %66 = invoke noundef double @_ZNK4juce10Expression8evaluateERKNS0_5ScopeE(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull align 8 dereferenceable(8) %10)
          to label %67 unwind label %69

67:                                               ; preds = %65
  invoke void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %66)
          to label %68 unwind label %69

68:                                               ; preds = %67
  store i32 1, ptr %13, align 4
  call void @_ZN4juce10Expression5ScopeD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  br label %74

69:                                               ; preds = %67, %65, %60
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  call void @_ZN4juce10Expression5ScopeD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %86

73:                                               ; preds = %54
  store i32 0, ptr %13, align 4
  br label %74

74:                                               ; preds = %73, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  %75 = load i32, ptr %13, align 4
  switch i32 %75, label %77 [
    i32 0, label %76
  ]

76:                                               ; preds = %74
  store i32 0, ptr %13, align 4
  br label %77

77:                                               ; preds = %76, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %78 = load i32, ptr %13, align 4
  switch i32 %78, label %81 [
    i32 0, label %79
  ]

79:                                               ; preds = %77
  br label %80

80:                                               ; preds = %79, %48
  store i32 0, ptr %13, align 4
  br label %81

81:                                               ; preds = %80, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  %82 = load i32, ptr %13, align 4
  switch i32 %82, label %91 [
    i32 0, label %83
    i32 1, label %85
  ]

83:                                               ; preds = %81
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNK4juce10Expression5Scope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::Expression") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %84)
  br label %85

85:                                               ; preds = %83, %81, %42, %37, %32, %27, %22, %17
  ret void

86:                                               ; preds = %69
  %87 = load ptr, ptr %11, align 8
  %88 = load i32, ptr %12, align 4
  %89 = insertvalue { ptr, i32 } poison, ptr %87, 0
  %90 = insertvalue { ptr, i32 } %89, i32 %88, 1
  resume { ptr, i32 } %90

91:                                               ; preds = %81
  unreachable
}

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

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

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

declare void @_ZNK4juce10Expression5Scope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::Expression") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

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

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


; 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::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::MarkerListScope" = type { %"class.juce::Expression::Scope", ptr }
%"class.juce::Expression::Scope" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8), double noundef) unnamed_addr #2

declare noundef double @_ZNK4juce10Expression8evaluateERKNS0_5ScopeE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce32RelativeCoordinatePositionerBase14ComponentScope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind noalias writable sret(%"class.juce::Expression") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::MarkerListScope", align 8
  %6 = tail call noundef i32 @_ZN4juce18RelativeCoordinate15StandardStrings9getTypeOfERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %2) #5
  switch i32 %6, label %37 [
    i32 4, label %7
    i32 0, label %7
    i32 5, label %12
    i32 2, label %12
    i32 6, label %17
    i32 7, label %22
    i32 1, label %27
    i32 3, label %32
  ]

7:                                                ; preds = %3, %3
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %9) #5
  %11 = sitofp i32 %10 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %11)
  br label %52

12:                                               ; preds = %3, %3
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = tail call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %14) #5
  %16 = sitofp i32 %15 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %16)
  br label %52

17:                                               ; preds = %3
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %19) #5
  %21 = sitofp i32 %20 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %21)
  br label %52

22:                                               ; preds = %3
  %23 = getelementptr inbounds i8, ptr %1, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %24) #5
  %26 = sitofp i32 %25 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %26)
  br label %52

27:                                               ; preds = %3
  %28 = getelementptr inbounds i8, ptr %1, i64 8
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = tail call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %29) #5
  %31 = sitofp i32 %30 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %31)
  br label %52

32:                                               ; preds = %3
  %33 = getelementptr inbounds i8, ptr %1, i64 8
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = tail call noundef i32 @_ZNK4juce9Component9getBottomEv(ptr noundef nonnull align 8 dereferenceable(197) %34) #5
  %36 = sitofp i32 %35 to double
  tail call void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %36)
  br label %52

37:                                               ; preds = %3
  %38 = getelementptr inbounds i8, ptr %1, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = tail call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %39) #5
  %.not = icmp eq ptr %40, null
  br i1 %.not, label %51, label %41

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %42 = call noundef ptr @_ZN4juce15MarkerListScope10findMarkerERNS_9ComponentERKNS_6StringERPNS_10MarkerListE(ptr noundef nonnull align 8 dereferenceable(197) %40, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %4)
  %.not16 = icmp eq ptr %42, null
  br i1 %.not16, label %.critedge, label %43

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @_ZN4juce15MarkerListScopeC2ERNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(197) %40)
  %44 = getelementptr inbounds i8, ptr %42, i64 8
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce18RelativeCoordinate13getExpressionEv(ptr noundef nonnull align 8 dereferenceable(8) %44)
  %46 = invoke noundef double @_ZNK4juce10Expression8evaluateERKNS0_5ScopeE(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %47 unwind label %48

47:                                               ; preds = %43
  invoke void @_ZN4juce10ExpressionC1Ed(ptr noundef nonnull align 8 dereferenceable(8) %0, double noundef %46)
          to label %50 unwind label %48

48:                                               ; preds = %47, %43
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce10Expression5ScopeD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %49

.critedge:                                        ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %51

50:                                               ; preds = %47
  call void @_ZN4juce10Expression5ScopeD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %52

51:                                               ; preds = %.critedge, %37
  call void @_ZNK4juce10Expression5Scope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::Expression") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2)
  br label %52

52:                                               ; preds = %50, %51, %32, %27, %22, %17, %12, %7
  ret void
}

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

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

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

declare void @_ZNK4juce10Expression5Scope14getSymbolValueERKNS_6StringE(ptr dead_on_unwind writable sret(%"class.juce::Expression") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2

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

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


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