; LLVM IR from DarrenSweeney/3D-Physics-Engine :: Physics Engine/Imgui/imgui.ll (ZN5ImGui19GetContentRegionMaxEv)

; 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"

%struct.ImVec2 = type { float, float }
%struct.ImGuiWindow = type { ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, i8, i8, i8, i32, i8, i32, i32, i32, %struct.ImGuiDrawContext, %class.ImVector.11, %class.ImVector.12, %struct.ImGuiAabb, i32, float, %struct.ImGuiStorage, float, ptr, ptr, i32, i32, i32, i32, i32, i32 }
%struct.ImGuiDrawContext = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, i32, i32, %struct.ImGuiAabb, i8, %class.ImVector.1, %class.ImVector.9, %class.ImVector.10, %class.ImVector.10, i32, ptr, float, float, i32, i32, %struct.ImVec2, float, float, i8, i32, %class.ImVector.10 }
%class.ImVector.1 = type { i64, i64, ptr }
%class.ImVector.9 = type { i64, i64, ptr }
%class.ImVector.10 = type { i64, i64, ptr }
%class.ImVector.11 = type { i64, i64, ptr }
%class.ImVector.12 = type { i64, i64, ptr }
%struct.ImGuiAabb = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }
%struct.ImGuiState = type { i8, [7 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, %struct.ImVec2, float, i32, i32, %class.ImVector.1, ptr, %class.ImVector.1, ptr, ptr, ptr, i32, i32, i32, i8, i8, ptr, float, %class.ImVector.2, %class.ImVector.3, %class.ImVector.4, %class.ImVector, %struct.ImVec2, i32, %struct.ImVec2, i32, i8, i32, i8, i8, i32, %class.ImVector.5, %class.ImVector.1, %struct.ImGuiTextEditState, i32, %struct.ImGuiStorage, i32, [1024 x i8], ptr, i8, ptr, ptr, i32, i32, [120 x float], i32, float }
%struct.ImGuiIO = type <{ %struct.ImVec2, float, float, ptr, ptr, float, float, [17 x i32], [4 x i8], ptr, ptr, float, i8, [3 x i8], %struct.ImVec2, %struct.ImVec2, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, i8, i8, i8, [512 x i8], i8, [17 x i16], i8, i8, float, %struct.ImVec2, %struct.ImVec2, [5 x i8], [3 x i8], [5 x %struct.ImVec2], [5 x float], [5 x i8], [5 x i8], [2 x i8], [5 x float], [512 x float], [4 x i8] }>
%struct.ImGuiStyle = type { float, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, [39 x %struct.ImVec4] }
%struct.ImVec4 = type { float, float, float, float }
%class.ImVector.2 = type { i64, i64, ptr }
%class.ImVector.3 = type { i64, i64, ptr }
%class.ImVector.4 = type { i64, i64, ptr }
%class.ImVector = type { i64, i64, ptr }
%class.ImVector.5 = type { i64, i64, ptr }
%struct.ImGuiTextEditState = type <{ i32, [1024 x i16], [3073 x i8], [3 x i8], i64, float, float, %struct.STB_TexteditState, float, %struct.ImVec2, i8, [7 x i8], ptr, float, [4 x i8] }>
%struct.STB_TexteditState = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %struct.StbUndoState }
%struct.StbUndoState = type { [99 x %struct.StbUndoRecord], [999 x i16], i16, i16, i16, i16 }
%struct.StbUndoRecord = type { i32, i16, i16, i16 }

@_ZL6GImGui = external hidden global ptr, align 8

; 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() #3 {
  %1 = alloca %struct.ImVec2, align 4
  %2 = alloca ptr, align 8
  %3 = alloca %struct.ImVec2, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %4 = call noundef ptr @_ZL16GetCurrentWindowv()
  store ptr %4, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = call <2 x float> @_ZNK11ImGuiWindow13WindowPaddingEv(ptr noundef nonnull align 8 dereferenceable(480) %5)
  store <2 x float> %6, ptr %3, align 4
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.ImGuiWindow, ptr %7, i32 0, i32 5
  %9 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %3)
  store <2 x float> %9, ptr %1, align 4
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ImGuiWindow, ptr %10, i32 0, i32 20
  %12 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %11, i32 0, i32 19
  %13 = load i32, ptr %12, align 4, !tbaa !9
  %14 = icmp ne i32 %13, 1
  br i1 %14, label %15, label %28

