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

; 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.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 }
%struct.ImVec2 = type { float, float }
%class.ImVector.5 = type { i64, i64, ptr }
%class.ImVector.1 = 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 }
%struct.ImGuiStorage = type { %class.ImVector.6 }
%class.ImVector.6 = type { i64, i64, ptr }
%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.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 }

@_ZL6GImGui = external hidden global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9LogToFileEiPKc = external hidden unnamed_addr constant [41 x i8], align 1

; 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui9LogToFileEiPKc(i32 noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %8 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !9
  store ptr %8, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %9 = call noundef ptr @_ZL16GetCurrentWindowv()
  store ptr %9, ptr %6, align 8, !tbaa !9
  %10 = load ptr, ptr %5, align 8, !tbaa !9
  %11 = getelementptr inbounds %struct.ImGuiState, ptr %10, i32 0, i32 44
  %12 = load i8, ptr %11, align 8, !tbaa !11, !range !31, !noundef !32
  %13 = trunc i8 %12 to i1
  br i1 %13, label %14, label %15

14:                                               ; preds = %2
  store i32 1, ptr %7, align 4
  br label %57

15:                                               ; preds = %2
  %16 = load ptr, ptr %4, align 8, !tbaa !9
  %17 = icmp ne ptr %16, null
  br i1 %17, label %23, label %18

18:                                               ; preds = %15
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.ImGuiState, ptr %19, i32 0, i32 2
  %21 = getelementptr inbounds %struct.ImGuiIO, ptr %20, i32 0, i32 4
  %22 = load ptr, ptr %21, align 8, !tbaa !33
  store ptr %22, ptr %4, align 8, !tbaa !9
  br label %23

23:                                               ; preds = %18, %15
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = call noalias ptr @fopen(ptr noundef %24, ptr noundef @.str.80)
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = getelementptr inbounds %struct.ImGuiState, ptr %26, i32 0, i32 45
  store ptr %25, ptr %27, align 8, !tbaa !34
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = getelementptr inbounds %struct.ImGuiState, ptr %28, i32 0, i32 45
  %30 = load ptr, ptr %29, align 8, !tbaa !34
  %31 = icmp ne ptr %30, null
  br i1 %31, label %41, label %32

32:                                               ; preds = %23
  %33 = load ptr, ptr %5, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImGuiState, ptr %33, i32 0, i32 45
  %35 = load ptr, ptr %34, align 8, !tbaa !34
  %36 = icmp ne ptr %35, null
  br i1 %36, label %37, label %38

37:                                               ; preds = %32
  br label %40

38:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.81, ptr noundef @.str.10, i32 noundef 4193, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9LogToFileEiPKc) #6
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39, %37
  store i32 1, ptr %7, align 4
  br label %57

41:                                               ; preds = %23
  %42 = load ptr, ptr %5, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.ImGuiState, ptr %42, i32 0, i32 44
  store i8 1, ptr %43, align 8, !tbaa !11
  %44 = load ptr, ptr %6, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.ImGuiWindow, ptr %44, i32 0, i32 20
  %46 = getelementptr inbounds %struct.ImGuiDrawContext, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %46, align 4, !tbaa !35
  %48 = load ptr, ptr %5, align 8, !tbaa !9
  %49 = getelementptr inbounds %struct.ImGuiState, ptr %48, i32 0, i32 47
  store i32 %47, ptr %49, align 8, !tbaa !43
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp sge i32 %50, 0
  br i1 %51, label %52, label %56

52:                                               ; preds = %41
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = load ptr, ptr %5, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.ImGuiState, ptr %54, i32 0, i32 48
  store i32 %53, ptr %55, align 4, !tbaa !44
  br label %56

56:                                               ; preds = %52, %41
  store i32 0, ptr %7, align 4
  br label %57

57:                                               ; preds = %56, %40, %14
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  %58 = load i32, ptr %7, align 4
  switch i32 %58, label %60 [
    i32 0, label %59
    i32 1, label %59
  ]

59:                                               ; preds = %57, %57
  ret void

60:                                               ; preds = %57
  unreachable
}

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


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

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.80 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.81 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9LogToFileEiPKc = external hidden unnamed_addr constant [41 x i8], align 1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL16GetCurrentWindowv() local_unnamed_addr #0

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5ImGui9LogToFileEiPKc(i32 noundef %0, ptr noundef readonly %1) local_unnamed_addr #2 {
  %3 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %4 = tail call noundef ptr @_ZL16GetCurrentWindowv()
  %5 = getelementptr inbounds i8, ptr %3, i64 13472
  %6 = load i8, ptr %5, align 8, !tbaa !9, !range !30, !noundef !31
  %7 = trunc nuw i8 %6 to i1
  br i1 %7, label %23, label %8

8:                                                ; preds = %2
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %9, label %12

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %3, i64 32
  %11 = load ptr, ptr %10, align 8, !tbaa !32
  br label %12

12:                                               ; preds = %9, %8
  %.0 = phi ptr [ %1, %8 ], [ %11, %9 ]
  %13 = tail call noalias ptr @fopen(ptr noundef %.0, ptr noundef nonnull @.str.80)
  %14 = getelementptr inbounds i8, ptr %3, i64 13480
  store ptr %13, ptr %14, align 8, !tbaa !33
  %.not14 = icmp eq ptr %13, null
  br i1 %.not14, label %15, label %16

15:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str.81, ptr noundef nonnull @.str.10, i32 noundef 4193, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9LogToFileEiPKc) #4
  unreachable

16:                                               ; preds = %12
  store i8 1, ptr %5, align 8, !tbaa !9
  %17 = getelementptr inbounds i8, ptr %4, i64 132
  %18 = load i32, ptr %17, align 4, !tbaa !34
  %19 = getelementptr inbounds i8, ptr %3, i64 13496
  store i32 %18, ptr %19, align 8, !tbaa !42
  %20 = icmp sgt i32 %0, -1
  br i1 %20, label %21, label %23

21:                                               ; preds = %16
  %22 = getelementptr inbounds i8, ptr %3, i64 13500
  store i32 %0, ptr %22, align 4, !tbaa !43
  br label %23

23:                                               ; preds = %16, %21, %2
  ret void
}

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

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


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