; LLVM IR from kmilo17pet/QuarkTS-cpp :: src/memory.ll (ZN3qOS3mem4pool5allocEm)

; 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.qOS::mem::pool" = type { ptr, ptr, %"struct.qOS::mem::blockConnect_t", ptr, i64, i64 }
%"struct.qOS::mem::blockConnect_t" = type { ptr, i64 }

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS3mem4pool23insertBlockIntoFreeListEPNS0_14blockConnect_tE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef) #1 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN3qOS3mem4pool5allocEm(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 noundef %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i64 %1, ptr %4, align 8, !tbaa !9
  %13 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  %14 = load i64, ptr %4, align 8, !tbaa !9
  %15 = icmp ugt i64 %14, 0
  br i1 %15, label %16, label %30

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %17 = load i64, ptr %4, align 8, !tbaa !9
  %18 = and i64 %17, 7
  %19 = sub i64 24, %18
  store i64 %19, ptr %6, align 8, !tbaa !9
  %20 = load i64, ptr %4, align 8, !tbaa !9
  %21 = load i64, ptr %6, align 8, !tbaa !9
  %22 = sub i64 -1, %21
  %23 = icmp ugt i64 %20, %22
  br i1 %23, label %24, label %25

24:                                               ; preds = %16
  store i64 0, ptr %4, align 8, !tbaa !9
  br label %29

25:                                               ; preds = %16
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = load i64, ptr %4, align 8, !tbaa !9
  %28 = add i64 %27, %26
  store i64 %28, ptr %4, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %25, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %30

30:                                               ; preds = %29, %2
  %31 = load i64, ptr %4, align 8, !tbaa !9
  %32 = and i64 %31, -9223372036854775808
  %33 = icmp eq i64 0, %32
  br i1 %33, label %34, label %118

34:                                               ; preds = %30
  %35 = load i64, ptr %4, align 8, !tbaa !9
  %36 = icmp ugt i64 %35, 0
  br i1 %36, label %37, label %117

37:                                               ; preds = %34
  %38 = load i64, ptr %4, align 8, !tbaa !9
  %39 = getelementptr inbounds %"class.qOS::mem::pool", ptr %13, i32 0, i32 5
  %40 = load i64, ptr %39, align 8, !tbaa !11
  %41 = icmp ult i64 %38, %40
  br i1 %41, label %42, label %117

42:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %43 = getelementptr inbounds %"class.qOS::mem::pool", ptr %13, i32 0, i32 2
  store ptr %43, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.qOS::mem::pool", ptr %13, i32 0, i32 2
  %45 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %44, i32 0, i32 0
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  store ptr %46, ptr %7, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %60, %42
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %48, i32 0, i32 1
  %50 = load i64, ptr %49, align 8, !tbaa !15
  %51 = load i64, ptr %4, align 8, !tbaa !9
  %52 = icmp ult i64 %50, %51
  br i1 %52, label %53, label %58

53:                                               ; preds = %47
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %54, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = icmp ne ptr null, %56
  br label %58

58:                                               ; preds = %53, %47
  %59 = phi i1 [ false, %47 ], [ %57, %53 ]
  br i1 %59, label %60, label %65

60:                                               ; preds = %58
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %61, ptr %8, align 8, !tbaa !5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %62, i32 0, i32 0
  %64 = load ptr, ptr %63, align 8, !tbaa !16
  store ptr %64, ptr %7, align 8, !tbaa !5
  br label %47, !llvm.loop !17

65:                                               ; preds = %58
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.qOS::mem::pool", ptr %13, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = icmp ne ptr %66, %68
  br i1 %69, label %70, label %116

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 32, ptr %9, align 8, !tbaa !9
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = getelementptr inbounds i8, ptr %73, i64 16
  store ptr %74, ptr %5, align 8, !tbaa !5
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %75, i32 0, i32 0
  %77 = load ptr, ptr %76, align 8, !tbaa !16
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %78, i32 0, i32 0
  store ptr %77, ptr %79, align 8, !tbaa !16
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %80, i32 0, i32 1
  %82 = load i64, ptr %81, align 8, !tbaa !15
  %83 = load i64, ptr %4, align 8, !tbaa !9
  %84 = sub i64 %82, %83
  %85 = icmp ugt i64 %84, 32
  br i1 %85, label %86, label %104

86:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %87, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = load i64, ptr %4, align 8, !tbaa !9
  %90 = getelementptr inbounds i8, ptr %88, i64 %89
  store ptr %90, ptr %12, align 8, !tbaa !5
  %91 = invoke noundef ptr @_ZN3qOS12aligned_castIPNS_3mem14blockConnect_tEPhEET_RT0_(ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %92 unwind label %120

92:                                               ; preds = %86
  store ptr %91, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %93, i32 0, i32 1
  %95 = load i64, ptr %94, align 8, !tbaa !15
  %96 = load i64, ptr %4, align 8, !tbaa !9
  %97 = sub i64 %95, %96
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %98, i32 0, i32 1
  store i64 %97, ptr %99, align 8, !tbaa !15
  %100 = load i64, ptr %4, align 8, !tbaa !9
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %101, i32 0, i32 1
  store i64 %100, ptr %102, align 8, !tbaa !15
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN3qOS3mem4pool23insertBlockIntoFreeListEPNS0_14blockConnect_tE(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef %103) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %104

104:                                              ; preds = %92, %70
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %105, i32 0, i32 1
  %107 = load i64, ptr %106, align 8, !tbaa !15
  %108 = getelementptr inbounds %"class.qOS::mem::pool", ptr %13, i32 0, i32 5
  %109 = load i64, ptr %108, align 8, !tbaa !11
  %110 = sub i64 %109, %107
  store i64 %110, ptr %108, align 8, !tbaa !11
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %111, i32 0, i32 1
  invoke void @_ZN3qOS4bits11multipleSetImmEEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %112, i64 noundef -9223372036854775808)
          to label %113 unwind label %120

113:                                              ; preds = %104
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.qOS::mem::blockConnect_t", ptr %114, i32 0, i32 0
  store ptr null, ptr %115, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %116

116:                                              ; preds = %113, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %117

117:                                              ; preds = %116, %37, %34
  br label %118

118:                                              ; preds = %117, %30
  %119 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret ptr %119

120:                                              ; preds = %104, %86
  %121 = landingpad { ptr, i32 }
          catch ptr null
  %122 = extractvalue { ptr, i32 } %121, 0
  call void @__clang_call_terminate(ptr %122) #5
  unreachable
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 = { noinline noreturn nounwind uwtable "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 }
attributes #5 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 48}
!12 = !{!"_ZTSN3qOS3mem4poolE", !6, i64 8, !13, i64 16, !6, i64 32, !10, i64 40, !10, i64 48}
!13 = !{!"_ZTSN3qOS3mem14blockConnect_tE", !6, i64 0, !10, i64 8}
!14 = !{!12, !6, i64 16}
!15 = !{!13, !10, i64 8}
!16 = !{!13, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !6, i64 8}


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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN3qOS3mem4pool5allocEm(ptr noundef nonnull align 8 dereferenceable(56) %0, i64 noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %.not = icmp eq i64 %1, 0
  br i1 %.not, label %.thread, label %4

4:                                                ; preds = %2
  %5 = and i64 %1, 7
  %6 = add nuw nsw i64 %5, -25
  %7 = icmp uge i64 %6, %1
  %reass.sub = and i64 %1, -8
  %8 = add i64 %reass.sub, 24
  %or.cond = icmp sgt i64 %8, 0
  %or.cond45 = and i1 %7, %or.cond
  br i1 %or.cond45, label %9, label %.thread

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = icmp ult i64 %8, %11
  br i1 %12, label %13, label %.thread

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load ptr, ptr %14, align 8, !tbaa !12
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = load i64, ptr %16, align 8, !tbaa !13
  %18 = icmp ult i64 %17, %8
  br i1 %18, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %13
  %19 = load ptr, ptr %15, align 8, !tbaa !14
  %.not4158 = icmp eq ptr %19, null
  br i1 %.not4158, label %.critedge, label %.lr.ph60, !llvm.loop !15

.lr.ph60:                                         ; preds = %.lr.ph.preheader, %.lr.ph
  %20 = phi ptr [ %24, %.lr.ph ], [ %19, %.lr.ph.preheader ]
  %.0364959 = phi ptr [ %20, %.lr.ph ], [ %15, %.lr.ph.preheader ]
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !13
  %23 = icmp ult i64 %22, %8
  br i1 %23, label %.lr.ph, label %.critedge, !llvm.loop !15

.lr.ph:                                           ; preds = %.lr.ph60
  %24 = load ptr, ptr %20, align 8, !tbaa !14
  %.not41 = icmp eq ptr %24, null
  br i1 %.not41, label %.critedge, label %.lr.ph60, !llvm.loop !15

.critedge:                                        ; preds = %.lr.ph60, %.lr.ph, %.lr.ph.preheader, %13
  %.036.lcssa47 = phi ptr [ %15, %13 ], [ %15, %.lr.ph.preheader ], [ %20, %.lr.ph ], [ %20, %.lr.ph60 ]
  %.037.lcssa = phi ptr [ %14, %13 ], [ %14, %.lr.ph.preheader ], [ %.0364959, %.lr.ph ], [ %.0364959, %.lr.ph60 ]
  %.lcssa = phi i64 [ %17, %13 ], [ %17, %.lr.ph.preheader ], [ %22, %.lr.ph ], [ %22, %.lr.ph60 ]
  %25 = getelementptr inbounds i8, ptr %.036.lcssa47, i64 8
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !17
  %.not42 = icmp eq ptr %.036.lcssa47, %27
  br i1 %.not42, label %.thread, label %28

28:                                               ; preds = %.critedge
  %29 = load ptr, ptr %.037.lcssa, align 8, !tbaa !14
  %30 = getelementptr inbounds i8, ptr %29, i64 16
  %31 = load ptr, ptr %.036.lcssa47, align 8, !tbaa !14
  store ptr %31, ptr %.037.lcssa, align 8, !tbaa !14
  %32 = sub i64 %.lcssa, %8
  %33 = icmp ugt i64 %32, 32
  br i1 %33, label %34, label %40

34:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  %35 = getelementptr inbounds i8, ptr %.036.lcssa47, i64 %8
  store ptr %35, ptr %3, align 8, !tbaa !18
  %36 = call noundef ptr @_ZN3qOS12aligned_castIPNS_3mem14blockConnect_tEPhEET_RT0_(ptr noundef nonnull align 8 dereferenceable(8) %3)
  %37 = load i64, ptr %25, align 8, !tbaa !13
  %38 = sub i64 %37, %8
  %39 = getelementptr inbounds i8, ptr %36, i64 8
  store i64 %38, ptr %39, align 8, !tbaa !13
  store i64 %8, ptr %25, align 8, !tbaa !13
  call void @_ZN3qOS3mem4pool23insertBlockIntoFreeListEPNS0_14blockConnect_tE(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef %36) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  %.pre = load i64, ptr %10, align 8, !tbaa !5
  br label %40

40:                                               ; preds = %34, %28
  %41 = phi i64 [ %.pre, %34 ], [ %11, %28 ]
  %42 = load i64, ptr %25, align 8, !tbaa !13
  %43 = sub i64 %41, %42
  store i64 %43, ptr %10, align 8, !tbaa !5
  call void @_ZN3qOS4bits11multipleSetImmEEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 noundef -9223372036854775808)
  store ptr null, ptr %.036.lcssa47, align 8, !tbaa !14
  br label %.thread

.thread:                                          ; preds = %4, %2, %.critedge, %40, %9
  %.135 = phi ptr [ null, %9 ], [ %30, %40 ], [ null, %.critedge ], [ null, %2 ], [ null, %4 ]
  ret ptr %.135
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3qOS4bits11multipleSetImmEEvRT_T0_(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 = { 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, !11, i64 48}
!6 = !{!"_ZTSN3qOS3mem4poolE", !7, i64 8, !10, i64 16, !7, i64 32, !11, i64 40, !11, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3qOS3mem14blockConnect_tE", !7, i64 0, !11, i64 8}
!11 = !{!"long", !8, i64 0}
!12 = !{!6, !7, i64 16}
!13 = !{!10, !11, i64 8}
!14 = !{!10, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!6, !7, i64 8}
!18 = !{!7, !7, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass