; LLVM IR from libtcod/libtcod :: src/libtcod/bsp.ll (ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff)

; 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.TCODBsp = type <{ ptr, %class.TCODTree, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%class.TCODTree = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK7TCODBsp8getRightEv(ptr noundef nonnull align 8 dereferenceable(54)) #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
declare dso_local void @_ZN7TCODBsp9splitOnceEbi(ptr noundef nonnull align 8 dereferenceable(54), i1 noundef zeroext, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff(ptr noundef nonnull align 8 dereferenceable(54) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, float noundef %6) #2 align 2 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i32 %2, ptr %10, align 4, !tbaa !9
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store float %5, ptr %13, align 4, !tbaa !11
  store float %6, ptr %14, align 4, !tbaa !11
  %17 = load ptr, ptr %8, align 8
  %18 = load i32, ptr %10, align 4, !tbaa !9
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %32, label %20

20:                                               ; preds = %7
  %21 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 4
  %22 = load i32, ptr %21, align 8, !tbaa !13
  %23 = load i32, ptr %11, align 4, !tbaa !9
  %24 = mul nsw i32 2, %23
  %25 = icmp slt i32 %22, %24
  br i1 %25, label %26, label %33

26:                                               ; preds = %20
  %27 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 5
  %28 = load i32, ptr %27, align 4, !tbaa !17
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = mul nsw i32 2, %29
  %31 = icmp slt i32 %28, %30
  br i1 %31, label %32, label %33

32:                                               ; preds = %26, %7
  br label %129

33:                                               ; preds = %26, %20
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %38, label %36

36:                                               ; preds = %33
  %37 = call noundef ptr @_ZN10TCODRandom11getInstanceEv()
  store ptr %37, ptr %9, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %36, %33
  %39 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 5
  %40 = load i32, ptr %39, align 4, !tbaa !17
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = mul nsw i32 2, %41
  %43 = icmp slt i32 %40, %42
  br i1 %43, label %54, label %44

44:                                               ; preds = %38
  %45 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 4
  %46 = load i32, ptr %45, align 8, !tbaa !13
  %47 = sitofp i32 %46 to float
  %48 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 5
  %49 = load i32, ptr %48, align 4, !tbaa !17
  %50 = sitofp i32 %49 to float
  %51 = load float, ptr %13, align 4, !tbaa !11
  %52 = fmul float %50, %51
  %53 = fcmp ogt float %47, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %44, %38
  store i8 0, ptr %15, align 1, !tbaa !18
  br label %78

55:                                               ; preds = %44
  %56 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 4
  %57 = load i32, ptr %56, align 8, !tbaa !13
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = mul nsw i32 2, %58
  %60 = icmp slt i32 %57, %59
  br i1 %60, label %71, label %61

61:                                               ; preds = %55
  %62 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 5
  %63 = load i32, ptr %62, align 4, !tbaa !17
  %64 = sitofp i32 %63 to float
  %65 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 4
  %66 = load i32, ptr %65, align 8, !tbaa !13
  %67 = sitofp i32 %66 to float
  %68 = load float, ptr %14, align 4, !tbaa !11
  %69 = fmul float %67, %68
  %70 = fcmp ogt float %64, %69
  br i1 %70, label %71, label %72

71:                                               ; preds = %61, %55
  store i8 1, ptr %15, align 1, !tbaa !18
  br label %77

72:                                               ; preds = %61
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %73, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %75 = icmp eq i32 %74, 0
  %76 = zext i1 %75 to i8
  store i8 %76, ptr %15, align 1, !tbaa !18
  br label %77

77:                                               ; preds = %72, %71
  br label %78

78:                                               ; preds = %77, %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %79 = load i8, ptr %15, align 1, !tbaa !18, !range !19, !noundef !20
  %80 = trunc i8 %79 to i1
  br i1 %80, label %81, label %95

81:                                               ; preds = %78
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !21
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = add nsw i32 %84, %85
  %87 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 3
  %88 = load i32, ptr %87, align 4, !tbaa !21
  %89 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 5
  %90 = load i32, ptr %89, align 4, !tbaa !17
  %91 = add nsw i32 %88, %90
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = sub nsw i32 %91, %92
  %94 = call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %82, i32 noundef %86, i32 noundef %93, i32 noundef 0)
  store i32 %94, ptr %16, align 4, !tbaa !9
  br label %109

95:                                               ; preds = %78
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 2
  %98 = load i32, ptr %97, align 8, !tbaa !22
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = add nsw i32 %98, %99
  %101 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 2
  %102 = load i32, ptr %101, align 8, !tbaa !22
  %103 = getelementptr inbounds %class.TCODBsp, ptr %17, i32 0, i32 4
  %104 = load i32, ptr %103, align 8, !tbaa !13
  %105 = add nsw i32 %102, %104
  %106 = load i32, ptr %11, align 4, !tbaa !9
  %107 = sub nsw i32 %105, %106
  %108 = call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %96, i32 noundef %100, i32 noundef %107, i32 noundef 0)
  store i32 %108, ptr %16, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %95, %81
  %110 = load i8, ptr %15, align 1, !tbaa !18, !range !19, !noundef !20
  %111 = trunc i8 %110 to i1
  %112 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN7TCODBsp9splitOnceEbi(ptr noundef nonnull align 8 dereferenceable(54) %17, i1 noundef zeroext %111, i32 noundef %112)
  %113 = call noundef ptr @_ZNK7TCODBsp7getLeftEv(ptr noundef nonnull align 8 dereferenceable(54) %17)
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = load i32, ptr %10, align 4, !tbaa !9
  %116 = sub nsw i32 %115, 1
  %117 = load i32, ptr %11, align 4, !tbaa !9
  %118 = load i32, ptr %12, align 4, !tbaa !9
  %119 = load float, ptr %13, align 4, !tbaa !11
  %120 = load float, ptr %14, align 4, !tbaa !11
  call void @_ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff(ptr noundef nonnull align 8 dereferenceable(54) %113, ptr noundef %114, i32 noundef %116, i32 noundef %117, i32 noundef %118, float noundef %119, float noundef %120)
  %121 = call noundef ptr @_ZNK7TCODBsp8getRightEv(ptr noundef nonnull align 8 dereferenceable(54) %17)
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = sub nsw i32 %123, 1
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = load float, ptr %13, align 4, !tbaa !11
  %128 = load float, ptr %14, align 4, !tbaa !11
  call void @_ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff(ptr noundef nonnull align 8 dereferenceable(54) %121, ptr noundef %122, i32 noundef %124, i32 noundef %125, i32 noundef %126, float noundef %127, float noundef %128)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  br label %129

129:                                              ; preds = %109, %32
  ret void
}

declare noundef ptr @_ZN10TCODRandom11getInstanceEv() #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef) #4 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { inlinehint 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 #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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 40}
!14 = !{!"_ZTS7TCODBsp", !15, i64 8, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !16, i64 52, !7, i64 53}
!15 = !{!"_ZTS8TCODTree", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!"bool", !7, i64 0}
!17 = !{!14, !10, i64 44}
!18 = !{!16, !16, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!14, !10, i64 36}
!22 = !{!14, !10, i64 32}


; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNK7TCODBsp7getLeftEv(ptr noundef nonnull align 8 dereferenceable(54)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7TCODBsp9splitOnceEbi(ptr noundef nonnull align 8 dereferenceable(54), i1 noundef zeroext, i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff(ptr noundef nonnull align 8 dereferenceable(54) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, float noundef %6) local_unnamed_addr #1 align 2 {
  %8 = icmp eq i32 %2, 0
  br i1 %8, label %tailrecurse._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %7
  %9 = shl nsw i32 %3, 1
  %10 = shl nsw i32 %4, 1
  br label %11

11:                                               ; preds = %.lr.ph, %tailrecurse
  %.tr4452 = phi i32 [ %2, %.lr.ph ], [ %53, %tailrecurse ]
  %.tr4351 = phi ptr [ %1, %.lr.ph ], [ %.031, %tailrecurse ]
  %.tr50 = phi ptr [ %0, %.lr.ph ], [ %54, %tailrecurse ]
  %12 = getelementptr inbounds i8, ptr %.tr50, i64 40
  %13 = load i32, ptr %12, align 8, !tbaa !5
  %14 = icmp slt i32 %13, %9
  br i1 %14, label %15, label %19

15:                                               ; preds = %11
  %16 = getelementptr inbounds i8, ptr %.tr50, i64 44
  %17 = load i32, ptr %16, align 4, !tbaa !13
  %18 = icmp slt i32 %17, %10
  br i1 %18, label %tailrecurse._crit_edge, label %19

19:                                               ; preds = %15, %11
  %.not = icmp eq ptr %.tr4351, null
  br i1 %.not, label %20, label %22

20:                                               ; preds = %19
  %21 = tail call noundef ptr @_ZN10TCODRandom11getInstanceEv()
  %.pre54.pre = load i32, ptr %12, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %20, %19
  %.pre54 = phi i32 [ %13, %19 ], [ %.pre54.pre, %20 ]
  %.031 = phi ptr [ %.tr4351, %19 ], [ %21, %20 ]
  %23 = getelementptr inbounds i8, ptr %.tr50, i64 44
  %24 = load i32, ptr %23, align 4, !tbaa !13
  %25 = icmp slt i32 %24, %10
  br i1 %25, label %.thread, label %26

26:                                               ; preds = %22
  %27 = sitofp i32 %.pre54 to float
  %28 = sitofp i32 %24 to float
  %29 = fmul float %28, %5
  %30 = fcmp olt float %29, %27
  br i1 %30, label %.thread, label %31

31:                                               ; preds = %26
  %32 = icmp slt i32 %.pre54, %9
  %33 = fmul float %27, %6
  %34 = fcmp olt float %33, %28
  %or.cond = or i1 %32, %34
  br i1 %or.cond, label %.thread40, label %35

35:                                               ; preds = %31
  %36 = tail call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %.031, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %..thread40_crit_edge, label %..thread_crit_edge

..thread_crit_edge:                               ; preds = %35
  %.pre53 = load i32, ptr %12, align 8, !tbaa !5
  br label %.thread

..thread40_crit_edge:                             ; preds = %35
  %.pre = load i32, ptr %23, align 4, !tbaa !13
  br label %.thread40

.thread40:                                        ; preds = %..thread40_crit_edge, %31
  %38 = phi i32 [ %.pre, %..thread40_crit_edge ], [ %24, %31 ]
  %39 = getelementptr inbounds i8, ptr %.tr50, i64 36
  %40 = load i32, ptr %39, align 4, !tbaa !14
  %41 = add nsw i32 %40, %4
  %42 = sub i32 %40, %4
  %43 = add i32 %42, %38
  %44 = tail call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %.031, i32 noundef %41, i32 noundef %43, i32 noundef 0)
  br label %tailrecurse

.thread:                                          ; preds = %..thread_crit_edge, %22, %26
  %45 = phi i32 [ %.pre53, %..thread_crit_edge ], [ %.pre54, %22 ], [ %.pre54, %26 ]
  %46 = getelementptr inbounds i8, ptr %.tr50, i64 32
  %47 = load i32, ptr %46, align 8, !tbaa !15
  %48 = add nsw i32 %47, %3
  %49 = sub i32 %47, %3
  %50 = add i32 %49, %45
  %51 = tail call noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16) %.031, i32 noundef %48, i32 noundef %50, i32 noundef 0)
  br label %tailrecurse

tailrecurse:                                      ; preds = %.thread, %.thread40
  %.03038 = phi i1 [ true, %.thread40 ], [ false, %.thread ]
  %.0 = phi i32 [ %44, %.thread40 ], [ %51, %.thread ]
  tail call void @_ZN7TCODBsp9splitOnceEbi(ptr noundef nonnull align 8 dereferenceable(54) %.tr50, i1 noundef zeroext %.03038, i32 noundef %.0)
  %52 = tail call noundef ptr @_ZNK7TCODBsp7getLeftEv(ptr noundef nonnull align 8 dereferenceable(54) %.tr50)
  %53 = add nsw i32 %.tr4452, -1
  tail call void @_ZN7TCODBsp14splitRecursiveEP10TCODRandomiiiff(ptr noundef nonnull align 8 dereferenceable(54) %52, ptr noundef %.031, i32 noundef %53, i32 noundef %3, i32 noundef %4, float noundef %5, float noundef %6)
  %54 = tail call noundef ptr @_ZNK7TCODBsp8getRightEv(ptr noundef nonnull align 8 dereferenceable(54) %.tr50)
  %55 = icmp eq i32 %53, 0
  br i1 %55, label %tailrecurse._crit_edge, label %11

tailrecurse._crit_edge:                           ; preds = %15, %tailrecurse, %7
  ret void
}

declare noundef ptr @_ZN10TCODRandom11getInstanceEv() local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN10TCODRandom6getIntEiii(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 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 = { "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 = { inlinehint 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, !11, i64 40}
!6 = !{!"_ZTS7TCODBsp", !7, i64 8, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !12, i64 52, !9, i64 53}
!7 = !{!"_ZTS8TCODTree", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"bool", !9, i64 0}
!13 = !{!6, !11, i64 44}
!14 = !{!6, !11, i64 36}
!15 = !{!6, !11, i64 32}


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