; LLVM IR from jrouwe/JoltPhysics :: TestFramework/Application/DebugUI.ll (ZN7DebugUI10CreateMenuEv)

; 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.UITexturedQuad = type { %"class.JPH::RefConst.0", i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.JPH::RefConst.0" = type { ptr }
%class.DebugUI = type { ptr, %"class.JPH::RefConst", %"class.JPH::RefConst.0" }
%"class.JPH::RefConst" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7DebugUI10CreateMenuEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.UITexturedQuad, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  %9 = getelementptr inbounds %class.DebugUI, ptr %8, i32 0, i32 0
  %10 = load ptr, ptr %9, align 8, !tbaa !9
  call void @_ZN9UIManager9PushLayerEv(ptr noundef nonnull align 8 dereferenceable(248) %10)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  %11 = call noundef ptr @_ZN7UIImagenwEm(i64 noundef 184)
  call void @llvm.memset.p0.i64(ptr align 8 %11, i8 0, i64 184, i1 false)
  invoke void @_ZN7UIImageC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %11)
          to label %12 unwind label %31

12:                                               ; preds = %1
  store ptr %11, ptr %3, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %13, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %14, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #8
  %16 = getelementptr inbounds %class.DebugUI, ptr %8, i32 0, i32 2
  %17 = call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiiiiiii(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %17, i32 noundef 0, i32 noundef 0, i32 noundef 33, i32 noundef 30, i32 noundef 4, i32 noundef 4, i32 noundef 24, i32 noundef 21)
  invoke void @_ZN7UIImage8SetImageERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(184) %15, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %18 unwind label %35

18:                                               ; preds = %12
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #8
  %19 = getelementptr inbounds %class.DebugUI, ptr %8, i32 0, i32 0
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %20, ptr noundef %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %22 = call noundef ptr @_ZN15UIVerticalStacknwEm(i64 noundef 152)
  call void @llvm.memset.p0.i64(ptr align 8 %22, i8 0, i64 152, i1 false)
  invoke void @_ZN15UIVerticalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149) %22)
          to label %23 unwind label %39

23:                                               ; preds = %18
  store ptr %22, ptr %7, align 8, !tbaa !5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %24, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %25, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %26, i32 noundef 10, i32 noundef 0)
  %27 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN9UIElement16SetPaddingBottomEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %27, i32 noundef 10, i32 noundef 0)
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %28, ptr noundef %29)
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  ret ptr %30

31:                                               ; preds = %1
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %4, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %5, align 4
  call void @_ZN7UIImagedlEPv(ptr noundef %11) #8
  br label %43

35:                                               ; preds = %12
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %4, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %5, align 4
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #8
  br label %43

39:                                               ; preds = %18
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %4, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %5, align 4
  call void @_ZN15UIVerticalStackdlEPv(ptr noundef %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %43

43:                                               ; preds = %39, %35, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  br label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr %4, align 8
  %46 = load i32, ptr %5, align 4
  %47 = insertvalue { ptr, i32 } poison, ptr %45, 0
  %48 = insertvalue { ptr, i32 } %47, i32 %46, 1
  resume { ptr, i32 } %48
}

declare void @_ZN9UIManager9PushLayerEv(ptr noundef nonnull align 8 dereferenceable(248)) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN7UIImagenwEm(i64 noundef) #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7UIImageC2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN7UIImagedlEPv(ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7UIImage8SetImageERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14UITexturedQuadC2EPK7Textureiiiiiiii(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

declare void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN15UIVerticalStacknwEm(i64 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15UIVerticalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN15UIVerticalStackdlEPv(ptr noundef) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement16SetPaddingBottomEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { alwaysinline 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { inlinehint 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 = { alwaysinline 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 = { 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 #8 = { 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 0}
!10 = !{!"_ZTS7DebugUI", !6, i64 0, !11, i64 8, !12, i64 16}
!11 = !{!"_ZTSN3JPH8RefConstI4FontEE", !6, i64 0}
!12 = !{!"_ZTSN3JPH8RefConstI7TextureEE", !6, 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.UITexturedQuad = type { %"class.JPH::RefConst.0", i32, i32, i32, i32, i32, i32, i32, i32 }
%"class.JPH::RefConst.0" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
define dso_local noundef ptr @_ZN7DebugUI10CreateMenuEv(ptr noundef nonnull align 8 dereferenceable(24) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.UITexturedQuad, align 8
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  tail call void @_ZN9UIManager9PushLayerEv(ptr noundef nonnull align 8 dereferenceable(248) %3)
  %4 = tail call noundef ptr @_ZN7UIImagenwEm(i64 noundef 184)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(184) %4, i8 0, i64 184, i1 false)
  invoke void @_ZN7UIImageC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %4)
          to label %5 unwind label %12

5:                                                ; preds = %1
  tail call void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %4, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  tail call void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %4, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #8
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %7 = tail call noundef ptr @_ZNK3JPH8RefConstI7TextureEcvPKS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @_ZN14UITexturedQuadC2EPK7Textureiiiiiiii(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef %7, i32 noundef 0, i32 noundef 0, i32 noundef 33, i32 noundef 30, i32 noundef 4, i32 noundef 4, i32 noundef 24, i32 noundef 21)
  invoke void @_ZN7UIImage8SetImageERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(184) %4, ptr noundef nonnull align 8 dereferenceable(40) %2)
          to label %8 unwind label %14

8:                                                ; preds = %5
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #8
  %9 = load ptr, ptr %0, align 8, !tbaa !5
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %9, ptr noundef nonnull %4)
  %10 = call noundef ptr @_ZN15UIVerticalStacknwEm(i64 noundef 152)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %10, i8 0, i64 152, i1 false)
  invoke void @_ZN15UIVerticalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149) %10)
          to label %11 unwind label %16

11:                                               ; preds = %8
  call void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  call void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 10, i32 noundef 0, i32 noundef 0)
  call void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 10, i32 noundef 0)
  call void @_ZN9UIElement16SetPaddingBottomEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144) %10, i32 noundef 10, i32 noundef 0)
  call void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144) %4, ptr noundef nonnull %10)
  ret ptr %10

12:                                               ; preds = %1
  %13 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN7UIImagedlEPv(ptr noundef nonnull %4) #8
  br label %18

14:                                               ; preds = %5
  %15 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14UITexturedQuadD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #8
  br label %18

16:                                               ; preds = %8
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN15UIVerticalStackdlEPv(ptr noundef nonnull %10) #8
  br label %18

18:                                               ; preds = %16, %14, %12
  %.pn = phi { ptr, i32 } [ %17, %16 ], [ %15, %14 ], [ %13, %12 ]
  resume { ptr, i32 } %.pn
}

declare void @_ZN9UIManager9PushLayerEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN7UIImagenwEm(i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7UIImageC2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN7UIImagedlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement12SetRelativeXEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement12SetRelativeYEiNS_6EUnitsENS_10EAlignmentE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7UIImage8SetImageERK14UITexturedQuad(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14UITexturedQuadC2EPK7Textureiiiiiiii(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #1 align 2

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

declare void @_ZN9UIElement3AddEPS_(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef ptr @_ZN15UIVerticalStacknwEm(i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15UIVerticalStackC2Ev(ptr noundef nonnull align 8 dereferenceable(149)) unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN15UIVerticalStackdlEPv(ptr noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement15SetPaddingRightEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9UIElement16SetPaddingBottomEiNS_6EUnitsE(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { alwaysinline 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { inlinehint 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 = { alwaysinline 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 = { 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 #8 = { 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 = !{!"_ZTS7DebugUI", !7, i64 0, !10, i64 8, !11, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3JPH8RefConstI4FontEE", !7, i64 0}
!11 = !{!"_ZTSN3JPH8RefConstI7TextureEE", !7, i64 0}


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