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

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { 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 }
%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.24 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14IsMouseClickedEib = external hidden unnamed_addr constant [38 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.25 = external hidden unnamed_addr constant [8 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 uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(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) #5
  %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, 5
  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.24, ptr noundef @.str.10, i32 noundef 2460, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14IsMouseClickedEib) #6
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %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 45
  %27 = load i32, ptr %4, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [5 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 %36

33:                                               ; preds = %23
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.25)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %65

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

39:                                               ; preds = %36
  %40 = load float, ptr %7, align 4, !tbaa !13
  %41 = fcmp ogt float %40, 2.500000e-01
  br i1 %41, label %42, label %63

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

59:                                               ; preds = %42
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.25)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %64

62:                                               ; preds = %42
  br label %63

63:                                               ; preds = %62, %39, %36
  store i1 false, ptr %3, align 1
  store i32 1, ptr %8, align 4
  br label %64

64:                                               ; preds = %63, %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %65

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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 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 = { 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 #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 = !{!"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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZL6GImGui = external hidden local_unnamed_addr global ptr, align 8
@.str.10 = external hidden unnamed_addr constant [96 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14IsMouseClickedEib = external hidden unnamed_addr constant [38 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.25 = external hidden unnamed_addr constant [8 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 uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef %0, i1 noundef zeroext %1) local_unnamed_addr #2 {
  %3 = icmp ult i32 %0, 5
  br i1 %3, label %5, label %4

4:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.24, ptr noundef nonnull @.str.10, i32 noundef 2460, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14IsMouseClickedEib) #4
  unreachable

5:                                                ; preds = %2
  %6 = load ptr, ptr @_ZL6GImGui, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 888
  %8 = zext nneg i32 %0 to i64
  %9 = getelementptr inbounds [5 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 %.sink.split, 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 %25

14:                                               ; preds = %12
  %15 = fadd float %10, -2.500000e-01
  %16 = tail call float @fmodf(float noundef %15, float noundef 0x3F947AE140000000) #5
  %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) #5
  %22 = fcmp ule float %21, 0x3F847AE140000000
  %.not = xor i1 %17, %22
  br i1 %.not, label %25, label %.sink.split

.sink.split:                                      ; preds = %14, %5
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.25)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %25

25:                                               ; preds = %.sink.split, %14, %12
  %.1 = phi i1 [ false, %14 ], [ false, %12 ], [ true, %.sink.split ]
  ret i1 %.1
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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 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 = { 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 #4 = { noreturn nounwind }
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, !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