; 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::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::DrawableImage" = type { %"class.juce::Drawable", %"class.juce::Image", float, %"class.juce::Colour", %"class.juce::RelativeParallelogram" }
%"class.juce::Drawable" = type { %"class.juce::Component.base", %"class.juce::Point" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::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 }

; 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 void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare noundef nonnull align 4 dereferenceable(24) ptr @_ZN4juce15AffineTransformaSERKS0_(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(24)) #3

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24)) unnamed_addr #3

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

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce5Image9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce5Image8getWidthEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) #1 align 2

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce15AffineTransform13isSingularityEv(ptr noundef nonnull align 4 dereferenceable(24)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce13DrawableImage22recalculateCoordinatesEPNS_10Expression5ScopeE(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [3 x %"class.juce::Point.35"], align 16
  %6 = alloca %"class.juce::Point.35", align 4
  %7 = alloca %"class.juce::Point.35", align 4
  %8 = alloca %"class.juce::Point.35", align 4
  %9 = alloca %"class.juce::Point.35", align 4
  %10 = alloca %"class.juce::Point.35", align 4
  %11 = alloca %"class.juce::Point.35", align 4
  %12 = alloca %"class.juce::Point.35", align 4
  %13 = alloca %"class.juce::Point.35", align 4
  %14 = alloca %"class.juce::AffineTransform", align 4
  %15 = alloca %"class.juce::AffineTransform", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  %17 = getelementptr inbounds %"class.juce::DrawableImage", ptr %16, i32 0, i32 1
  %18 = call noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br i1 %18, label %19, label %60

19:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #5
  %20 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i32 0, i32 0
  %21 = getelementptr inbounds %"class.juce::Point.35", ptr %20, i64 3
  br label %22

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

26:                                               ; preds = %22
  %27 = getelementptr inbounds %"class.juce::DrawableImage", ptr %16, i32 0, i32 4
  %28 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK4juce21RelativeParallelogram18resolveThreePointsEPNS_5PointIfEEPNS_10Expression5ScopeE(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef %28, ptr noundef %29)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %30 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %31 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 1
  %32 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  call void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %32) #5
  call void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %8, ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef %9) #5
  %33 = getelementptr inbounds %"class.juce::DrawableImage", ptr %16, i32 0, i32 1
  %34 = call noundef i32 @_ZNK4juce5Image8getWidthEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  %35 = sitofp i32 %34 to float
  call void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %7, ptr noundef nonnull align 4 dereferenceable(8) %8, float noundef %35) #5
  call void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %6, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %36 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %37 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 2
  %38 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  call void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %38) #5
  call void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %12, ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef %13) #5
  %39 = getelementptr inbounds %"class.juce::DrawableImage", ptr %16, i32 0, i32 1
  %40 = call noundef i32 @_ZNK4juce5Image9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  %41 = sitofp i32 %40 to float
  call void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %11, ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %41) #5
  call void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind writable sret(%"class.juce::Point.35") align 4 %10, ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #5
  %42 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  %43 = getelementptr inbounds %"class.juce::Point.35", ptr %42, i32 0, i32 0
  %44 = load float, ptr %43, align 16, !tbaa !9
  %45 = getelementptr inbounds [3 x %"class.juce::Point.35"], ptr %5, i64 0, i64 0
  %46 = getelementptr inbounds %"class.juce::Point.35", ptr %45, i32 0, i32 1
  %47 = load float, ptr %46, align 4, !tbaa !12
  %48 = getelementptr inbounds %"class.juce::Point.35", ptr %6, i32 0, i32 0
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = getelementptr inbounds %"class.juce::Point.35", ptr %6, i32 0, i32 1
  %51 = load float, ptr %50, align 4, !tbaa !12
  %52 = getelementptr inbounds %"class.juce::Point.35", ptr %10, i32 0, i32 0
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = getelementptr inbounds %"class.juce::Point.35", ptr %10, i32 0, i32 1
  %55 = load float, ptr %54, align 4, !tbaa !12
  call void @_ZN4juce15AffineTransform16fromTargetPointsEffffff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %14, float noundef %44, float noundef %47, float noundef %49, float noundef %51, float noundef %53, float noundef %55) #5
  %56 = call noundef zeroext i1 @_ZNK4juce15AffineTransform13isSingularityEv(ptr noundef nonnull align 4 dereferenceable(24) %14) #5
  br i1 %56, label %57, label %59

57:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %15) #5
  %58 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN4juce15AffineTransformaSERKS0_(ptr noundef nonnull align 4 dereferenceable(24) %14, ptr noundef nonnull align 4 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %59

59:                                               ; preds = %57, %26
  call void @_ZN4juce9Component12setTransformERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(197) %16, ptr noundef nonnull align 4 dereferenceable(24) %14)
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  br label %60

60:                                               ; preds = %59, %2
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), float noundef) #1 align 2

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransform16fromTargetPointsEffffff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #3

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 = { 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 #3 = { 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 #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 = { 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, !11, i64 0}
!10 = !{!"_ZTSN4juce5PointIfEE", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!10, !11, i64 4}


; 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::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

; 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 void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #1 align 2

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

; Function Attrs: nounwind
declare noundef nonnull align 4 dereferenceable(24) ptr @_ZN4juce15AffineTransformaSERKS0_(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24)) unnamed_addr #3

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

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce5Image9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce5Image8getWidthEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce15AffineTransform13isSingularityEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce13DrawableImage22recalculateCoordinatesEPNS_10Expression5ScopeE(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca [3 x %"class.juce::Point.35"], align 16
  %4 = alloca %"class.juce::Point.35", align 4
  %5 = alloca %"class.juce::Point.35", align 4
  %6 = alloca %"class.juce::Point.35", align 4
  %7 = alloca %"class.juce::Point.35", align 4
  %8 = alloca %"class.juce::Point.35", align 4
  %9 = alloca %"class.juce::Point.35", align 4
  %10 = alloca %"class.juce::Point.35", align 4
  %11 = alloca %"class.juce::Point.35", align 4
  %12 = alloca %"class.juce::AffineTransform", align 4
  %13 = alloca %"class.juce::AffineTransform", align 4
  %14 = getelementptr inbounds i8, ptr %0, i64 208
  %15 = tail call noundef zeroext i1 @_ZNK4juce5Image7isValidEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %15, label %16, label %35

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  %.ptr.1 = getelementptr inbounds i8, ptr %3, i64 8
  call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1) #5
  %.ptr.2 = getelementptr inbounds i8, ptr %3, i64 16
  call void @_ZN4juce5PointIfEC2Ev(ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2) #5
  %17 = getelementptr inbounds i8, ptr %0, i64 224
  call void @_ZNK4juce21RelativeParallelogram18resolveThreePointsEPNS_5PointIfEEPNS_10Expression5ScopeE(ptr noundef nonnull align 8 dereferenceable(48) %17, ptr noundef nonnull %3, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  call void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %6, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.1, ptr noundef nonnull %7) #5
  %18 = call noundef i32 @_ZNK4juce5Image8getWidthEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %19 = sitofp i32 %18 to float
  call void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %5, ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %19) #5
  call void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %4, ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  call void @_ZN4juce5PointIfEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %3) #5
  call void @_ZNK4juce5PointIfEmiES1_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %10, ptr noundef nonnull align 4 dereferenceable(8) %.ptr.2, ptr noundef nonnull %11) #5
  %20 = call noundef i32 @_ZNK4juce5Image9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %21 = sitofp i32 %20 to float
  call void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %9, ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %21) #5
  call void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point.35") align 4 %8, ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  %22 = load float, ptr %3, align 16, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %3, i64 4
  %24 = load float, ptr %23, align 4, !tbaa !10
  %25 = load float, ptr %4, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %4, i64 4
  %27 = load float, ptr %26, align 4, !tbaa !10
  %28 = load float, ptr %8, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %8, i64 4
  %30 = load float, ptr %29, align 4, !tbaa !10
  call void @_ZN4juce15AffineTransform16fromTargetPointsEffffff(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %12, float noundef %22, float noundef %24, float noundef %25, float noundef %27, float noundef %28, float noundef %30) #5
  %31 = call noundef zeroext i1 @_ZNK4juce15AffineTransform13isSingularityEv(ptr noundef nonnull align 4 dereferenceable(24) %12) #5
  br i1 %31, label %32, label %34

32:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #5
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %13) #5
  %33 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZN4juce15AffineTransformaSERKS0_(ptr noundef nonnull align 4 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  br label %34

34:                                               ; preds = %32, %16
  call void @_ZN4juce9Component12setTransformERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull align 4 dereferenceable(24) %12)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  br label %35

35:                                               ; preds = %34, %2
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEplES1_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5PointIfEdvIfEES1_T_(ptr dead_on_unwind noalias writable sret(%"class.juce::Point.35") align 4, ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: nounwind
declare void @_ZN4juce15AffineTransform16fromTargetPointsEffffff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

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 = { 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 #3 = { 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 #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 = { 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, !7, i64 0}
!6 = !{!"_ZTSN4juce5PointIfEE", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}


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