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

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

@_ZL6GImGui = external hidden global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [84 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui12IsKeyPressedEib = external hidden unnamed_addr constant [36 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: nounwind
declare float @fmodf(float noundef, float noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %0, i1 noundef zeroext %1) #3 {
  %3 = alloca i1, align 1
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  %11 = zext i1 %1 to i8
  store i8 %11, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %12 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !11
  store ptr %12, ptr %6, align 8, !tbaa !11
  %13 = load i32, ptr %4, align 4, !tbaa !5
  %14 = icmp sge i32 %13, 0
  br i1 %14, label %15, label %18

15:                                               ; preds = %2
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = icmp slt i32 %16, 512
  br label %18

18:                                               ; preds = %15, %2
  %19 = phi i1 [ false, %2 ], [ %17, %15 ]
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  br label %23

21:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.10, i32 noundef 2440, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui12IsKeyPressedEib) #5
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %24 = load ptr, ptr %6, align 8, !tbaa !11
  %25 = getelementptr inbounds %struct.ImGuiState, ptr %24, i32 0, i32 2
  %26 = getelementptr inbounds %struct.ImGuiIO, ptr %25, i32 0, i32 46
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [512 x float], ptr %26, i64 0, i64 %28
  %30 = load float, ptr %29, align 4, !tbaa !13
  store float %30, ptr %7, align 4, !tbaa !13
  %31 = load float, ptr %7, align 4, !tbaa !13
  %32 = fcmp oeq float %31, 0.000000e+00
  br i1 %32, label %33, label %34

33:                                               ; preds = %23
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %61

34:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store float 2.500000e-01, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store float 0x3F947AE140000000, ptr %10, align 4, !tbaa !13
  %35 = load i8, ptr %5, align 1, !tbaa !9, !range !15, !noundef !16
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %59

37:                                               ; preds = %34
  %38 = load float, ptr %7, align 4, !tbaa !13
  %39 = fcmp ogt float %38, 2.500000e-01
  br i1 %39, label %40, label %59

40:                                               ; preds = %37
  %41 = load float, ptr %7, align 4, !tbaa !13
  %42 = fsub float %41, 2.500000e-01
  %43 = call float @fmodf(float noundef %42, float noundef 0x3F947AE140000000) #4
  %44 = fcmp ogt float %43, 0x3F847AE140000000
  %45 = zext i1 %44 to i32
  %46 = load float, ptr %7, align 4, !tbaa !13
  %47 = fsub float %46, 2.500000e-01
  %48 = load ptr, ptr %6, align 8, !tbaa !11
  %49 = getelementptr inbounds %struct.ImGuiState, ptr %48, i32 0, i32 2
  %50 = getelementptr inbounds %struct.ImGuiIO, ptr %49, i32 0, i32 1
  %51 = load float, ptr %50, align 8, !tbaa !17
  %52 = fsub float %47, %51
  %53 = call float @fmodf(float noundef %52, float noundef 0x3F947AE140000000) #4
  %54 = fcmp ogt float %53, 0x3F847AE140000000
  %55 = zext i1 %54 to i32
  %56 = icmp ne i32 %45, %55
  br i1 %56, label %57, label %58

57:                                               ; preds = %40
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %60

58:                                               ; preds = %40
  br label %59

59:                                               ; preds = %58, %37, %34
  store i1 false, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %60

60:                                               ; preds = %59, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %61

61:                                               ; preds = %60, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %62 = load i1, ptr %3, align 1
  ret i1 %62
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !14, i64 16}
!18 = !{!"_ZTS10ImGuiState", !10, i64 0, !19, i64 8, !21, i64 2960, !12, i64 3672, !14, i64 3680, !20, i64 3684, !14, i64 3692, !6, i64 3696, !6, i64 3700, !22, i64 3704, !12, i64 3728, !22, i64 3736, !12, i64 3760, !12, i64 3768, !12, i64 3776, !6, i64 3784, !6, i64 3788, !6, i64 3792, !10, i64 3796, !10, i64 3797, !12, i64 3800, !14, i64 3808, !24, i64 3816, !25, i64 3840, !26, i64 3864, !27, i64 3888, !20, i64 3912, !6, i64 3920, !20, i64 3924, !6, i64 3932, !10, i64 3936, !6, i64 3940, !10, i64 3944, !10, i64 3945, !6, i64 3948, !28, i64 3952, !22, i64 3976, !29, i64 4000, !6, i64 12400, !33, i64 12408, !6, i64 12432, !7, i64 12436, !12, i64 13464, !10, i64 13472, !12, i64 13480, !12, i64 13488, !6, i64 13496, !6, i64 13500, !7, i64 13504, !6, i64 13984, !14, i64 13988}
!19 = !{!"_ZTS7ImGuiIO", !20, i64 0, !14, i64 8, !14, i64 12, !12, i64 16, !12, i64 24, !14, i64 32, !14, i64 36, !7, i64 40, !12, i64 112, !12, i64 120, !14, i64 128, !10, i64 132, !20, i64 136, !20, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !20, i64 208, !7, i64 216, !14, i64 224, !10, i64 228, !10, i64 229, !10, i64 230, !7, i64 231, !7, i64 744, !10, i64 778, !10, i64 779, !14, i64 780, !20, i64 784, !20, i64 792, !7, i64 800, !7, i64 808, !7, i64 848, !7, i64 868, !7, i64 873, !7, i64 880, !7, i64 900}
!20 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!21 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !20, i64 4, !20, i64 12, !14, i64 20, !14, i64 24, !20, i64 28, !14, i64 36, !20, i64 40, !20, i64 48, !20, i64 56, !20, i64 64, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !7, i64 88}
!22 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !23, i64 0, !23, i64 8, !12, i64 16}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !23, i64 0, !23, i64 8, !12, i64 16}
!25 = !{!"_ZTS8ImVectorI11ImGuiColModE", !23, i64 0, !23, i64 8, !12, i64 16}
!26 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !23, i64 0, !23, i64 8, !12, i64 16}
!27 = !{!"_ZTS8ImVectorIP6ImFontE", !23, i64 0, !23, i64 8, !12, i64 16}
!28 = !{!"_ZTS8ImVectorIP10ImDrawListE", !23, i64 0, !23, i64 8, !12, i64 16}
!29 = !{!"_ZTS18ImGuiTextEditState", !6, i64 0, !7, i64 4, !7, i64 2052, !23, i64 5128, !14, i64 5136, !14, i64 5140, !30, i64 5144, !14, i64 8364, !20, i64 8368, !10, i64 8376, !12, i64 8384, !14, i64 8392}
!30 = !{!"_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, !14, i64 20, !31, i64 24}
!31 = !{!"_ZTS12StbUndoState", !7, i64 0, !7, i64 1188, !32, i64 3186, !32, i64 3188, !32, i64 3190, !32, i64 3192}
!32 = !{!"short", !7, i64 0}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage4PairEE", !23, i64 0, !23, i64 8, !12, i64 16}


; 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.22 = external hidden unnamed_addr constant [84 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui12IsKeyPressedEib = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @fmodf(float noundef, float noundef) 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 noundef zeroext i1 @_ZN5ImGui12IsKeyPressedEib(i32 noundef %0, i1 noundef zeroext %1) local_unnamed_addr #2 {
  %3 = icmp ult i32 %0, 512
  br i1 %3, label %5, label %4

4:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.10, i32 noundef 2440, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui12IsKeyPressedEib) #3
  unreachable

5:                                                ; preds = %2
  %6 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 908
  %8 = zext nneg i32 %0 to i64
  %9 = getelementptr inbounds [512 x float], ptr %7, i64 0, i64 %8
  %10 = load float, ptr %9, align 4, !tbaa !9
  %11 = fcmp oeq float %10, 0.000000e+00
  br i1 %11, label %24, label %12

12:                                               ; preds = %5
  %13 = fcmp ogt float %10, 2.500000e-01
  %or.cond = and i1 %13, %1
  br i1 %or.cond, label %14, label %23

14:                                               ; preds = %12
  %15 = fadd float %10, -2.500000e-01
  %16 = tail call float @fmodf(float noundef %15, float noundef 0x3F947AE140000000) #4
  %17 = fcmp ogt float %16, 0x3F847AE140000000
  %18 = getelementptr inbounds i8, ptr %6, i64 16
  %19 = load float, ptr %18, align 8, !tbaa !11
  %20 = fsub float %15, %19
  %21 = tail call float @fmodf(float noundef %20, float noundef 0x3F947AE140000000) #4
  %22 = fcmp ule float %21, 0x3F847AE140000000
  %.not = xor i1 %17, %22
  br i1 %.not, label %23, label %24

23:                                               ; preds = %14, %12
  br label %24

24:                                               ; preds = %23, %14, %5
  %.1 = phi i1 [ true, %5 ], [ false, %23 ], [ true, %14 ]
  ret i1 %.1
}

