; LLVM IR from beagleboard/librobotcontrol :: library/src/io (spi)

; 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.rc_spi_state_t = type { [12 x i8], [12 x i8], [12 x i8], [12 x i8], [12 x i32], [12 x i32] }

@stderr = external global ptr, align 8
@state = external hidden global [6 x %struct.rc_spi_state_t], align 16
@.str.27 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [67 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

declare i32 @close(i32 noundef) #2

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

declare i32 @rc_gpio_set_value(i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @rc_spi_close(i32 noundef %0) #3 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %6 = load i32, ptr %3, align 4, !tbaa !5
  %7 = icmp slt i32 %6, 0
  br i1 %7, label %11, label %8

8:                                                ; preds = %1
  %9 = load i32, ptr %3, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 5
  br i1 %10, label %11, label %14

11:                                               ; preds = %8, %1
  %12 = load ptr, ptr @stderr, align 8, !tbaa !9
  %13 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef @.str.27, i32 noundef 5) #4
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %153

14:                                               ; preds = %8
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %149, %14
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = icmp slt i32 %16, 12
  br i1 %17, label %18, label %152

18:                                               ; preds = %15
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.rc_spi_state_t, ptr %21, i32 0, i32 0
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [12 x i8], ptr %22, i64 0, i64 %24
  %26 = load i8, ptr %25, align 1, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = icmp eq i32 %27, 2
  br i1 %28, label %29, label %85

29:                                               ; preds = %18
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %31
  %33 = getelementptr inbounds %struct.rc_spi_state_t, ptr %32, i32 0, i32 2
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [12 x i8], ptr %33, i64 0, i64 %35
  %37 = load i8, ptr %36, align 1, !tbaa !11
  %38 = zext i8 %37 to i32
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %40
  %42 = getelementptr inbounds %struct.rc_spi_state_t, ptr %41, i32 0, i32 3
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [12 x i8], ptr %42, i64 0, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !11
  %47 = zext i8 %46 to i32
  %48 = call i32 @rc_gpio_set_value(i32 noundef %38, i32 noundef %47, i32 noundef 1)
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %53

50:                                               ; preds = %29
  %51 = load ptr, ptr @stderr, align 8, !tbaa !9
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef @.str.28) #4
  store i32 -1, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %153

53:                                               ; preds = %29
  %54 = load i32, ptr %3, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.rc_spi_state_t, ptr %56, i32 0, i32 2
  %58 = load i32, ptr %4, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [12 x i8], ptr %57, i64 0, i64 %59
  %61 = load i8, ptr %60, align 1, !tbaa !11
  %62 = zext i8 %61 to i32
  %63 = load i32, ptr %3, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %64
  %66 = getelementptr inbounds %struct.rc_spi_state_t, ptr %65, i32 0, i32 3
  %67 = load i32, ptr %4, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [12 x i8], ptr %66, i64 0, i64 %68
  %70 = load i8, ptr %69, align 1, !tbaa !11
  %71 = zext i8 %70 to i32
  call void @rc_gpio_cleanup(i32 noundef %62, i32 noundef %71)
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = icmp eq i32 %72, 0
  br i1 %73, label %74, label %84

74:                                               ; preds = %53
  %75 = load i32, ptr %3, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %76
  %78 = getelementptr inbounds %struct.rc_spi_state_t, ptr %77, i32 0, i32 5
  %79 = load i32, ptr %4, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [12 x i32], ptr %78, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = call i32 @close(i32 noundef %82)
  br label %84

84:                                               ; preds = %74, %53
  br label %85

85:                                               ; preds = %84, %18
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %87
  %89 = getelementptr inbounds %struct.rc_spi_state_t, ptr %88, i32 0, i32 0
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [12 x i8], ptr %89, i64 0, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !11
  %94 = zext i8 %93 to i32
  %95 = icmp eq i32 %94, 1
  br i1 %95, label %96, label %106

96:                                               ; preds = %85
  %97 = load i32, ptr %3, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %98
  %100 = getelementptr inbounds %struct.rc_spi_state_t, ptr %99, i32 0, i32 5
  %101 = load i32, ptr %4, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [12 x i32], ptr %100, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = call i32 @close(i32 noundef %104)
  br label %106

106:                                              ; preds = %96, %85
  %107 = load i32, ptr %3, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %108
  %110 = getelementptr inbounds %struct.rc_spi_state_t, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %4, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [12 x i8], ptr %110, i64 0, i64 %112
  store i8 0, ptr %113, align 1, !tbaa !11
  %114 = load i32, ptr %3, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %115
  %117 = getelementptr inbounds %struct.rc_spi_state_t, ptr %116, i32 0, i32 1
  %118 = load i32, ptr %4, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [12 x i8], ptr %117, i64 0, i64 %119
  store i8 0, ptr %120, align 1, !tbaa !11
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %122
  %124 = getelementptr inbounds %struct.rc_spi_state_t, ptr %123, i32 0, i32 2
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [12 x i8], ptr %124, i64 0, i64 %126
  store i8 0, ptr %127, align 1, !tbaa !11
  %128 = load i32, ptr %3, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %129
  %131 = getelementptr inbounds %struct.rc_spi_state_t, ptr %130, i32 0, i32 3
  %132 = load i32, ptr %4, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [12 x i8], ptr %131, i64 0, i64 %133
  store i8 0, ptr %134, align 1, !tbaa !11
  %135 = load i32, ptr %3, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %136
  %138 = getelementptr inbounds %struct.rc_spi_state_t, ptr %137, i32 0, i32 5
  %139 = load i32, ptr %4, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [12 x i32], ptr %138, i64 0, i64 %140
  store i32 0, ptr %141, align 4, !tbaa !5
  %142 = load i32, ptr %3, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %143
  %145 = getelementptr inbounds %struct.rc_spi_state_t, ptr %144, i32 0, i32 4
  %146 = load i32, ptr %4, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [12 x i32], ptr %145, i64 0, i64 %147
  store i32 0, ptr %148, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %106
  %150 = load i32, ptr %4, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %4, align 4, !tbaa !5
  br label %15, !llvm.loop !12

152:                                              ; preds = %15
  store i32 0, ptr %2, align 4
  store i32 1, ptr %5, align 4
  br label %153

153:                                              ; preds = %152, %50, %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  %154 = load i32, ptr %2, align 4
  ret i32 %154
}

declare void @rc_gpio_cleanup(i32 noundef, i32 noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"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"

%struct.rc_spi_state_t = type { [12 x i8], [12 x i8], [12 x i8], [12 x i8], [12 x i32], [12 x i32] }

@stderr = external local_unnamed_addr global ptr, align 8
@state = external hidden local_unnamed_addr global [6 x %struct.rc_spi_state_t], align 16
@.str.27 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [67 x i8], align 1

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

declare i32 @close(i32 noundef) local_unnamed_addr #1

declare i32 @rc_gpio_set_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @rc_spi_close(i32 noundef %0) local_unnamed_addr #2 {
  %or.cond = icmp ugt i32 %0, 5
  br i1 %or.cond, label %29, label %.preheader

.preheader:                                       ; preds = %1
  %2 = zext nneg i32 %0 to i64
  %3 = getelementptr inbounds [6 x %struct.rc_spi_state_t], ptr @state, i64 0, i64 %2
  %4 = getelementptr inbounds i8, ptr %3, i64 24
  %5 = getelementptr inbounds i8, ptr %3, i64 36
  %6 = getelementptr inbounds i8, ptr %3, i64 96
  %7 = getelementptr inbounds i8, ptr %3, i64 12
  %8 = getelementptr inbounds i8, ptr %3, i64 48
  %9 = load i8, ptr %3, align 16, !tbaa !5
  %10 = icmp eq i8 %9, 2
  br i1 %10, label %11, label %23

11:                                               ; preds = %.preheader
  %12 = load i8, ptr %4, align 8, !tbaa !5
  %13 = zext i8 %12 to i32
  %14 = load i8, ptr %5, align 4, !tbaa !5
  %15 = zext i8 %14 to i32
  %16 = tail call i32 @rc_gpio_set_value(i32 noundef %13, i32 noundef %15, i32 noundef 1) #3
  %.not.peel = icmp eq i32 %16, 0
  br i1 %.not.peel, label %thread-pre-split.peel, label %.loopexit40

thread-pre-split.peel:                            ; preds = %11
  %17 = load i8, ptr %4, align 8, !tbaa !5
  %18 = zext i8 %17 to i32
  %19 = load i8, ptr %5, align 4, !tbaa !5
  %20 = zext i8 %19 to i32
  tail call void @rc_gpio_cleanup(i32 noundef %18, i32 noundef %20) #3
  %21 = load i32, ptr %6, align 16, !tbaa !8
  %22 = tail call i32 @close(i32 noundef %21) #3
  %.pr.peel = load i8, ptr %3, align 16, !tbaa !5
  br label %23

23:                                               ; preds = %thread-pre-split.peel, %.preheader
  %24 = phi i8 [ %.pr.peel, %thread-pre-split.peel ], [ %9, %.preheader ]
  %25 = icmp eq i8 %24, 1
  br i1 %25, label %26, label %.peel.next

26:                                               ; preds = %23
  %27 = load i32, ptr %6, align 16, !tbaa !8
  %28 = tail call i32 @close(i32 noundef %27) #3
  br label %.peel.next

.peel.next:                                       ; preds = %23, %26
  store i8 0, ptr %3, align 16, !tbaa !5
  store i8 0, ptr %7, align 4, !tbaa !5
  store i8 0, ptr %4, align 8, !tbaa !5
  store i8 0, ptr %5, align 4, !tbaa !5
  store i32 0, ptr %6, align 16, !tbaa !8
  store i32 0, ptr %8, align 16, !tbaa !8
  br label %32

29:                                               ; preds = %1
  %30 = load ptr, ptr @stderr, align 8, !tbaa !10
  %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.27, i32 noundef 5) #4
  br label %.loopexit

32:                                               ; preds = %.peel.next, %57
  %indvars.iv = phi i64 [ 1, %.peel.next ], [ %indvars.iv.next, %57 ]
  %33 = getelementptr inbounds [12 x i8], ptr %3, i64 0, i64 %indvars.iv
  %34 = load i8, ptr %33, align 1, !tbaa !5
  %35 = icmp eq i8 %34, 2
  br i1 %35, label %36, label %50

36:                                               ; preds = %32
  %37 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 %indvars.iv
  %38 = load i8, ptr %37, align 1, !tbaa !5
  %39 = zext i8 %38 to i32
  %40 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 %indvars.iv
  %41 = load i8, ptr %40, align 1, !tbaa !5
  %42 = zext i8 %41 to i32
  %43 = tail call i32 @rc_gpio_set_value(i32 noundef %39, i32 noundef %42, i32 noundef 1) #3
  %.not = icmp eq i32 %43, 0
  br i1 %.not, label %thread-pre-split, label %.loopexit40

.loopexit40:                                      ; preds = %36, %11
  %44 = load ptr, ptr @stderr, align 8, !tbaa !10
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.28) #4
  br label %.loopexit

thread-pre-split:                                 ; preds = %36
  %46 = load i8, ptr %37, align 1, !tbaa !5
  %47 = zext i8 %46 to i32
  %48 = load i8, ptr %40, align 1, !tbaa !5
  %49 = zext i8 %48 to i32
  tail call void @rc_gpio_cleanup(i32 noundef %47, i32 noundef %49) #3
  %.pr.pre = load i8, ptr %33, align 1, !tbaa !5
  br label %50

50:                                               ; preds = %thread-pre-split, %32
  %51 = phi i8 [ %.pr.pre, %thread-pre-split ], [ %34, %32 ]
  %52 = icmp eq i8 %51, 1
  br i1 %52, label %53, label %57

53:                                               ; preds = %50
  %54 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %indvars.iv
  %55 = load i32, ptr %54, align 4, !tbaa !8
  %56 = tail call i32 @close(i32 noundef %55) #3
  br label %57

57:                                               ; preds = %53, %50
  store i8 0, ptr %33, align 1, !tbaa !5
  %58 = getelementptr inbounds [12 x i8], ptr %7, i64 0, i64 %indvars.iv
  store i8 0, ptr %58, align 1, !tbaa !5
  %59 = getelementptr inbounds [12 x i8], ptr %4, i64 0, i64 %indvars.iv
  store i8 0, ptr %59, align 1, !tbaa !5
  %60 = getelementptr inbounds [12 x i8], ptr %5, i64 0, i64 %indvars.iv
  store i8 0, ptr %60, align 1, !tbaa !5
  %61 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %indvars.iv
  store i32 0, ptr %61, align 4, !tbaa !8
  %62 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %indvars.iv
  store i32 0, ptr %62, align 4, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 12
  br i1 %exitcond.not, label %.loopexit, label %32, !llvm.loop !12

.loopexit:                                        ; preds = %57, %.loopexit40, %29
  %.035 = phi i32 [ -1, %29 ], [ -1, %.loopexit40 ], [ 0, %57 ]
  ret i32 %.035
}

declare void @rc_gpio_cleanup(i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { nofree 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 #1 = { "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 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 }
attributes #4 = { cold 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !6, i64 0}
!12 = distinct !{!12, !13, !14}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!"llvm.loop.peeled.count", i32 1}


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