; LLVM IR from chiraqL/Engine3D :: src/imgui/imgui_impl_glfw.ll (Z23ImGui_ImplGlfw_NewFramev)

; 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.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector }
%struct.ImVector = type { i32, i32, ptr }

@_ZL8g_Window = external hidden global ptr, align 8
@_ZL20g_WantUpdateMonitors = external hidden global i8, align 1
@.str.1 = external hidden unnamed_addr constant [176 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._Z23ImGui_ImplGlfw_NewFramev = external hidden unnamed_addr constant [31 x i8], align 1
@_ZL6g_Time = external hidden global double, align 8

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

declare noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv() #1

; 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 void @_Z23ImGui_ImplGlfw_NewFramev() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %9 = call noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv()
  store ptr %9, ptr %1, align 8, !tbaa !5
  %10 = load ptr, ptr %1, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ImGuiIO, ptr %10, i32 0, i32 14
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = call noundef zeroext i1 @_ZNK11ImFontAtlas7IsBuiltEv(ptr noundef nonnull align 8 dereferenceable(1156) %12)
  br i1 %13, label %14, label %15

14:                                               ; preds = %0
  br label %15

15:                                               ; preds = %14, %0
  %16 = phi i1 [ false, %0 ], [ true, %14 ]
  br i1 %16, label %17, label %18

17:                                               ; preds = %15
  br label %20

18:                                               ; preds = %15
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 475, ptr noundef @__PRETTY_FUNCTION__._Z23ImGui_ImplGlfw_NewFramev) #7
  unreachable

19:                                               ; No predecessors!
  br label %20

20:                                               ; preds = %19, %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %21 = load ptr, ptr @_ZL8g_Window, align 8, !tbaa !5
  call void @glfwGetWindowSize(ptr noundef %21, ptr noundef %2, ptr noundef %3)
  %22 = load ptr, ptr @_ZL8g_Window, align 8, !tbaa !5
  call void @glfwGetFramebufferSize(ptr noundef %22, ptr noundef %4, ptr noundef %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %23 = load i32, ptr %2, align 4, !tbaa !17
  %24 = sitofp i32 %23 to float
  %25 = load i32, ptr %3, align 4, !tbaa !17
  %26 = sitofp i32 %25 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %24, float noundef %26)
  %27 = load ptr, ptr %1, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.ImGuiIO, ptr %27, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %28, ptr align 4 %6, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %29 = load i32, ptr %2, align 4, !tbaa !17
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %31, label %47

31:                                               ; preds = %20
  %32 = load i32, ptr %3, align 4, !tbaa !17
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %34, label %47

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %35 = load i32, ptr %4, align 4, !tbaa !17
  %36 = sitofp i32 %35 to float
  %37 = load i32, ptr %2, align 4, !tbaa !17
  %38 = sitofp i32 %37 to float
  %39 = fdiv float %36, %38
  %40 = load i32, ptr %5, align 4, !tbaa !17
  %41 = sitofp i32 %40 to float
  %42 = load i32, ptr %3, align 4, !tbaa !17
  %43 = sitofp i32 %42 to float
  %44 = fdiv float %41, %43
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %7, float noundef %39, float noundef %44)
  %45 = load ptr, ptr %1, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ImGuiIO, ptr %45, i32 0, i32 18
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %46, ptr align 4 %7, i64 8, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %47

47:                                               ; preds = %34, %31, %20
  %48 = load i8, ptr @_ZL20g_WantUpdateMonitors, align 1, !tbaa !20, !range !21, !noundef !22
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  call void @_ZL29ImGui_ImplGlfw_UpdateMonitorsv()
  br label %51

51:                                               ; preds = %50, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %52 = call double @glfwGetTime()
  store double %52, ptr %8, align 8, !tbaa !23
  %53 = load double, ptr @_ZL6g_Time, align 8, !tbaa !23
  %54 = fcmp ogt double %53, 0.000000e+00
  br i1 %54, label %55, label %60

55:                                               ; preds = %51
  %56 = load double, ptr %8, align 8, !tbaa !23
  %57 = load double, ptr @_ZL6g_Time, align 8, !tbaa !23
  %58 = fsub double %56, %57
  %59 = fptrunc double %58 to float
  br label %61

60:                                               ; preds = %51
  br label %61

61:                                               ; preds = %60, %55
  %62 = phi float [ %59, %55 ], [ 0x3F91111120000000, %60 ]
  %63 = load ptr, ptr %1, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiIO, ptr %63, i32 0, i32 3
  store float %62, ptr %64, align 8, !tbaa !25
  %65 = load double, ptr %8, align 8, !tbaa !23
  store double %65, ptr @_ZL6g_Time, align 8, !tbaa !23
  call void @_ZL39ImGui_ImplGlfw_UpdateMousePosAndButtonsv()
  call void @_ZL32ImGui_ImplGlfw_UpdateMouseCursorv()
  call void @_ZL29ImGui_ImplGlfw_UpdateGamepadsv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11ImFontAtlas7IsBuiltEv(ptr noundef nonnull align 8 dereferenceable(1156)) #3 align 2

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

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) #1

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ImGui_ImplGlfw_UpdateMonitorsv() #2

declare double @glfwGetTime() #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL39ImGui_ImplGlfw_UpdateMousePosAndButtonsv() #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL32ImGui_ImplGlfw_UpdateMouseCursorv() #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ImGui_ImplGlfw_UpdateGamepadsv() #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { nounwind }
attributes #7 = { 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, !6, i64 160}
!10 = !{!"_ZTS7ImGuiIO", !11, i64 0, !11, i64 4, !12, i64 8, !13, i64 16, !13, i64 20, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 52, !13, i64 140, !13, i64 144, !6, i64 152, !6, i64 160, !13, i64 168, !14, i64 172, !6, i64 176, !12, i64 184, !14, i64 192, !14, i64 193, !14, i64 194, !14, i64 195, !14, i64 196, !14, i64 197, !14, i64 198, !14, i64 199, !14, i64 200, !14, i64 201, !14, i64 202, !14, i64 203, !14, i64 204, !14, i64 205, !13, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !12, i64 280, !7, i64 288, !13, i64 296, !13, i64 300, !11, i64 304, !14, i64 308, !14, i64 309, !14, i64 310, !14, i64 311, !7, i64 312, !7, i64 824, !14, i64 908, !14, i64 909, !14, i64 910, !14, i64 911, !14, i64 912, !14, i64 913, !14, i64 914, !13, i64 916, !11, i64 920, !11, i64 924, !11, i64 928, !11, i64 932, !11, i64 936, !12, i64 940, !11, i64 948, !12, i64 952, !7, i64 960, !7, i64 1000, !7, i64 1040, !7, i64 1045, !7, i64 1050, !7, i64 1055, !7, i64 1060, !7, i64 1068, !7, i64 1088, !7, i64 1108, !7, i64 1148, !7, i64 1168, !7, i64 3216, !7, i64 5264, !7, i64 5348, !13, i64 5432, !15, i64 5436, !16, i64 5440}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImVec2", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!17 = !{!11, !11, i64 0}
!18 = !{i64 0, i64 4, !19, i64 4, i64 4, !19}
!19 = !{!13, !13, i64 0}
!20 = !{!14, !14, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !7, i64 0}
!25 = !{!10, !13, 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"

%struct.ImVec2 = type { float, float }

@_ZL8g_Window = external hidden local_unnamed_addr global ptr, align 8
@_ZL20g_WantUpdateMonitors = external hidden local_unnamed_addr global i8, align 1
@.str.1 = external hidden unnamed_addr constant [176 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [80 x i8], align 1
@__PRETTY_FUNCTION__._Z23ImGui_ImplGlfw_NewFramev = external hidden unnamed_addr constant [31 x i8], align 1
@_ZL6g_Time = external hidden local_unnamed_addr global double, align 8

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

declare noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv() local_unnamed_addr #1

; 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 void @_Z23ImGui_ImplGlfw_NewFramev() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.ImVec2, align 8
  %6 = alloca %struct.ImVec2, align 8
  %7 = tail call noundef nonnull align 8 dereferenceable(5456) ptr @_ZN5ImGui5GetIOEv()
  %8 = getelementptr inbounds i8, ptr %7, i64 160
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef zeroext i1 @_ZNK11ImFontAtlas7IsBuiltEv(ptr noundef nonnull align 8 dereferenceable(1156) %9)
  br i1 %10, label %12, label %11

11:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 475, ptr noundef nonnull @__PRETTY_FUNCTION__._Z23ImGui_ImplGlfw_NewFramev) #5
  unreachable

12:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  %13 = load ptr, ptr @_ZL8g_Window, align 8, !tbaa !16
  call void @glfwGetWindowSize(ptr noundef %13, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %14 = load ptr, ptr @_ZL8g_Window, align 8, !tbaa !16
  call void @glfwGetFramebufferSize(ptr noundef %14, ptr noundef nonnull %3, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %15 = load i32, ptr %1, align 4, !tbaa !17
  %16 = sitofp i32 %15 to float
  %17 = load i32, ptr %2, align 4, !tbaa !17
  %18 = sitofp i32 %17 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %16, float noundef %18)
  %19 = getelementptr inbounds i8, ptr %7, i64 8
  %20 = load i64, ptr %5, align 8
  store i64 %20, ptr %19, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %21 = load i32, ptr %1, align 4, !tbaa !17
  %22 = icmp sgt i32 %21, 0
  %23 = load i32, ptr %2, align 4
  %24 = icmp sgt i32 %23, 0
  %or.cond = select i1 %22, i1 %24, i1 false
  br i1 %or.cond, label %25, label %36

25:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %26 = load i32, ptr %3, align 4, !tbaa !17
  %27 = sitofp i32 %26 to float
  %28 = uitofp nneg i32 %21 to float
  %29 = fdiv float %27, %28
  %30 = load i32, ptr %4, align 4, !tbaa !17
  %31 = sitofp i32 %30 to float
  %32 = uitofp nneg i32 %23 to float
  %33 = fdiv float %31, %32
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %29, float noundef %33)
  %34 = getelementptr inbounds i8, ptr %7, i64 184
  %35 = load i64, ptr %6, align 8
  store i64 %35, ptr %34, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %36

36:                                               ; preds = %25, %12
  %37 = load i8, ptr @_ZL20g_WantUpdateMonitors, align 1, !tbaa !18, !range !19, !noundef !20
  %38 = trunc nuw i8 %37 to i1
  br i1 %38, label %39, label %40

39:                                               ; preds = %36
  call void @_ZL29ImGui_ImplGlfw_UpdateMonitorsv()
  br label %40

40:                                               ; preds = %39, %36
  %41 = call double @glfwGetTime()
  %42 = load double, ptr @_ZL6g_Time, align 8
  %43 = fcmp ogt double %42, 0.000000e+00
  %44 = fsub double %41, %42
  %45 = fptrunc double %44 to float
  %46 = select i1 %43, float %45, float 0x3F91111120000000
  %47 = getelementptr inbounds i8, ptr %7, i64 16
  store float %46, ptr %47, align 8, !tbaa !21
  store double %41, ptr @_ZL6g_Time, align 8, !tbaa !22
  call void @_ZL39ImGui_ImplGlfw_UpdateMousePosAndButtonsv()
  call void @_ZL32ImGui_ImplGlfw_UpdateMouseCursorv()
  call void @_ZL29ImGui_ImplGlfw_UpdateGamepadsv()
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK11ImFontAtlas7IsBuiltEv(ptr noundef nonnull align 8 dereferenceable(1156)) local_unnamed_addr #3 align 2

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

declare void @glfwGetWindowSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare void @glfwGetFramebufferSize(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ImGui_ImplGlfw_UpdateMonitorsv() local_unnamed_addr #2

declare double @glfwGetTime() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL39ImGui_ImplGlfw_UpdateMousePosAndButtonsv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL32ImGui_ImplGlfw_UpdateMouseCursorv() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL29ImGui_ImplGlfw_UpdateGamepadsv() local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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, !12, i64 160}
!6 = !{!"_ZTS7ImGuiIO", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !11, i64 20, !12, i64 24, !12, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !8, i64 52, !11, i64 140, !11, i64 144, !12, i64 152, !12, i64 160, !11, i64 168, !13, i64 172, !12, i64 176, !10, i64 184, !13, i64 192, !13, i64 193, !13, i64 194, !13, i64 195, !13, i64 196, !13, i64 197, !13, i64 198, !13, i64 199, !13, i64 200, !13, i64 201, !13, i64 202, !13, i64 203, !13, i64 204, !13, i64 205, !11, i64 208, !12, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264, !12, i64 272, !10, i64 280, !8, i64 288, !11, i64 296, !11, i64 300, !7, i64 304, !13, i64 308, !13, i64 309, !13, i64 310, !13, i64 311, !8, i64 312, !8, i64 824, !13, i64 908, !13, i64 909, !13, i64 910, !13, i64 911, !13, i64 912, !13, i64 913, !13, i64 914, !11, i64 916, !7, i64 920, !7, i64 924, !7, i64 928, !7, i64 932, !7, i64 936, !10, i64 940, !7, i64 948, !10, i64 952, !8, i64 960, !8, i64 1000, !8, i64 1040, !8, i64 1045, !8, i64 1050, !8, i64 1055, !8, i64 1060, !8, i64 1068, !8, i64 1088, !8, i64 1108, !8, i64 1148, !8, i64 1168, !8, i64 3216, !8, i64 5264, !8, i64 5348, !11, i64 5432, !14, i64 5436, !15, i64 5440}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS6ImVec2", !11, i64 0, !11, i64 4}
!11 = !{!"float", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !12, i64 8}
!16 = !{!12, !12, i64 0}
!17 = !{!7, !7, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!6, !11, i64 16}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !8, i64 0}


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