15:                                               ; preds = %0
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGuiWindow, ptr %16, i32 0, i32 20
  %18 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %17, i32 0, i32 18
  %19 = load i32, ptr %18, align 8, !tbaa !25
  %20 = add nsw i32 %19, 1
  %21 = call noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef %20)
  %22 = getelementptr inbounds %struct.ImVec2, ptr %1, i32 0, i32 0
  store float %21, ptr %22, align 4, !tbaa !26
  %23 = getelementptr inbounds %struct.ImVec2, ptr %3, i32 0, i32 0
  %24 = load float, ptr %23, align 4, !tbaa !26
  %25 = getelementptr inbounds %struct.ImVec2, ptr %1, i32 0, i32 0
  %26 = load float, ptr %25, align 4, !tbaa !26
  %27 = fsub float %26, %24
  store float %27, ptr %25, align 4, !tbaa !26
  br label %42

28:                                               ; preds = %0
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiWindow, ptr %29, i32 0, i32 10
  %31 = load i8, ptr %30, align 8, !tbaa !27, !range !28, !noundef !29
  %32 = trunc i8 %31 to i1
  br i1 %32, label %33, label %41

33:                                               ; preds = %28
  %34 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.ImGuiState, ptr %34, i32 0, i32 3
  %36 = getelementptr inbounds %struct.ImGuiStyle, ptr %35, i32 0, i32 14
  %37 = load float, ptr %36, align 4, !tbaa !30
  %38 = getelementptr inbounds %struct.ImVec2, ptr %1, i32 0, i32 0
  %39 = load float, ptr %38, align 4, !tbaa !26
  %40 = fsub float %39, %37
  store float %40, ptr %38, align 4, !tbaa !26
  br label %41

41:                                               ; preds = %33, %28
  br label %42

42:                                               ; preds = %41, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  %43 = load <2 x float>, ptr %1, align 4
  ret <2 x float> %43
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK11ImGuiWindow13WindowPaddingEv(ptr noundef nonnull align 8 dereferenceable(480)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef) #4

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

!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 284}
!10 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !13, i64 56, !13, i64 60, !14, i64 64, !14, i64 65, !14, i64 66, !14, i64 67, !14, i64 68, !11, i64 72, !14, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !15, i64 96, !21, i64 336, !22, i64 360, !16, i64 384, !11, i64 400, !13, i64 404, !23, i64 408, !13, i64 432, !6, i64 440, !6, i64 448, !11, i64 456, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS16ImGuiDrawContext", !12, i64 0, !12, i64 8, !12, i64 16, !13, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !11, i64 40, !16, i64 44, !14, i64 60, !17, i64 64, !19, i64 88, !20, i64 112, !20, i64 136, !11, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !11, i64 184, !11, i64 188, !12, i64 192, !13, i64 200, !13, i64 204, !14, i64 208, !11, i64 212, !20, i64 216}
!16 = !{!"_ZTS9ImGuiAabb", !12, i64 0, !12, i64 8}
!17 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !18, i64 0, !18, i64 8, !6, i64 16}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTS8ImVectorIbE", !18, i64 0, !18, i64 8, !6, i64 16}
!20 = !{!"_ZTS8ImVectorIfE", !18, i64 0, !18, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorIjE", !18, i64 0, !18, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI6ImVec4E", !18, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTS12ImGuiStorage", !24, i64 0}
!24 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !18, i64 0, !18, i64 8, !6, i64 16}
!25 = !{!10, !11, i64 280}
!26 = !{!12, !13, i64 0}
!27 = !{!10, !14, i64 64}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = !{!31, !13, i64 3044}
!31 = !{!"_ZTS10ImGuiState", !14, i64 0, !32, i64 8, !33, i64 2960, !6, i64 3672, !13, i64 3680, !12, i64 3684, !13, i64 3692, !11, i64 3696, !11, i64 3700, !17, i64 3704, !6, i64 3728, !17, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !11, i64 3784, !11, i64 3788, !11, i64 3792, !14, i64 3796, !14, i64 3797, !6, i64 3800, !13, i64 3808, !34, i64 3816, !35, i64 3840, !36, i64 3864, !37, i64 3888, !12, i64 3912, !11, i64 3920, !12, i64 3924, !11, i64 3932, !14, i64 3936, !11, i64 3940, !14, i64 3944, !14, i64 3945, !11, i64 3948, !38, i64 3952, !17, i64 3976, !39, i64 4000, !11, i64 12400, !23, i64 12408, !11, i64 12432, !7, i64 12436, !6, i64 13464, !14, i64 13472, !6, i64 13480, !6, i64 13488, !11, i64 13496, !11, i64 13500, !7, i64 13504, !11, i64 13984, !13, i64 13988}
!32 = !{!"_ZTS7ImGuiIO", !12, i64 0, !13, i64 8, !13, i64 12, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !13, i64 128, !14, i64 132, !12, i64 136, !12, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !12, i64 208, !7, i64 216, !13, i64 224, !14, i64 228, !14, i64 229, !14, i64 230, !7, i64 231, !7, i64 744, !14, i64 778, !14, i64 779, !13, i64 780, !12, i64 784, !12, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!33 = !{!"_ZTS10ImGuiStyle", !13, i64 0, !12, i64 4, !12, i64 12, !13, i64 20, !13, i64 24, !12, i64 28, !13, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !7, i64 88}
!34 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !18, i64 0, !18, i64 8, !6, i64 16}
!35 = !{!"_ZTS8ImVectorI11ImGuiColModE", !18, i64 0, !18, i64 8, !6, i64 16}
!36 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !18, i64 0, !18, i64 8, !6, i64 16}
!37 = !{!"_ZTS8ImVectorIP6ImFontE", !18, i64 0, !18, i64 8, !6, i64 16}
!38 = !{!"_ZTS8ImVectorIP10ImDrawListE", !18, i64 0, !18, i64 8, !6, i64 16}
!39 = !{!"_ZTS18ImGuiTextEditState", !11, i64 0, !7, i64 4, !7, i64 2052, !18, i64 5128, !13, i64 5136, !13, i64 5140, !40, i64 5144, !13, i64 8364, !12, i64 8368, !14, i64 8376, !6, i64 8384, !13, i64 8392}
!40 = !{!"_ZTS17STB_TexteditState", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !13, i64 20, !41, i64 24}
!41 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !42, i64 3186, !42, i64 3188, !42, i64 3190, !42, i64 3192}
!42 = !{!"short", !7, 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"

%struct.ImVec2 = type { float, float }

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8

; 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: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local <2 x float> @_ZN5ImGui19GetContentRegionMaxEv() local_unnamed_addr #3 {
  %1 = alloca %struct.ImVec2, align 8
  %2 = tail call noundef ptr @_ZL16GetCurrentWindowv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #5
  %3 = tail call <2 x float> @_ZNK11ImGuiWindow13WindowPaddingEv(ptr noundef nonnull align 8 dereferenceable(480) %2)
  store <2 x float> %3, ptr %1, align 8
  %4 = getelementptr inbounds i8, ptr %2, i64 32
  %5 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(8) %1)
  %6 = getelementptr inbounds i8, ptr %2, i64 284
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i32 %7, 1
  br i1 %.not, label %15, label %8