attributes #0 = { mustprogress nofree nounwind willreturn memory(write) "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 = { noreturn nounwind }
attributes #4 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !10, i64 16}
!12 = !{!"_ZTS10ImGuiState", !13, i64 0, !14, i64 8, !16, i64 2960, !6, i64 3672, !10, i64 3680, !15, i64 3684, !10, i64 3692, !17, i64 3696, !17, i64 3700, !18, i64 3704, !6, i64 3728, !18, i64 3736, !6, i64 3760, !6, i64 3768, !6, i64 3776, !17, i64 3784, !17, i64 3788, !17, i64 3792, !13, i64 3796, !13, i64 3797, !6, i64 3800, !10, i64 3808, !20, i64 3816, !21, i64 3840, !22, i64 3864, !23, i64 3888, !15, i64 3912, !17, i64 3920, !15, i64 3924, !17, i64 3932, !13, i64 3936, !17, i64 3940, !13, i64 3944, !13, i64 3945, !17, i64 3948, !24, i64 3952, !18, i64 3976, !25, i64 4000, !17, i64 12400, !29, i64 12408, !17, i64 12432, !7, i64 12436, !6, i64 13464, !13, i64 13472, !6, i64 13480, !6, i64 13488, !17, i64 13496, !17, i64 13500, !7, i64 13504, !17, i64 13984, !10, i64 13988}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTS7ImGuiIO", !15, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !6, i64 112, !6, i64 120, !10, i64 128, !13, i64 132, !15, i64 136, !15, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !15, i64 208, !7, i64 216, !10, i64 224, !13, i64 228, !13, i64 229, !13, i64 230, !7, i64 231, !7, i64 744, !13, i64 778, !13, i64 779, !10, 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", !10, i64 0, !10, i64 4}
!16 = !{!"_ZTS10ImGuiStyle", !10, i64 0, !15, i64 4, !15, i64 12, !10, i64 20, !10, i64 24, !15, i64 28, !10, i64 36, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !7, i64 88}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !19, i64 0, !19, i64 8, !6, i64 16}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTS8ImVectorIP12ImGuiIniDataE", !19, i64 0, !19, i64 8, !6, i64 16}
!21 = !{!"_ZTS8ImVectorI11ImGuiColModE", !19, i64 0, !19, i64 8, !6, i64 16}
!22 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !19, i64 0, !19, i64 8, !6, i64 16}
!23 = !{!"_ZTS8ImVectorIP6ImFontE", !19, i64 0, !19, i64 8, !6, i64 16}
!24 = !{!"_ZTS8ImVectorIP10ImDrawListE", !19, i64 0, !19, i64 8, !6, i64 16}
!25 = !{!"_ZTS18ImGuiTextEditState", !17, i64 0, !7, i64 4, !7, i64 2052, !19, i64 5128, !10, i64 5136, !10, i64 5140, !26, i64 5144, !10, i64 8364, !15, i64 8368, !13, i64 8376, !6, i64 8384, !10, i64 8392}
!26 = !{!"_ZTS17STB_TexteditState", !17, i64 0, !17, i64 4, !17, 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, !10, 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, !6, i64 16}


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