; 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.VmaAllocationRequest = type <{ ptr, i64, %"class.VmaList<VmaSuballocation, VmaStlAllocator<VmaSuballocation>>::iterator", ptr, i64, i32, [4 x i8] }>
%"class.VmaList<VmaSuballocation, VmaStlAllocator<VmaSuballocation>>::iterator" = type { ptr, ptr }
%"class.VmaBlockMetadata_TLSF::Block" = type { i64, i64, ptr, ptr, ptr, %union.anon.6 }
%union.anon.6 = type { ptr }
%class.VmaBlockMetadata_TLSF = type { %class.VmaBlockMetadata.base, i64, i64, i64, i32, i8, [58 x i32], i32, ptr, %class.VmaPoolAllocator, ptr, %class.VmaBlockBufferImageGranularity }
%class.VmaBlockMetadata.base = type <{ ptr, i64, ptr, i64, i8 }>
%class.VmaPoolAllocator = type { ptr, i32, %class.VmaVector.4 }
%class.VmaVector.4 = type { %struct.VmaStlAllocator.5, ptr, i64, i64 }
%struct.VmaStlAllocator.5 = type { ptr }
%class.VmaBlockBufferImageGranularity = type { i64, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv = external hidden unnamed_addr constant [102 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [87 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN30VmaBlockBufferImageGranularity10AllocPagesEhmm(ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i64 noundef, i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK16VmaBlockMetadata14GetDebugMarginEv(ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8NextFreeEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8PrevFreeEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8UserDataEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull align 8 dereferenceable(52) %1, i32 noundef %2, ptr noundef %3) unnamed_addr #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.VmaAllocationRequest, ptr %20, i32 0, i32 5
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %25

24:                                               ; preds = %4
  br label %27

25:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.101, ptr noundef @.str.2, i32 noundef 10518, ptr noundef @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #4
  unreachable

26:                                               ; No predecessors!
  br label %27

27:                                               ; preds = %26, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.VmaAllocationRequest, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  store ptr %30, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.VmaAllocationRequest, ptr %31, i32 0, i32 4
  %33 = load i64, ptr %32, align 8, !tbaa !17
  store i64 %33, ptr %10, align 8, !tbaa !18
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %36, label %37

36:                                               ; preds = %27
  br label %39

37:                                               ; preds = %27
  call void @__assert_fail(ptr noundef @.str.102, ptr noundef @.str.2, i32 noundef 10523, ptr noundef @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #4
  unreachable

38:                                               ; No predecessors!
  br label %39

39:                                               ; preds = %38, %36
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %40, i32 0, i32 0
  %42 = load i64, ptr %41, align 8, !tbaa !19
  %43 = load i64, ptr %10, align 8, !tbaa !18
  %44 = icmp ule i64 %42, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %39
  br label %48

46:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.103, ptr noundef @.str.2, i32 noundef 10524, ptr noundef @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #4
  unreachable

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %45
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %51 = load ptr, ptr %50, align 8, !tbaa !21
  %52 = icmp ne ptr %49, %51
  br i1 %52, label %53, label %55

53:                                               ; preds = %48
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15RemoveFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %54)
  br label %55

55:                                               ; preds = %53, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %56 = call noundef i64 @_ZNK16VmaBlockMetadata14GetDebugMarginEv(ptr noundef nonnull align 8 dereferenceable(33) %19)
  store i64 %56, ptr %11, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %57 = load i64, ptr %10, align 8, !tbaa !18
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %58, i32 0, i32 0
  %60 = load i64, ptr %59, align 8, !tbaa !19
  %61 = sub i64 %57, %60
  store i64 %61, ptr %12, align 8, !tbaa !18
  %62 = load i64, ptr %12, align 8, !tbaa !18
  %63 = icmp ne i64 %62, 0
  br i1 %63, label %64, label %156

64:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  %66 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %65, i32 0, i32 2
  %67 = load ptr, ptr %66, align 8, !tbaa !30
  store ptr %67, ptr %13, align 8, !tbaa !5
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %71

70:                                               ; preds = %64
  br label %71

71:                                               ; preds = %70, %64
  %72 = phi i1 [ false, %64 ], [ true, %70 ]
  br i1 %72, label %73, label %74

73:                                               ; preds = %71
  br label %76

74:                                               ; preds = %71
  call void @__assert_fail(ptr noundef @.str.105, ptr noundef @.str.2, i32 noundef 10536, ptr noundef @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #4
  unreachable

75:                                               ; No predecessors!
  br label %76

76:                                               ; preds = %75, %73
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = call noundef zeroext i1 @_ZNK21VmaBlockMetadata_TLSF5Block6IsFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %77)
  br i1 %78, label %79, label %120

79:                                               ; preds = %76
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %80, i32 0, i32 1
  %82 = load i64, ptr %81, align 8, !tbaa !31
  %83 = load i64, ptr %11, align 8, !tbaa !18
  %84 = icmp ne i64 %82, %83
  br i1 %84, label %85, label %120

85:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %86, i32 0, i32 1
  %88 = load i64, ptr %87, align 8, !tbaa !31
  %89 = call noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400) %19, i64 noundef %88)
  store i32 %89, ptr %14, align 4, !tbaa !32
  %90 = load i64, ptr %12, align 8, !tbaa !18
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %91, i32 0, i32 1
  %93 = load i64, ptr %92, align 8, !tbaa !31
  %94 = add i64 %93, %90
  store i64 %94, ptr %92, align 8, !tbaa !31
  %95 = load i32, ptr %14, align 4, !tbaa !32
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %96, i32 0, i32 1
  %98 = load i64, ptr %97, align 8, !tbaa !31
  %99 = call noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400) %19, i64 noundef %98)
  %100 = icmp ne i32 %95, %99
  br i1 %100, label %101, label %114

101:                                              ; preds = %85
  %102 = load i64, ptr %12, align 8, !tbaa !18
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %103, i32 0, i32 1
  %105 = load i64, ptr %104, align 8, !tbaa !31
  %106 = sub i64 %105, %102
  store i64 %106, ptr %104, align 8, !tbaa !31
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15RemoveFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %107)
  %108 = load i64, ptr %12, align 8, !tbaa !18
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  %110 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %109, i32 0, i32 1
  %111 = load i64, ptr %110, align 8, !tbaa !31
  %112 = add i64 %111, %108
  store i64 %112, ptr %110, align 8, !tbaa !31
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %113)
  br label %119

114:                                              ; preds = %85
  %115 = load i64, ptr %12, align 8, !tbaa !18
  %116 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 3
  %117 = load i64, ptr %116, align 8, !tbaa !33
  %118 = add i64 %117, %115
  store i64 %118, ptr %116, align 8, !tbaa !33
  br label %119

119:                                              ; preds = %114, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %145

120:                                              ; preds = %79, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %121 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 9
  %122 = call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %121)
  store ptr %122, ptr %15, align 8, !tbaa !5
  %123 = load ptr, ptr %15, align 8, !tbaa !5
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %124, i32 0, i32 2
  store ptr %123, ptr %125, align 8, !tbaa !30
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %127, i32 0, i32 3
  store ptr %126, ptr %128, align 8, !tbaa !34
  %129 = load ptr, ptr %13, align 8, !tbaa !5
  %130 = load ptr, ptr %15, align 8, !tbaa !5
  %131 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %130, i32 0, i32 2
  store ptr %129, ptr %131, align 8, !tbaa !30
  %132 = load ptr, ptr %9, align 8, !tbaa !5
  %133 = load ptr, ptr %15, align 8, !tbaa !5
  %134 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %133, i32 0, i32 3
  store ptr %132, ptr %134, align 8, !tbaa !34
  %135 = load i64, ptr %12, align 8, !tbaa !18
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %136, i32 0, i32 1
  store i64 %135, ptr %137, align 8, !tbaa !31
  %138 = load ptr, ptr %9, align 8, !tbaa !5
  %139 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %138, i32 0, i32 0
  %140 = load i64, ptr %139, align 8, !tbaa !19
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %141, i32 0, i32 0
  store i64 %140, ptr %142, align 8, !tbaa !19
  %143 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %143)
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %144)
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %145

145:                                              ; preds = %120, %119
  %146 = load i64, ptr %12, align 8, !tbaa !18
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %147, i32 0, i32 1
  %149 = load i64, ptr %148, align 8, !tbaa !31
  %150 = sub i64 %149, %146
  store i64 %150, ptr %148, align 8, !tbaa !31
  %151 = load i64, ptr %12, align 8, !tbaa !18
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %152, i32 0, i32 0
  %154 = load i64, ptr %153, align 8, !tbaa !19
  %155 = add i64 %154, %151
  store i64 %155, ptr %153, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %156

156:                                              ; preds = %145, %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.VmaAllocationRequest, ptr %157, i32 0, i32 1
  %159 = load i64, ptr %158, align 8, !tbaa !35
  %160 = load i64, ptr %11, align 8, !tbaa !18
  %161 = add i64 %159, %160
  store i64 %161, ptr %16, align 8, !tbaa !18
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %162, i32 0, i32 1
  %164 = load i64, ptr %163, align 8, !tbaa !31
  %165 = load i64, ptr %16, align 8, !tbaa !18
  %166 = icmp eq i64 %164, %165
  br i1 %166, label %167, label %208

167:                                              ; preds = %156
  %168 = load ptr, ptr %9, align 8, !tbaa !5
  %169 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %170 = load ptr, ptr %169, align 8, !tbaa !21
  %171 = icmp eq ptr %168, %170
  br i1 %171, label %172, label %207

172:                                              ; preds = %167
  %173 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 9
  %174 = call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %173)
  %175 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  store ptr %174, ptr %175, align 8, !tbaa !21
  %176 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %177 = load ptr, ptr %176, align 8, !tbaa !21
  %178 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %177, i32 0, i32 1
  store i64 0, ptr %178, align 8, !tbaa !31
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %179, i32 0, i32 0
  %181 = load i64, ptr %180, align 8, !tbaa !19
  %182 = load i64, ptr %16, align 8, !tbaa !18
  %183 = add i64 %181, %182
  %184 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %185 = load ptr, ptr %184, align 8, !tbaa !21
  %186 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %185, i32 0, i32 0
  store i64 %183, ptr %186, align 8, !tbaa !19
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %189 = load ptr, ptr %188, align 8, !tbaa !21
  %190 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %189, i32 0, i32 2
  store ptr %187, ptr %190, align 8, !tbaa !30
  %191 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %192 = load ptr, ptr %191, align 8, !tbaa !21
  %193 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %192, i32 0, i32 3
  store ptr null, ptr %193, align 8, !tbaa !34
  %194 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %195 = load ptr, ptr %194, align 8, !tbaa !21
  call void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %195)
  %196 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %197 = load ptr, ptr %196, align 8, !tbaa !21
  %198 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8PrevFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %197)
  store ptr null, ptr %198, align 8, !tbaa !5
  %199 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %200 = load ptr, ptr %199, align 8, !tbaa !21
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8NextFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %200)
  store ptr null, ptr %201, align 8, !tbaa !5
  %202 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %203 = load ptr, ptr %202, align 8, !tbaa !21
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %204, i32 0, i32 3
  store ptr %203, ptr %205, align 8, !tbaa !34
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %206)
  br label %207

207:                                              ; preds = %172, %167
  br label %276

208:                                              ; preds = %156
  %209 = load ptr, ptr %9, align 8, !tbaa !5
  %210 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %209, i32 0, i32 1
  %211 = load i64, ptr %210, align 8, !tbaa !31
  %212 = load i64, ptr %16, align 8, !tbaa !18
  %213 = icmp ugt i64 %211, %212
  br i1 %213, label %214, label %215

214:                                              ; preds = %208
  br label %215

215:                                              ; preds = %214, %208
  %216 = phi i1 [ false, %208 ], [ true, %214 ]
  br i1 %216, label %217, label %218

217:                                              ; preds = %215
  br label %220

218:                                              ; preds = %215
  call void @__assert_fail(ptr noundef @.str.107, ptr noundef @.str.2, i32 noundef 10591, ptr noundef @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #4
  unreachable

219:                                              ; No predecessors!
  br label %220

220:                                              ; preds = %219, %217
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %221 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 9
  %222 = call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %221)
  store ptr %222, ptr %17, align 8, !tbaa !5
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %223, i32 0, i32 1
  %225 = load i64, ptr %224, align 8, !tbaa !31
  %226 = load i64, ptr %16, align 8, !tbaa !18
  %227 = sub i64 %225, %226
  %228 = load ptr, ptr %17, align 8, !tbaa !5
  %229 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %228, i32 0, i32 1
  store i64 %227, ptr %229, align 8, !tbaa !31
  %230 = load ptr, ptr %9, align 8, !tbaa !5
  %231 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %230, i32 0, i32 0
  %232 = load i64, ptr %231, align 8, !tbaa !19
  %233 = load i64, ptr %16, align 8, !tbaa !18
  %234 = add i64 %232, %233
  %235 = load ptr, ptr %17, align 8, !tbaa !5
  %236 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %235, i32 0, i32 0
  store i64 %234, ptr %236, align 8, !tbaa !19
  %237 = load ptr, ptr %9, align 8, !tbaa !5
  %238 = load ptr, ptr %17, align 8, !tbaa !5
  %239 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %238, i32 0, i32 2
  store ptr %237, ptr %239, align 8, !tbaa !30
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %240, i32 0, i32 3
  %242 = load ptr, ptr %241, align 8, !tbaa !34
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %243, i32 0, i32 3
  store ptr %242, ptr %244, align 8, !tbaa !34
  %245 = load ptr, ptr %17, align 8, !tbaa !5
  %246 = load ptr, ptr %9, align 8, !tbaa !5
  %247 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %246, i32 0, i32 3
  store ptr %245, ptr %247, align 8, !tbaa !34
  %248 = load i64, ptr %16, align 8, !tbaa !18
  %249 = load ptr, ptr %9, align 8, !tbaa !5
  %250 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %249, i32 0, i32 1
  store i64 %248, ptr %250, align 8, !tbaa !31
  %251 = load ptr, ptr %9, align 8, !tbaa !5
  %252 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %253 = load ptr, ptr %252, align 8, !tbaa !21
  %254 = icmp eq ptr %251, %253
  br i1 %254, label %255, label %267

255:                                              ; preds = %220
  %256 = load ptr, ptr %17, align 8, !tbaa !5
  %257 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  store ptr %256, ptr %257, align 8, !tbaa !21
  %258 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %259 = load ptr, ptr %258, align 8, !tbaa !21
  call void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %259)
  %260 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %261 = load ptr, ptr %260, align 8, !tbaa !21
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8NextFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %261)
  store ptr null, ptr %262, align 8, !tbaa !5
  %263 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 10
  %264 = load ptr, ptr %263, align 8, !tbaa !21
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8PrevFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %264)
  store ptr null, ptr %265, align 8, !tbaa !5
  %266 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %266)
  br label %275

267:                                              ; preds = %220
  %268 = load ptr, ptr %17, align 8, !tbaa !5
  %269 = load ptr, ptr %17, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %269, i32 0, i32 3
  %271 = load ptr, ptr %270, align 8, !tbaa !34
  %272 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %271, i32 0, i32 2
  store ptr %268, ptr %272, align 8, !tbaa !30
  %273 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %273)
  %274 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %274)
  br label %275

275:                                              ; preds = %267, %255
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %276

276:                                              ; preds = %275, %207
  %277 = load ptr, ptr %8, align 8, !tbaa !5
  %278 = load ptr, ptr %9, align 8, !tbaa !5
  %279 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8UserDataEv(ptr noundef nonnull align 8 dereferenceable(48) %278)
  store ptr %277, ptr %279, align 8, !tbaa !5
  %280 = load i64, ptr %11, align 8, !tbaa !18
  %281 = icmp ugt i64 %280, 0
  br i1 %281, label %282, label %320

282:                                              ; preds = %276
  %283 = load i64, ptr %11, align 8, !tbaa !18
  %284 = load ptr, ptr %9, align 8, !tbaa !5
  %285 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %284, i32 0, i32 1
  %286 = load i64, ptr %285, align 8, !tbaa !31
  %287 = sub i64 %286, %283
  store i64 %287, ptr %285, align 8, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %288 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 9
  %289 = call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %288)
  store ptr %289, ptr %18, align 8, !tbaa !5
  %290 = load i64, ptr %11, align 8, !tbaa !18
  %291 = load ptr, ptr %18, align 8, !tbaa !5
  %292 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %291, i32 0, i32 1
  store i64 %290, ptr %292, align 8, !tbaa !31
  %293 = load ptr, ptr %9, align 8, !tbaa !5
  %294 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %293, i32 0, i32 0
  %295 = load i64, ptr %294, align 8, !tbaa !19
  %296 = load ptr, ptr %9, align 8, !tbaa !5
  %297 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %296, i32 0, i32 1
  %298 = load i64, ptr %297, align 8, !tbaa !31
  %299 = add i64 %295, %298
  %300 = load ptr, ptr %18, align 8, !tbaa !5
  %301 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %300, i32 0, i32 0
  store i64 %299, ptr %301, align 8, !tbaa !19
  %302 = load ptr, ptr %9, align 8, !tbaa !5
  %303 = load ptr, ptr %18, align 8, !tbaa !5
  %304 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %303, i32 0, i32 2
  store ptr %302, ptr %304, align 8, !tbaa !30
  %305 = load ptr, ptr %9, align 8, !tbaa !5
  %306 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %305, i32 0, i32 3
  %307 = load ptr, ptr %306, align 8, !tbaa !34
  %308 = load ptr, ptr %18, align 8, !tbaa !5
  %309 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %308, i32 0, i32 3
  store ptr %307, ptr %309, align 8, !tbaa !34
  %310 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %310)
  %311 = load ptr, ptr %18, align 8, !tbaa !5
  %312 = load ptr, ptr %9, align 8, !tbaa !5
  %313 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %312, i32 0, i32 3
  %314 = load ptr, ptr %313, align 8, !tbaa !34
  %315 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %314, i32 0, i32 2
  store ptr %311, ptr %315, align 8, !tbaa !30
  %316 = load ptr, ptr %18, align 8, !tbaa !5
  %317 = load ptr, ptr %9, align 8, !tbaa !5
  %318 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %317, i32 0, i32 3
  store ptr %316, ptr %318, align 8, !tbaa !34
  %319 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %19, ptr noundef %319)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %320

320:                                              ; preds = %282, %276
  %321 = call noundef zeroext i1 @_ZNK16VmaBlockMetadata9IsVirtualEv(ptr noundef nonnull align 8 dereferenceable(33) %19)
  br i1 %321, label %335, label %322

322:                                              ; preds = %320
  %323 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 11
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.VmaAllocationRequest, ptr %324, i32 0, i32 3
  %326 = load ptr, ptr %325, align 8, !tbaa !36
  %327 = ptrtoint ptr %326 to i64
  %328 = trunc i64 %327 to i8
  %329 = load ptr, ptr %9, align 8, !tbaa !5
  %330 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %329, i32 0, i32 0
  %331 = load i64, ptr %330, align 8, !tbaa !19
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = getelementptr inbounds %"class.VmaBlockMetadata_TLSF::Block", ptr %332, i32 0, i32 1
  %334 = load i64, ptr %333, align 8, !tbaa !31
  call void @_ZN30VmaBlockBufferImageGranularity10AllocPagesEhmm(ptr noundef nonnull align 8 dereferenceable(24) %323, i8 noundef zeroext %328, i64 noundef %331, i64 noundef %334)
  br label %335

335:                                              ; preds = %322, %320
  %336 = getelementptr inbounds %class.VmaBlockMetadata_TLSF, ptr %19, i32 0, i32 1
  %337 = load i64, ptr %336, align 8, !tbaa !37
  %338 = add i64 %337, 1
  store i64 %338, ptr %336, align 8, !tbaa !37
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"_ZTS20VmaSuballocationType", !7, i64 0}
!11 = !{!12, !15, i64 48}
!12 = !{!"_ZTS20VmaAllocationRequest", !6, i64 0, !13, i64 8, !14, i64 16, !6, i64 32, !13, i64 40, !15, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN7VmaListI16VmaSuballocation15VmaStlAllocatorIS0_EE8iteratorE", !6, i64 0, !6, i64 8}
!15 = !{!"_ZTS24VmaAllocationRequestType", !7, i64 0}
!16 = !{!12, !6, i64 0}
!17 = !{!12, !13, i64 40}
!18 = !{!13, !13, i64 0}
!19 = !{!20, !13, i64 0}
!20 = !{!"_ZTSN21VmaBlockMetadata_TLSF5BlockE", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !7, i64 40}
!21 = !{!22, !6, i64 368}
!22 = !{!"_ZTS21VmaBlockMetadata_TLSF", !23, i64 0, !13, i64 40, !13, i64 48, !13, i64 56, !25, i64 64, !7, i64 68, !7, i64 72, !25, i64 304, !6, i64 312, !26, i64 320, !6, i64 368, !29, i64 376}
!23 = !{!"_ZTS16VmaBlockMetadata", !13, i64 8, !6, i64 16, !13, i64 24, !24, i64 32}
!24 = !{!"bool", !7, i64 0}
!25 = !{!"int", !7, i64 0}
!26 = !{!"_ZTS16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE", !6, i64 0, !25, i64 8, !27, i64 16}
!27 = !{!"_ZTS9VmaVectorIN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE9ItemBlockE15VmaStlAllocatorIS4_EE", !28, i64 0, !6, i64 8, !13, i64 16, !13, i64 24}
!28 = !{!"_ZTS15VmaStlAllocatorIN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE9ItemBlockEE", !6, i64 0}
!29 = !{!"_ZTS30VmaBlockBufferImageGranularity", !13, i64 0, !25, i64 8, !6, i64 16}
!30 = !{!20, !6, i64 16}
!31 = !{!20, !13, i64 8}
!32 = !{!25, !25, i64 0}
!33 = !{!22, !13, i64 56}
!34 = !{!20, !6, i64 24}
!35 = !{!12, !13, i64 8}
!36 = !{!12, !6, i64 32}
!37 = !{!22, !13, 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.101 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv = external hidden unnamed_addr constant [102 x i8], align 1
@.str.102 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.105 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.107 = external hidden unnamed_addr constant [87 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 @_ZNK16VmaBlockMetadata9IsVirtualEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN30VmaBlockBufferImageGranularity10AllocPagesEhmm(ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK16VmaBlockMetadata14GetDebugMarginEv(ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(52) %1, i32 noundef %2, ptr noundef %3) unnamed_addr #2 align 2 {
  %5 = getelementptr inbounds i8, ptr %1, i64 48
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %9, label %8

8:                                                ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.101, ptr noundef nonnull @.str.2, i32 noundef 10518, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #3
  unreachable

9:                                                ; preds = %4
  %10 = load ptr, ptr %1, align 8, !tbaa !13
  %11 = getelementptr inbounds i8, ptr %1, i64 40
  %12 = load i64, ptr %11, align 8, !tbaa !14
  %.not = icmp eq ptr %10, null
  br i1 %.not, label %13, label %14

13:                                               ; preds = %9
  tail call void @__assert_fail(ptr noundef nonnull @.str.102, ptr noundef nonnull @.str.2, i32 noundef 10523, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #3
  unreachable

14:                                               ; preds = %9
  %15 = load i64, ptr %10, align 8, !tbaa !15
  %.not110 = icmp ugt i64 %15, %12
  br i1 %.not110, label %16, label %17

16:                                               ; preds = %14
  tail call void @__assert_fail(ptr noundef nonnull @.str.103, ptr noundef nonnull @.str.2, i32 noundef 10524, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #3
  unreachable

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %0, i64 368
  %19 = load ptr, ptr %18, align 8, !tbaa !17
  %.not111 = icmp eq ptr %10, %19
  br i1 %.not111, label %21, label %20

20:                                               ; preds = %17
  tail call void @_ZN21VmaBlockMetadata_TLSF15RemoveFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %10)
  br label %21

21:                                               ; preds = %20, %17
  %22 = tail call noundef i64 @_ZNK16VmaBlockMetadata14GetDebugMarginEv(ptr noundef nonnull align 8 dereferenceable(33) %0)
  %23 = load i64, ptr %10, align 8, !tbaa !15
  %24 = sub i64 %12, %23
  %.not112 = icmp eq i64 %12, %23
  br i1 %.not112, label %._crit_edge, label %25

._crit_edge:                                      ; preds = %21
  %.phi.trans.insert = getelementptr inbounds i8, ptr %10, i64 8
  %.pre = load i64, ptr %.phi.trans.insert, align 8, !tbaa !26
  br label %62

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %10, i64 16
  %27 = load ptr, ptr %26, align 8, !tbaa !27
  %.not113 = icmp eq ptr %27, null
  br i1 %.not113, label %28, label %29

28:                                               ; preds = %25
  tail call void @__assert_fail(ptr noundef nonnull @.str.105, ptr noundef nonnull @.str.2, i32 noundef 10536, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #3
  unreachable

29:                                               ; preds = %25
  %30 = tail call noundef zeroext i1 @_ZNK21VmaBlockMetadata_TLSF5Block6IsFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %27)
  br i1 %30, label %31, label %48

31:                                               ; preds = %29
  %32 = getelementptr inbounds i8, ptr %27, i64 8
  %33 = load i64, ptr %32, align 8, !tbaa !26
  %.not114 = icmp eq i64 %33, %22
  br i1 %.not114, label %48, label %34

34:                                               ; preds = %31
  %35 = tail call noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 noundef %33)
  %36 = load i64, ptr %32, align 8, !tbaa !26
  %37 = add i64 %36, %24
  store i64 %37, ptr %32, align 8, !tbaa !26
  %38 = tail call noundef i32 @_ZNK21VmaBlockMetadata_TLSF12GetListIndexEm(ptr noundef nonnull align 8 dereferenceable(400) %0, i64 noundef %37)
  %.not115 = icmp eq i32 %35, %38
  br i1 %.not115, label %44, label %39

39:                                               ; preds = %34
  %40 = load i64, ptr %32, align 8, !tbaa !26
  %41 = sub i64 %40, %24
  store i64 %41, ptr %32, align 8, !tbaa !26
  tail call void @_ZN21VmaBlockMetadata_TLSF15RemoveFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %27)
  %42 = load i64, ptr %32, align 8, !tbaa !26
  %43 = add i64 %42, %24
  store i64 %43, ptr %32, align 8, !tbaa !26
  tail call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %27)
  br label %56

44:                                               ; preds = %34
  %45 = getelementptr inbounds i8, ptr %0, i64 56
  %46 = load i64, ptr %45, align 8, !tbaa !28
  %47 = add i64 %46, %24
  store i64 %47, ptr %45, align 8, !tbaa !28
  br label %56

48:                                               ; preds = %31, %29
  %49 = getelementptr inbounds i8, ptr %0, i64 320
  %50 = tail call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %49)
  store ptr %50, ptr %26, align 8, !tbaa !27
  %51 = getelementptr inbounds i8, ptr %27, i64 24
  store ptr %50, ptr %51, align 8, !tbaa !29
  %52 = getelementptr inbounds i8, ptr %50, i64 16
  store ptr %27, ptr %52, align 8, !tbaa !27
  %53 = getelementptr inbounds i8, ptr %50, i64 24
  store ptr %10, ptr %53, align 8, !tbaa !29
  %54 = getelementptr inbounds i8, ptr %50, i64 8
  store i64 %24, ptr %54, align 8, !tbaa !26
  %55 = load i64, ptr %10, align 8, !tbaa !15
  store i64 %55, ptr %50, align 8, !tbaa !15
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %50)
  tail call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %50)
  br label %56

56:                                               ; preds = %39, %44, %48
  %57 = getelementptr inbounds i8, ptr %10, i64 8
  %58 = load i64, ptr %57, align 8, !tbaa !26
  %59 = sub i64 %58, %24
  store i64 %59, ptr %57, align 8, !tbaa !26
  %60 = load i64, ptr %10, align 8, !tbaa !15
  %61 = add i64 %60, %24
  store i64 %61, ptr %10, align 8, !tbaa !15
  br label %62

62:                                               ; preds = %._crit_edge, %56
  %63 = phi i64 [ %.pre, %._crit_edge ], [ %59, %56 ]
  %64 = getelementptr inbounds i8, ptr %1, i64 8
  %65 = load i64, ptr %64, align 8, !tbaa !30
  %66 = add i64 %65, %22
  %67 = getelementptr inbounds i8, ptr %10, i64 8
  %68 = icmp eq i64 %63, %66
  br i1 %68, label %69, label %86

69:                                               ; preds = %62
  %70 = load ptr, ptr %18, align 8, !tbaa !17
  %71 = icmp eq ptr %10, %70
  br i1 %71, label %72, label %111

72:                                               ; preds = %69
  %73 = getelementptr inbounds i8, ptr %0, i64 320
  %74 = tail call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %73)
  store ptr %74, ptr %18, align 8, !tbaa !17
  %75 = getelementptr inbounds i8, ptr %74, i64 8
  store i64 0, ptr %75, align 8, !tbaa !26
  %76 = load i64, ptr %10, align 8, !tbaa !15
  %77 = add i64 %76, %63
  store i64 %77, ptr %74, align 8, !tbaa !15
  %78 = getelementptr inbounds i8, ptr %74, i64 16
  store ptr %10, ptr %78, align 8, !tbaa !27
  %79 = getelementptr inbounds i8, ptr %74, i64 24
  store ptr null, ptr %79, align 8, !tbaa !29
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %74)
  %80 = load ptr, ptr %18, align 8, !tbaa !17
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8PrevFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %80)
  store ptr null, ptr %81, align 8, !tbaa !31
  %82 = load ptr, ptr %18, align 8, !tbaa !17
  %83 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8NextFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %82)
  store ptr null, ptr %83, align 8, !tbaa !31
  %84 = load ptr, ptr %18, align 8, !tbaa !17
  %85 = getelementptr inbounds i8, ptr %10, i64 24
  store ptr %84, ptr %85, align 8, !tbaa !29
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %10)
  br label %111

86:                                               ; preds = %62
  %87 = icmp ugt i64 %63, %66
  br i1 %87, label %89, label %88

88:                                               ; preds = %86
  tail call void @__assert_fail(ptr noundef nonnull @.str.107, ptr noundef nonnull @.str.2, i32 noundef 10591, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN21VmaBlockMetadata_TLSF5AllocERK20VmaAllocationRequest20VmaSuballocationTypePv) #3
  unreachable

89:                                               ; preds = %86
  %90 = getelementptr inbounds i8, ptr %0, i64 320
  %91 = tail call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %90)
  %92 = load i64, ptr %67, align 8, !tbaa !26
  %93 = sub i64 %92, %66
  %94 = getelementptr inbounds i8, ptr %91, i64 8
  store i64 %93, ptr %94, align 8, !tbaa !26
  %95 = load i64, ptr %10, align 8, !tbaa !15
  %96 = add i64 %95, %66
  store i64 %96, ptr %91, align 8, !tbaa !15
  %97 = getelementptr inbounds i8, ptr %91, i64 16
  store ptr %10, ptr %97, align 8, !tbaa !27
  %98 = getelementptr inbounds i8, ptr %10, i64 24
  %99 = load ptr, ptr %98, align 8, !tbaa !29
  %100 = getelementptr inbounds i8, ptr %91, i64 24
  store ptr %99, ptr %100, align 8, !tbaa !29
  store ptr %91, ptr %98, align 8, !tbaa !29
  store i64 %66, ptr %67, align 8, !tbaa !26
  %101 = load ptr, ptr %18, align 8, !tbaa !17
  %102 = icmp eq ptr %10, %101
  br i1 %102, label %103, label %108

103:                                              ; preds = %89
  store ptr %91, ptr %18, align 8, !tbaa !17
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block8MarkFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %91)
  %104 = load ptr, ptr %18, align 8, !tbaa !17
  %105 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8NextFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %104)
  store ptr null, ptr %105, align 8, !tbaa !31
  %106 = load ptr, ptr %18, align 8, !tbaa !17
  %107 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8PrevFreeEv(ptr noundef nonnull align 8 dereferenceable(48) %106)
  store ptr null, ptr %107, align 8, !tbaa !31
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %10)
  br label %111

108:                                              ; preds = %89
  %109 = load ptr, ptr %100, align 8, !tbaa !29
  %110 = getelementptr inbounds i8, ptr %109, i64 16
  store ptr %91, ptr %110, align 8, !tbaa !27
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %91)
  tail call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %91)
  br label %111

111:                                              ; preds = %103, %108, %69, %72
  %112 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN21VmaBlockMetadata_TLSF5Block8UserDataEv(ptr noundef nonnull align 8 dereferenceable(48) %10)
  store ptr %3, ptr %112, align 8, !tbaa !31
  %.not116 = icmp eq i64 %22, 0
  br i1 %.not116, label %128, label %113

113:                                              ; preds = %111
  %114 = load i64, ptr %67, align 8, !tbaa !26
  %115 = sub i64 %114, %22
  store i64 %115, ptr %67, align 8, !tbaa !26
  %116 = getelementptr inbounds i8, ptr %0, i64 320
  %117 = tail call noundef ptr @_ZN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE5AllocIJEEEPS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(48) %116)
  %118 = getelementptr inbounds i8, ptr %117, i64 8
  store i64 %22, ptr %118, align 8, !tbaa !26
  %119 = load i64, ptr %10, align 8, !tbaa !15
  %120 = load i64, ptr %67, align 8, !tbaa !26
  %121 = add i64 %120, %119
  store i64 %121, ptr %117, align 8, !tbaa !15
  %122 = getelementptr inbounds i8, ptr %117, i64 16
  store ptr %10, ptr %122, align 8, !tbaa !27
  %123 = getelementptr inbounds i8, ptr %10, i64 24
  %124 = load ptr, ptr %123, align 8, !tbaa !29
  %125 = getelementptr inbounds i8, ptr %117, i64 24
  store ptr %124, ptr %125, align 8, !tbaa !29
  tail call void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48) %117)
  %126 = load ptr, ptr %123, align 8, !tbaa !29
  %127 = getelementptr inbounds i8, ptr %126, i64 16
  store ptr %117, ptr %127, align 8, !tbaa !27
  store ptr %117, ptr %123, align 8, !tbaa !29
  tail call void @_ZN21VmaBlockMetadata_TLSF15InsertFreeBlockEPNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(400) %0, ptr noundef nonnull %117)
  br label %128

128:                                              ; preds = %113, %111
  %129 = tail call noundef zeroext i1 @_ZNK16VmaBlockMetadata9IsVirtualEv(ptr noundef nonnull align 8 dereferenceable(33) %0)
  br i1 %129, label %138, label %130

130:                                              ; preds = %128
  %131 = getelementptr inbounds i8, ptr %0, i64 376
  %132 = getelementptr inbounds i8, ptr %1, i64 32
  %133 = load ptr, ptr %132, align 8, !tbaa !32
  %134 = ptrtoint ptr %133 to i64
  %135 = trunc i64 %134 to i8
  %136 = load i64, ptr %10, align 8, !tbaa !15
  %137 = load i64, ptr %67, align 8, !tbaa !26
  tail call void @_ZN30VmaBlockBufferImageGranularity10AllocPagesEhmm(ptr noundef nonnull align 8 dereferenceable(24) %131, i8 noundef zeroext %135, i64 noundef %136, i64 noundef %137)
  br label %138

138:                                              ; preds = %130, %128
  %139 = getelementptr inbounds i8, ptr %0, i64 40
  %140 = load i64, ptr %139, align 8, !tbaa !33
  %141 = add i64 %140, 1
  store i64 %141, ptr %139, align 8, !tbaa !33
  ret void
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN21VmaBlockMetadata_TLSF5Block9MarkTakenEv(ptr noundef nonnull align 8 dereferenceable(48)) 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 = { 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, !12, i64 48}
!6 = !{!"_ZTS20VmaAllocationRequest", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 32, !10, i64 40, !12, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN7VmaListI16VmaSuballocation15VmaStlAllocatorIS0_EE8iteratorE", !7, i64 0, !7, i64 8}
!12 = !{!"_ZTS24VmaAllocationRequestType", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 40}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTSN21VmaBlockMetadata_TLSF5BlockE", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !8, i64 40}
!17 = !{!18, !7, i64 368}
!18 = !{!"_ZTS21VmaBlockMetadata_TLSF", !19, i64 0, !10, i64 40, !10, i64 48, !10, i64 56, !21, i64 64, !8, i64 68, !8, i64 72, !21, i64 304, !7, i64 312, !22, i64 320, !7, i64 368, !25, i64 376}
!19 = !{!"_ZTS16VmaBlockMetadata", !10, i64 8, !7, i64 16, !10, i64 24, !20, i64 32}
!20 = !{!"bool", !8, i64 0}
!21 = !{!"int", !8, i64 0}
!22 = !{!"_ZTS16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE", !7, i64 0, !21, i64 8, !23, i64 16}
!23 = !{!"_ZTS9VmaVectorIN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE9ItemBlockE15VmaStlAllocatorIS4_EE", !24, i64 0, !7, i64 8, !10, i64 16, !10, i64 24}
!24 = !{!"_ZTS15VmaStlAllocatorIN16VmaPoolAllocatorIN21VmaBlockMetadata_TLSF5BlockEE9ItemBlockEE", !7, i64 0}
!25 = !{!"_ZTS30VmaBlockBufferImageGranularity", !10, i64 0, !21, i64 8, !7, i64 16}
!26 = !{!16, !10, i64 8}
!27 = !{!16, !7, i64 16}
!28 = !{!18, !10, i64 56}
!29 = !{!16, !7, i64 24}
!30 = !{!6, !10, i64 8}
!31 = !{!7, !7, i64 0}
!32 = !{!6, !7, i64 32}
!33 = !{!18, !10, i64 40}


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