8:                                                ; preds = %0
  %9 = getelementptr inbounds i8, ptr %2, i64 280
  %10 = load i32, ptr %9, align 8, !tbaa !24
  %11 = add nsw i32 %10, 1
  %12 = call noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef %11)
  %13 = load float, ptr %1, align 8, !tbaa !25
  %14 = fsub float %12, %13
  %.sroa.0.0.vec.insert8 = insertelement <2 x float> %5, float %14, i64 0
  br label %24

15:                                               ; preds = %0
  %16 = getelementptr inbounds i8, ptr %2, i64 64
  %17 = load i8, ptr %16, align 8, !tbaa !26, !range !27, !noundef !28
  %18 = trunc nuw i8 %17 to i1
  br i1 %18, label %19, label %24

19:                                               ; preds = %15
  %20 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !29
  %21 = getelementptr inbounds i8, ptr %20, i64 3044
  %22 = load float, ptr %21, align 4, !tbaa !30
  %.sroa.0.0.vec.extract10 = extractelement <2 x float> %5, i64 0
  %23 = fsub float %.sroa.0.0.vec.extract10, %22
  %.sroa.0.0.vec.insert12 = insertelement <2 x float> %5, float %23, i64 0
  br label %24

24:                                               ; preds = %15, %19, %8
  %.sroa.0.0 = phi <2 x float> [ %.sroa.0.0.vec.insert8, %8 ], [ %.sroa.0.0.vec.insert12, %19 ], [ %5, %15 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #5
  ret <2 x float> %.sroa.0.0
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK11ImGuiWindow13WindowPaddingEv(ptr noundef nonnull align 8 dereferenceable(480)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui15GetColumnOffsetEi(i32 noundef) local_unnamed_addr #4

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

!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, !10, i64 284}
!6 = !{!"_ZTS11ImGuiWindow", !7, i64 0, !10, i64 8, !10, i64 12, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56, !12, i64 60, !13, i64 64, !13, i64 65, !13, i64 66, !13, i64 67, !13, i64 68, !10, i64 72, !13, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !14, i64 96, !20, i64 336, !21, i64 360, !15, i64 384, !10, i64 400, !12, i64 404, !22, i64 408, !12, i64 432, !7, i64 440, !7, i64 448, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS6ImVec2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS16ImGuiDrawContext", !11, i64 0, !11, i64 8, !11, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 36, !10, i64 40, !15, i64 44, !13, i64 60, !16, i64 64, !18, i64 88, !19, i64 112, !19, i64 136, !10, i64 160, !7, i64 168, !12, i64 176, !12, i64 180, !10, i64 184, !10, i64 188, !11, i64 192, !12, i64 200, !12, i64 204, !13, i64 208, !10, i64 212, !19, i64 216}
!15 = !{!"_ZTS9ImGuiAabb", !11, i64 0, !11, i64 8}
!16 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !17, i64 0, !17, i64 8, !7, i64 16}
!17 = !{!"long", !8, i64 0}
!18 = !{!"_ZTS8ImVectorIbE", !17, i64 0, !17, i64 8, !7, i64 16}
!19 = !{!"_ZTS8ImVectorIfE", !17, i64 0, !17, i64 8, !7, i64 16}
!20 = !{!"_ZTS8ImVectorIjE", !17, i64 0, !17, i64 8, !7, i64 16}
!21 = !{!"_ZTS8ImVectorI6ImVec4E", !17, i64 0, !17, i64 8, !7, i64 16}
!22 = !{!"_ZTS12ImGuiStorage", !23, i64 0}
!23 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !17, i64 0, !17, i64 8, !7, i64 16}
!24 = !{!6, !10, i64 280}
!25 = !{!11, !12, i64 0}
!26 = !{!6, !13, i64 64}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !12, i64 3044}
!31 = !{!"_ZTS10ImGuiState", !13, i64 0, !32, i64 8, !33, i64 2960, !7, i64 3672, !12, i64 3680, !11, i64 3684, !12, i64 3692, !10, i64 3696, !10, i64 3700, !16, i64 3704, !7, i64 3728, !16, i64 3736, !7, i64 3760, !7, i64 3768, !7, i64 3776, !10, i64 3784, !10, i64 3788, !10, i64 3792, !13, i64 3796, !13, i64 3797, !7, i64 3800, !12, i64 3808, !34, i64 3816, !35, i64 3840, !36, i64 3864, !37, i64 3888, !11, i64 3912, !10, i64 3920, !11, i64 3924, !10, i64 3932, !13, i64 3936, !10, i64 3940, !13, i64 3944, !13, i64 3945, !10, i64 3948, !38, i64 3952, !16, i64 3976, !39, i64 4000, !10, i64 12400, !22, i64 12408, !10, i64 12432, !8, i64 12436, !7, i64 13464, !13, i64 13472, !7, i64 13480, !7, i64 13488, !10, i64 13496, !10, i64 13500, !8, i64 13504, !10, i64 13984, !12, i64 13988}
!32 = !{!"_ZTS7ImGuiIO", !11, i64 0, !12, i64 8, !12, i64 12, !7, i64 16, !7, i64 24, !12, i64 32, !12, i64 36, !8, i64 40, !7, i64 112, !7, i64 120, !12, i64 128, !13, i64 132, !11, i64 136, !11, i64 144, !7, i64 152, !7, i64 160, !7, i64 168, !7, i64 176, !7, i64 184, !7, i64 192, !7, i64 200, !11, i64 208, !8, i64 216, !12, i64 224, !13, i64 228, !13, i64 229, !13, i64 230, !8, i64 231, !8, i64 744, !13, i64 778, !13, i64 779, !12, i64 780, !11, i64 784, !11, i64 792, !8, i64 800, !8, i64 808, !8, i64 848, !8, i64 868, !8, i64 873, !8, i64 880, !8, i64 900}
!33 = !{!"_ZTS10ImGuiStyle", !12, i64 0, !11, i64 4, !11, i64 12, !12, i64 20, !12, i64 24, !11, i64 28, !12, i64 36, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !12, i64 72, !12, i64 76, !12, i64 80, !12, i64 84, !8, i64 88}
!34 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !17, i64 0, !17, i64 8, !7, i64 16}
!35 = !{!"_ZTS8ImVectorI11ImGuiColModE", !17, i64 0, !17, i64 8, !7, i64 16}
!36 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !17, i64 0, !17, i64 8, !7, i64 16}
!37 = !{!"_ZTS8ImVectorIP6ImFontE", !17, i64 0, !17, i64 8, !7, i64 16}
!38 = !{!"_ZTS8ImVectorIP10ImDrawListE", !17, i64 0, !17, i64 8, !7, i64 16}
!39 = !{!"_ZTS18ImGuiTextEditState", !10, i64 0, !8, i64 4, !8, i64 2052, !17, i64 5128, !12, i64 5136, !12, i64 5140, !40, i64 5144, !12, i64 8364, !11, i64 8368, !13, i64 8376, !7, i64 8384, !12, i64 8392}
!40 = !{!"_ZTS17STB_TexteditState", !10, i64 0, !10, i64 4, !10, i64 8, !8, i64 12, !8, i64 13, !8, i64 14, !8, i64 15, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !12, i64 20, !41, i64 24}
!41 = !{!"_ZTS12StbUndoState", !8, i64 0, !8, i64 1188, !42, i64 3186, !42, i64 3188, !42, i64 3190, !42, i64 3192}
!42 = !{!"short", !8, i64 0}


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