; LLVM IR from mrbid/CSGO_TENSOR_TRIGGER :: GOBOT15/StandaloneFNN/benchmark (bench1)

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

@srandfq = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @processModelRM(ptr noundef) #0

; 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: nounwind uwtable
declare dso_local i64 @microtime() #0

; Function Attrs: nounwind uwtable
declare dso_local float @randf() #0

; Function Attrs: nounwind uwtable
define dso_local 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 float, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca [784 x float], align 16
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  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
  %24 = call ptr @setlocale(i32 noundef 1, ptr noundef @.str) #4
  %25 = call i64 @time(ptr noundef null) #4
  %26 = trunc i64 %25 to i32
  store i32 %26, ptr @srandfq, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store float 0.000000e+00, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 3136, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %36, %2
  %28 = load i32, ptr %12, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 784
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %39

31:                                               ; preds = %27
  %32 = call float @randf()
  %33 = load i32, ptr %12, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 %34
  store float %32, ptr %35, align 4, !tbaa !11
  br label %36

36:                                               ; preds = %31
  %37 = load i32, ptr %12, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %12, align 4, !tbaa !5
  br label %27, !llvm.loop !13

39:                                               ; preds = %30
  %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %41 = call i64 @microtime()
  store i64 %41, ptr %7, align 8, !tbaa !15
  %42 = call i64 @llvm.x86.rdtsc()
  store i64 %42, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %53, %39
  %44 = load i32, ptr %13, align 4, !tbaa !5
  %45 = icmp ult i32 %44, 100000
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %56

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %48 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 0
  %49 = call float @processModelRM(ptr noundef %48)
  store float %49, ptr %14, align 4, !tbaa !11
  %50 = load float, ptr %14, align 4, !tbaa !11
  %51 = load float, ptr %6, align 4, !tbaa !11
  %52 = fadd float %51, %50
  store float %52, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %53

53:                                               ; preds = %47
  %54 = load i32, ptr %13, align 4, !tbaa !5
  %55 = add i32 %54, 1
  store i32 %55, ptr %13, align 4, !tbaa !5
  br label %43, !llvm.loop !17

56:                                               ; preds = %46
  %57 = call i64 @llvm.x86.rdtsc()
  %58 = load i64, ptr %8, align 8, !tbaa !15
  %59 = sub i64 %57, %58
  store i64 %59, ptr %9, align 8, !tbaa !15
  %60 = call i64 @microtime()
  %61 = load i64, ptr %7, align 8, !tbaa !15
  %62 = sub i64 %60, %61
  store i64 %62, ptr %10, align 8, !tbaa !15
  %63 = load i64, ptr %10, align 8, !tbaa !15
  %64 = load i64, ptr %9, align 8, !tbaa !15
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %63, i64 noundef %64)
  %66 = call i64 @microtime()
  store i64 %66, ptr %7, align 8, !tbaa !15
  %67 = call i64 @llvm.x86.rdtsc()
  store i64 %67, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %78, %56
  %69 = load i32, ptr %15, align 4, !tbaa !5
  %70 = icmp ult i32 %69, 100000
  br i1 %70, label %72, label %71

71:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %81

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %73 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 0
  %74 = call float @processModelCM(ptr noundef %73)
  store float %74, ptr %16, align 4, !tbaa !11
  %75 = load float, ptr %16, align 4, !tbaa !11
  %76 = load float, ptr %6, align 4, !tbaa !11
  %77 = fadd float %76, %75
  store float %77, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %78

78:                                               ; preds = %72
  %79 = load i32, ptr %15, align 4, !tbaa !5
  %80 = add i32 %79, 1
  store i32 %80, ptr %15, align 4, !tbaa !5
  br label %68, !llvm.loop !18

81:                                               ; preds = %71
  %82 = call i64 @llvm.x86.rdtsc()
  %83 = load i64, ptr %8, align 8, !tbaa !15
  %84 = sub i64 %82, %83
  store i64 %84, ptr %9, align 8, !tbaa !15
  %85 = call i64 @microtime()
  %86 = load i64, ptr %7, align 8, !tbaa !15
  %87 = sub i64 %85, %86
  store i64 %87, ptr %10, align 8, !tbaa !15
  %88 = load i64, ptr %10, align 8, !tbaa !15
  %89 = load i64, ptr %9, align 8, !tbaa !15
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %88, i64 noundef %89)
  %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %92 = call i64 @microtime()
  store i64 %92, ptr %7, align 8, !tbaa !15
  %93 = call i64 @llvm.x86.rdtsc()
  store i64 %93, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %117, %81
  %95 = load i32, ptr %17, align 4, !tbaa !5
  %96 = icmp ult i32 %95, 100000
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 11, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %120

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %99

99:                                               ; preds = %108, %98
  %100 = load i32, ptr %19, align 4, !tbaa !5
  %101 = icmp slt i32 %100, 784
  br i1 %101, label %103, label %102

102:                                              ; preds = %99
  store i32 14, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %111

103:                                              ; preds = %99
  %104 = call float @randf()
  %105 = load i32, ptr %19, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 %106
  store float %104, ptr %107, align 4, !tbaa !11
  br label %108

108:                                              ; preds = %103
  %109 = load i32, ptr %19, align 4, !tbaa !5
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %19, align 4, !tbaa !5
  br label %99, !llvm.loop !19

111:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %112 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 0
  %113 = call float @processModelRM(ptr noundef %112)
  store float %113, ptr %20, align 4, !tbaa !11
  %114 = load float, ptr %20, align 4, !tbaa !11
  %115 = load float, ptr %6, align 4, !tbaa !11
  %116 = fadd float %115, %114
  store float %116, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %117

117:                                              ; preds = %111
  %118 = load i32, ptr %17, align 4, !tbaa !5
  %119 = add i32 %118, 1
  store i32 %119, ptr %17, align 4, !tbaa !5
  br label %94, !llvm.loop !20

120:                                              ; preds = %97
  %121 = call i64 @llvm.x86.rdtsc()
  %122 = load i64, ptr %8, align 8, !tbaa !15
  %123 = sub i64 %121, %122
  store i64 %123, ptr %9, align 8, !tbaa !15
  %124 = call i64 @microtime()
  %125 = load i64, ptr %7, align 8, !tbaa !15
  %126 = sub i64 %124, %125
  store i64 %126, ptr %10, align 8, !tbaa !15
  %127 = load i64, ptr %10, align 8, !tbaa !15
  %128 = load i64, ptr %9, align 8, !tbaa !15
  %129 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %127, i64 noundef %128)
  %130 = call i64 @microtime()
  store i64 %130, ptr %7, align 8, !tbaa !15
  %131 = call i64 @llvm.x86.rdtsc()
  store i64 %131, ptr %8, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %155, %120
  %133 = load i32, ptr %21, align 4, !tbaa !5
  %134 = icmp ult i32 %133, 100000
  br i1 %134, label %136, label %135

135:                                              ; preds = %132
  store i32 17, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %158

136:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %137

137:                                              ; preds = %146, %136
  %138 = load i32, ptr %22, align 4, !tbaa !5
  %139 = icmp slt i32 %138, 784
  br i1 %139, label %141, label %140

140:                                              ; preds = %137
  store i32 20, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %149

141:                                              ; preds = %137
  %142 = call float @randf()
  %143 = load i32, ptr %22, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 %144
  store float %142, ptr %145, align 4, !tbaa !11
  br label %146

146:                                              ; preds = %141
  %147 = load i32, ptr %22, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %22, align 4, !tbaa !5
  br label %137, !llvm.loop !21

149:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  %150 = getelementptr inbounds [784 x float], ptr %11, i64 0, i64 0
  %151 = call float @processModelCM(ptr noundef %150)
  store float %151, ptr %23, align 4, !tbaa !11
  %152 = load float, ptr %23, align 4, !tbaa !11
  %153 = load float, ptr %6, align 4, !tbaa !11
  %154 = fadd float %153, %152
  store float %154, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  br label %155

155:                                              ; preds = %149
  %156 = load i32, ptr %21, align 4, !tbaa !5
  %157 = add i32 %156, 1
  store i32 %157, ptr %21, align 4, !tbaa !5
  br label %132, !llvm.loop !22

158:                                              ; preds = %135
  %159 = call i64 @llvm.x86.rdtsc()
  %160 = load i64, ptr %8, align 8, !tbaa !15
  %161 = sub i64 %159, %160
  store i64 %161, ptr %9, align 8, !tbaa !15
  %162 = call i64 @microtime()
  %163 = load i64, ptr %7, align 8, !tbaa !15
  %164 = sub i64 %162, %163
  store i64 %164, ptr %10, align 8, !tbaa !15
  %165 = load i64, ptr %10, align 8, !tbaa !15
  %166 = load i64, ptr %9, align 8, !tbaa !15
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %165, i64 noundef %166)
  %168 = load float, ptr %6, align 4, !tbaa !11
  %169 = fptosi float %168 to i8
  %170 = sext i8 %169 to i32
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %170)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 3136, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  %172 = load i32, ptr %3, align 4
  ret i32 %172
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) #2

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: nounwind
declare i64 @llvm.x86.rdtsc() #4

; Function Attrs: alwaysinline nounwind uwtable
declare float @processModelCM(ptr noundef) #5

attributes #0 = { 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 = { 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 = { "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 }
attributes #5 = { alwaysinline 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, !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 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !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"

@srandfq = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local float @processModelRM(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local i64 @microtime() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local float @randf() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca [784 x float], align 16
  %4 = tail call ptr @setlocale(i32 noundef 1, ptr noundef nonnull @.str) #4
  %5 = tail call i64 @time(ptr noundef null) #4
  %6 = trunc i64 %5 to i32
  store i32 %6, ptr @srandfq, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 3136, ptr nonnull %3) #4
  br label %11

7:                                                ; preds = %11
  %8 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %9 = tail call i64 @microtime()
  %10 = tail call i64 @llvm.x86.rdtsc()
  br label %22

11:                                               ; preds = %2, %11
  %indvars.iv = phi i64 [ 0, %2 ], [ %indvars.iv.next, %11 ]
  %12 = tail call float @randf()
  %13 = getelementptr inbounds [784 x float], ptr %3, i64 0, i64 %indvars.iv
  store float %12, ptr %13, align 4, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 784
  br i1 %exitcond.not, label %7, label %11, !llvm.loop !11

14:                                               ; preds = %22
  %15 = call i64 @llvm.x86.rdtsc()
  %16 = sub i64 %15, %10
  %17 = call i64 @microtime()
  %18 = sub i64 %17, %9
  %19 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %18, i64 noundef %16)
  %20 = call i64 @microtime()
  %21 = call i64 @llvm.x86.rdtsc()
  br label %35

22:                                               ; preds = %7, %22
  %.04352 = phi float [ 0.000000e+00, %7 ], [ %24, %22 ]
  %.04751 = phi i32 [ 0, %7 ], [ %25, %22 ]
  %23 = call float @processModelRM(ptr noundef nonnull %3)
  %24 = fadd float %.04352, %23
  %25 = add nuw nsw i32 %.04751, 1
  %exitcond65.not = icmp eq i32 %25, 100000
  br i1 %exitcond65.not, label %14, label %22, !llvm.loop !13

26:                                               ; preds = %35
  %27 = call i64 @llvm.x86.rdtsc()
  %28 = sub i64 %27, %21
  %29 = call i64 @microtime()
  %30 = sub i64 %29, %20
  %31 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %30, i64 noundef %28)
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %33 = call i64 @microtime()
  %34 = call i64 @llvm.x86.rdtsc()
  br label %.preheader49

35:                                               ; preds = %14, %35
  %.154 = phi float [ %24, %14 ], [ %37, %35 ]
  %.04653 = phi i32 [ 0, %14 ], [ %38, %35 ]
  %36 = call float @processModelCM(ptr noundef nonnull %3)
  %37 = fadd float %.154, %36
  %38 = add nuw nsw i32 %.04653, 1
  %exitcond66.not = icmp eq i32 %38, 100000
  br i1 %exitcond66.not, label %26, label %35, !llvm.loop !14

.preheader49:                                     ; preds = %26, %47
  %.257 = phi float [ %37, %26 ], [ %49, %47 ]
  %.04556 = phi i32 [ 0, %26 ], [ %50, %47 ]
  br label %51

39:                                               ; preds = %47
  %40 = call i64 @llvm.x86.rdtsc()
  %41 = sub i64 %40, %34
  %42 = call i64 @microtime()
  %43 = sub i64 %42, %33
  %44 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %43, i64 noundef %41)
  %45 = call i64 @microtime()
  %46 = call i64 @llvm.x86.rdtsc()
  br label %.preheader

47:                                               ; preds = %51
  %48 = call float @processModelRM(ptr noundef nonnull %3)
  %49 = fadd float %.257, %48
  %50 = add nuw nsw i32 %.04556, 1
  %exitcond71.not = icmp eq i32 %50, 100000
  br i1 %exitcond71.not, label %39, label %.preheader49, !llvm.loop !15

51:                                               ; preds = %.preheader49, %51
  %indvars.iv67 = phi i64 [ 0, %.preheader49 ], [ %indvars.iv.next68, %51 ]
  %52 = call float @randf()
  %53 = getelementptr inbounds [784 x float], ptr %3, i64 0, i64 %indvars.iv67
  store float %52, ptr %53, align 4, !tbaa !9
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %exitcond70.not = icmp eq i64 %indvars.iv.next68, 784
  br i1 %exitcond70.not, label %47, label %51, !llvm.loop !16

.preheader:                                       ; preds = %39, %63
  %.04260 = phi i32 [ 0, %39 ], [ %66, %63 ]
  %.359 = phi float [ %49, %39 ], [ %65, %63 ]
  br label %67

54:                                               ; preds = %63
  %55 = call i64 @llvm.x86.rdtsc()
  %56 = sub i64 %55, %46
  %57 = call i64 @microtime()
  %58 = sub i64 %57, %45
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %58, i64 noundef %56)
  %60 = fptosi float %65 to i8
  %61 = sext i8 %60 to i32
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %61)
  call void @llvm.lifetime.end.p0(i64 3136, ptr nonnull %3) #4
  ret i32 0

63:                                               ; preds = %67
  %64 = call float @processModelCM(ptr noundef nonnull %3)
  %65 = fadd float %.359, %64
  %66 = add nuw nsw i32 %.04260, 1
  %exitcond76.not = icmp eq i32 %66, 100000
  br i1 %exitcond76.not, label %54, label %.preheader, !llvm.loop !17

67:                                               ; preds = %.preheader, %67
  %indvars.iv72 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next73, %67 ]
  %68 = call float @randf()
  %69 = getelementptr inbounds [784 x float], ptr %3, i64 0, i64 %indvars.iv72
  store float %68, ptr %69, align 4, !tbaa !9
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %exitcond75.not = icmp eq i64 %indvars.iv.next73, 784
  br i1 %exitcond75.not, label %63, label %67, !llvm.loop !18
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare i64 @time(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind
declare i64 @llvm.x86.rdtsc() #4

; Function Attrs: alwaysinline nounwind uwtable
declare float @processModelCM(ptr noundef) local_unnamed_addr #5

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { nounwind }
attributes #5 = { alwaysinline 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, !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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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