; LLVM IR from tensorflow/tflite-micro :: tensorflow/lite/micro/tools/ci_build/binary_size_test (binary_size_test)

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

@_ZN10micro_test12tests_passedE = external dso_local global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local global i8, align 1
@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZN12_GLOBAL__N_112random_arrayE = external hidden global <{ [8 x i64], [56 x i64] }>, align 16

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  call void @_ZN6tflite14InitializeTestEv()
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %13

13:                                               ; preds = %100, %2
  %14 = load i8, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11, !range !13, !noundef !14
  %15 = trunc i8 %14 to i1
  %16 = xor i1 %15, true
  br i1 %16, label %17, label %113

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

18:                                               ; preds = %29, %17
  %19 = load i32, ptr %6, align 4, !tbaa !5
  %20 = icmp slt i32 %19, 64
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %32

22:                                               ; preds = %18
  %23 = load i32, ptr %6, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  %25 = sext i32 %24 to i64
  %26 = load i32, ptr %6, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [64 x i64], ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 0, i64 %27
  store i64 %25, ptr %28, align 8, !tbaa !15
  br label %29

29:                                               ; preds = %22
  %30 = load i32, ptr %6, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %6, align 4, !tbaa !5
  br label %18, !llvm.loop !17

32:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %96, %32
  %34 = load i32, ptr %7, align 4, !tbaa !5
  %35 = icmp slt i32 %34, 64
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %99

37:                                               ; preds = %33
  br label %38

38:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %39 = load i32, ptr %7, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [64 x i64], ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 0, i64 %40
  %42 = load i64, ptr %41, align 8, !tbaa !15
  store i64 %42, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  store i8 0, ptr %10, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 0, ptr %11, align 1, !tbaa !11
  %45 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %76

47:                                               ; preds = %38
  %48 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %76

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %51 = load i64, ptr %8, align 8, !tbaa !15
  %52 = load i32, ptr %9, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = icmp sgt i64 %51, %53
  br i1 %54, label %55, label %60

55:                                               ; preds = %50
  %56 = load i64, ptr %8, align 8, !tbaa !15
  %57 = load i32, ptr %9, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = sub nsw i64 %56, %58
  br label %65

60:                                               ; preds = %50
  %61 = load i32, ptr %9, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = load i64, ptr %8, align 8, !tbaa !15
  %64 = sub nsw i64 %62, %63
  br label %65

65:                                               ; preds = %60, %55
  %66 = phi i64 [ %59, %55 ], [ %64, %60 ]
  store i64 %66, ptr %12, align 8, !tbaa !15
  %67 = load i64, ptr %12, align 8, !tbaa !15
  %68 = call noundef i64 @_ZNSt14numeric_limitsIlE7epsilonEv() #5
  %69 = icmp sgt i64 %67, %68
  br i1 %69, label %70, label %75

70:                                               ; preds = %65
  %71 = load i64, ptr %8, align 8, !tbaa !15
  %72 = sitofp i64 %71 to double
  %73 = load i32, ptr %9, align 4, !tbaa !5
  %74 = sitofp i32 %73 to double
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 35, double noundef %72, double noundef %74)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %75

75:                                               ; preds = %70, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %93

76:                                               ; preds = %47, %38
  %77 = load i64, ptr %8, align 8, !tbaa !15
  %78 = load i32, ptr %9, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = icmp ne i64 %77, %79
  br i1 %80, label %81, label %92

81:                                               ; preds = %76
  %82 = load i64, ptr %8, align 8, !tbaa !15
  %83 = trunc i64 %82 to i32
  %84 = load i32, ptr %9, align 4, !tbaa !5
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 35, i32 noundef %83, i32 noundef %84)
  %85 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %86 = trunc i8 %85 to i1
  br i1 %86, label %90, label %87

87:                                               ; preds = %81
  %88 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %91

90:                                               ; preds = %87, %81
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.4)
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.5)
  br label %91

91:                                               ; preds = %90, %87
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11
  br label %92

92:                                               ; preds = %91, %76
  br label %93

93:                                               ; preds = %92, %75
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %7, align 4, !tbaa !5
  br label %33, !llvm.loop !19

99:                                               ; preds = %36
  br label %100

100:                                              ; preds = %99
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !11
  %101 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %102 = trunc i8 %101 to i1
  %103 = zext i1 %102 to i64
  %104 = select i1 %102, i32 0, i32 1
  %105 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %106 = add nsw i32 %105, %104
  store i32 %106, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %107 = load i8, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !11, !range !13, !noundef !14
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i64
  %110 = select i1 %108, i32 1, i32 0
  %111 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %112 = add nsw i32 %111, %110
  store i32 %112, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  br label %13, !llvm.loop !20

113:                                              ; preds = %13
  %114 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %115 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %116 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %117 = add nsw i32 %115, %116
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.6, i32 noundef %114, i32 noundef %117)
  %118 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %121

120:                                              ; preds = %113
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.7)
  store i32 0, ptr %3, align 4
  br label %122

121:                                              ; preds = %113
  call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef @.str.8)
  store i32 1, ptr %3, align 4
  br label %122

122:                                              ; preds = %121, %120
  %123 = load i32, ptr %3, align 4
  ret i32 %123
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() #1

declare void @_Z11MicroPrintfPKcz(ptr noundef, ...) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt14numeric_limitsIlE7epsilonEv() #4 align 2

attributes #0 = { mustprogress norecurse 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 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}


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

@_ZN10micro_test12tests_passedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test12tests_failedE = external dso_local local_unnamed_addr global i32, align 4
@_ZN10micro_test16is_test_completeE = external dso_local local_unnamed_addr global i8, align 1
@_ZN10micro_test13did_test_failE = external dso_local local_unnamed_addr global i8, align 1
@.str = external hidden unnamed_addr constant [32 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [131 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@_ZN12_GLOBAL__N_112random_arrayE = external hidden local_unnamed_addr global <{ [8 x i64], [56 x i64] }>, align 16

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
.preheader31:
  store i32 0, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  store i32 0, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  tail call void @_ZN6tflite14InitializeTestEv()
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str)
  store i8 0, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  store i8 0, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  store i64 1, ptr @_ZN12_GLOBAL__N_112random_arrayE, align 16, !tbaa !11
  store i64 2, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 8), align 8, !tbaa !11
  store i64 3, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 16), align 16, !tbaa !11
  store i64 4, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 24), align 8, !tbaa !11
  store i64 5, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 32), align 16, !tbaa !11
  store i64 6, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 40), align 8, !tbaa !11
  store i64 7, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 48), align 16, !tbaa !11
  store i64 8, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 56), align 8, !tbaa !11
  store i64 9, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 64), align 16, !tbaa !11
  store i64 10, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 72), align 8, !tbaa !11
  store i64 11, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 80), align 16, !tbaa !11
  store i64 12, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 88), align 8, !tbaa !11
  store i64 13, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 96), align 16, !tbaa !11
  store i64 14, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 104), align 8, !tbaa !11
  store i64 15, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 112), align 16, !tbaa !11
  store i64 16, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 120), align 8, !tbaa !11
  store i64 17, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 128), align 16, !tbaa !11
  store i64 18, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 136), align 8, !tbaa !11
  store i64 19, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 144), align 16, !tbaa !11
  store i64 20, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 152), align 8, !tbaa !11
  store i64 21, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 160), align 16, !tbaa !11
  store i64 22, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 168), align 8, !tbaa !11
  store i64 23, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 176), align 16, !tbaa !11
  store i64 24, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 184), align 8, !tbaa !11
  store i64 25, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 192), align 16, !tbaa !11
  store i64 26, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 200), align 8, !tbaa !11
  store i64 27, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 208), align 16, !tbaa !11
  store i64 28, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 216), align 8, !tbaa !11
  store i64 29, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 224), align 16, !tbaa !11
  store i64 30, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 232), align 8, !tbaa !11
  store i64 31, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 240), align 16, !tbaa !11
  store i64 32, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 248), align 8, !tbaa !11
  store i64 33, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 256), align 16, !tbaa !11
  store i64 34, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 264), align 8, !tbaa !11
  store i64 35, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 272), align 16, !tbaa !11
  store i64 36, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 280), align 8, !tbaa !11
  store i64 37, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 288), align 16, !tbaa !11
  store i64 38, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 296), align 8, !tbaa !11
  store i64 39, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 304), align 16, !tbaa !11
  store i64 40, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 312), align 8, !tbaa !11
  store i64 41, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 320), align 16, !tbaa !11
  store i64 42, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 328), align 8, !tbaa !11
  store i64 43, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 336), align 16, !tbaa !11
  store i64 44, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 344), align 8, !tbaa !11
  store i64 45, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 352), align 16, !tbaa !11
  store i64 46, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 360), align 8, !tbaa !11
  store i64 47, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 368), align 16, !tbaa !11
  store i64 48, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 376), align 8, !tbaa !11
  store i64 49, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 384), align 16, !tbaa !11
  store i64 50, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 392), align 8, !tbaa !11
  store i64 51, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 400), align 16, !tbaa !11
  store i64 52, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 408), align 8, !tbaa !11
  store i64 53, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 416), align 16, !tbaa !11
  store i64 54, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 424), align 8, !tbaa !11
  store i64 55, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 432), align 16, !tbaa !11
  store i64 56, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 440), align 8, !tbaa !11
  store i64 57, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 448), align 16, !tbaa !11
  store i64 58, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 456), align 8, !tbaa !11
  store i64 59, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 464), align 16, !tbaa !11
  store i64 60, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 472), align 8, !tbaa !11
  store i64 61, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 480), align 16, !tbaa !11
  store i64 62, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 488), align 8, !tbaa !11
  store i64 63, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 496), align 16, !tbaa !11
  store i64 64, ptr getelementptr inbounds (i8, ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 504), align 8, !tbaa !11
  br label %.preheader

.preheader:                                       ; preds = %.preheader31, %8
  %2 = phi i8 [ 0, %.preheader31 ], [ %9, %8 ]
  %indvars.iv = phi i64 [ 0, %.preheader31 ], [ %indvars.iv.next, %8 ]
  %3 = getelementptr inbounds [64 x i64], ptr @_ZN12_GLOBAL__N_112random_arrayE, i64 0, i64 %indvars.iv
  %4 = load i64, ptr %3, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %.not = icmp eq i64 %4, %indvars.iv.next
  br i1 %.not, label %8, label %5

5:                                                ; preds = %.preheader
  %6 = trunc i64 %4 to i32
  %7 = trunc nuw nsw i64 %indvars.iv.next to i32
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 35, i32 noundef %6, i32 noundef %7)
  store i8 1, ptr @_ZN10micro_test13did_test_failE, align 1, !tbaa !9
  br label %8

8:                                                ; preds = %.preheader, %5
  %9 = phi i8 [ %2, %.preheader ], [ 1, %5 ]
  %exitcond.not = icmp eq i64 %indvars.iv.next, 64
  br i1 %exitcond.not, label %._crit_edge, label %.preheader, !llvm.loop !13

._crit_edge:                                      ; preds = %8
  store i8 1, ptr @_ZN10micro_test16is_test_completeE, align 1, !tbaa !9
  %10 = xor i8 %9, 1
  %not. = zext nneg i8 %10 to i32
  %11 = load i32, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %12 = add nsw i32 %11, %not.
  store i32 %12, ptr @_ZN10micro_test12tests_passedE, align 4, !tbaa !5
  %13 = zext nneg i8 %9 to i32
  %14 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %15 = add nsw i32 %14, %13
  store i32 %15, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %16 = add nsw i32 %15, %12
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull @.str.6, i32 noundef %12, i32 noundef %16)
  %17 = load i32, ptr @_ZN10micro_test12tests_failedE, align 4, !tbaa !5
  %18 = icmp ne i32 %17, 0
  %.str.7..str.8 = select i1 %18, ptr @.str.8, ptr @.str.7
  %. = zext i1 %18 to i32
  tail call void (ptr, ...) @_Z11MicroPrintfPKcz(ptr noundef nonnull %.str.7..str.8)
  ret i32 %.
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6tflite14InitializeTestEv() local_unnamed_addr #1

declare void @_Z11MicroPrintfPKcz(ptr noundef, ...) local_unnamed_addr #2

attributes #0 = { mustprogress norecurse 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 = { 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 #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" }

!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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass