; LLVM IR from khushmmehta/Scorch-V :: src/ScorchVkEngine/Abstractions (VulkanMemoryAllocator)

; 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.VmaAllocationCreateInfo = type { i32, i32, i32, i32, i32, ptr, ptr, float }
%struct.VmaPool_T = type { %class.VmaBlockVector, %class.VmaDedicatedAllocationList, i32, ptr, ptr, ptr }
%class.VmaBlockVector = type <{ ptr, ptr, i32, [4 x i8], i64, i64, i64, i64, i8, [3 x i8], i32, float, [4 x i8], i64, ptr, %class.VmaRWMutex, %class.VmaVector.15, i32, i8, [3 x i8] }>
%class.VmaRWMutex = type { %"class.std::shared_mutex" }
%"class.std::shared_mutex" = type { %"class.std::__shared_mutex_pthread" }
%"class.std::__shared_mutex_pthread" = type { %union.pthread_rwlock_t }
%union.pthread_rwlock_t = type { %struct.__pthread_rwlock_arch_t }
%struct.__pthread_rwlock_arch_t = type { i32, i32, i32, i32, i32, i32, i32, i32, i8, [7 x i8], i64, i32 }
%class.VmaVector.15 = type { %struct.VmaStlAllocator.16, ptr, i64, i64 }
%struct.VmaStlAllocator.16 = type { ptr }
%class.VmaDedicatedAllocationList = type { i8, %class.VmaRWMutex, %class.VmaIntrusiveLinkedList }
%class.VmaIntrusiveLinkedList = type { ptr, ptr, i64 }

@.str.2 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [382 x i8], align 1
@__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb = external hidden unnamed_addr constant [85 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [429 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [346 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [132 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK14VmaBlockVector20HasExplicitBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(181)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb(ptr noundef nonnull align 8 dereferenceable(5916) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i1 noundef zeroext %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %9 = zext i1 %2 to i8
  store i8 %9, ptr %7, align 1, !tbaa !9
  %10 = zext i1 %3 to i8
  store i8 %10, ptr %8, align 1, !tbaa !9
  %11 = load ptr, ptr %5, align 8
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %12, i32 0, i32 0
  %14 = load i32, ptr %13, align 8, !tbaa !11
  %15 = and i32 %14, 3072
  %16 = icmp ne i32 %15, 3072
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  br label %18

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

20:                                               ; preds = %18
  br label %23

21:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.260, ptr noundef @.str.2, i32 noundef 15042, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #3
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 8, !tbaa !11
  %27 = and i32 %26, 4096
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %35, label %29

29:                                               ; preds = %23
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = and i32 %32, 3072
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %29, %23
  br label %36

36:                                               ; preds = %35, %29
  %37 = phi i1 [ false, %29 ], [ true, %35 ]
  br i1 %37, label %38, label %39

38:                                               ; preds = %36
  br label %41

39:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.262, ptr noundef @.str.2, i32 noundef 15045, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #3
  unreachable

40:                                               ; No predecessors!
  br label %41

41:                                               ; preds = %40, %38
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !16
  %45 = icmp eq i32 %44, 7
  br i1 %45, label %56, label %46

46:                                               ; preds = %41
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %47, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = icmp eq i32 %49, 8
  br i1 %50, label %56, label %51

51:                                               ; preds = %46
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !16
  %55 = icmp eq i32 %54, 9
  br i1 %55, label %56, label %76

56:                                               ; preds = %51, %46, %41
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !11
  %60 = and i32 %59, 4
  %61 = icmp ne i32 %60, 0
  br i1 %61, label %62, label %75

62:                                               ; preds = %56
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %63, i32 0, i32 0
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = and i32 %65, 3072
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %62
  br label %69

69:                                               ; preds = %68, %62
  %70 = phi i1 [ false, %62 ], [ true, %68 ]
  br i1 %70, label %71, label %72

71:                                               ; preds = %69
  br label %74

72:                                               ; preds = %69
  call void @__assert_fail(ptr noundef @.str.264, ptr noundef @.str.2, i32 noundef 15051, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #3
  unreachable

73:                                               ; No predecessors!
  br label %74

74:                                               ; preds = %73, %71
  br label %75

75:                                               ; preds = %74, %56
  br label %76

76:                                               ; preds = %75, %51
  %77 = load i8, ptr %7, align 1, !tbaa !9, !range !17, !noundef !18
  %78 = trunc i8 %77 to i1
  br i1 %78, label %84, label %79

79:                                               ; preds = %76
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %80, i32 0, i32 1
  %82 = load i32, ptr %81, align 4, !tbaa !16
  %83 = icmp eq i32 %82, 6
  br i1 %83, label %84, label %89

84:                                               ; preds = %79, %76
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %85, i32 0, i32 0
  %87 = load i32, ptr %86, align 8, !tbaa !11
  %88 = or i32 %87, 1
  store i32 %88, ptr %86, align 8, !tbaa !11
  br label %89

89:                                               ; preds = %84, %79
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %90, i32 0, i32 5
  %92 = load ptr, ptr %91, align 8, !tbaa !19
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %115

94:                                               ; preds = %89
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %95, i32 0, i32 5
  %97 = load ptr, ptr %96, align 8, !tbaa !19
  %98 = getelementptr inbounds %struct.VmaPool_T, ptr %97, i32 0, i32 0
  %99 = call noundef zeroext i1 @_ZNK14VmaBlockVector20HasExplicitBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(181) %98)
  br i1 %99, label %100, label %107

100:                                              ; preds = %94
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %101, i32 0, i32 0
  %103 = load i32, ptr %102, align 8, !tbaa !11
  %104 = and i32 %103, 1
  %105 = icmp ne i32 %104, 0
  br i1 %105, label %106, label %107

106:                                              ; preds = %100
  call void @__assert_fail(ptr noundef @.str.265, ptr noundef @.str.2, i32 noundef 15067, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #3
  unreachable

107:                                              ; preds = %100, %94
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %108, i32 0, i32 5
  %110 = load ptr, ptr %109, align 8, !tbaa !19
  %111 = getelementptr inbounds %struct.VmaPool_T, ptr %110, i32 0, i32 0
  %112 = call noundef float @_ZNK14VmaBlockVector11GetPriorityEv(ptr noundef nonnull align 8 dereferenceable(181) %111)
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %113, i32 0, i32 7
  store float %112, ptr %114, align 8, !tbaa !20
  br label %115

115:                                              ; preds = %107, %89
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 8, !tbaa !11
  %119 = and i32 %118, 1
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %121, label %128

121:                                              ; preds = %115
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %122, i32 0, i32 0
  %124 = load i32, ptr %123, align 8, !tbaa !11
  %125 = and i32 %124, 2
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %128

127:                                              ; preds = %121
  call void @__assert_fail(ptr noundef @.str.266, ptr noundef @.str.2, i32 noundef 15076, ptr noundef @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #3
  unreachable

128:                                              ; preds = %121, %115
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %129, i32 0, i32 1
  %131 = load i32, ptr %130, align 4, !tbaa !16
  %132 = icmp ne i32 %131, 7
  br i1 %132, label %133, label %155

133:                                              ; preds = %128
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %134, i32 0, i32 1
  %136 = load i32, ptr %135, align 4, !tbaa !16
  %137 = icmp ne i32 %136, 8
  br i1 %137, label %138, label %155

138:                                              ; preds = %133
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %139, i32 0, i32 1
  %141 = load i32, ptr %140, align 4, !tbaa !16
  %142 = icmp ne i32 %141, 9
  br i1 %142, label %143, label %155

143:                                              ; preds = %138
  %144 = load ptr, ptr %6, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %144, i32 0, i32 0
  %146 = load i32, ptr %145, align 8, !tbaa !11
  %147 = and i32 %146, 3072
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %154

149:                                              ; preds = %143
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.VmaAllocationCreateInfo, ptr %150, i32 0, i32 0
  %152 = load i32, ptr %151, align 8, !tbaa !11
  %153 = or i32 %152, 2048
  store i32 %153, ptr %151, align 8, !tbaa !11
  br label %154

154:                                              ; preds = %149, %143
  br label %155

155:                                              ; preds = %154, %138, %133, %128
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK14VmaBlockVector11GetPriorityEv(ptr noundef nonnull align 8 dereferenceable(181)) #1 align 2

attributes #0 = { 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 #1 = { 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 = { 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 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS23VmaAllocationCreateInfo", !13, i64 0, !14, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !6, i64 24, !6, i64 32, !15, i64 40}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS14VmaMemoryUsage", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!12, !14, i64 4}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!12, !6, i64 24}
!20 = !{!12, !15, i64 40}


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

@.str.2 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [382 x i8], align 1
@__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb = external hidden unnamed_addr constant [85 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [429 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [346 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [126 x i8], align 1
@.str.266 = external hidden unnamed_addr constant [132 x i8], align 1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK14VmaBlockVector20HasExplicitBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(181)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb(ptr nocapture noundef nonnull readnone align 8 dereferenceable(5916) %0, ptr nocapture noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2, i1 noundef zeroext %3) local_unnamed_addr #1 align 2 {
  %5 = load i32, ptr %1, align 8, !tbaa !5
  %6 = and i32 %5, 3072
  %.not = icmp eq i32 %6, 3072
  br i1 %.not, label %7, label %8

7:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.260, ptr noundef nonnull @.str.2, i32 noundef 15042, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #2
  unreachable

8:                                                ; preds = %4
  %9 = and i32 %5, 7168
  %or.cond = icmp eq i32 %9, 4096
  br i1 %or.cond, label %.critedge, label %10

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %1, i64 4
  %12 = load i32, ptr %11, align 4
  %.off = add i32 %12, -7
  %switch = icmp ult i32 %.off, 3
  %13 = and i32 %5, 3076
  %or.cond37 = icmp eq i32 %13, 4
  %or.cond45 = and i1 %or.cond37, %switch
  br i1 %or.cond45, label %14, label %15

.critedge:                                        ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.262, ptr noundef nonnull @.str.2, i32 noundef 15045, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #2
  unreachable

14:                                               ; preds = %10
  tail call void @__assert_fail(ptr noundef nonnull @.str.264, ptr noundef nonnull @.str.2, i32 noundef 15051, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #2
  unreachable

15:                                               ; preds = %10
  %16 = icmp eq i32 %12, 6
  %or.cond39 = or i1 %16, %2
  br i1 %or.cond39, label %17, label %19

17:                                               ; preds = %15
  %18 = or i32 %5, 1
  store i32 %18, ptr %1, align 8, !tbaa !5
  br label %19

19:                                               ; preds = %15, %17
  %20 = phi i32 [ %5, %15 ], [ %18, %17 ]
  %21 = getelementptr inbounds i8, ptr %1, i64 24
  %22 = load ptr, ptr %21, align 8, !tbaa !13
  %.not30 = icmp eq ptr %22, null
  br i1 %.not30, label %33, label %23

23:                                               ; preds = %19
  %24 = tail call noundef zeroext i1 @_ZNK14VmaBlockVector20HasExplicitBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(181) %22)
  br i1 %24, label %25, label %29

25:                                               ; preds = %23
  %26 = load i32, ptr %1, align 8, !tbaa !5
  %27 = and i32 %26, 1
  %.not31 = icmp eq i32 %27, 0
  br i1 %.not31, label %29, label %28

28:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.265, ptr noundef nonnull @.str.2, i32 noundef 15067, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #2
  unreachable

29:                                               ; preds = %25, %23
  %30 = load ptr, ptr %21, align 8, !tbaa !13
  %31 = tail call noundef float @_ZNK14VmaBlockVector11GetPriorityEv(ptr noundef nonnull align 8 dereferenceable(181) %30)
  %32 = getelementptr inbounds i8, ptr %1, i64 40
  store float %31, ptr %32, align 8, !tbaa !14
  %.pre = load i32, ptr %1, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %29, %19
  %34 = phi i32 [ %.pre, %29 ], [ %20, %19 ]
  %35 = and i32 %34, 3
  %or.cond40.not = icmp eq i32 %35, 3
  br i1 %or.cond40.not, label %36, label %37

36:                                               ; preds = %33
  tail call void @__assert_fail(ptr noundef nonnull @.str.266, ptr noundef nonnull @.str.2, i32 noundef 15076, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN14VmaAllocator_T20CalcAllocationParamsER23VmaAllocationCreateInfobb) #2
  unreachable

37:                                               ; preds = %33
  %38 = load i32, ptr %11, align 4, !tbaa !15
  %39 = add i32 %38, -10
  %switch42 = icmp ult i32 %39, -3
  %40 = and i32 %34, 3072
  %41 = icmp eq i32 %40, 0
  %or.cond44 = and i1 %41, %switch42
  br i1 %or.cond44, label %42, label %44

42:                                               ; preds = %37
  %43 = or disjoint i32 %34, 2048
  store i32 %43, ptr %1, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %37, %42
  ret i32 0
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK14VmaBlockVector11GetPriorityEv(ptr noundef nonnull align 8 dereferenceable(181)) local_unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { 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 }

!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 0}
!6 = !{!"_ZTS23VmaAllocationCreateInfo", !7, i64 0, !10, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !11, i64 24, !11, i64 32, !12, i64 40}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS14VmaMemoryUsage", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"float", !8, i64 0}
!13 = !{!6, !11, i64 24}
!14 = !{!6, !12, i64 40}
!15 = !{!6, !10, i64 4}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass