; LLVM IR from pmla/polyhedral-template-matching :: ptm_alloy_types.ll (ZN3ptm15find_alloy_typeEPKNS_9refdata_tEPaPi)

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

%"struct.ptm::refdata_t" = type { i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr }

@_ZN3ptmL8typedataE = external hidden global [3 x [3 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ptm15find_alloy_typeEPKNS_9refdata_tEPaPi(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %29, %3
  %13 = load i32, ptr %8, align 4, !tbaa !9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %14, i32 0, i32 1
  %16 = load i32, ptr %15, align 4, !tbaa !11
  %17 = add nsw i32 %16, 1
  %18 = icmp slt i32 %13, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %12
  store i32 2, ptr %9, align 4
  br label %32

20:                                               ; preds = %12
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = load i32, ptr %8, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds i32, ptr %21, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = icmp eq i32 %25, -1
  br i1 %26, label %27, label %28

27:                                               ; preds = %20
  store i32 0, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %32

28:                                               ; preds = %20
  br label %29

29:                                               ; preds = %28
  %30 = load i32, ptr %8, align 4, !tbaa !9
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %8, align 4, !tbaa !9
  br label %12, !llvm.loop !13

32:                                               ; preds = %27, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %33 = load i32, ptr %9, align 4
  switch i32 %33, label %132 [
    i32 2, label %34
    i32 1, label %130
  ]

34:                                               ; preds = %32
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 4, !tbaa !11
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZN3ptmL9test_pureEiPi(i32 noundef %37, ptr noundef %38)
  br i1 %39, label %40, label %41

40:                                               ; preds = %34
  store i32 1, ptr %4, align 4
  br label %130

41:                                               ; preds = %34
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !11
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = call noundef zeroext i1 @_ZN3ptmL11test_binaryEiPi(i32 noundef %44, ptr noundef %45)
  br i1 %46, label %48, label %47

47:                                               ; preds = %41
  store i32 0, ptr %4, align 4
  br label %130

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = call noundef i32 @_ZN3ptmL30canonical_alloy_representationEPKNS_9refdata_tEPaPi(ptr noundef %49, ptr noundef %50, ptr noundef %51)
  store i32 %52, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %82, %48
  %54 = load i32, ptr %11, align 4, !tbaa !9
  %55 = icmp slt i32 %54, 3
  br i1 %55, label %57, label %56

56:                                               ; preds = %53
  store i32 5, ptr %9, align 4
  br label %85

57:                                               ; preds = %53
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 8, !tbaa !15
  %61 = load i32, ptr %11, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [3 x [3 x i32]], ptr @_ZN3ptmL8typedataE, i64 0, i64 %62
  %64 = getelementptr inbounds [3 x i32], ptr %63, i64 0, i64 0
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = icmp eq i32 %60, %65
  br i1 %66, label %67, label %81

67:                                               ; preds = %57
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [3 x [3 x i32]], ptr @_ZN3ptmL8typedataE, i64 0, i64 %70
  %72 = getelementptr inbounds [3 x i32], ptr %71, i64 0, i64 2
  %73 = load i32, ptr %72, align 4, !tbaa !9
  %74 = icmp eq i32 %68, %73
  br i1 %74, label %75, label %81

75:                                               ; preds = %67
  %76 = load i32, ptr %11, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [3 x [3 x i32]], ptr @_ZN3ptmL8typedataE, i64 0, i64 %77
  %79 = getelementptr inbounds [3 x i32], ptr %78, i64 0, i64 1
  %80 = load i32, ptr %79, align 4, !tbaa !9
  store i32 %80, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %85

81:                                               ; preds = %67, %57
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %11, align 4, !tbaa !9
  br label %53, !llvm.loop !16

85:                                               ; preds = %75, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  %86 = load i32, ptr %9, align 4
  switch i32 %86, label %129 [
    i32 5, label %87
  ]

87:                                               ; preds = %85
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %88, i32 0, i32 0
  %90 = load i32, ptr %89, align 8, !tbaa !15
  %91 = icmp eq i32 %90, 3
  br i1 %91, label %92, label %99

92:                                               ; preds = %87
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef %93, ptr noundef %94, ptr noundef %95, i32 noundef 8)
  br i1 %96, label %97, label %98

97:                                               ; preds = %92
  store i32 5, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %129

98:                                               ; preds = %92
  br label %99

99:                                               ; preds = %98, %87
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %100, i32 0, i32 0
  %102 = load i32, ptr %101, align 8, !tbaa !15
  %103 = icmp eq i32 %102, 6
  br i1 %103, label %109, label %104

104:                                              ; preds = %99
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %105, i32 0, i32 0
  %107 = load i32, ptr %106, align 8, !tbaa !15
  %108 = icmp eq i32 %107, 7
  br i1 %108, label %109, label %116

109:                                              ; preds = %104, %99
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef %110, ptr noundef %111, ptr noundef %112, i32 noundef 4)
  br i1 %113, label %114, label %115

114:                                              ; preds = %109
  store i32 6, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %129

115:                                              ; preds = %109
  br label %116

116:                                              ; preds = %115, %104
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.ptm::refdata_t", ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 8, !tbaa !15
  %120 = icmp eq i32 %119, 8
  br i1 %120, label %121, label %128

121:                                              ; preds = %116
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef %122, ptr noundef %123, ptr noundef %124, i32 noundef 3)
  br i1 %125, label %126, label %127

126:                                              ; preds = %121
  store i32 7, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %129

127:                                              ; preds = %121
  br label %128

128:                                              ; preds = %127, %116
  store i32 0, ptr %4, align 4
  store i32 1, ptr %9, align 4
  br label %129

129:                                              ; preds = %128, %126, %114, %97, %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %130

130:                                              ; preds = %129, %47, %40, %32
  %131 = load i32, ptr %4, align 4
  ret i32 %131

132:                                              ; preds = %32
  unreachable
}

; 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 nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL9test_pureEiPi(i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL11test_binaryEiPi(i32 noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3ptmL30canonical_alloy_representationEPKNS_9refdata_tEPaPi(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

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 = { 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, !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, !10, i64 4}
!12 = !{!"_ZTSN3ptm9refdata_tE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!12, !10, i64 0}
!16 = distinct !{!16, !14}


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

@_ZN3ptmL8typedataE = external hidden local_unnamed_addr global [3 x [3 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3ptm15find_alloy_typeEPKNS_9refdata_tEPaPi(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 4
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %.not49 = icmp slt i32 %5, 0
  br i1 %.not49, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %3
  %6 = add nuw i32 %5, 1
  %wide.trip.count = zext i32 %6 to i64
  br label %.lr.ph

7:                                                ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

.lr.ph:                                           ; preds = %.lr.ph.preheader, %7
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %7 ]
  %8 = getelementptr inbounds i32, ptr %2, i64 %indvars.iv
  %9 = load i32, ptr %8, align 4, !tbaa !13
  %10 = icmp eq i32 %9, -1
  br i1 %10, label %.loopexit, label %7

._crit_edge:                                      ; preds = %7, %3
  %11 = tail call noundef zeroext i1 @_ZN3ptmL9test_pureEiPi(i32 noundef %5, ptr noundef %2)
  br i1 %11, label %.loopexit, label %12

12:                                               ; preds = %._crit_edge
  %13 = load i32, ptr %4, align 4, !tbaa !5
  %14 = tail call noundef zeroext i1 @_ZN3ptmL11test_binaryEiPi(i32 noundef %13, ptr noundef %2)
  br i1 %14, label %15, label %.loopexit

15:                                               ; preds = %12
  %16 = tail call noundef i32 @_ZN3ptmL30canonical_alloy_representationEPKNS_9refdata_tEPaPi(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2)
  %17 = load i32, ptr %0, align 8, !tbaa !14
  %18 = load i32, ptr @_ZN3ptmL8typedataE, align 16, !tbaa !13
  %19 = icmp eq i32 %17, %18
  %20 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 8), align 8
  %21 = icmp eq i32 %16, %20
  %or.cond = select i1 %19, i1 %21, i1 false
  br i1 %or.cond, label %34, label %22

22:                                               ; preds = %15
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 12), align 4, !tbaa !13
  %24 = icmp eq i32 %17, %23
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 20), align 4
  %26 = icmp eq i32 %16, %25
  %or.cond61 = select i1 %24, i1 %26, i1 false
  br i1 %or.cond61, label %34, label %27

27:                                               ; preds = %22
  %28 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 24), align 8, !tbaa !13
  %29 = icmp eq i32 %17, %28
  %30 = load i32, ptr getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 32), align 16
  %31 = icmp eq i32 %16, %30
  %or.cond63 = select i1 %29, i1 %31, i1 false
  br i1 %or.cond63, label %34, label %32

32:                                               ; preds = %27
  %33 = icmp eq i32 %17, 3
  br i1 %33, label %37, label %39

34:                                               ; preds = %27, %22, %15
  %.lcssa = phi ptr [ @_ZN3ptmL8typedataE, %15 ], [ getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 12), %22 ], [ getelementptr inbounds (i8, ptr @_ZN3ptmL8typedataE, i64 24), %27 ]
  %35 = getelementptr inbounds i8, ptr %.lcssa, i64 4
  %36 = load i32, ptr %35, align 4, !tbaa !13
  br label %.loopexit

37:                                               ; preds = %32
  %38 = tail call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef 8)
  br i1 %38, label %.loopexit, label %._crit_edge58

._crit_edge58:                                    ; preds = %37
  %.pre = load i32, ptr %0, align 8, !tbaa !14
  br label %39

39:                                               ; preds = %._crit_edge58, %32
  %40 = phi i32 [ %.pre, %._crit_edge58 ], [ %17, %32 ]
  %41 = and i32 %40, -2
  %switch39 = icmp eq i32 %41, 6
  br i1 %switch39, label %42, label %44

42:                                               ; preds = %39
  %43 = tail call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef 4)
  br i1 %43, label %.loopexit, label %thread-pre-split

thread-pre-split:                                 ; preds = %42
  %.pr = load i32, ptr %0, align 8, !tbaa !14
  br label %44

44:                                               ; preds = %thread-pre-split, %39
  %45 = phi i32 [ %.pr, %thread-pre-split ], [ %40, %39 ]
  %46 = icmp eq i32 %45, 8
  br i1 %46, label %47, label %49

47:                                               ; preds = %44
  %48 = tail call noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2, i32 noundef 3)
  br i1 %48, label %.loopexit, label %49

49:                                               ; preds = %47, %44
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %34, %49, %37, %42, %47, %12, %._crit_edge
  %.3 = phi i32 [ 1, %._crit_edge ], [ 0, %12 ], [ 0, %49 ], [ %36, %34 ], [ 5, %37 ], [ 6, %42 ], [ 7, %47 ], [ 0, %.lr.ph ]
  ret i32 %.3
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL9test_pureEiPi(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL11test_binaryEiPi(i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN3ptmL30canonical_alloy_representationEPKNS_9refdata_tEPaPi(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN3ptmL20test_shell_structureEPKNS_9refdata_tEPaPii(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

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 = { 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" }

!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 4}
!6 = !{!"_ZTSN3ptm9refdata_tE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !7, i64 96, !10, i64 104, !7, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !7, i64 0}


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