; LLVM IR from stan-dev/math :: lib/tbb_2020.3/src/test/test_malloc_compliance.ll (ZN8CMemTest11ZerofillingEv)

; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%class.CMemTest = type { i32, i8, ptr }
%struct.TestStruct = type { i8, double, [100 x i8], ptr, %"class.std::vector", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str = external hidden unnamed_addr constant [98 x i8], align 1
@Tfree = external dso_local global ptr, align 8
@error_occurred = external dso_local global i8, align 1
@__FUNCTION__._ZN8CMemTest11ZerofillingEv = external hidden unnamed_addr constant [12 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL8strError = external hidden constant [7 x i8], align 1
@_ZL5strOk = external hidden constant [5 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z7Tcallocmm(i64 noundef, i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z7NonZeroPvm(ptr noundef, i64 noundef) #1

; Function Attrs: nounwind
declare i32 @rand() #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8CMemTest11ZerofillingEv(ptr noundef nonnull align 8 dereferenceable(16) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %9 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 0
  store i32 0, ptr %9, align 8, !tbaa !9
  %10 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 1
  %11 = load i8, ptr %10, align 4, !tbaa !13, !range !14, !noundef !15
  %12 = trunc i8 %11 to i1
  br i1 %12, label %13, label %15

13:                                               ; preds = %1
  %14 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str, i64 noundef 687, ptr noundef @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %14, ptr noundef @.str.61)
  br label %15

15:                                               ; preds = %13, %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !16
  br label %16

16:                                               ; preds = %56, %15
  %17 = load i32, ptr %5, align 4, !tbaa !16
  %18 = icmp slt i32 %17, 10000
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %59

20:                                               ; preds = %16
  %21 = call i32 @rand() #4
  %22 = sext i32 %21 to i64
  %23 = urem i64 %22, 1000
  store i64 %23, ptr %4, align 8, !tbaa !17
  %24 = load i64, ptr %4, align 8, !tbaa !17
  %25 = call noundef ptr @_Z7Tcallocmm(i64 noundef %24, i64 noundef 160)
  store ptr %25, ptr %3, align 8, !tbaa !5
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = icmp eq ptr null, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %20
  br label %56

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

30:                                               ; preds = %50, %29
  %31 = load i64, ptr %7, align 8, !tbaa !17
  %32 = load i64, ptr %4, align 8, !tbaa !17
  %33 = icmp ult i64 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %53

35:                                               ; preds = %30
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load i64, ptr %7, align 8, !tbaa !17
  %38 = getelementptr inbounds %struct.TestStruct, ptr %36, i64 %37
  %39 = call noundef i64 @_Z7NonZeroPvm(ptr noundef %38, i64 noundef 160)
  %40 = icmp ne i64 %39, 0
  br i1 %40, label %41, label %49

41:                                               ; preds = %35
  %42 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 0
  %43 = load i32, ptr %42, align 8, !tbaa !9
  %44 = add i32 %43, 1
  store i32 %44, ptr %42, align 8, !tbaa !9
  %45 = call noundef zeroext i1 @_ZN8CMemTest17ShouldReportErrorEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
  br i1 %45, label %46, label %48

46:                                               ; preds = %41
  %47 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str, i64 noundef 700, ptr noundef @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %47, ptr noundef @.str.62)
  br label %48

48:                                               ; preds = %46, %41
  br label %49

49:                                               ; preds = %48, %35
  br label %50

50:                                               ; preds = %49
  %51 = load i64, ptr %7, align 8, !tbaa !17
  %52 = add i64 %51, 1
  store i64 %52, ptr %7, align 8, !tbaa !17
  br label %30, !llvm.loop !19

53:                                               ; preds = %34
  %54 = load ptr, ptr @Tfree, align 8, !tbaa !5
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  call void %54(ptr noundef %55)
  br label %56

56:                                               ; preds = %53, %28
  %57 = load i32, ptr %5, align 4, !tbaa !16
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %5, align 4, !tbaa !16
  br label %16, !llvm.loop !21

59:                                               ; preds = %19
  %60 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 0
  %61 = load i32, ptr %60, align 8, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %59
  %64 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str, i64 noundef 705, ptr noundef @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %64, ptr noundef @.str.63, ptr noundef @_ZL8strError)
  br label %72

65:                                               ; preds = %59
  %66 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 1
  %67 = load i8, ptr %66, align 4, !tbaa !13, !range !14, !noundef !15
  %68 = trunc i8 %67 to i1
  br i1 %68, label %69, label %71

69:                                               ; preds = %65
  %70 = call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef @.str, i64 noundef 706, ptr noundef @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %70, ptr noundef @.str.63, ptr noundef @_ZL5strOk)
  br label %71

71:                                               ; preds = %69, %65
  br label %72

72:                                               ; preds = %71, %63
  %73 = getelementptr inbounds %class.CMemTest, ptr %8, i32 0, i32 0
  %74 = load i32, ptr %73, align 8, !tbaa !9
  %75 = icmp ugt i32 %74, 0
  %76 = zext i1 %75 to i32
  %77 = load i8, ptr @error_occurred, align 1, !tbaa !22, !range !14, !noundef !15
  %78 = trunc i8 %77 to i1
  %79 = zext i1 %78 to i32
  %80 = or i32 %79, %76
  %81 = icmp ne i32 %80, 0
  %82 = zext i1 %81 to i8
  store i8 %82, ptr @error_occurred, align 1, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8CMemTest17ShouldReportErrorEv(ptr noundef nonnull align 8 dereferenceable(16)) #1 align 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 = { 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 = { 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 #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, !11, i64 0}
!10 = !{!"_ZTS8CMemTest", !11, i64 0, !12, i64 4, !6, i64 8}
!11 = !{!"int", !7, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !12, i64 4}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!11, !11, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = !{!12, !12, i64 0}


; 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.Harness::internal::Tracer" = type <{ i32, [4 x i8], ptr, ptr, i64, [8 x i8] }>
%struct.TestStruct = type { i8, double, [100 x i8], ptr, %"class.std::vector", double }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN7Harness8internalL6tracerE = external hidden global %"class.Harness::internal::Tracer", align 8
@.str = external hidden unnamed_addr constant [98 x i8], align 1
@Tfree = external dso_local local_unnamed_addr global ptr, align 8
@error_occurred = external dso_local local_unnamed_addr global i8, align 1
@__FUNCTION__._ZN8CMemTest11ZerofillingEv = external hidden unnamed_addr constant [12 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZL8strError = external hidden constant [7 x i8], align 1
@_ZL5strOk = external hidden constant [5 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef, ...) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z7Tcallocmm(i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Z7NonZeroPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8CMemTest11ZerofillingEv(ptr noundef nonnull align 8 dereferenceable(16) %0) local_unnamed_addr #1 align 2 {
  store i32 0, ptr %0, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 4
  %3 = load i8, ptr %2, align 4, !tbaa !12, !range !13, !noundef !14
  %4 = trunc nuw i8 %3 to i1
  br i1 %4, label %5, label %.preheader17

.preheader17:                                     ; preds = %5, %1
  br label %9

5:                                                ; preds = %1
  %6 = tail call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef 687, ptr noundef nonnull @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  tail call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull @.str.61)
  br label %.preheader17

7:                                                ; preds = %27
  %8 = load i32, ptr %0, align 8, !tbaa !5
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %29, label %.sink.split

9:                                                ; preds = %.preheader17, %27
  %.01014 = phi i32 [ %28, %27 ], [ 0, %.preheader17 ]
  %10 = tail call i32 @rand() #3
  %11 = sext i32 %10 to i64
  %12 = urem i64 %11, 1000
  %13 = tail call noundef ptr @_Z7Tcallocmm(i64 noundef %12, i64 noundef 160)
  %14 = icmp eq ptr %13, null
  br i1 %14, label %27, label %.preheader

.preheader:                                       ; preds = %9
  %.not15 = icmp eq i64 %12, 0
  br i1 %.not15, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %24, %.preheader
  %15 = load ptr, ptr @Tfree, align 8, !tbaa !15
  tail call void %15(ptr noundef nonnull %13)
  br label %27

.lr.ph:                                           ; preds = %.preheader, %24
  %.013 = phi i64 [ %25, %24 ], [ 0, %.preheader ]
  %16 = getelementptr inbounds %struct.TestStruct, ptr %13, i64 %.013
  %17 = tail call noundef i64 @_Z7NonZeroPvm(ptr noundef nonnull %16, i64 noundef 160)
  %.not12 = icmp eq i64 %17, 0
  br i1 %.not12, label %24, label %18

18:                                               ; preds = %.lr.ph
  %19 = load i32, ptr %0, align 8, !tbaa !5
  %20 = add i32 %19, 1
  store i32 %20, ptr %0, align 8, !tbaa !5
  %21 = tail call noundef zeroext i1 @_ZN8CMemTest17ShouldReportErrorEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  br i1 %21, label %22, label %24

22:                                               ; preds = %18
  %23 = tail call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef 700, ptr noundef nonnull @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  tail call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %23, ptr noundef nonnull @.str.62)
  br label %24

24:                                               ; preds = %.lr.ph, %22, %18
  %25 = add nuw nsw i64 %.013, 1
  %26 = icmp ult i64 %25, %12
  br i1 %26, label %.lr.ph, label %._crit_edge, !llvm.loop !16

27:                                               ; preds = %9, %._crit_edge
  %28 = add nuw nsw i32 %.01014, 1
  %exitcond.not = icmp eq i32 %28, 10000
  br i1 %exitcond.not, label %7, label %9, !llvm.loop !18

29:                                               ; preds = %7
  %30 = load i8, ptr %2, align 4, !tbaa !12, !range !13, !noundef !14
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %.sink.split, label %33

.sink.split:                                      ; preds = %29, %7
  %.sink16 = phi i64 [ 705, %7 ], [ 706, %29 ]
  %_ZL5strOk.sink = phi ptr [ @_ZL8strError, %7 ], [ @_ZL5strOk, %29 ]
  %32 = tail call noundef ptr @_ZN7Harness8internal6Tracer14set_trace_infoEiPKcmS3_(ptr noundef nonnull align 8 dereferenceable(33) @_ZN7Harness8internalL6tracerE, i32 noundef 0, ptr noundef nonnull @.str, i64 noundef %.sink16, ptr noundef nonnull @__FUNCTION__._ZN8CMemTest11ZerofillingEv)
  tail call void (ptr, ptr, ...) @_ZN7Harness8internal6Tracer5traceEPKcz(ptr noundef nonnull align 8 dereferenceable(33) %32, ptr noundef nonnull @.str.63, ptr noundef nonnull %_ZL5strOk.sink)
  br label %33

33:                                               ; preds = %.sink.split, %29
  %34 = load i32, ptr %0, align 8, !tbaa !5
  %35 = icmp ne i32 %34, 0
  %36 = load i8, ptr @error_occurred, align 1, !tbaa !19, !range !13, !noundef !14
  %37 = zext i1 %35 to i8
  %38 = or i8 %36, %37
  store i8 %38, ptr @error_occurred, align 1, !tbaa !19
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8CMemTest17ShouldReportErrorEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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 #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, !7, i64 0}
!6 = !{!"_ZTS8CMemTest", !7, i64 0, !10, i64 4, !11, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!6, !10, i64 4}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!10, !10, i64 0}


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