; LLVM IR from EntityFX/anybench :: src/benchmarks/generic/scimark2 (scimark2)

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

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1

; 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 double, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [6 x double], align 16
  %13 = alloca ptr, align 8
  %14 = alloca i32, 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
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store double 2.000000e+00, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 1024, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 100, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1000, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 5000, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 100, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #8
  call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %15 = call ptr @new_Random_seed(i32 noundef 101010)
  store ptr %15, ptr %13, align 8, !tbaa !9
  %16 = load i32, ptr %4, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 1
  br i1 %17, label %18, label %54

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 1, ptr %14, align 4, !tbaa !5
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  %20 = getelementptr inbounds ptr, ptr %19, i64 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str) #9
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %30, label %24

24:                                               ; preds = %18
  %25 = load ptr, ptr %5, align 8, !tbaa !9
  %26 = getelementptr inbounds ptr, ptr %25, i64 1
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.1) #9
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %33

30:                                               ; preds = %24, %18
  %31 = load ptr, ptr @stderr, align 8, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str.2) #8
  call void @exit(i32 noundef 0) #10
  unreachable

33:                                               ; preds = %24
  %34 = load ptr, ptr %5, align 8, !tbaa !9
  %35 = getelementptr inbounds ptr, ptr %34, i64 1
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = call i32 @strcmp(ptr noundef %36, ptr noundef @.str.3) #9
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %39, label %42

39:                                               ; preds = %33
  store i32 1048576, ptr %7, align 4, !tbaa !5
  store i32 1000, ptr %8, align 4, !tbaa !5
  store i32 100000, ptr %9, align 4, !tbaa !5
  store i32 1000000, ptr %10, align 4, !tbaa !5
  store i32 1000, ptr %11, align 4, !tbaa !5
  %40 = load i32, ptr %14, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %14, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %39, %33
  %43 = load i32, ptr %14, align 4, !tbaa !5
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %46, label %53

46:                                               ; preds = %42
  %47 = load ptr, ptr %5, align 8, !tbaa !9
  %48 = load i32, ptr %14, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds ptr, ptr %47, i64 %49
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = call double @atof(ptr noundef %51) #9
  store double %52, ptr %6, align 8, !tbaa !11
  br label %53

53:                                               ; preds = %46, %42
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %54

54:                                               ; preds = %53, %2
  call void @print_banner()
  %55 = load double, ptr %6, align 8, !tbaa !11
  %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %55)
  %57 = load i32, ptr %7, align 4, !tbaa !5
  %58 = load double, ptr %6, align 8, !tbaa !11
  %59 = load ptr, ptr %13, align 8, !tbaa !9
  %60 = call double @kernel_measureFFT(i32 noundef %57, double noundef %58, ptr noundef %59)
  %61 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 1
  store double %60, ptr %61, align 8, !tbaa !11
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = load double, ptr %6, align 8, !tbaa !11
  %64 = load ptr, ptr %13, align 8, !tbaa !9
  %65 = call double @kernel_measureSOR(i32 noundef %62, double noundef %63, ptr noundef %64)
  %66 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 2
  store double %65, ptr %66, align 16, !tbaa !11
  %67 = load double, ptr %6, align 8, !tbaa !11
  %68 = load ptr, ptr %13, align 8, !tbaa !9
  %69 = call double @kernel_measureMonteCarlo(double noundef %67, ptr noundef %68)
  %70 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 3
  store double %69, ptr %70, align 8, !tbaa !11
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = load double, ptr %6, align 8, !tbaa !11
  %74 = load ptr, ptr %13, align 8, !tbaa !9
  %75 = call double @kernel_measureSparseMatMult(i32 noundef %71, i32 noundef %72, double noundef %73, ptr noundef %74)
  %76 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 4
  store double %75, ptr %76, align 16, !tbaa !11
  %77 = load i32, ptr %11, align 4, !tbaa !5
  %78 = load double, ptr %6, align 8, !tbaa !11
  %79 = load ptr, ptr %13, align 8, !tbaa !9
  %80 = call double @kernel_measureLU(i32 noundef %77, double noundef %78, ptr noundef %79)
  %81 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 5
  store double %80, ptr %81, align 8, !tbaa !11
  %82 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 1
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 2
  %85 = load double, ptr %84, align 16, !tbaa !11
  %86 = fadd double %83, %85
  %87 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 3
  %88 = load double, ptr %87, align 8, !tbaa !11
  %89 = fadd double %86, %88
  %90 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 4
  %91 = load double, ptr %90, align 16, !tbaa !11
  %92 = fadd double %89, %91
  %93 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 5
  %94 = load double, ptr %93, align 8, !tbaa !11
  %95 = fadd double %92, %94
  %96 = fdiv double %95, 5.000000e+00
  %97 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0
  store double %96, ptr %97, align 16, !tbaa !11
  %98 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 0
  %99 = load double, ptr %98, align 16, !tbaa !11
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %99)
  %101 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 1
  %102 = load double, ptr %101, align 8, !tbaa !11
  %103 = load i32, ptr %7, align 4, !tbaa !5
  %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %102, i32 noundef %103)
  %105 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 2
  %106 = load double, ptr %105, align 16, !tbaa !11
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = load i32, ptr %8, align 4, !tbaa !5
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %106, i32 noundef %107, i32 noundef %108)
  %110 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 3
  %111 = load double, ptr %110, align 8, !tbaa !11
  %112 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %111)
  %113 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 4
  %114 = load double, ptr %113, align 16, !tbaa !11
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = load i32, ptr %10, align 4, !tbaa !5
  %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %114, i32 noundef %115, i32 noundef %116)
  %118 = getelementptr inbounds [6 x double], ptr %12, i64 0, i64 5
  %119 = load double, ptr %118, align 8, !tbaa !11
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = load i32, ptr %11, align 4, !tbaa !5
  %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %119, i32 noundef %120, i32 noundef %121)
  %123 = load ptr, ptr %13, align 8, !tbaa !9
  call void @Random_delete(ptr noundef %123)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  ret i32 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

declare ptr @new_Random_seed(i32 noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: inlinehint nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #7

; 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 void @print_banner() #0

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

declare double @kernel_measureFFT(i32 noundef, double noundef, ptr noundef) #3

declare double @kernel_measureSOR(i32 noundef, double noundef, ptr noundef) #3

declare double @kernel_measureMonteCarlo(double noundef, ptr noundef) #3

declare double @kernel_measureSparseMatMult(i32 noundef, i32 noundef, double noundef, ptr noundef) #3

declare double @kernel_measureLU(i32 noundef, double noundef, ptr noundef) #3

declare void @Random_delete(ptr noundef) #3

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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 willreturn memory(read) "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 "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 #6 = { noreturn 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 #7 = { inlinehint nounwind willreturn memory(read) 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 #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }
attributes #10 = { noreturn 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 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}


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

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [44 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = tail call ptr @new_Random_seed(i32 noundef 101010) #6
  %4 = icmp sgt i32 %0, 1
  br i1 %4, label %5, label %27

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %1, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str) #7
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %13, label %10

10:                                               ; preds = %5
  %11 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %13, label %16

13:                                               ; preds = %10, %5
  %14 = load ptr, ptr @stderr, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef nonnull @.str.2) #8
  tail call void @exit(i32 noundef 0) #9
  unreachable

16:                                               ; preds = %10
  %17 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %20

19:                                               ; preds = %16
  br label %20

20:                                               ; preds = %19, %16
  %.046 = phi i32 [ 1048576, %19 ], [ 1024, %16 ]
  %.042 = phi i32 [ 100000, %19 ], [ 1000, %16 ]
  %.040 = phi i32 [ 1000000, %19 ], [ 5000, %16 ]
  %.038 = phi i32 [ 1000, %19 ], [ 100, %16 ]
  %.0 = phi i32 [ 2, %19 ], [ 1, %16 ]
  %21 = icmp ult i32 %.0, %0
  br i1 %21, label %22, label %27

22:                                               ; preds = %20
  %23 = zext nneg i32 %.0 to i64
  %24 = getelementptr inbounds ptr, ptr %1, i64 %23
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = tail call double @atof(ptr noundef %25) #7
  br label %27

27:                                               ; preds = %20, %22, %2
  %.147 = phi i32 [ 1024, %2 ], [ %.046, %22 ], [ %.046, %20 ]
  %.143 = phi i32 [ 1000, %2 ], [ %.042, %22 ], [ %.042, %20 ]
  %.141 = phi i32 [ 5000, %2 ], [ %.040, %22 ], [ %.040, %20 ]
  %.139 = phi i32 [ 100, %2 ], [ %.038, %22 ], [ %.038, %20 ]
  %.1 = phi double [ 2.000000e+00, %2 ], [ %26, %22 ], [ 2.000000e+00, %20 ]
  tail call void @print_banner()
  %28 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %.1)
  %29 = tail call double @kernel_measureFFT(i32 noundef %.147, double noundef %.1, ptr noundef %3) #6
  %30 = tail call double @kernel_measureSOR(i32 noundef %.139, double noundef %.1, ptr noundef %3) #6
  %31 = tail call double @kernel_measureMonteCarlo(double noundef %.1, ptr noundef %3) #6
  %32 = tail call double @kernel_measureSparseMatMult(i32 noundef %.143, i32 noundef %.141, double noundef %.1, ptr noundef %3) #6
  %33 = tail call double @kernel_measureLU(i32 noundef %.139, double noundef %.1, ptr noundef %3) #6
  %34 = fadd double %29, %30
  %35 = fadd double %34, %31
  %36 = fadd double %35, %32
  %37 = fadd double %36, %33
  %38 = fdiv double %37, 5.000000e+00
  %39 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %38)
  %40 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %29, i32 noundef %.147)
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, double noundef %30, i32 noundef %.139, i32 noundef %.139)
  %42 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, double noundef %31)
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %32, i32 noundef %.143, i32 noundef %.141)
  %44 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %33, i32 noundef %.139, i32 noundef %.139)
  tail call void @Random_delete(ptr noundef %3) #6
  ret i32 0
}

declare ptr @new_Random_seed(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local void @print_banner() local_unnamed_addr #0

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

declare double @kernel_measureFFT(i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare double @kernel_measureSOR(i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare double @kernel_measureMonteCarlo(double noundef, ptr noundef) local_unnamed_addr #1

declare double @kernel_measureSparseMatMult(i32 noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare double @kernel_measureLU(i32 noundef, double noundef, ptr noundef) local_unnamed_addr #1

declare void @Random_delete(ptr noundef) local_unnamed_addr #1

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 = { "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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { noreturn 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 #5 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { cold nounwind }
attributes #9 = { noreturn 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/C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass