; LLVM IR from hadryansalles/Luz :: deps/imgui (imgui_impl_vulkan)

; 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.ImGui_ImplVulkanH_Window = type { i32, i32, ptr, ptr, %struct.VkSurfaceFormatKHR, i32, ptr, ptr, i8, i8, %union.VkClearValue, i32, i32, i32, i32, ptr, ptr }
%struct.VkSurfaceFormatKHR = type { i32, i32 }
%union.VkClearValue = type { %union.VkClearColorValue }
%union.VkClearColorValue = type { [4 x float] }
%struct.ImGui_ImplVulkanH_Frame = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ImGui_ImplVulkanH_FrameSemaphores = type { ptr, ptr }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @vkDestroyPipeline(ptr noundef, ptr noundef, ptr noundef) #2

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) #2

declare i32 @vkDeviceWaitIdle(ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30ImGui_ImplVulkanH_DestroyFrameP10VkDevice_TP23ImGui_ImplVulkanH_FramePK21VkAllocationCallbacks(ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z40ImGui_ImplVulkanH_DestroyFrameSemaphoresP10VkDevice_TP33ImGui_ImplVulkanH_FrameSemaphoresPK21VkAllocationCallbacks(ptr noundef, ptr noundef, ptr noundef) #3

declare void @vkDestroyRenderPass(ptr noundef, ptr noundef, ptr noundef) #2

declare void @vkDestroySwapchainKHR(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImGui_ImplVulkanH_DestroyWindowP12VkInstance_TP10VkDevice_TP24ImGui_ImplVulkanH_WindowPK21VkAllocationCallbacks(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #3 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %struct.ImGui_ImplVulkanH_Window, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = call i32 @vkDeviceWaitIdle(ptr noundef %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %14

14:                                               ; preds = %30, %4
  %15 = load i32, ptr %9, align 4, !tbaa !9
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %16, i32 0, i32 12
  %18 = load i32, ptr %17, align 8, !tbaa !11
  %19 = icmp ult i32 %15, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %14
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %33

21:                                               ; preds = %14
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = load ptr, ptr %7, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %23, i32 0, i32 15
  %25 = load ptr, ptr %24, align 8, !tbaa !18
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Frame, ptr %25, i64 %27
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z30ImGui_ImplVulkanH_DestroyFrameP10VkDevice_TP23ImGui_ImplVulkanH_FramePK21VkAllocationCallbacks(ptr noundef %22, ptr noundef %28, ptr noundef %29)
  br label %30

30:                                               ; preds = %21
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = add i32 %31, 1
  store i32 %32, ptr %9, align 4, !tbaa !9
  br label %14, !llvm.loop !19

33:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %34

34:                                               ; preds = %50, %33
  %35 = load i32, ptr %10, align 4, !tbaa !9
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %36, i32 0, i32 13
  %38 = load i32, ptr %37, align 4, !tbaa !21
  %39 = icmp ult i32 %35, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %53

41:                                               ; preds = %34
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %43, i32 0, i32 16
  %45 = load ptr, ptr %44, align 8, !tbaa !22
  %46 = load i32, ptr %10, align 4, !tbaa !9
  %47 = zext i32 %46 to i64
  %48 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameSemaphores, ptr %45, i64 %47
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_Z40ImGui_ImplVulkanH_DestroyFrameSemaphoresP10VkDevice_TP33ImGui_ImplVulkanH_FrameSemaphoresPK21VkAllocationCallbacks(ptr noundef %42, ptr noundef %48, ptr noundef %49)
  br label %50

50:                                               ; preds = %41
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = add i32 %51, 1
  store i32 %52, ptr %10, align 4, !tbaa !9
  br label %34, !llvm.loop !23

53:                                               ; preds = %40
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %54, i32 0, i32 15
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %56)
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %57, i32 0, i32 16
  %59 = load ptr, ptr %58, align 8, !tbaa !22
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %59)
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %60, i32 0, i32 15
  store ptr null, ptr %61, align 8, !tbaa !18
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %62, i32 0, i32 16
  store ptr null, ptr %63, align 8, !tbaa !22
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %65, i32 0, i32 7
  %67 = load ptr, ptr %66, align 8, !tbaa !24
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  call void @vkDestroyPipeline(ptr noundef %64, ptr noundef %67, ptr noundef %68)
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %70, i32 0, i32 6
  %72 = load ptr, ptr %71, align 8, !tbaa !25
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  call void @vkDestroyRenderPass(ptr noundef %69, ptr noundef %72, ptr noundef %73)
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %75, i32 0, i32 2
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  call void @vkDestroySwapchainKHR(ptr noundef %74, ptr noundef %77, ptr noundef %78)
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Window, ptr %80, i32 0, i32 3
  %82 = load ptr, ptr %81, align 8, !tbaa !27
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  call void @vkDestroySurfaceKHR(ptr noundef %79, ptr noundef %82, ptr noundef %83)
  call void @llvm.lifetime.start.p0(i64 112, ptr %11) #5
  call void @_ZN24ImGui_ImplVulkanH_WindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %11)
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %84, ptr align 8 %11, i64 112, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 112, ptr %11) #5
  ret void
}

declare void @vkDestroySurfaceKHR(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN24ImGui_ImplVulkanH_WindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 80}
!12 = !{!"_ZTS24ImGui_ImplVulkanH_Window", !10, i64 0, !10, i64 4, !6, i64 8, !6, i64 16, !13, i64 24, !16, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !17, i64 57, !7, i64 60, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96, !6, i64 104}
!13 = !{!"_ZTS18VkSurfaceFormatKHR", !14, i64 0, !15, i64 4}
!14 = !{!"_ZTS8VkFormat", !7, i64 0}
!15 = !{!"_ZTS15VkColorSpaceKHR", !7, i64 0}
!16 = !{!"_ZTS16VkPresentModeKHR", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!12, !6, i64 96}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!12, !10, i64 84}
!22 = !{!12, !6, i64 104}
!23 = distinct !{!23, !20}
!24 = !{!12, !6, i64 48}
!25 = !{!12, !6, i64 40}
!26 = !{!12, !6, i64 8}
!27 = !{!12, !6, i64 16}
!28 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 4, !29, i64 28, i64 4, !30, i64 32, i64 4, !31, i64 40, i64 8, !5, i64 48, i64 8, !5, i64 56, i64 1, !32, i64 57, i64 1, !32, i64 60, i64 16, !33, i64 76, i64 4, !9, i64 80, i64 4, !9, i64 84, i64 4, !9, i64 88, i64 4, !9, i64 96, i64 8, !5, i64 104, i64 8, !5}
!29 = !{!14, !14, i64 0}
!30 = !{!15, !15, i64 0}
!31 = !{!16, !16, i64 0}
!32 = !{!17, !17, i64 0}
!33 = !{!7, !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.ImGui_ImplVulkanH_Window = type { i32, i32, ptr, ptr, %struct.VkSurfaceFormatKHR, i32, ptr, ptr, i8, i8, %union.VkClearValue, i32, i32, i32, i32, ptr, ptr }
%struct.VkSurfaceFormatKHR = type { i32, i32 }
%union.VkClearValue = type { %union.VkClearColorValue }
%union.VkClearColorValue = type { [4 x float] }
%struct.ImGui_ImplVulkanH_Frame = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.ImGui_ImplVulkanH_FrameSemaphores = type { ptr, ptr }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @vkDestroyPipeline(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) local_unnamed_addr #2

declare i32 @vkDeviceWaitIdle(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z30ImGui_ImplVulkanH_DestroyFrameP10VkDevice_TP23ImGui_ImplVulkanH_FramePK21VkAllocationCallbacks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z40ImGui_ImplVulkanH_DestroyFrameSemaphoresP10VkDevice_TP33ImGui_ImplVulkanH_FrameSemaphoresPK21VkAllocationCallbacks(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @vkDestroyRenderPass(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @vkDestroySwapchainKHR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z31ImGui_ImplVulkanH_DestroyWindowP12VkInstance_TP10VkDevice_TP24ImGui_ImplVulkanH_WindowPK21VkAllocationCallbacks(ptr noundef %0, ptr noundef %1, ptr nocapture noundef %2, ptr noundef %3) local_unnamed_addr #3 {
  %5 = alloca %struct.ImGui_ImplVulkanH_Window, align 8
  %6 = tail call i32 @vkDeviceWaitIdle(ptr noundef %1)
  %7 = getelementptr inbounds i8, ptr %2, i64 80
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %9 = getelementptr inbounds i8, ptr %2, i64 96
  br label %13

.preheader:                                       ; preds = %13, %4
  %10 = getelementptr inbounds i8, ptr %2, i64 84
  %11 = load i32, ptr %10, align 4, !tbaa !16
  %.not35 = icmp eq i32 %11, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph34

.lr.ph34:                                         ; preds = %.preheader
  %12 = getelementptr inbounds i8, ptr %2, i64 104
  br label %31

13:                                               ; preds = %.lr.ph, %13
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %13 ]
  %14 = load ptr, ptr %9, align 8, !tbaa !17
  %15 = getelementptr inbounds %struct.ImGui_ImplVulkanH_Frame, ptr %14, i64 %indvars.iv
  tail call void @_Z30ImGui_ImplVulkanH_DestroyFrameP10VkDevice_TP23ImGui_ImplVulkanH_FramePK21VkAllocationCallbacks(ptr noundef %1, ptr noundef %15, ptr noundef %3)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %16 = load i32, ptr %7, align 8, !tbaa !5
  %17 = zext i32 %16 to i64
  %18 = icmp ult i64 %indvars.iv.next, %17
  br i1 %18, label %13, label %.preheader, !llvm.loop !18

._crit_edge:                                      ; preds = %31, %.preheader
  %19 = getelementptr inbounds i8, ptr %2, i64 96
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  tail call void @_ZN5ImGui7MemFreeEPv(ptr noundef %20)
  %21 = getelementptr inbounds i8, ptr %2, i64 104
  %22 = load ptr, ptr %21, align 8, !tbaa !20
  tail call void @_ZN5ImGui7MemFreeEPv(ptr noundef %22)
  %23 = getelementptr inbounds i8, ptr %2, i64 48
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %19, i8 0, i64 16, i1 false)
  %24 = load ptr, ptr %23, align 8, !tbaa !21
  tail call void @vkDestroyPipeline(ptr noundef %1, ptr noundef %24, ptr noundef %3)
  %25 = getelementptr inbounds i8, ptr %2, i64 40
  %26 = load ptr, ptr %25, align 8, !tbaa !22
  tail call void @vkDestroyRenderPass(ptr noundef %1, ptr noundef %26, ptr noundef %3)
  %27 = getelementptr inbounds i8, ptr %2, i64 8
  %28 = load ptr, ptr %27, align 8, !tbaa !23
  tail call void @vkDestroySwapchainKHR(ptr noundef %1, ptr noundef %28, ptr noundef %3)
  %29 = getelementptr inbounds i8, ptr %2, i64 16
  %30 = load ptr, ptr %29, align 8, !tbaa !24
  tail call void @vkDestroySurfaceKHR(ptr noundef %0, ptr noundef %30, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %5) #6
  call void @_ZN24ImGui_ImplVulkanH_WindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(112) %2, ptr noundef nonnull align 8 dereferenceable(112) %5, i64 112, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %5) #6
  ret void

31:                                               ; preds = %.lr.ph34, %31
  %indvars.iv37 = phi i64 [ 0, %.lr.ph34 ], [ %indvars.iv.next38, %31 ]
  %32 = load ptr, ptr %12, align 8, !tbaa !20
  %33 = getelementptr inbounds %struct.ImGui_ImplVulkanH_FrameSemaphores, ptr %32, i64 %indvars.iv37
  tail call void @_Z40ImGui_ImplVulkanH_DestroyFrameSemaphoresP10VkDevice_TP33ImGui_ImplVulkanH_FrameSemaphoresPK21VkAllocationCallbacks(ptr noundef %1, ptr noundef %33, ptr noundef %3)
  %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37, 1
  %34 = load i32, ptr %10, align 4, !tbaa !16
  %35 = zext i32 %34 to i64
  %36 = icmp ult i64 %indvars.iv.next38, %35
  br i1 %36, label %31, label %._crit_edge, !llvm.loop !33
}

declare void @vkDestroySurfaceKHR(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN24ImGui_ImplVulkanH_WindowC2Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #4 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 80}
!6 = !{!"_ZTS24ImGui_ImplVulkanH_Window", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !14, i64 32, !10, i64 40, !10, i64 48, !15, i64 56, !15, i64 57, !8, i64 60, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !10, i64 96, !10, i64 104}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS18VkSurfaceFormatKHR", !12, i64 0, !13, i64 4}
!12 = !{!"_ZTS8VkFormat", !8, i64 0}
!13 = !{!"_ZTS15VkColorSpaceKHR", !8, i64 0}
!14 = !{!"_ZTS16VkPresentModeKHR", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!6, !7, i64 84}
!17 = !{!6, !10, i64 96}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!6, !10, i64 104}
!21 = !{!6, !10, i64 48}
!22 = !{!6, !10, i64 40}
!23 = !{!6, !10, i64 8}
!24 = !{!6, !10, i64 16}
!25 = !{i64 0, i64 4, !26, i64 4, i64 4, !26, i64 8, i64 8, !27, i64 16, i64 8, !27, i64 24, i64 4, !28, i64 28, i64 4, !29, i64 32, i64 4, !30, i64 40, i64 8, !27, i64 48, i64 8, !27, i64 56, i64 1, !31, i64 57, i64 1, !31, i64 60, i64 16, !32, i64 76, i64 4, !26, i64 80, i64 4, !26, i64 84, i64 4, !26, i64 88, i64 4, !26, i64 96, i64 8, !27, i64 104, i64 8, !27}
!26 = !{!7, !7, i64 0}
!27 = !{!10, !10, i64 0}
!28 = !{!12, !12, i64 0}
!29 = !{!13, !13, i64 0}
!30 = !{!14, !14, i64 0}
!31 = !{!15, !15, i64 0}
!32 = !{!8, !8, i64 0}
!33 = distinct !{!33, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass