; LLVM IR from UtkarshPathrabe/Competitive-Coding :: HackerRank Solutions/Data Structures/Heap/QHEAP1.ll (Z10delete_vali)

; 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.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@value_index = external dso_local global %"class.std::map", align 8
@heap = external dso_local global [500002 x i32], align 16
@heap_size = external dso_local global i32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10delete_vali(i32 noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  %10 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %11 = load i32, ptr %10, align 4, !tbaa !5
  store i32 %11, ptr %3, align 4, !tbaa !5
  %12 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %2)
  store i32 0, ptr %12, align 4, !tbaa !5
  %13 = load i32, ptr %3, align 4, !tbaa !5
  %14 = load i32, ptr @heap_size, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %15
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %16)
  store i32 %13, ptr %17, align 4, !tbaa !5
  %18 = load i32, ptr @heap_size, align 4, !tbaa !5
  %19 = add nsw i32 %18, -1
  store i32 %19, ptr @heap_size, align 4, !tbaa !5
  %20 = sext i32 %18 to i64
  %21 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %20
  %22 = load i32, ptr %21, align 4, !tbaa !5
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %24
  store i32 %22, ptr %25, align 4, !tbaa !5
  br label %26

26:                                               ; preds = %148, %1
  br label %27

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #2
  %28 = load i32, ptr %3, align 4, !tbaa !5
  %29 = mul nsw i32 2, %28
  store i32 %29, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = mul nsw i32 2, %30
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %5, align 4, !tbaa !5
  %33 = load i32, ptr %4, align 4, !tbaa !5
  %34 = load i32, ptr @heap_size, align 4, !tbaa !5
  %35 = icmp sle i32 %33, %34
  br i1 %35, label %36, label %144

36:                                               ; preds = %27
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = load i32, ptr @heap_size, align 4, !tbaa !5
  %39 = icmp sle i32 %37, %38
  br i1 %39, label %40, label %104

40:                                               ; preds = %36
  %41 = load i32, ptr %3, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp sgt i32 %44, %48
  br i1 %49, label %60, label %50

50:                                               ; preds = %40
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = load i32, ptr %5, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = icmp sgt i32 %54, %58
  br i1 %59, label %60, label %102

60:                                               ; preds = %50, %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #2
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = load i32, ptr %5, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = icmp slt i32 %64, %68
  br i1 %69, label %70, label %72

70:                                               ; preds = %60
  %71 = load i32, ptr %4, align 4, !tbaa !5
  br label %74

72:                                               ; preds = %60
  %73 = load i32, ptr %5, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %72, %70
  %75 = phi i32 [ %71, %70 ], [ %73, %72 ]
  store i32 %75, ptr %6, align 4, !tbaa !5
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %78
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %79)
  store i32 %76, ptr %80, align 4, !tbaa !5
  %81 = load i32, ptr %6, align 4, !tbaa !5
  %82 = load i32, ptr %3, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %83
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %84)
  store i32 %81, ptr %85, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  store i32 %89, ptr %7, align 4, !tbaa !5
  %90 = load i32, ptr %6, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = load i32, ptr %3, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %95
  store i32 %93, ptr %96, align 4, !tbaa !5
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = load i32, ptr %6, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %99
  store i32 %97, ptr %100, align 4, !tbaa !5
  %101 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %101, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #2
  br label %103

102:                                              ; preds = %50
  store i32 3, ptr %8, align 4
  br label %146

103:                                              ; preds = %74
  br label %143

104:                                              ; preds = %36
  %105 = load i32, ptr %3, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = icmp sgt i32 %108, %112
  br i1 %113, label %114, label %141

114:                                              ; preds = %104
  %115 = load i32, ptr %3, align 4, !tbaa !5
  %116 = load i32, ptr %4, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %117
  %119 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %118)
  store i32 %115, ptr %119, align 4, !tbaa !5
  %120 = load i32, ptr %4, align 4, !tbaa !5
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %122
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %123)
  store i32 %120, ptr %124, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  %125 = load i32, ptr %3, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !5
  store i32 %128, ptr %9, align 4, !tbaa !5
  %129 = load i32, ptr %4, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = load i32, ptr %3, align 4, !tbaa !5
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %134
  store i32 %132, ptr %135, align 4, !tbaa !5
  %136 = load i32, ptr %9, align 4, !tbaa !5
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %138
  store i32 %136, ptr %139, align 4, !tbaa !5
  %140 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %140, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  br label %142

141:                                              ; preds = %104
  store i32 3, ptr %8, align 4
  br label %146

142:                                              ; preds = %114
  br label %143

143:                                              ; preds = %142, %103
  br label %145

144:                                              ; preds = %27
  store i32 3, ptr %8, align 4
  br label %146

145:                                              ; preds = %143
  store i32 0, ptr %8, align 4
  br label %146

146:                                              ; preds = %145, %144, %141, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #2
  %147 = load i32, ptr %8, align 4
  switch i32 %147, label %150 [
    i32 0, label %148
    i32 3, label %149
  ]

148:                                              ; preds = %146
  br label %26, !llvm.loop !9

149:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void

150:                                              ; preds = %146
  unreachable
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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

%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, int>, std::_Select1st<std::pair<const int, int>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@value_index = external dso_local global %"class.std::map", align 8
@heap = external dso_local global [500002 x i32], align 16
@heap_size = external dso_local local_unnamed_addr global i32, align 4

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z10delete_vali(i32 noundef %0) local_unnamed_addr #0 {
  %2 = alloca i32, align 4
  store i32 %0, ptr %2, align 4, !tbaa !5
  %3 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %2)
  store i32 0, ptr %5, align 4, !tbaa !5
  %6 = load i32, ptr @heap_size, align 4, !tbaa !5
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %7
  %9 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i32 %4, ptr %9, align 4, !tbaa !5
  %10 = load i32, ptr @heap_size, align 4, !tbaa !5
  %11 = add nsw i32 %10, -1
  store i32 %11, ptr @heap_size, align 4, !tbaa !5
  %12 = sext i32 %10 to i64
  %13 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %12
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = sext i32 %4 to i64
  %16 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %15
  store i32 %14, ptr %16, align 4, !tbaa !5
  %17 = shl nsw i32 %4, 1
  %.not46.not = icmp slt i32 %17, %10
  br i1 %.not46.not, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1, %35
  %18 = phi i32 [ %41, %35 ], [ %11, %1 ]
  %19 = phi i32 [ %40, %35 ], [ %17, %1 ]
  %.047 = phi i32 [ %.sink, %35 ], [ %4, %1 ]
  %20 = or disjoint i32 %19, 1
  %.not42.not = icmp slt i32 %19, %18
  %21 = sext i32 %.047 to i64
  %22 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %21
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sext i32 %19 to i64
  %25 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %24
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = icmp sgt i32 %23, %26
  br i1 %.not42.not, label %28, label %34

28:                                               ; preds = %.lr.ph
  %.phi.trans.insert = sext i32 %20 to i64
  %.phi.trans.insert51 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %.phi.trans.insert
  %.pre = load i32, ptr %.phi.trans.insert51, align 4, !tbaa !5
  %29 = icmp sgt i32 %23, %.pre
  %or.cond = select i1 %27, i1 true, i1 %29
  br i1 %or.cond, label %._crit_edge50, label %._crit_edge

._crit_edge50:                                    ; preds = %28
  %30 = icmp slt i32 %26, %.pre
  %31 = select i1 %30, i32 %19, i32 %20
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [500002 x i32], ptr @heap, i64 0, i64 %32
  br label %35

34:                                               ; preds = %.lr.ph
  br i1 %27, label %35, label %._crit_edge

35:                                               ; preds = %34, %._crit_edge50
  %.sink57 = phi ptr [ %33, %._crit_edge50 ], [ %25, %34 ]
  %.sink = phi i32 [ %31, %._crit_edge50 ], [ %19, %34 ]
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %.sink57)
  store i32 %.047, ptr %36, align 4, !tbaa !5
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEEixERS3_(ptr noundef nonnull align 8 dereferenceable(48) @value_index, ptr noundef nonnull align 4 dereferenceable(4) %22)
  store i32 %.sink, ptr %37, align 4, !tbaa !5
  %38 = load i32, ptr %22, align 4, !tbaa !5
  %39 = load i32, ptr %.sink57, align 4, !tbaa !5
  store i32 %39, ptr %22, align 4, !tbaa !5
  store i32 %38, ptr %.sink57, align 4, !tbaa !5
  %40 = shl nsw i32 %.sink, 1
  %41 = load i32, ptr @heap_size, align 4, !tbaa !5
  %.not = icmp sgt i32 %40, %41
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %35, %34, %28, %1
  ret void
}

attributes #0 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass