; LLVM IR from Simple-XX/SimpleKernel :: src/kernel/slab.ll (ZN4SLAB12slab_cache_t9alloc_pmmEm)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.SLAB::slab_cache_t" = type <{ i64, %"struct.SLAB::chunk_t", %"struct.SLAB::chunk_t", %"struct.SLAB::chunk_t", i8, [7 x i8] }>
%"struct.SLAB::chunk_t" = type { i64, i64, ptr, ptr }

@.str = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 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

declare i32 @err(ptr noundef, ...) #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4SLAB12slab_cache_t9alloc_pmmEm(ptr noundef nonnull align 8 dereferenceable(105) %0, i64 noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %10 = load i64, ptr %4, align 8, !tbaa !9
  %11 = udiv i64 %10, 4096
  store i64 %11, ptr %5, align 8, !tbaa !9
  %12 = load i64, ptr %4, align 8, !tbaa !9
  %13 = urem i64 %12, 4096
  %14 = icmp ne i64 %13, 0
  br i1 %14, label %15, label %18

15:                                               ; preds = %2
  %16 = load i64, ptr %5, align 8, !tbaa !9
  %17 = add i64 %16, 1
  store i64 %17, ptr %5, align 8, !tbaa !9
  br label %18

18:                                               ; preds = %15, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.SLAB::slab_cache_t", ptr %9, i32 0, i32 4
  %20 = load i8, ptr %19, align 8, !tbaa !11, !range !15, !noundef !16
  %21 = trunc i8 %20 to i1
  %22 = zext i1 %21 to i32
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %29

24:                                               ; preds = %18
  %25 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN3PMM12get_instanceEv()
  %26 = load i64, ptr %5, align 8, !tbaa !9
  %27 = call noundef i64 @_ZN3PMM18alloc_pages_kernelEm(ptr noundef nonnull align 8 dereferenceable(72) %25, i64 noundef %26)
  %28 = inttoptr i64 %27 to ptr
  store ptr %28, ptr %6, align 8, !tbaa !5
  br label %34

29:                                               ; preds = %18
  %30 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZN3PMM12get_instanceEv()
  %31 = load i64, ptr %5, align 8, !tbaa !9
  %32 = call noundef i64 @_ZN3PMM11alloc_pagesEm(ptr noundef nonnull align 8 dereferenceable(72) %30, i64 noundef %31)
  %33 = inttoptr i64 %32 to ptr
  store ptr %33, ptr %6, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %29, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %83, %34
  %36 = load i64, ptr %8, align 8, !tbaa !9
  %37 = load i64, ptr %5, align 8, !tbaa !9
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %86

40:                                               ; preds = %35
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load i64, ptr %8, align 8, !tbaa !9
  %43 = mul i64 %42, 4096
  %44 = getelementptr inbounds i8, ptr %41, i64 %43
  %45 = ptrtoint ptr %44 to i64
  store i64 %45, ptr %7, align 8, !tbaa !9
  %46 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %47 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %48 = call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %47)
  %49 = load i64, ptr %7, align 8, !tbaa !9
  %50 = call noundef zeroext i1 @_ZN3VMM8get_mmapEPmmPKv(ptr noundef nonnull align 1 dereferenceable(1) %46, ptr noundef %48, i64 noundef %49, ptr noundef null)
  %51 = zext i1 %50 to i32
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %57, label %53

53:                                               ; preds = %40
  %54 = getelementptr inbounds %"class.SLAB::slab_cache_t", ptr %9, i32 0, i32 4
  %55 = load i8, ptr %54, align 8, !tbaa !11, !range !15, !noundef !16
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %80

57:                                               ; preds = %53, %40
  %58 = getelementptr inbounds %"class.SLAB::slab_cache_t", ptr %9, i32 0, i32 4
  %59 = load i8, ptr %58, align 8, !tbaa !11, !range !15, !noundef !16
  %60 = trunc i8 %59 to i1
  %61 = zext i1 %60 to i32
  %62 = icmp eq i32 %61, 1
  br i1 %62, label %63, label %71

63:                                               ; preds = %57
  %64 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %66 = call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %65)
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = ptrtoint ptr %67 to i64
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = ptrtoint ptr %69 to i64
  call void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1) %64, ptr noundef %66, i64 noundef %68, i64 noundef %70, i32 noundef 2)
  br label %79

71:                                               ; preds = %57
  %72 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %73 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %74 = call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %73)
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = ptrtoint ptr %75 to i64
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = ptrtoint ptr %77 to i64
  call void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1) %72, ptr noundef %74, i64 noundef %76, i64 noundef %78, i32 noundef 6)
  br label %79

79:                                               ; preds = %71, %63
  br label %82

80:                                               ; preds = %53
  %81 = call i32 (ptr, ...) @err(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 137, ptr noundef @.str.4)
  br label %82

82:                                               ; preds = %80, %79
  br label %83

83:                                               ; preds = %82
  %84 = load i64, ptr %8, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %8, align 8, !tbaa !9
  br label %35, !llvm.loop !17

86:                                               ; preds = %39
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = icmp ne ptr %87, null
  br i1 %88, label %89, label %107

89:                                               ; preds = %86
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = ptrtoint ptr %90 to i64
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.SLAB::chunk_t", ptr %92, i32 0, i32 0
  store i64 %91, ptr %93, align 8, !tbaa !19
  %94 = load i64, ptr %5, align 8, !tbaa !9
  %95 = mul i64 %94, 4096
  %96 = sub i64 %95, 32
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.SLAB::chunk_t", ptr %97, i32 0, i32 1
  store i64 %96, ptr %98, align 8, !tbaa !20
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.SLAB::chunk_t", ptr %100, i32 0, i32 2
  store ptr %99, ptr %101, align 8, !tbaa !21
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.SLAB::chunk_t", ptr %103, i32 0, i32 3
  store ptr %102, ptr %104, align 8, !tbaa !22
  %105 = getelementptr inbounds %"class.SLAB::slab_cache_t", ptr %9, i32 0, i32 3
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4SLAB7chunk_t9push_backEPS0_(ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef %106)
  br label %107

107:                                              ; preds = %89, %86
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret ptr %108
}

declare noundef nonnull align 8 dereferenceable(72) ptr @_ZN3PMM12get_instanceEv() #1

declare noundef i64 @_ZN3PMM18alloc_pages_kernelEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) #1

declare noundef i64 @_ZN3PMM11alloc_pagesEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) #1

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv() #1

declare noundef zeroext i1 @_ZN3VMM8get_mmapEPmmPKv(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef, ptr noundef) #1

declare noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1)) #1

declare void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef, i64 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !14, i64 104}
!12 = !{!"_ZTSN4SLAB12slab_cache_tE", !10, i64 0, !13, i64 8, !13, i64 40, !13, i64 72, !14, i64 104}
!13 = !{!"_ZTSN4SLAB7chunk_tE", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24}
!14 = !{!"bool", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!13, !10, i64 0}
!20 = !{!13, !10, i64 8}
!21 = !{!13, !6, i64 16}
!22 = !{!13, !6, i64 24}


; 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 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1

declare i32 @err(ptr noundef, ...) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4SLAB12slab_cache_t9alloc_pmmEm(ptr noundef nonnull align 8 dereferenceable(105) %0, i64 noundef %1) local_unnamed_addr #2 align 2 {
  %3 = lshr i64 %1, 12
  %4 = and i64 %1, 4095
  %.not = icmp ne i64 %4, 0
  %5 = zext i1 %.not to i64
  %spec.select = add nuw nsw i64 %3, %5
  %6 = getelementptr inbounds i8, ptr %0, i64 104
  %7 = load i8, ptr %6, align 8, !tbaa !5, !range !13, !noundef !14
  %8 = trunc nuw i8 %7 to i1
  %9 = tail call noundef nonnull align 8 dereferenceable(72) ptr @_ZN3PMM12get_instanceEv()
  br i1 %8, label %10, label %12

10:                                               ; preds = %2
  %11 = tail call noundef i64 @_ZN3PMM18alloc_pages_kernelEm(ptr noundef nonnull align 8 dereferenceable(72) %9, i64 noundef %spec.select)
  br label %14

12:                                               ; preds = %2
  %13 = tail call noundef i64 @_ZN3PMM11alloc_pagesEm(ptr noundef nonnull align 8 dereferenceable(72) %9, i64 noundef %spec.select)
  br label %14

14:                                               ; preds = %12, %10
  %.026.in = phi i64 [ %11, %10 ], [ %13, %12 ]
  %.026 = inttoptr i64 %.026.in to ptr
  %.not30 = icmp eq i64 %spec.select, 0
  br i1 %.not30, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %34, %14
  %.not28 = icmp eq i64 %.026.in, 0
  br i1 %.not28, label %43, label %36

.lr.ph:                                           ; preds = %14, %34
  %.029 = phi i64 [ %35, %34 ], [ 0, %14 ]
  %15 = shl nuw i64 %.029, 12
  %16 = getelementptr inbounds i8, ptr %.026, i64 %15
  %17 = ptrtoint ptr %16 to i64
  %18 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %19 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %20 = tail call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %19)
  %21 = tail call noundef zeroext i1 @_ZN3VMM8get_mmapEPmmPKv(ptr noundef nonnull align 1 dereferenceable(1) %18, ptr noundef %20, i64 noundef %17, ptr noundef null)
  %.pre = load i8, ptr %6, align 8, !tbaa !5, !range !13
  %22 = trunc nuw i8 %.pre to i1
  br i1 %21, label %23, label %24

23:                                               ; preds = %.lr.ph
  br i1 %22, label %.thread, label %32

24:                                               ; preds = %.lr.ph
  br i1 %22, label %.thread, label %28

.thread:                                          ; preds = %23, %24
  %25 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %26 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %27 = tail call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %26)
  tail call void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef %27, i64 noundef %.026.in, i64 noundef %.026.in, i32 noundef 2)
  br label %34

28:                                               ; preds = %24
  %29 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %30 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv()
  %31 = tail call noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1) %30)
  tail call void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1) %29, ptr noundef %31, i64 noundef %.026.in, i64 noundef %.026.in, i32 noundef 6)
  br label %34

32:                                               ; preds = %23
  %33 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 137, ptr noundef nonnull @.str.4)
  br label %34

34:                                               ; preds = %32, %28, %.thread
  %35 = add nuw nsw i64 %.029, 1
  %exitcond.not = icmp eq i64 %35, %spec.select
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

36:                                               ; preds = %._crit_edge
  store i64 %.026.in, ptr %.026, align 8, !tbaa !17
  %37 = shl i64 %spec.select, 12
  %38 = add i64 %37, -32
  %39 = getelementptr inbounds i8, ptr %.026, i64 8
  store i64 %38, ptr %39, align 8, !tbaa !18
  %40 = getelementptr inbounds i8, ptr %.026, i64 16
  store ptr %.026, ptr %40, align 8, !tbaa !19
  %41 = getelementptr inbounds i8, ptr %.026, i64 24
  store ptr %.026, ptr %41, align 8, !tbaa !20
  %42 = getelementptr inbounds i8, ptr %0, i64 72
  tail call void @_ZN4SLAB7chunk_t9push_backEPS0_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull %.026)
  br label %43

43:                                               ; preds = %36, %._crit_edge
  ret ptr %.026
}

declare noundef nonnull align 8 dereferenceable(72) ptr @_ZN3PMM12get_instanceEv() local_unnamed_addr #0

declare noundef i64 @_ZN3PMM18alloc_pages_kernelEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) local_unnamed_addr #0

declare noundef i64 @_ZN3PMM11alloc_pagesEm(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef) local_unnamed_addr #0

declare noundef nonnull align 1 dereferenceable(1) ptr @_ZN3VMM12get_instanceEv() local_unnamed_addr #0

declare noundef zeroext i1 @_ZN3VMM8get_mmapEPmmPKv(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

declare noundef ptr @_ZN3VMM7get_pgdEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0

declare void @_ZN3VMM4mmapEPmmmj(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

attributes #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 #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" }

!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 104}
!6 = !{!"_ZTSN4SLAB12slab_cache_tE", !7, i64 0, !10, i64 8, !10, i64 40, !10, i64 72, !12, i64 104}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4SLAB7chunk_tE", !7, i64 0, !7, i64 8, !11, i64 16, !11, i64 24}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!10, !7, i64 0}
!18 = !{!10, !7, i64 8}
!19 = !{!10, !11, i64 16}
!20 = !{!10, !11, i64 24}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass