llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpg9l2kavq.c'
source_filename = "/tmp/tmpg9l2kavq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vpair_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
store double %11, ptr %8, align 8
%12 = load double, ptr %8, align 8
%13 = load double, ptr %8, align 8
%14 = fmul double %13, %12
store double %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 1
%17 = call i32 @power_1(ptr noundef %7, ptr noundef %4, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = load double, ptr %7, align 8
%22 = fdiv double %20, %21
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds double, ptr %23, i64 4
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds double, ptr %26, i64 3
%28 = load double, ptr %27, align 8
%29 = fmul double %25, %28
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds double, ptr %30, i64 3
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds double, ptr %33, i64 5
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds double, ptr %36, i64 2
%38 = load double, ptr %37, align 8
%39 = fmul double %35, %38
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds double, ptr %40, i64 2
%42 = load double, ptr %41, align 8
%43 = fmul double %39, %42
%44 = load double, ptr %8, align 8
%45 = fdiv double %43, %44
%46 = call double @llvm.fmuladd.f64(double %29, double %32, double %45)
%47 = fmul double 5.000000e-01, %46
%48 = load double, ptr %4, align 8
%49 = fneg double %48
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds double, ptr %50, i64 6
%52 = load double, ptr %51, align 8
%53 = fdiv double %49, %52
%54 = call double @exp(double noundef %53) #4
%55 = fneg double %47
%56 = call double @llvm.fmuladd.f64(double %55, double %54, double %22)
%57 = fmul double 1.440000e+01, %56
%58 = load ptr, ptr %6, align 8
store double %57, ptr %58, align 8
ret void
}
declare i32 @power_1(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg9l2kavq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vpair_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %4, align 8
%11 = fmul double %9, %10
store double %11, ptr %8, align 8
%12 = load double, ptr %8, align 8
%13 = load double, ptr %8, align 8
%14 = fmul double %13, %12
store double %14, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 1
%17 = call i32 @power_1(ptr noundef %7, ptr noundef %4, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds double, ptr %18, i64 0
%20 = load double, ptr %19, align 8
%21 = load double, ptr %7, align 8
%22 = fdiv double %20, %21
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds double, ptr %23, i64 4
%25 = load double, ptr %24, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds double, ptr %26, i64 3
%28 = load double, ptr %27, align 8
%29 = fmul double %25, %28
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds double, ptr %30, i64 3
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds double, ptr %33, i64 5
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds double, ptr %36, i64 2
%38 = load double, ptr %37, align 8
%39 = fmul double %35, %38
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds double, ptr %40, i64 2
%42 = load double, ptr %41, align 8
%43 = fmul double %39, %42
%44 = load double, ptr %8, align 8
%45 = fdiv double %43, %44
%46 = call double @llvm.fmuladd.f64(double %29, double %32, double %45)
%47 = fmul double 5.000000e-01, %46
%48 = load double, ptr %4, align 8
%49 = fneg double %48
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds double, ptr %50, i64 6
%52 = load double, ptr %51, align 8
%53 = fdiv double %49, %52
%54 = call double @exp(double noundef %53) #4
%55 = fneg double %47
%56 = call double @llvm.fmuladd.f64(double %55, double %54, double %22)
%57 = fmul double 1.440000e+01, %56
%58 = load ptr, ptr %6, align 8
store double %57, ptr %58, align 8
ret void
}
declare i32 @power_1(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ecbbd4y.c'
source_filename = "/tmp/tmp_ecbbd4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %16, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13, %8, %1
br label %82
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = udiv i32 %21, 2
store i32 %22, ptr %4, align 4
store i32 0, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = urem i32 %23, 2
%25 = icmp eq i32 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %17
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %26, %17
%30 = load i32, ptr %4, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %29, %26
br label %33
33: ; preds = %37, %32
%34 = load i32, ptr %4, align 4
%35 = add i32 %34, -1
store i32 %35, ptr %4, align 4
%36 = icmp ne i32 %34, 0
br i1 %36, label %37, label %82
37: ; preds = %33
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %5, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = xor i32 %49, %43
%51 = trunc i32 %50 to i8
store i8 %51, ptr %47, align 1
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %5, align 4
%54 = zext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %3, align 4
%60 = zext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = xor i32 %63, %57
%65 = trunc i32 %64 to i8
store i8 %65, ptr %61, align 1
%66 = load ptr, ptr %2, align 8
%67 = load i32, ptr %3, align 4
%68 = add i32 %67, -1
store i32 %68, ptr %3, align 4
%69 = zext i32 %67 to i64
%70 = getelementptr inbounds i8, ptr %66, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %5, align 4
%75 = add i32 %74, 1
store i32 %75, ptr %5, align 4
%76 = zext i32 %74 to i64
%77 = getelementptr inbounds i8, ptr %73, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = xor i32 %79, %72
%81 = trunc i32 %80 to i8
store i8 %81, ptr %77, align 1
br label %33, !llvm.loop !6
82: ; preds = %16, %33
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ecbbd4y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reverse(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %16, label %8
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %8
%14 = load ptr, ptr %2, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %13, %8, %1
br label %84
17: ; preds = %13
%18 = load ptr, ptr %2, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = udiv i32 %21, 2
store i32 %22, ptr %4, align 4
store i32 0, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = urem i32 %23, 2
%25 = icmp eq i32 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %17
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 1
br i1 %28, label %29, label %32
29: ; preds = %26, %17
%30 = load i32, ptr %4, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %4, align 4
br label %32
32: ; preds = %29, %26
%33 = load i32, ptr %4, align 4
%34 = add i32 %33, -1
store i32 %34, ptr %4, align 4
%35 = icmp ne i32 %33, 0
br i1 %35, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %36
%37 = load ptr, ptr %2, align 8
%38 = load i32, ptr %3, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %5, align 4
%45 = zext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = xor i32 %48, %42
%50 = trunc i32 %49 to i8
store i8 %50, ptr %46, align 1
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %5, align 4
%53 = zext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = load ptr, ptr %2, align 8
%58 = load i32, ptr %3, align 4
%59 = zext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = xor i32 %62, %56
%64 = trunc i32 %63 to i8
store i8 %64, ptr %60, align 1
%65 = load ptr, ptr %2, align 8
%66 = load i32, ptr %3, align 4
%67 = add i32 %66, -1
store i32 %67, ptr %3, align 4
%68 = zext i32 %66 to i64
%69 = getelementptr inbounds i8, ptr %65, i64 %68
%70 = load i8, ptr %69, align 1
%71 = sext i8 %70 to i32
%72 = load ptr, ptr %2, align 8
%73 = load i32, ptr %5, align 4
%74 = add i32 %73, 1
store i32 %74, ptr %5, align 4
%75 = zext i32 %73 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = xor i32 %78, %71
%80 = trunc i32 %79 to i8
store i8 %80, ptr %76, align 1
%81 = load i32, ptr %4, align 4
%82 = add i32 %81, -1
store i32 %82, ptr %4, align 4
%83 = icmp ne i32 %81, 0
br i1 %83, label %36, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %36
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %32
br label %84
84: ; preds = %.loopexit, %16
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpex7th9dm.c'
source_filename = "/tmp/tmpex7th9dm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tanh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @sinh(double noundef %3) #2
%5 = load double, ptr %2, align 8
%6 = call double @cosh(double noundef %5) #2
%7 = fdiv double %4, %6
ret double %7
}
; Function Attrs: nounwind
declare double @sinh(double noundef) #1
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { nounwind "frame-pointer"="all" "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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpex7th9dm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @tanh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @sinh(double noundef %3) #2
%5 = load double, ptr %2, align 8
%6 = call double @cosh(double noundef %5) #2
%7 = fdiv double %4, %6
ret double %7
}
; Function Attrs: nounwind
declare double @sinh(double noundef) #1
; Function Attrs: nounwind
declare double @cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { nounwind "frame-pointer"="all" "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 }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxi5f47ii.c'
source_filename = "/tmp/tmpxi5f47ii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxi5f47ii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwa3bb42n.c'
source_filename = "/tmp/tmpwa3bb42n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @percentile_nocopy_int(i32 noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %4, align 4
br label %161
20: ; preds = %3
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double 1.000000e+00, %22
store double %23, ptr %12, align 8
%24 = load double, ptr %7, align 8
%25 = load double, ptr %12, align 8
%26 = fdiv double %25, 2.000000e+00
%27 = fcmp ole double %24, %26
br i1 %27, label %28, label %56
28: ; preds = %20
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 0
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %13, align 4
store i32 1, ptr %8, align 4
br label %32
32: ; preds = %51, %28
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %54
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %50
44: ; preds = %36
%45 = load ptr, ptr %6, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
store i32 %49, ptr %13, align 4
br label %50
50: ; preds = %44, %36
br label %51
51: ; preds = %50
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %8, align 4
br label %32, !llvm.loop !6
54: ; preds = %32
%55 = load i32, ptr %13, align 4
store i32 %55, ptr %4, align 4
br label %161
56: ; preds = %20
%57 = load double, ptr %7, align 8
%58 = load double, ptr %12, align 8
%59 = fdiv double %58, 2.000000e+00
%60 = fsub double 1.000000e+02, %59
%61 = fcmp oge double %57, %60
br i1 %61, label %62, label %90
62: ; preds = %56
%63 = load ptr, ptr %6, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 0
%65 = load i32, ptr %64, align 4
store i32 %65, ptr %13, align 4
store i32 1, ptr %8, align 4
br label %66
66: ; preds = %85, %62
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %5, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %88
70: ; preds = %66
%71 = load ptr, ptr %6, align 8
%72 = load i32, ptr %8, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %13, align 4
%77 = icmp sgt i32 %75, %76
br i1 %77, label %78, label %84
78: ; preds = %70
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
store i32 %83, ptr %13, align 4
br label %84
84: ; preds = %78, %70
br label %85
85: ; preds = %84
%86 = load i32, ptr %8, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %8, align 4
br label %66, !llvm.loop !8
88: ; preds = %66
%89 = load i32, ptr %13, align 4
store i32 %89, ptr %4, align 4
br label %161
90: ; preds = %56
%91 = load double, ptr %7, align 8
%92 = load i32, ptr %5, align 4
%93 = sub nsw i32 %92, 1
%94 = sitofp i32 %93 to double
%95 = fmul double %91, %94
%96 = fdiv double %95, 1.000000e+02
%97 = load double, ptr %12, align 8
%98 = fdiv double %97, 2.000000e+00
%99 = fsub double %96, %98
store double %99, ptr %11, align 8
%100 = load double, ptr %11, align 8
%101 = call i32 @floor(double noundef %100)
store i32 %101, ptr %9, align 4
%102 = load double, ptr %11, align 8
%103 = call i32 @ceil(double noundef %102)
store i32 %103, ptr %10, align 4
%104 = load i32, ptr %9, align 4
%105 = load i32, ptr %5, align 4
%106 = sub nsw i32 %105, 1
%107 = icmp sgt i32 %104, %106
br i1 %107, label %108, label %111
108: ; preds = %90
%109 = load i32, ptr %5, align 4
%110 = sub nsw i32 %109, 1
store i32 %110, ptr %9, align 4
br label %111
111: ; preds = %108, %90
%112 = load i32, ptr %10, align 4
%113 = load i32, ptr %5, align 4
%114 = sub nsw i32 %113, 1
%115 = icmp sgt i32 %112, %114
br i1 %115, label %116, label %119
116: ; preds = %111
%117 = load i32, ptr %5, align 4
%118 = sub nsw i32 %117, 1
store i32 %118, ptr %10, align 4
br label %119
119: ; preds = %116, %111
%120 = load i32, ptr %9, align 4
%121 = icmp slt i32 %120, 0
br i1 %121, label %122, label %123
122: ; preds = %119
store i32 0, ptr %9, align 4
br label %123
123: ; preds = %122, %119
%124 = load i32, ptr %10, align 4
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %123
store i32 0, ptr %10, align 4
br label %127
127: ; preds = %126, %123
%128 = load i32, ptr %9, align 4
%129 = load i32, ptr %10, align 4
%130 = icmp ne i32 %128, %129
br i1 %130, label %131, label %153
131: ; preds = %127
%132 = load i32, ptr %9, align 4
%133 = add nsw i32 %132, 1
%134 = load i32, ptr %5, align 4
%135 = load ptr, ptr %6, align 8
%136 = call i32 @quickselect_int(i32 noundef %133, i32 noundef %134, ptr noundef %135)
store i32 %136, ptr %13, align 4
%137 = load double, ptr %11, align 8
%138 = load i32, ptr %9, align 4
%139 = sitofp i32 %138 to double
%140 = fsub double %137, %139
%141 = load i32, ptr %10, align 4
%142 = add nsw i32 %141, 1
%143 = load i32, ptr %5, align 4
%144 = load ptr, ptr %6, align 8
%145 = call i32 @quickselect_int(i32 noundef %142, i32 noundef %143, ptr noundef %144)
%146 = load i32, ptr %13, align 4
%147 = sub nsw i32 %145, %146
%148 = sitofp i32 %147 to double
%149 = fmul double %140, %148
%150 = fptosi double %149 to i32
%151 = load i32, ptr %13, align 4
%152 = add nsw i32 %151, %150
store i32 %152, ptr %13, align 4
br label %159
153: ; preds = %127
%154 = load i32, ptr %9, align 4
%155 = add nsw i32 %154, 1
%156 = load i32, ptr %5, align 4
%157 = load ptr, ptr %6, align 8
%158 = call i32 @quickselect_int(i32 noundef %155, i32 noundef %156, ptr noundef %157)
store i32 %158, ptr %13, align 4
br label %159
159: ; preds = %153, %131
%160 = load i32, ptr %13, align 4
store i32 %160, ptr %4, align 4
br label %161
161: ; preds = %159, %88, %54, %16
%162 = load i32, ptr %4, align 4
ret i32 %162
}
declare i32 @floor(double noundef) #1
declare i32 @ceil(double noundef) #1
declare i32 @quickselect_int(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwa3bb42n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @percentile_nocopy_int(i32 noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %14, 1
br i1 %15, label %16, label %20
16: ; preds = %3
%17 = load ptr, ptr %6, align 8
%18 = getelementptr inbounds i32, ptr %17, i64 0
%19 = load i32, ptr %18, align 4
store i32 %19, ptr %4, align 4
br label %165
20: ; preds = %3
%21 = load i32, ptr %5, align 4
%22 = sitofp i32 %21 to double
%23 = fdiv double 1.000000e+00, %22
store double %23, ptr %12, align 8
%24 = load double, ptr %7, align 8
%25 = load double, ptr %12, align 8
%26 = fdiv double %25, 2.000000e+00
%27 = fcmp ole double %24, %26
br i1 %27, label %28, label %58
28: ; preds = %20
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds i32, ptr %29, i64 0
%31 = load i32, ptr %30, align 4
store i32 %31, ptr %13, align 4
store i32 1, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph2, label %56
.lr.ph2: ; preds = %28
br label %35
35: ; preds = %.lr.ph2, %50
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %13, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %49
43: ; preds = %35
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
store i32 %48, ptr %13, align 4
br label %49
49: ; preds = %43, %35
br label %50
50: ; preds = %49
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %35, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %50
br label %56
56: ; preds = %._crit_edge3, %28
%57 = load i32, ptr %13, align 4
store i32 %57, ptr %4, align 4
br label %165
58: ; preds = %20
%59 = load double, ptr %7, align 8
%60 = load double, ptr %12, align 8
%61 = fdiv double %60, 2.000000e+00
%62 = fsub double 1.000000e+02, %61
%63 = fcmp oge double %59, %62
br i1 %63, label %64, label %94
64: ; preds = %58
%65 = load ptr, ptr %6, align 8
%66 = getelementptr inbounds i32, ptr %65, i64 0
%67 = load i32, ptr %66, align 4
store i32 %67, ptr %13, align 4
store i32 1, ptr %8, align 4
%68 = load i32, ptr %8, align 4
%69 = load i32, ptr %5, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph, label %92
.lr.ph: ; preds = %64
br label %71
71: ; preds = %.lr.ph, %86
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %8, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %13, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %85
79: ; preds = %71
%80 = load ptr, ptr %6, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %80, i64 %82
%84 = load i32, ptr %83, align 4
store i32 %84, ptr %13, align 4
br label %85
85: ; preds = %79, %71
br label %86
86: ; preds = %85
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %8, align 4
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %5, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %71, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %86
br label %92
92: ; preds = %._crit_edge, %64
%93 = load i32, ptr %13, align 4
store i32 %93, ptr %4, align 4
br label %165
94: ; preds = %58
%95 = load double, ptr %7, align 8
%96 = load i32, ptr %5, align 4
%97 = sub nsw i32 %96, 1
%98 = sitofp i32 %97 to double
%99 = fmul double %95, %98
%100 = fdiv double %99, 1.000000e+02
%101 = load double, ptr %12, align 8
%102 = fdiv double %101, 2.000000e+00
%103 = fsub double %100, %102
store double %103, ptr %11, align 8
%104 = load double, ptr %11, align 8
%105 = call i32 @floor(double noundef %104)
store i32 %105, ptr %9, align 4
%106 = load double, ptr %11, align 8
%107 = call i32 @ceil(double noundef %106)
store i32 %107, ptr %10, align 4
%108 = load i32, ptr %9, align 4
%109 = load i32, ptr %5, align 4
%110 = sub nsw i32 %109, 1
%111 = icmp sgt i32 %108, %110
br i1 %111, label %112, label %115
112: ; preds = %94
%113 = load i32, ptr %5, align 4
%114 = sub nsw i32 %113, 1
store i32 %114, ptr %9, align 4
br label %115
115: ; preds = %112, %94
%116 = load i32, ptr %10, align 4
%117 = load i32, ptr %5, align 4
%118 = sub nsw i32 %117, 1
%119 = icmp sgt i32 %116, %118
br i1 %119, label %120, label %123
120: ; preds = %115
%121 = load i32, ptr %5, align 4
%122 = sub nsw i32 %121, 1
store i32 %122, ptr %10, align 4
br label %123
123: ; preds = %120, %115
%124 = load i32, ptr %9, align 4
%125 = icmp slt i32 %124, 0
br i1 %125, label %126, label %127
126: ; preds = %123
store i32 0, ptr %9, align 4
br label %127
127: ; preds = %126, %123
%128 = load i32, ptr %10, align 4
%129 = icmp slt i32 %128, 0
br i1 %129, label %130, label %131
130: ; preds = %127
store i32 0, ptr %10, align 4
br label %131
131: ; preds = %130, %127
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %10, align 4
%134 = icmp ne i32 %132, %133
br i1 %134, label %135, label %157
135: ; preds = %131
%136 = load i32, ptr %9, align 4
%137 = add nsw i32 %136, 1
%138 = load i32, ptr %5, align 4
%139 = load ptr, ptr %6, align 8
%140 = call i32 @quickselect_int(i32 noundef %137, i32 noundef %138, ptr noundef %139)
store i32 %140, ptr %13, align 4
%141 = load double, ptr %11, align 8
%142 = load i32, ptr %9, align 4
%143 = sitofp i32 %142 to double
%144 = fsub double %141, %143
%145 = load i32, ptr %10, align 4
%146 = add nsw i32 %145, 1
%147 = load i32, ptr %5, align 4
%148 = load ptr, ptr %6, align 8
%149 = call i32 @quickselect_int(i32 noundef %146, i32 noundef %147, ptr noundef %148)
%150 = load i32, ptr %13, align 4
%151 = sub nsw i32 %149, %150
%152 = sitofp i32 %151 to double
%153 = fmul double %144, %152
%154 = fptosi double %153 to i32
%155 = load i32, ptr %13, align 4
%156 = add nsw i32 %155, %154
store i32 %156, ptr %13, align 4
br label %163
157: ; preds = %131
%158 = load i32, ptr %9, align 4
%159 = add nsw i32 %158, 1
%160 = load i32, ptr %5, align 4
%161 = load ptr, ptr %6, align 8
%162 = call i32 @quickselect_int(i32 noundef %159, i32 noundef %160, ptr noundef %161)
store i32 %162, ptr %13, align 4
br label %163
163: ; preds = %157, %135
%164 = load i32, ptr %13, align 4
store i32 %164, ptr %4, align 4
br label %165
165: ; preds = %163, %92, %56, %16
%166 = load i32, ptr %4, align 4
ret i32 %166
}
declare i32 @floor(double noundef) #1
declare i32 @ceil(double noundef) #1
declare i32 @quickselect_int(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp22cpl3uf.c'
source_filename = "/tmp/tmp22cpl3uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ADXL345_powerOn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @ADXL345_writeTo(i32 noundef %3, i32 noundef 45, i32 noundef 0)
%5 = load i32, ptr %2, align 4
%6 = call i32 @ADXL345_writeTo(i32 noundef %5, i32 noundef 45, i32 noundef 16)
%7 = load i32, ptr %2, align 4
%8 = call i32 @ADXL345_writeTo(i32 noundef %7, i32 noundef 45, i32 noundef 8)
ret void
}
declare i32 @ADXL345_writeTo(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp22cpl3uf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ADXL345_powerOn(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @ADXL345_writeTo(i32 noundef %3, i32 noundef 45, i32 noundef 0)
%5 = load i32, ptr %2, align 4
%6 = call i32 @ADXL345_writeTo(i32 noundef %5, i32 noundef 45, i32 noundef 16)
%7 = load i32, ptr %2, align 4
%8 = call i32 @ADXL345_writeTo(i32 noundef %7, i32 noundef 45, i32 noundef 8)
ret void
}
declare i32 @ADXL345_writeTo(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvjp6uced.c'
source_filename = "/tmp/tmpvjp6uced.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"CheCKpOInT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = call ptr @acc_malloc(i32 noundef 256)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @acc_map_data(ptr noundef %12, ptr noundef %13, i32 noundef 256)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load ptr, ptr %8, align 8
%18 = call i32 @acc_unmap_data(ptr noundef %17)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @acc_free(ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = call i32 @free(ptr noundef %21)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_malloc(i32 noundef) #1
declare i32 @acc_map_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @acc_unmap_data(ptr noundef) #1
declare i32 @acc_free(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvjp6uced.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"CheCKpOInT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 256, ptr %6, align 4
%9 = call i64 @malloc(i32 noundef 256)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %7, align 8
%11 = call ptr @acc_malloc(i32 noundef 256)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @acc_map_data(ptr noundef %12, ptr noundef %13, i32 noundef 256)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str)
%17 = load ptr, ptr %8, align 8
%18 = call i32 @acc_unmap_data(ptr noundef %17)
%19 = load ptr, ptr %8, align 8
%20 = call i32 @acc_free(ptr noundef %19)
%21 = load ptr, ptr %7, align 8
%22 = call i32 @free(ptr noundef %21)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @acc_malloc(i32 noundef) #1
declare i32 @acc_map_data(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @acc_unmap_data(ptr noundef) #1
declare i32 @acc_free(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyq42qngx.c'
source_filename = "/tmp/tmpyq42qngx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyq42qngx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzj58ntrh.c'
source_filename = "/tmp/tmpzj58ntrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_atom_from_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr (...) @create_string_buffer()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @string_buffer_append_string(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @create_atom(ptr noundef %8)
ret ptr %9
}
declare ptr @create_string_buffer(...) #1
declare i32 @string_buffer_append_string(ptr noundef, ptr noundef) #1
declare ptr @create_atom(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzj58ntrh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @create_atom_from_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr (...) @create_string_buffer()
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @string_buffer_append_string(ptr noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call ptr @create_atom(ptr noundef %8)
ret ptr %9
}
declare ptr @create_string_buffer(...) #1
declare i32 @string_buffer_append_string(ptr noundef, ptr noundef) #1
declare ptr @create_atom(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6919snwz.c'
source_filename = "/tmp/tmp6919snwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_10__ = type { i32 }
%struct.TYPE_11__ = type { i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i32, i32, i32, i64, i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"couldn't connect to X server :0\0A\00", align 1
@StaticGravity = dso_local global i32 0, align 4
@CWWinGravity = dso_local global i64 0, align 8
@CopyFromParent = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@PMaxSize = dso_local global i32 0, align 4
@ExposureMask = dso_local global i32 0, align 4
@StructureNotifyMask = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"exposed\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"confignotify %i,%i-%ix%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.TYPE_10__, align 4
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_11__, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.TYPE_9__, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %7, align 4
store i32 10, ptr %8, align 4
store i32 100, ptr %9, align 4
store i32 400, ptr %10, align 4
%12 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
ret i32 0
18: ; preds = %0
%19 = load i32, ptr @StaticGravity, align 4
%20 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i32 0, i32 0
store i32 %19, ptr %20, align 4
%21 = load i64, ptr @CWWinGravity, align 8
store i64 %21, ptr %3, align 8
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @RootWindow(ptr noundef %23, i32 noundef 0)
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr @CopyFromParent, align 4
%30 = load i32, ptr @CopyFromParent, align 4
%31 = load i32, ptr @CopyFromParent, align 4
%32 = load i64, ptr %3, align 8
%33 = call i32 @XCreateWindow(ptr noundef %22, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 0, i32 noundef %29, i32 noundef %30, i32 noundef %31, i64 noundef %32, ptr noundef %2)
store i32 %33, ptr %5, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %4, align 8
%37 = call i32 @WhitePixel(ptr noundef %36, i32 noundef 0)
%38 = call i32 @XSetWindowBackground(ptr noundef %34, i32 noundef %35, i32 noundef %37)
%39 = load i32, ptr @PMinSize, align 4
%40 = load i32, ptr @PMaxSize, align 4
%41 = or i32 %39, %40
%42 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 0
store i32 %41, ptr %42, align 8
%43 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 4
store i64 0, ptr %43, align 8
%44 = load i32, ptr %10, align 4
%45 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 1
store i32 %44, ptr %45, align 4
%46 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 3
store i64 0, ptr %46, align 8
%47 = load i32, ptr %9, align 4
%48 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 2
store i32 %47, ptr %48, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %5, align 4
%51 = call i32 @XSetWMNormalHints(ptr noundef %49, i32 noundef %50, ptr noundef %11)
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr @ExposureMask, align 4
%55 = load i32, ptr @StructureNotifyMask, align 4
%56 = or i32 %54, %55
%57 = call i32 @XSelectInput(ptr noundef %52, i32 noundef %53, i32 noundef %56)
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %5, align 4
%60 = call i32 @XMapWindow(ptr noundef %58, i32 noundef %59)
%61 = load ptr, ptr %4, align 8
%62 = call i32 @XFlush(ptr noundef %61)
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %5, align 4
%65 = call i32 @XMoveWindow(ptr noundef %63, i32 noundef %64, i32 noundef 10, i32 noundef 10)
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %5, align 4
%68 = call i32 @XMoveWindow(ptr noundef %66, i32 noundef %67, i32 noundef 10, i32 noundef 10)
br label %69
69: ; preds = %18, %94
%70 = load ptr, ptr %4, align 8
%71 = call i32 @XNextEvent(ptr noundef %70, ptr noundef %6)
%72 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 0
%73 = load i32, ptr %72, align 4
switch i32 %73, label %94 [
i32 128, label %74
i32 129, label %76
]
74: ; preds = %69
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %94
76: ; preds = %69
%77 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%78 = getelementptr inbounds %struct.TYPE_8__, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
store i32 %79, ptr %7, align 4
%80 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%81 = getelementptr inbounds %struct.TYPE_8__, ptr %80, i32 0, i32 1
%82 = load i32, ptr %81, align 4
store i32 %82, ptr %8, align 4
%83 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%84 = getelementptr inbounds %struct.TYPE_8__, ptr %83, i32 0, i32 2
%85 = load i32, ptr %84, align 4
store i32 %85, ptr %10, align 4
%86 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%87 = getelementptr inbounds %struct.TYPE_8__, ptr %86, i32 0, i32 3
%88 = load i32, ptr %87, align 4
store i32 %88, ptr %9, align 4
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %10, align 4
%92 = load i32, ptr %9, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
br label %94
94: ; preds = %69, %76, %74
br label %69
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @XSetWindowBackground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XSetWMNormalHints(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @XMoveWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6919snwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_10__ = type { i32 }
%struct.TYPE_11__ = type { i32, %struct.TYPE_8__ }
%struct.TYPE_8__ = type { i32, i32, i32, i32 }
%struct.TYPE_9__ = type { i32, i32, i32, i64, i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [33 x i8] c"couldn't connect to X server :0\0A\00", align 1
@StaticGravity = dso_local global i32 0, align 4
@CWWinGravity = dso_local global i64 0, align 8
@CopyFromParent = dso_local global i32 0, align 4
@PMinSize = dso_local global i32 0, align 4
@PMaxSize = dso_local global i32 0, align 4
@ExposureMask = dso_local global i32 0, align 4
@StructureNotifyMask = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [9 x i8] c"exposed\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"confignotify %i,%i-%ix%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.TYPE_10__, align 4
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.TYPE_11__, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.TYPE_9__, align 8
store i32 0, ptr %1, align 4
store i32 10, ptr %7, align 4
store i32 10, ptr %8, align 4
store i32 100, ptr %9, align 4
store i32 400, ptr %10, align 4
%12 = call ptr @XOpenDisplay(ptr noundef null)
store ptr %12, ptr %4, align 8
%13 = load ptr, ptr %4, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %18
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
ret i32 0
18: ; preds = %0
%19 = load i32, ptr @StaticGravity, align 4
%20 = getelementptr inbounds %struct.TYPE_10__, ptr %2, i32 0, i32 0
store i32 %19, ptr %20, align 4
%21 = load i64, ptr @CWWinGravity, align 8
store i64 %21, ptr %3, align 8
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %4, align 8
%24 = call i32 @RootWindow(ptr noundef %23, i32 noundef 0)
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr @CopyFromParent, align 4
%30 = load i32, ptr @CopyFromParent, align 4
%31 = load i32, ptr @CopyFromParent, align 4
%32 = load i64, ptr %3, align 8
%33 = call i32 @XCreateWindow(ptr noundef %22, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef 0, i32 noundef %29, i32 noundef %30, i32 noundef %31, i64 noundef %32, ptr noundef %2)
store i32 %33, ptr %5, align 4
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = load ptr, ptr %4, align 8
%37 = call i32 @WhitePixel(ptr noundef %36, i32 noundef 0)
%38 = call i32 @XSetWindowBackground(ptr noundef %34, i32 noundef %35, i32 noundef %37)
%39 = load i32, ptr @PMinSize, align 4
%40 = load i32, ptr @PMaxSize, align 4
%41 = or i32 %39, %40
%42 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 0
store i32 %41, ptr %42, align 8
%43 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 4
store i64 0, ptr %43, align 8
%44 = load i32, ptr %10, align 4
%45 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 1
store i32 %44, ptr %45, align 4
%46 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 3
store i64 0, ptr %46, align 8
%47 = load i32, ptr %9, align 4
%48 = getelementptr inbounds %struct.TYPE_9__, ptr %11, i32 0, i32 2
store i32 %47, ptr %48, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %5, align 4
%51 = call i32 @XSetWMNormalHints(ptr noundef %49, i32 noundef %50, ptr noundef %11)
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr @ExposureMask, align 4
%55 = load i32, ptr @StructureNotifyMask, align 4
%56 = or i32 %54, %55
%57 = call i32 @XSelectInput(ptr noundef %52, i32 noundef %53, i32 noundef %56)
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %5, align 4
%60 = call i32 @XMapWindow(ptr noundef %58, i32 noundef %59)
%61 = load ptr, ptr %4, align 8
%62 = call i32 @XFlush(ptr noundef %61)
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %5, align 4
%65 = call i32 @XMoveWindow(ptr noundef %63, i32 noundef %64, i32 noundef 10, i32 noundef 10)
%66 = load ptr, ptr %4, align 8
%67 = load i32, ptr %5, align 4
%68 = call i32 @XMoveWindow(ptr noundef %66, i32 noundef %67, i32 noundef 10, i32 noundef 10)
br label %69
69: ; preds = %94, %18
%70 = load ptr, ptr %4, align 8
%71 = call i32 @XNextEvent(ptr noundef %70, ptr noundef %6)
%72 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 0
%73 = load i32, ptr %72, align 4
switch i32 %73, label %94 [
i32 128, label %74
i32 129, label %76
]
74: ; preds = %69
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %94
76: ; preds = %69
%77 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%78 = getelementptr inbounds %struct.TYPE_8__, ptr %77, i32 0, i32 0
%79 = load i32, ptr %78, align 4
store i32 %79, ptr %7, align 4
%80 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%81 = getelementptr inbounds %struct.TYPE_8__, ptr %80, i32 0, i32 1
%82 = load i32, ptr %81, align 4
store i32 %82, ptr %8, align 4
%83 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%84 = getelementptr inbounds %struct.TYPE_8__, ptr %83, i32 0, i32 2
%85 = load i32, ptr %84, align 4
store i32 %85, ptr %10, align 4
%86 = getelementptr inbounds %struct.TYPE_11__, ptr %6, i32 0, i32 1
%87 = getelementptr inbounds %struct.TYPE_8__, ptr %86, i32 0, i32 3
%88 = load i32, ptr %87, align 4
store i32 %88, ptr %9, align 4
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %8, align 4
%91 = load i32, ptr %10, align 4
%92 = load i32, ptr %9, align 4
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
br label %94
94: ; preds = %76, %74, %69
br label %69
}
declare ptr @XOpenDisplay(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @XCreateWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @RootWindow(ptr noundef, i32 noundef) #1
declare i32 @XSetWindowBackground(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @WhitePixel(ptr noundef, i32 noundef) #1
declare i32 @XSetWMNormalHints(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @XSelectInput(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @XMapWindow(ptr noundef, i32 noundef) #1
declare i32 @XFlush(ptr noundef) #1
declare i32 @XMoveWindow(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @XNextEvent(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps_gvbw_v.c'
source_filename = "/tmp/tmps_gvbw_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @number_of_quaddobl_factors(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 686, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_gvbw_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @number_of_quaddobl_factors(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 686, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd5jt812c.c'
source_filename = "/tmp/tmpd5jt812c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_char(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5jt812c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_char(i32 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl3do4skv.c'
source_filename = "/tmp/tmpl3do4skv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\\b\\f\\n\\r\\s\\t\\e\\007\\x64\\^M\00", align 1
@__const.main.expected = private unnamed_addr constant [10 x i32] [i32 8, i32 12, i32 10, i32 13, i32 32, i32 9, i32 27, i32 7, i32 100, i32 13], align 16
@.str.1 = private unnamed_addr constant [34 x i8] c"Case %d: Expected '%c', got '%c'\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [10 x i32], align 16
%9 = alloca i32, align 4
%10 = alloca [200 x i32], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.expected, i64 40, i1 false)
store i32 10, ptr %9, align 4
%14 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 0
store ptr %14, ptr %11, align 8
br label %15
15: ; preds = %19, %2
%16 = load ptr, ptr %7, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = call i32 @escape(ptr noundef %7)
%21 = load ptr, ptr %11, align 8
%22 = getelementptr inbounds i32, ptr %21, i32 1
store ptr %22, ptr %11, align 8
store i32 %20, ptr %21, align 4
br label %15, !llvm.loop !6
23: ; preds = %15
store i32 0, ptr %12, align 4
br label %24
24: ; preds = %53, %23
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %9, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %56
28: ; preds = %24
%29 = load i32, ptr %12, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = load i32, ptr %12, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp ne i32 %32, %36
br i1 %37, label %38, label %49
38: ; preds = %28
%39 = load i32, ptr %12, align 4
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %12, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %39, i32 noundef %43, i32 noundef %47)
br label %52
49: ; preds = %28
%50 = load i32, ptr %12, align 4
%51 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %50)
br label %52
52: ; preds = %49, %38
br label %53
53: ; preds = %52
%54 = load i32, ptr %12, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %12, align 4
br label %24, !llvm.loop !8
56: ; preds = %24
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @escape(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3do4skv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"\\b\\f\\n\\r\\s\\t\\e\\007\\x64\\^M\00", align 1
@__const.main.expected = private unnamed_addr constant [10 x i32] [i32 8, i32 12, i32 10, i32 13, i32 32, i32 9, i32 27, i32 7, i32 100, i32 13], align 16
@.str.1 = private unnamed_addr constant [34 x i8] c"Case %d: Expected '%c', got '%c'\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Case %d: OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [10 x i32], align 16
%9 = alloca i32, align 4
%10 = alloca [200 x i32], align 16
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.expected, i64 40, i1 false)
store i32 10, ptr %9, align 4
%14 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 0
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %18
%19 = call i32 @escape(ptr noundef %7)
%20 = load ptr, ptr %11, align 8
%21 = getelementptr inbounds i32, ptr %20, i32 1
store ptr %21, ptr %11, align 8
store i32 %19, ptr %20, align 4
%22 = load ptr, ptr %7, align 8
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %25
25: ; preds = %._crit_edge, %2
store i32 0, ptr %12, align 4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph2, label %60
.lr.ph2: ; preds = %25
br label %29
29: ; preds = %.lr.ph2, %54
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %35
%37 = load i32, ptr %36, align 4
%38 = icmp ne i32 %33, %37
br i1 %38, label %39, label %50
39: ; preds = %29
%40 = load i32, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [10 x i32], ptr %8, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [200 x i32], ptr %10, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %40, i32 noundef %44, i32 noundef %48)
br label %53
50: ; preds = %29
%51 = load i32, ptr %12, align 4
%52 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %51)
br label %53
53: ; preds = %50, %39
br label %54
54: ; preds = %53
%55 = load i32, ptr %12, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %12, align 4
%57 = load i32, ptr %12, align 4
%58 = load i32, ptr %9, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %60
60: ; preds = %._crit_edge3, %25
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @escape(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpl2ap9lt7.c'
source_filename = "/tmp/tmpl2ap9lt7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl2ap9lt7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6i8_7l9t.c'
source_filename = "/tmp/tmp6i8_7l9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @csla_epb(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double @sla_epb(ptr noundef %2)
ret double %3
}
declare double @sla_epb(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6i8_7l9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @csla_epb(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double @sla_epb(ptr noundef %2)
ret double %3
}
declare double @sla_epb(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd5w2bhnc.c'
source_filename = "/tmp/tmpd5w2bhnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd5w2bhnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51yi0oh_.c'
source_filename = "/tmp/tmp51yi0oh_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @circle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %9, align 8
%16 = alloca i32, i64 %14, align 16
store i64 %14, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = zext i32 %17 to i64
%19 = alloca i32, i64 %18, align 16
store i64 %18, ptr %11, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @_pointCircle(i32 noundef %20, i32 noundef %21, i32 noundef %22, ptr noundef %16, ptr noundef %19, i32 noundef %23)
store i32 0, ptr %12, align 4
br label %25
25: ; preds = %50, %4
%26 = load i32, ptr %12, align 4
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp slt i32 %26, %28
br i1 %29, label %30, label %53
30: ; preds = %25
%31 = load i32, ptr %12, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %16, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %19, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %16, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %19, i64 %46
%48 = load i32, ptr %47, align 4
%49 = call i32 @line(i32 noundef %34, i32 noundef %38, i32 noundef %43, i32 noundef %48)
br label %50
50: ; preds = %30
%51 = load i32, ptr %12, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %12, align 4
br label %25, !llvm.loop !6
53: ; preds = %25
%54 = load i32, ptr %8, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %16, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %8, align 4
%60 = sub nsw i32 %59, 1
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %19, i64 %61
%63 = load i32, ptr %62, align 4
%64 = getelementptr inbounds i32, ptr %16, i64 0
%65 = load i32, ptr %64, align 16
%66 = getelementptr inbounds i32, ptr %19, i64 0
%67 = load i32, ptr %66, align 16
%68 = call i32 @line(i32 noundef %58, i32 noundef %63, i32 noundef %65, i32 noundef %67)
%69 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %69)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_pointCircle(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @line(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51yi0oh_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @circle(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %9, align 8
%16 = alloca i32, i64 %14, align 16
store i64 %14, ptr %10, align 8
%17 = load i32, ptr %8, align 4
%18 = zext i32 %17 to i64
%19 = alloca i32, i64 %18, align 16
store i64 %18, ptr %11, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @_pointCircle(i32 noundef %20, i32 noundef %21, i32 noundef %22, ptr noundef %16, ptr noundef %19, i32 noundef %23)
store i32 0, ptr %12, align 4
%25 = load i32, ptr %12, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %26, 1
%28 = icmp slt i32 %25, %27
br i1 %28, label %.lr.ph, label %56
.lr.ph: ; preds = %4
br label %29
29: ; preds = %.lr.ph, %49
%30 = load i32, ptr %12, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %16, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %19, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %12, align 4
%39 = add nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %16, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %12, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %19, i64 %45
%47 = load i32, ptr %46, align 4
%48 = call i32 @line(i32 noundef %33, i32 noundef %37, i32 noundef %42, i32 noundef %47)
br label %49
49: ; preds = %29
%50 = load i32, ptr %12, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %12, align 4
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %8, align 4
%54 = sub nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %56
56: ; preds = %._crit_edge, %4
%57 = load i32, ptr %8, align 4
%58 = sub nsw i32 %57, 1
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %16, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %8, align 4
%63 = sub nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %19, i64 %64
%66 = load i32, ptr %65, align 4
%67 = getelementptr inbounds i32, ptr %16, i64 0
%68 = load i32, ptr %67, align 16
%69 = getelementptr inbounds i32, ptr %19, i64 0
%70 = load i32, ptr %69, align 16
%71 = call i32 @line(i32 noundef %61, i32 noundef %66, i32 noundef %68, i32 noundef %70)
%72 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %72)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_pointCircle(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @line(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjjgk8iro.c'
source_filename = "/tmp/tmpjjgk8iro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr @EINVAL, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjgk8iro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @stat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr @EINVAL, align 4
store i32 %7, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbhfh4gt3.c'
source_filename = "/tmp/tmpbhfh4gt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbhfh4gt3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp98yuus9q.c'
source_filename = "/tmp/tmp98yuus9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"valor de x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"valor de y: \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"x = %f; y= %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load float, ptr %6, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %7, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15)
%17 = call i32 @troca(ptr noundef %6, ptr noundef %7)
%18 = load float, ptr %6, align 4
%19 = fpext float %18 to double
%20 = load float, ptr %7, align 4
%21 = fpext float %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %19, double noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @troca(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp98yuus9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"valor de x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"valor de y: \00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"x = %f; y= %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load float, ptr %6, align 4
%13 = fpext float %12 to double
%14 = load float, ptr %7, align 4
%15 = fpext float %14 to double
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %13, double noundef %15)
%17 = call i32 @troca(ptr noundef %6, ptr noundef %7)
%18 = load float, ptr %6, align 4
%19 = fpext float %18 to double
%20 = load float, ptr %7, align 4
%21 = fpext float %20 to double
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %19, double noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @troca(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpftiwx1x9.c'
source_filename = "/tmp/tmpftiwx1x9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"tan\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"asin\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"acos\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"atan\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"sinh\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"cosh\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"tanh\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"asinh\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"acosh\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"atanh\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"exp\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"floor\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"ceil\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"round\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"log\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"ln\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1
@.str.19 = private unnamed_addr constant [4 x i8] c"abs\00", align 1
@.str.20 = private unnamed_addr constant [4 x i8] c"sgn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp eq i64 %4, 0
br i1 %5, label %86, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1)
%9 = icmp eq i64 %8, 0
br i1 %9, label %86, label %10
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.2)
%13 = icmp eq i64 %12, 0
br i1 %13, label %86, label %14
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.3)
%17 = icmp eq i64 %16, 0
br i1 %17, label %86, label %18
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.4)
%21 = icmp eq i64 %20, 0
br i1 %21, label %86, label %22
22: ; preds = %18
%23 = load ptr, ptr %2, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.5)
%25 = icmp eq i64 %24, 0
br i1 %25, label %86, label %26
26: ; preds = %22
%27 = load ptr, ptr %2, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.6)
%29 = icmp eq i64 %28, 0
br i1 %29, label %86, label %30
30: ; preds = %26
%31 = load ptr, ptr %2, align 8
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.7)
%33 = icmp eq i64 %32, 0
br i1 %33, label %86, label %34
34: ; preds = %30
%35 = load ptr, ptr %2, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.8)
%37 = icmp eq i64 %36, 0
br i1 %37, label %86, label %38
38: ; preds = %34
%39 = load ptr, ptr %2, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.9)
%41 = icmp eq i64 %40, 0
br i1 %41, label %86, label %42
42: ; preds = %38
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.10)
%45 = icmp eq i64 %44, 0
br i1 %45, label %86, label %46
46: ; preds = %42
%47 = load ptr, ptr %2, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.11)
%49 = icmp eq i64 %48, 0
br i1 %49, label %86, label %50
50: ; preds = %46
%51 = load ptr, ptr %2, align 8
%52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.12)
%53 = icmp eq i64 %52, 0
br i1 %53, label %86, label %54
54: ; preds = %50
%55 = load ptr, ptr %2, align 8
%56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.13)
%57 = icmp eq i64 %56, 0
br i1 %57, label %86, label %58
58: ; preds = %54
%59 = load ptr, ptr %2, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.14)
%61 = icmp eq i64 %60, 0
br i1 %61, label %86, label %62
62: ; preds = %58
%63 = load ptr, ptr %2, align 8
%64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.15)
%65 = icmp eq i64 %64, 0
br i1 %65, label %86, label %66
66: ; preds = %62
%67 = load ptr, ptr %2, align 8
%68 = call i64 @strcmp(ptr noundef %67, ptr noundef @.str.16)
%69 = icmp eq i64 %68, 0
br i1 %69, label %86, label %70
70: ; preds = %66
%71 = load ptr, ptr %2, align 8
%72 = call i64 @strcmp(ptr noundef %71, ptr noundef @.str.17)
%73 = icmp eq i64 %72, 0
br i1 %73, label %86, label %74
74: ; preds = %70
%75 = load ptr, ptr %2, align 8
%76 = call i64 @strcmp(ptr noundef %75, ptr noundef @.str.18)
%77 = icmp eq i64 %76, 0
br i1 %77, label %86, label %78
78: ; preds = %74
%79 = load ptr, ptr %2, align 8
%80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.19)
%81 = icmp eq i64 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load ptr, ptr %2, align 8
%84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.20)
%85 = icmp eq i64 %84, 0
br label %86
86: ; preds = %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6, %1
%87 = phi i1 [ true, %78 ], [ true, %74 ], [ true, %70 ], [ true, %66 ], [ true, %62 ], [ true, %58 ], [ true, %54 ], [ true, %50 ], [ true, %46 ], [ true, %42 ], [ true, %38 ], [ true, %34 ], [ true, %30 ], [ true, %26 ], [ true, %22 ], [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %85, %82 ]
%88 = zext i1 %87 to i32
ret i32 %88
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpftiwx1x9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"sin\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cos\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"tan\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"asin\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"acos\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"atan\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"sinh\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"cosh\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"tanh\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"asinh\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"acosh\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"atanh\00", align 1
@.str.12 = private unnamed_addr constant [4 x i8] c"exp\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"floor\00", align 1
@.str.14 = private unnamed_addr constant [5 x i8] c"ceil\00", align 1
@.str.15 = private unnamed_addr constant [6 x i8] c"round\00", align 1
@.str.16 = private unnamed_addr constant [4 x i8] c"log\00", align 1
@.str.17 = private unnamed_addr constant [3 x i8] c"ln\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"sqrt\00", align 1
@.str.19 = private unnamed_addr constant [4 x i8] c"abs\00", align 1
@.str.20 = private unnamed_addr constant [4 x i8] c"sgn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isFunction(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i64 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp eq i64 %4, 0
br i1 %5, label %86, label %6
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call i64 @strcmp(ptr noundef %7, ptr noundef @.str.1)
%9 = icmp eq i64 %8, 0
br i1 %9, label %86, label %10
10: ; preds = %6
%11 = load ptr, ptr %2, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str.2)
%13 = icmp eq i64 %12, 0
br i1 %13, label %86, label %14
14: ; preds = %10
%15 = load ptr, ptr %2, align 8
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.3)
%17 = icmp eq i64 %16, 0
br i1 %17, label %86, label %18
18: ; preds = %14
%19 = load ptr, ptr %2, align 8
%20 = call i64 @strcmp(ptr noundef %19, ptr noundef @.str.4)
%21 = icmp eq i64 %20, 0
br i1 %21, label %86, label %22
22: ; preds = %18
%23 = load ptr, ptr %2, align 8
%24 = call i64 @strcmp(ptr noundef %23, ptr noundef @.str.5)
%25 = icmp eq i64 %24, 0
br i1 %25, label %86, label %26
26: ; preds = %22
%27 = load ptr, ptr %2, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.6)
%29 = icmp eq i64 %28, 0
br i1 %29, label %86, label %30
30: ; preds = %26
%31 = load ptr, ptr %2, align 8
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.7)
%33 = icmp eq i64 %32, 0
br i1 %33, label %86, label %34
34: ; preds = %30
%35 = load ptr, ptr %2, align 8
%36 = call i64 @strcmp(ptr noundef %35, ptr noundef @.str.8)
%37 = icmp eq i64 %36, 0
br i1 %37, label %86, label %38
38: ; preds = %34
%39 = load ptr, ptr %2, align 8
%40 = call i64 @strcmp(ptr noundef %39, ptr noundef @.str.9)
%41 = icmp eq i64 %40, 0
br i1 %41, label %86, label %42
42: ; preds = %38
%43 = load ptr, ptr %2, align 8
%44 = call i64 @strcmp(ptr noundef %43, ptr noundef @.str.10)
%45 = icmp eq i64 %44, 0
br i1 %45, label %86, label %46
46: ; preds = %42
%47 = load ptr, ptr %2, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str.11)
%49 = icmp eq i64 %48, 0
br i1 %49, label %86, label %50
50: ; preds = %46
%51 = load ptr, ptr %2, align 8
%52 = call i64 @strcmp(ptr noundef %51, ptr noundef @.str.12)
%53 = icmp eq i64 %52, 0
br i1 %53, label %86, label %54
54: ; preds = %50
%55 = load ptr, ptr %2, align 8
%56 = call i64 @strcmp(ptr noundef %55, ptr noundef @.str.13)
%57 = icmp eq i64 %56, 0
br i1 %57, label %86, label %58
58: ; preds = %54
%59 = load ptr, ptr %2, align 8
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.14)
%61 = icmp eq i64 %60, 0
br i1 %61, label %86, label %62
62: ; preds = %58
%63 = load ptr, ptr %2, align 8
%64 = call i64 @strcmp(ptr noundef %63, ptr noundef @.str.15)
%65 = icmp eq i64 %64, 0
br i1 %65, label %86, label %66
66: ; preds = %62
%67 = load ptr, ptr %2, align 8
%68 = call i64 @strcmp(ptr noundef %67, ptr noundef @.str.16)
%69 = icmp eq i64 %68, 0
br i1 %69, label %86, label %70
70: ; preds = %66
%71 = load ptr, ptr %2, align 8
%72 = call i64 @strcmp(ptr noundef %71, ptr noundef @.str.17)
%73 = icmp eq i64 %72, 0
br i1 %73, label %86, label %74
74: ; preds = %70
%75 = load ptr, ptr %2, align 8
%76 = call i64 @strcmp(ptr noundef %75, ptr noundef @.str.18)
%77 = icmp eq i64 %76, 0
br i1 %77, label %86, label %78
78: ; preds = %74
%79 = load ptr, ptr %2, align 8
%80 = call i64 @strcmp(ptr noundef %79, ptr noundef @.str.19)
%81 = icmp eq i64 %80, 0
br i1 %81, label %86, label %82
82: ; preds = %78
%83 = load ptr, ptr %2, align 8
%84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.20)
%85 = icmp eq i64 %84, 0
br label %86
86: ; preds = %82, %78, %74, %70, %66, %62, %58, %54, %50, %46, %42, %38, %34, %30, %26, %22, %18, %14, %10, %6, %1
%87 = phi i1 [ true, %78 ], [ true, %74 ], [ true, %70 ], [ true, %66 ], [ true, %62 ], [ true, %58 ], [ true, %54 ], [ true, %50 ], [ true, %46 ], [ true, %42 ], [ true, %38 ], [ true, %34 ], [ true, %30 ], [ true, %26 ], [ true, %22 ], [ true, %18 ], [ true, %14 ], [ true, %10 ], [ true, %6 ], [ true, %1 ], [ %85, %82 ]
%88 = zext i1 %87 to i32
ret i32 %88
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0swynoa3.c'
source_filename = "/tmp/tmp0swynoa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0swynoa3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmu2bf1do.c'
source_filename = "/tmp/tmpmu2bf1do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_promisc() #0 {
%1 = call i32 @set_clear_promisc(i32 noundef 1)
ret i32 %1
}
declare i32 @set_clear_promisc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmu2bf1do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @set_promisc() #0 {
%1 = call i32 @set_clear_promisc(i32 noundef 1)
ret i32 %1
}
declare i32 @set_clear_promisc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcm7z7vma.c'
source_filename = "/tmp/tmpcm7z7vma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0AEnter r / w / d / x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AEnter file name: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Goodbye World!!\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\0AInvalid selection\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 [25 x i8], align 16
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @initializeMetadata()
%9 = call i32 (...) @hashmap_init()
br label %10
10: ; preds = %2, %49
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
br label %13
13: ; preds = %17, %10
%14 = call signext i8 (...) @getchar()
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br i1 %16, label %17, label %18
17: ; preds = %13
br label %13, !llvm.loop !6
18: ; preds = %13
%19 = load i8, ptr %7, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 120
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = call i32 @printf(ptr noundef @.str.2)
%24 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%25 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %24)
br label %26
26: ; preds = %30, %22
%27 = call signext i8 (...) @getchar()
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 10
br i1 %29, label %30, label %31
30: ; preds = %26
br label %26, !llvm.loop !8
31: ; preds = %26
br label %32
32: ; preds = %31, %18
%33 = load i8, ptr %7, align 1
%34 = sext i8 %33 to i32
switch i32 %34, label %47 [
i32 114, label %35
i32 119, label %38
i32 100, label %41
i32 120, label %44
]
35: ; preds = %32
%36 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%37 = call i32 @ssdRead(ptr noundef %36)
br label %49
38: ; preds = %32
%39 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @ssdWrite(ptr noundef %39)
br label %49
41: ; preds = %32
%42 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%43 = call i32 @ssdDelete(ptr noundef %42)
br label %49
44: ; preds = %32
%45 = call i32 @printf(ptr noundef @.str.4)
%46 = call i32 @exit(i32 noundef 0) #3
unreachable
47: ; preds = %32
%48 = call i32 @printf(ptr noundef @.str.5)
br label %49
49: ; preds = %47, %41, %38, %35
br label %10
}
declare i32 @initializeMetadata(...) #1
declare i32 @hashmap_init(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @ssdRead(ptr noundef) #1
declare i32 @ssdWrite(ptr noundef) #1
declare i32 @ssdDelete(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcm7z7vma.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0AEnter r / w / d / x: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"\0AEnter file name: \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"Goodbye World!!\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"\0AInvalid selection\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 [25 x i8], align 16
%7 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @initializeMetadata()
%9 = call i32 (...) @hashmap_init()
br label %10
10: ; preds = %47, %2
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
br label %13
13: ; preds = %13, %10
%14 = call signext i8 (...) @getchar()
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 10
br i1 %16, label %13, label %17, !llvm.loop !6
17: ; preds = %13
%18 = load i8, ptr %7, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 120
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = call i32 @printf(ptr noundef @.str.2)
%23 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%24 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %23)
br label %25
25: ; preds = %25, %21
%26 = call signext i8 (...) @getchar()
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 10
br i1 %28, label %25, label %29, !llvm.loop !8
29: ; preds = %25
br label %30
30: ; preds = %29, %17
%31 = load i8, ptr %7, align 1
%32 = sext i8 %31 to i32
switch i32 %32, label %45 [
i32 114, label %33
i32 119, label %36
i32 100, label %39
i32 120, label %42
]
33: ; preds = %30
%34 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%35 = call i32 @ssdRead(ptr noundef %34)
br label %47
36: ; preds = %30
%37 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%38 = call i32 @ssdWrite(ptr noundef %37)
br label %47
39: ; preds = %30
%40 = getelementptr inbounds [25 x i8], ptr %6, i64 0, i64 0
%41 = call i32 @ssdDelete(ptr noundef %40)
br label %47
42: ; preds = %30
%43 = call i32 @printf(ptr noundef @.str.4)
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %30
%46 = call i32 @printf(ptr noundef @.str.5)
br label %47
47: ; preds = %45, %39, %36, %33
br label %10
}
declare i32 @initializeMetadata(...) #1
declare i32 @hashmap_init(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @ssdRead(ptr noundef) #1
declare i32 @ssdWrite(ptr noundef) #1
declare i32 @ssdDelete(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpq1fedsbd.c'
source_filename = "/tmp/tmpq1fedsbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getutxent() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1fedsbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getutxent() #0 {
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxyg3pl0g.c'
source_filename = "/tmp/tmpxyg3pl0g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = call i32 (...) @zmtp_msg_tests()
%10 = load i32, ptr %6, align 4
%11 = or i32 %10, %9
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @zmtp_dealer_tests()
%13 = load i32, ptr %6, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
ret i32 %15
}
declare i32 @zmtp_msg_tests(...) #1
declare i32 @zmtp_dealer_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxyg3pl0g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
store i32 0, ptr %6, align 4
%9 = call i32 (...) @zmtp_msg_tests()
%10 = load i32, ptr %6, align 4
%11 = or i32 %10, %9
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @zmtp_dealer_tests()
%13 = load i32, ptr %6, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
ret i32 %15
}
declare i32 @zmtp_msg_tests(...) #1
declare i32 @zmtp_dealer_tests(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk8319qgx.c'
source_filename = "/tmp/tmpk8319qgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Podaj liczb\C4\99: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"tab[%d] %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %25, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %28
11: ; preds = %8
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %12, %13
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %17
store i32 %15, ptr %18, align 4
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %23)
br label %25
25: ; preds = %11
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %8, !llvm.loop !6
28: ; preds = %8
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk8319qgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Podaj liczb\C4\99: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"tab[%d] %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph, label %29
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %24
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %16
store i32 %14, ptr %17, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %22)
br label %24
24: ; preds = %10
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 5
br i1 %28, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf1041kxe.c'
source_filename = "/tmp/tmpf1041kxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"local x in outer scope of fig05_16 is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"local x in inner scope of fig05_16 is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Alocal x in fig05_16 is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fig05_16() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 5, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 7, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = call i32 (...) @useLocal()
%10 = call i32 (...) @useStaticLocal()
%11 = call i32 (...) @useGlobal()
%12 = call i32 (...) @useLocal()
%13 = call i32 (...) @useStaticLocal()
%14 = call i32 (...) @useGlobal()
%15 = load i32, ptr %1, align 4
%16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @useLocal(...) #1
declare i32 @useStaticLocal(...) #1
declare i32 @useGlobal(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf1041kxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"local x in outer scope of fig05_16 is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"local x in inner scope of fig05_16 is %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0Alocal x in fig05_16 is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fig05_16() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 5, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
store i32 7, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
%9 = call i32 (...) @useLocal()
%10 = call i32 (...) @useStaticLocal()
%11 = call i32 (...) @useGlobal()
%12 = call i32 (...) @useLocal()
%13 = call i32 (...) @useStaticLocal()
%14 = call i32 (...) @useGlobal()
%15 = load i32, ptr %1, align 4
%16 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @useLocal(...) #1
declare i32 @useStaticLocal(...) #1
declare i32 @useGlobal(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymj6p93o.c'
source_filename = "/tmp/tmpymj6p93o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymj6p93o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppcm87au2.c'
source_filename = "/tmp/tmppcm87au2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Serial\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pi_get_cpu_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [17 x i8], align 16
%5 = alloca [64 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
br label %7
7: ; preds = %21, %1
%8 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %3, align 8
%10 = call ptr @fgets(ptr noundef %8, i32 noundef 64, ptr noundef %9)
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %22
12: ; preds = %7
%13 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%14 = call ptr @strstr(ptr noundef %13, ptr noundef @.str.2)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 0
%18 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 10
%19 = call i32 @memcpy(ptr noundef %17, ptr noundef %18, i32 noundef 16)
%20 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 16
store i8 0, ptr %20, align 16
br label %21
21: ; preds = %16, %12
br label %7, !llvm.loop !6
22: ; preds = %7
%23 = load ptr, ptr %3, align 8
%24 = call i32 @fclose(ptr noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 0
%27 = call i32 @strncpy(ptr noundef %25, ptr noundef %26, i32 noundef 17)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppcm87au2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"/proc/cpuinfo\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Serial\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @pi_get_cpu_serial(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [17 x i8], align 16
%5 = alloca [64 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %3, align 8
%7 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fgets(ptr noundef %7, i32 noundef 64, ptr noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %20
%12 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0
%13 = call ptr @strstr(ptr noundef %12, ptr noundef @.str.2)
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %20
15: ; preds = %11
%16 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 0
%17 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 10
%18 = call i32 @memcpy(ptr noundef %16, ptr noundef %17, i32 noundef 16)
%19 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 16
store i8 0, ptr %19, align 16
br label %20
20: ; preds = %15, %11
%21 = load ptr, ptr %3, align 8
%22 = call ptr @fgets(ptr noundef %7, i32 noundef 64, ptr noundef %21)
%23 = icmp ne ptr %22, null
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %24
24: ; preds = %._crit_edge, %1
%25 = load ptr, ptr %3, align 8
%26 = call i32 @fclose(ptr noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds [17 x i8], ptr %4, i64 0, i64 0
%29 = call i32 @strncpy(ptr noundef %27, ptr noundef %28, i32 noundef 17)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbjz692cn.c'
source_filename = "/tmp/tmpbjz692cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @get_data()
%3 = call i32 (...) @put_data()
ret i32 0
}
declare i32 @get_data(...) #1
declare i32 @put_data(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbjz692cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @get_data()
%3 = call i32 (...) @put_data()
ret i32 0
}
declare i32 @get_data(...) #1
declare i32 @put_data(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppeo_q21h.c'
source_filename = "/tmp/tmppeo_q21h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Cannot open file '%s' for read\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"Number rows wrong for sparse matrix in '%s', should be %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [62 x i8] c"Number columns wrong for sparse matrix in '%s', should be %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Cannot read sparsity in matrix in '%s'\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%d %d %u\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"Cannot read line %d in matrix in '%s'\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Error on reading file '%s' \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_u16sparse(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %9, align 8
store i32 0, ptr %14, align 4
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @yap_sysquit(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %19, %4
%23 = load ptr, ptr %9, align 8
%24 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %13)
%25 = icmp ne i32 %24, 1
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26, %22
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %5, align 4
%33 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.3, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %30, %26
%35 = load ptr, ptr %9, align 8
%36 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %13)
%37 = icmp ne i32 %36, 1
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38, %34
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %6, align 4
%45 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.4, ptr noundef %43, i32 noundef %44)
br label %46
46: ; preds = %42, %38
%47 = load ptr, ptr %9, align 8
%48 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %47, ptr noundef @.str.2, ptr noundef %14)
%49 = icmp ne i32 %48, 1
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %8, align 8
%52 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.5, ptr noundef %51)
br label %53
53: ; preds = %50, %46
store i32 0, ptr %10, align 4
br label %54
54: ; preds = %76, %53
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %14, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %58, label %79
58: ; preds = %54
%59 = load ptr, ptr %9, align 8
%60 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %59, ptr noundef @.str.6, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%61 = icmp ne i32 %60, 3
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = load i32, ptr %10, align 4
%64 = load ptr, ptr %8, align 8
%65 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.7, i32 noundef %63, ptr noundef %64)
br label %66
66: ; preds = %62, %58
%67 = load i32, ptr %13, align 4
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %11, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %12, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
store i32 %67, ptr %75, align 4
br label %76
76: ; preds = %66
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %10, align 4
br label %54, !llvm.loop !6
79: ; preds = %54
%80 = load ptr, ptr %9, align 8
%81 = call i64 @ferror(ptr noundef %80)
%82 = icmp ne i64 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %79
%84 = load ptr, ptr %8, align 8
%85 = call i32 @yap_sysquit(ptr noundef @.str.8, ptr noundef %84)
br label %86
86: ; preds = %83, %79
%87 = load ptr, ptr %9, align 8
%88 = call i32 @fclose(ptr noundef %87)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @yap_sysquit(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @yap_quit(ptr noundef, ...) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppeo_q21h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Cannot open file '%s' for read\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [59 x i8] c"Number rows wrong for sparse matrix in '%s', should be %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [62 x i8] c"Number columns wrong for sparse matrix in '%s', should be %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"Cannot read sparsity in matrix in '%s'\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"%d %d %u\00", align 1
@.str.7 = private unnamed_addr constant [39 x i8] c"Cannot read line %d in matrix in '%s'\0A\00", align 1
@.str.8 = private unnamed_addr constant [28 x i8] c"Error on reading file '%s' \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @read_u16sparse(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str)
store ptr %16, ptr %9, align 8
store i32 0, ptr %14, align 4
%17 = load ptr, ptr %9, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %4
%20 = load ptr, ptr %8, align 8
%21 = call i32 @yap_sysquit(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %19, %4
%23 = load ptr, ptr %9, align 8
%24 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %23, ptr noundef @.str.2, ptr noundef %13)
%25 = icmp ne i32 %24, 1
br i1 %25, label %30, label %26
26: ; preds = %22
%27 = load i32, ptr %13, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %30, label %34
30: ; preds = %26, %22
%31 = load ptr, ptr %8, align 8
%32 = load i32, ptr %5, align 4
%33 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.3, ptr noundef %31, i32 noundef %32)
br label %34
34: ; preds = %30, %26
%35 = load ptr, ptr %9, align 8
%36 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %35, ptr noundef @.str.2, ptr noundef %13)
%37 = icmp ne i32 %36, 1
br i1 %37, label %42, label %38
38: ; preds = %34
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %42, label %46
42: ; preds = %38, %34
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %6, align 4
%45 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.4, ptr noundef %43, i32 noundef %44)
br label %46
46: ; preds = %42, %38
%47 = load ptr, ptr %9, align 8
%48 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %47, ptr noundef @.str.2, ptr noundef %14)
%49 = icmp ne i32 %48, 1
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load ptr, ptr %8, align 8
%52 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.5, ptr noundef %51)
br label %53
53: ; preds = %50, %46
store i32 0, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %14, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %.lr.ph, label %81
.lr.ph: ; preds = %53
br label %57
57: ; preds = %.lr.ph, %75
%58 = load ptr, ptr %9, align 8
%59 = call i32 (ptr, ptr, ptr, ...) @fscanf(ptr noundef %58, ptr noundef @.str.6, ptr noundef %11, ptr noundef %12, ptr noundef %13)
%60 = icmp ne i32 %59, 3
br i1 %60, label %61, label %65
61: ; preds = %57
%62 = load i32, ptr %10, align 4
%63 = load ptr, ptr %8, align 8
%64 = call i32 (ptr, ...) @yap_quit(ptr noundef @.str.7, i32 noundef %62, ptr noundef %63)
br label %65
65: ; preds = %61, %57
%66 = load i32, ptr %13, align 4
%67 = load ptr, ptr %7, align 8
%68 = load i32, ptr %11, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %12, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %66, ptr %74, align 4
br label %75
75: ; preds = %65
%76 = load i32, ptr %10, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %10, align 4
%78 = load i32, ptr %10, align 4
%79 = load i32, ptr %14, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %57, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %53
%82 = load ptr, ptr %9, align 8
%83 = call i64 @ferror(ptr noundef %82)
%84 = icmp ne i64 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %81
%86 = load ptr, ptr %8, align 8
%87 = call i32 @yap_sysquit(ptr noundef @.str.8, ptr noundef %86)
br label %88
88: ; preds = %85, %81
%89 = load ptr, ptr %9, align 8
%90 = call i32 @fclose(ptr noundef %89)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @yap_sysquit(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @yap_quit(ptr noundef, ...) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpov_bq_yb.c'
source_filename = "/tmp/tmpov_bq_yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpov_bq_yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_fz4dyi9.c'
source_filename = "/tmp/tmp_fz4dyi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_fz4dyi9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpokrz6pxr.c'
source_filename = "/tmp/tmpokrz6pxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @blank_to_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %65, %1
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %68
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 32
br i1 %18, label %59, label %19
19: ; preds = %11
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 59
br i1 %26, label %59, label %27
27: ; preds = %19
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 44
br i1 %34, label %59, label %35
35: ; preds = %27
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 40
br i1 %42, label %59, label %43
43: ; preds = %35
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %3, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 41
br i1 %50, label %59, label %51
51: ; preds = %43
%52 = load ptr, ptr %2, align 8
%53 = load i32, ptr %3, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 58
br i1 %58, label %59, label %64
59: ; preds = %51, %43, %35, %27, %19, %11
%60 = load ptr, ptr %2, align 8
%61 = load i32, ptr %3, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 95, ptr %63, align 1
br label %64
64: ; preds = %59, %51
br label %65
65: ; preds = %64
%66 = load i32, ptr %3, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %3, align 4
br label %7, !llvm.loop !6
68: ; preds = %7
%69 = load ptr, ptr %2, align 8
ret ptr %69
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokrz6pxr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @blank_to_(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %4, align 4
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %70
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %64
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %58, label %18
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 59
br i1 %25, label %58, label %26
26: ; preds = %18
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 44
br i1 %33, label %58, label %34
34: ; preds = %26
%35 = load ptr, ptr %2, align 8
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 40
br i1 %41, label %58, label %42
42: ; preds = %34
%43 = load ptr, ptr %2, align 8
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 41
br i1 %49, label %58, label %50
50: ; preds = %42
%51 = load ptr, ptr %2, align 8
%52 = load i32, ptr %3, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 58
br i1 %57, label %58, label %63
58: ; preds = %50, %42, %34, %26, %18, %10
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %3, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store i8 95, ptr %62, align 1
br label %63
63: ; preds = %58, %50
br label %64
64: ; preds = %63
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %1
%71 = load ptr, ptr %2, align 8
ret ptr %71
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4pe5i_c9.c'
source_filename = "/tmp/tmp4pe5i_c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Which Fibonacci number would you like to know? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"The #%d Fibonacci number is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @get_fib(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @get_fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4pe5i_c9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Which Fibonacci number would you like to know? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"The #%d Fibonacci number is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 @get_fib(i32 noundef %6)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %7)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @get_fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprdn4fcy3.c'
source_filename = "/tmp/tmprdn4fcy3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.input_event = type { i32, i32, i32 }
@O_RDWR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/dev/input/event0\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"can not open event device....\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"open event success\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"----type = %d, code = 0x%x, value = %d-------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [64 x %struct.input_event], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i32 0, ptr %11, align 4
store i32 4096, ptr %12, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 1
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_RDWR, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %6, align 4
br label %27
24: ; preds = %2
%25 = load i32, ptr @O_RDWR, align 4
%26 = call i32 @open(ptr noundef @.str, i32 noundef %25)
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %24, %18
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %34
34: ; preds = %32, %30
br label %35
35: ; preds = %92, %34
%36 = load i32, ptr %11, align 4
%37 = icmp ne i32 %36, 0
%38 = xor i1 %37, true
br i1 %38, label %39, label %93
39: ; preds = %35
%40 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 1, ptr %40, align 4
%41 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i32 10, ptr %41, align 4
%42 = call i32 @FD_ZERO(ptr noundef %7)
%43 = load i32, ptr %6, align 4
%44 = call i32 @FD_SET(i32 noundef %43, ptr noundef %7)
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
%47 = call i32 @select(i32 noundef %46, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %9)
store i32 %47, ptr %10, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %51
50: ; preds = %39
store i32 1, ptr %11, align 4
br label %92
51: ; preds = %39
%52 = load i32, ptr %10, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %91
54: ; preds = %51
%55 = load i32, ptr %6, align 4
%56 = call i64 @FD_ISSET(i32 noundef %55, ptr noundef %7)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %90
58: ; preds = %54
%59 = load i32, ptr %6, align 4
%60 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 0
%61 = call i32 @read(i32 noundef %59, ptr noundef %60, i32 noundef 768)
store i32 %61, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %62
62: ; preds = %86, %58
%63 = load i32, ptr %13, align 4
%64 = zext i32 %63 to i64
%65 = load i32, ptr %14, align 4
%66 = zext i32 %65 to i64
%67 = udiv i64 %66, 12
%68 = icmp ult i64 %64, %67
br i1 %68, label %69, label %89
69: ; preds = %62
%70 = load i32, ptr %13, align 4
%71 = zext i32 %70 to i64
%72 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %71
%73 = getelementptr inbounds %struct.input_event, ptr %72, i32 0, i32 0
%74 = load i32, ptr %73, align 4
%75 = load i32, ptr %13, align 4
%76 = zext i32 %75 to i64
%77 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %76
%78 = getelementptr inbounds %struct.input_event, ptr %77, i32 0, i32 1
%79 = load i32, ptr %78, align 4
%80 = load i32, ptr %13, align 4
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %81
%83 = getelementptr inbounds %struct.input_event, ptr %82, i32 0, i32 2
%84 = load i32, ptr %83, align 4
%85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %74, i32 noundef %79, i32 noundef %84)
br label %86
86: ; preds = %69
%87 = load i32, ptr %13, align 4
%88 = add i32 %87, 1
store i32 %88, ptr %13, align 4
br label %62, !llvm.loop !6
89: ; preds = %62
br label %90
90: ; preds = %89, %54
br label %91
91: ; preds = %90, %51
br label %92
92: ; preds = %91, %50
br label %35, !llvm.loop !8
93: ; preds = %35
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprdn4fcy3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
%struct.input_event = type { i32, i32, i32 }
@O_RDWR = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/dev/input/event0\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"can not open event device....\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"open event success\0A\00", align 1
@.str.3 = private unnamed_addr constant [53 x i8] c"----type = %d, code = 0x%x, value = %d-------------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.timeval, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [64 x %struct.input_event], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
store i32 0, ptr %11, align 4
store i32 4096, ptr %12, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 %16, 1
br i1 %17, label %18, label %24
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr @O_RDWR, align 4
%23 = call i32 @open(ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %6, align 4
br label %27
24: ; preds = %2
%25 = load i32, ptr @O_RDWR, align 4
%26 = call i32 @open(ptr noundef @.str, i32 noundef %25)
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %24, %18
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %34
32: ; preds = %27
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %34
34: ; preds = %32, %30
%35 = load i32, ptr %11, align 4
%36 = icmp ne i32 %35, 0
%37 = xor i1 %36, true
br i1 %37, label %.lr.ph2, label %100
.lr.ph2: ; preds = %34
br label %38
38: ; preds = %.lr.ph2, %96
%39 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
store i32 1, ptr %39, align 4
%40 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
store i32 10, ptr %40, align 4
%41 = call i32 @FD_ZERO(ptr noundef %7)
%42 = load i32, ptr %6, align 4
%43 = call i32 @FD_SET(i32 noundef %42, ptr noundef %7)
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 @select(i32 noundef %45, ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %9)
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp eq i32 %47, -1
br i1 %48, label %49, label %50
49: ; preds = %38
store i32 1, ptr %11, align 4
br label %96
50: ; preds = %38
%51 = load i32, ptr %10, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %95
53: ; preds = %50
%54 = load i32, ptr %6, align 4
%55 = call i64 @FD_ISSET(i32 noundef %54, ptr noundef %7)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %94
57: ; preds = %53
%58 = load i32, ptr %6, align 4
%59 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 0
%60 = call i32 @read(i32 noundef %58, ptr noundef %59, i32 noundef 768)
store i32 %60, ptr %14, align 4
store i32 0, ptr %13, align 4
%61 = load i32, ptr %13, align 4
%62 = zext i32 %61 to i64
%63 = load i32, ptr %14, align 4
%64 = zext i32 %63 to i64
%65 = udiv i64 %64, 12
%66 = icmp ult i64 %62, %65
br i1 %66, label %.lr.ph, label %93
.lr.ph: ; preds = %57
br label %67
67: ; preds = %.lr.ph, %84
%68 = load i32, ptr %13, align 4
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %69
%71 = getelementptr inbounds %struct.input_event, ptr %70, i32 0, i32 0
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %13, align 4
%74 = zext i32 %73 to i64
%75 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %74
%76 = getelementptr inbounds %struct.input_event, ptr %75, i32 0, i32 1
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %13, align 4
%79 = zext i32 %78 to i64
%80 = getelementptr inbounds [64 x %struct.input_event], ptr %15, i64 0, i64 %79
%81 = getelementptr inbounds %struct.input_event, ptr %80, i32 0, i32 2
%82 = load i32, ptr %81, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %72, i32 noundef %77, i32 noundef %82)
br label %84
84: ; preds = %67
%85 = load i32, ptr %13, align 4
%86 = add i32 %85, 1
store i32 %86, ptr %13, align 4
%87 = load i32, ptr %13, align 4
%88 = zext i32 %87 to i64
%89 = load i32, ptr %14, align 4
%90 = zext i32 %89 to i64
%91 = udiv i64 %90, 12
%92 = icmp ult i64 %88, %91
br i1 %92, label %67, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %93
93: ; preds = %._crit_edge, %57
br label %94
94: ; preds = %93, %53
br label %95
95: ; preds = %94, %50
br label %96
96: ; preds = %95, %49
%97 = load i32, ptr %11, align 4
%98 = icmp ne i32 %97, 0
%99 = xor i1 %98, true
br i1 %99, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %96
br label %100
100: ; preds = %._crit_edge3, %34
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp19o8qtl9.c'
source_filename = "/tmp/tmp19o8qtl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdb_cmd_restart_program(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 (...) @gdb_response_not_supported()
ret void
}
declare i32 @gdb_response_not_supported(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp19o8qtl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gdb_cmd_restart_program(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i32 (...) @gdb_response_not_supported()
ret void
}
declare i32 @gdb_response_not_supported(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp85heu6tk.c'
source_filename = "/tmp/tmp85heu6tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_switch() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @tswitch()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @tswitch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp85heu6tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @do_switch() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @tswitch()
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @tswitch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjjzkneot.c'
source_filename = "/tmp/tmpjjzkneot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32 }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"/proc/self/fd/%d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/proc/%d/fd/%d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"(unknown)\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"dev: %i:%i inode %ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fnotify_get_filename(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %18, i32 noundef 256, ptr noundef @.str, i32 noundef %19)
br label %26
21: ; preds = %2
%22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %22, i32 noundef 256, ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %21, %17
%27 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%28 = trunc i64 %12 to i32
%29 = call i32 @readlink(ptr noundef %27, ptr noundef %14, i32 noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = call i64 @fstat(i32 noundef %33, ptr noundef %10)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call ptr @strdup(ptr noundef @.str.2)
store ptr %37, ptr %9, align 8
br label %51
38: ; preds = %32
%39 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%40 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = call i32 @major(i32 noundef %41)
%43 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = call i32 @minor(i32 noundef %44)
%46 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %39, i32 noundef 256, ptr noundef @.str.3, i32 noundef %42, i32 noundef %45, i32 noundef %47)
%49 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%50 = call ptr @strdup(ptr noundef %49)
store ptr %50, ptr %9, align 8
br label %51
51: ; preds = %38, %36
br label %66
52: ; preds = %26
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr @PATH_MAX, align 4
%55 = icmp sge i32 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i32, ptr @PATH_MAX, align 4
%58 = sub nsw i32 %57, 1
br label %61
59: ; preds = %52
%60 = load i32, ptr %8, align 4
br label %61
61: ; preds = %59, %56
%62 = phi i32 [ %58, %56 ], [ %60, %59 ]
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %14, i64 %63
store i8 0, ptr %64, align 1
%65 = call ptr @strdup(ptr noundef %14)
store ptr %65, ptr %9, align 8
br label %66
66: ; preds = %61, %51
%67 = load ptr, ptr %9, align 8
%68 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %68)
ret ptr %67
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @fstat(i32 noundef, ptr noundef) #2
declare ptr @strdup(ptr noundef) #2
declare i32 @major(i32 noundef) #2
declare i32 @minor(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjzkneot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32 }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"/proc/self/fd/%d\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"/proc/%d/fd/%d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"(unknown)\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"dev: %i:%i inode %ld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fnotify_get_filename(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [256 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%11 = load i32, ptr @PATH_MAX, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load i32, ptr %3, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%19 = load i32, ptr %4, align 4
%20 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %18, i32 noundef 256, ptr noundef @.str, i32 noundef %19)
br label %26
21: ; preds = %2
%22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %4, align 4
%25 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %22, i32 noundef 256, ptr noundef @.str.1, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %21, %17
%27 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%28 = trunc i64 %12 to i32
%29 = call i32 @readlink(ptr noundef %27, ptr noundef %14, i32 noundef %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %52
32: ; preds = %26
%33 = load i32, ptr %4, align 4
%34 = call i64 @fstat(i32 noundef %33, ptr noundef %10)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call ptr @strdup(ptr noundef @.str.2)
store ptr %37, ptr %9, align 8
br label %51
38: ; preds = %32
%39 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%40 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%41 = load i32, ptr %40, align 4
%42 = call i32 @major(i32 noundef %41)
%43 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%44 = load i32, ptr %43, align 4
%45 = call i32 @minor(i32 noundef %44)
%46 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%47 = load i32, ptr %46, align 4
%48 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %39, i32 noundef 256, ptr noundef @.str.3, i32 noundef %42, i32 noundef %45, i32 noundef %47)
%49 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0
%50 = call ptr @strdup(ptr noundef %49)
store ptr %50, ptr %9, align 8
br label %51
51: ; preds = %38, %36
br label %66
52: ; preds = %26
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr @PATH_MAX, align 4
%55 = icmp sge i32 %53, %54
br i1 %55, label %56, label %59
56: ; preds = %52
%57 = load i32, ptr @PATH_MAX, align 4
%58 = sub nsw i32 %57, 1
br label %61
59: ; preds = %52
%60 = load i32, ptr %8, align 4
br label %61
61: ; preds = %59, %56
%62 = phi i32 [ %58, %56 ], [ %60, %59 ]
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %14, i64 %63
store i8 0, ptr %64, align 1
%65 = call ptr @strdup(ptr noundef %14)
store ptr %65, ptr %9, align 8
br label %66
66: ; preds = %61, %51
%67 = load ptr, ptr %9, align 8
%68 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %68)
ret ptr %67
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #2
declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @fstat(i32 noundef, ptr noundef) #2
declare ptr @strdup(ptr noundef) #2
declare i32 @major(i32 noundef) #2
declare i32 @minor(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5yn81dmx.c'
source_filename = "/tmp/tmp5yn81dmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Array[j] is %c \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @intersperse2(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 8, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = mul nsw i32 %10, 2
%12 = add nsw i32 %11, 1
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %8, align 8
%16 = alloca i8, i64 %14, align 16
store i64 %14, ptr %9, align 8
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %55, %2
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %58
21: ; preds = %17
%22 = load i32, ptr %5, align 4
%23 = icmp eq i32 %22, 0
br i1 %23, label %24, label %29
24: ; preds = %21
%25 = load i8, ptr %3, align 1
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %16, i64 %27
store i8 %25, ptr %28, align 1
br label %49
29: ; preds = %21
%30 = load i32, ptr %5, align 4
%31 = srem i32 %30, 2
%32 = icmp eq i32 %31, 1
br i1 %32, label %33, label %43
33: ; preds = %29
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sdiv i32 %35, 2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %16, i64 %41
store i8 %39, ptr %42, align 1
br label %48
43: ; preds = %29
%44 = load i8, ptr %3, align 1
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %16, i64 %46
store i8 %44, ptr %47, align 1
br label %48
48: ; preds = %43, %33
br label %49
49: ; preds = %48, %24
%50 = load i32, ptr %5, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %16, i64 %51
%53 = load i8, ptr %52, align 1
%54 = call i32 @printf(ptr noundef @.str, i8 noundef signext %53)
br label %55
55: ; preds = %49
%56 = load i32, ptr %5, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %5, align 4
br label %17, !llvm.loop !6
58: ; preds = %17
%59 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %59)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yn81dmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Array[j] is %c \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @intersperse2(i8 noundef signext %0, ptr noundef %1) #0 {
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i8 %0, ptr %3, align 1
store ptr %1, ptr %4, align 8
store i32 8, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = mul nsw i32 %10, 2
%12 = add nsw i32 %11, 1
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = zext i32 %13 to i64
%15 = call ptr @llvm.stacksave()
store ptr %15, ptr %8, align 8
%16 = alloca i8, i64 %14, align 16
store i64 %14, ptr %9, align 8
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %60
.lr.ph: ; preds = %2
br label %20
20: ; preds = %.lr.ph, %54
%21 = load i32, ptr %5, align 4
%22 = icmp eq i32 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i8, ptr %3, align 1
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %16, i64 %26
store i8 %24, ptr %27, align 1
br label %48
28: ; preds = %20
%29 = load i32, ptr %5, align 4
%30 = srem i32 %29, 2
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %42
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %5, align 4
%35 = sdiv i32 %34, 2
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %33, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %16, i64 %40
store i8 %38, ptr %41, align 1
br label %47
42: ; preds = %28
%43 = load i8, ptr %3, align 1
%44 = load i32, ptr %5, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %16, i64 %45
store i8 %43, ptr %46, align 1
br label %47
47: ; preds = %42, %32
br label %48
48: ; preds = %47, %23
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %16, i64 %50
%52 = load i8, ptr %51, align 1
%53 = call i32 @printf(ptr noundef @.str, i8 noundef signext %52)
br label %54
54: ; preds = %48
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %2
%61 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %61)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, i8 noundef signext) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmzel4gwr.c'
source_filename = "/tmp/tmpmzel4gwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %21, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 1000000
br i1 %9, label %10, label %24
10: ; preds = %7
%11 = call float (...) @rand_float()
%12 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %11, float -5.000000e+01)
store float %12, ptr %3, align 4
%13 = load float, ptr %3, align 4
%14 = call float @stdlib_base_kronecker_deltaf(float noundef %13, float noundef 0.000000e+00)
store float %14, ptr %4, align 4
%15 = load float, ptr %4, align 4
%16 = load float, ptr %4, align 4
%17 = fcmp une float %15, %16
br i1 %17, label %18, label %20
18: ; preds = %10
%19 = call i32 @printf(ptr noundef @.str)
br label %24
20: ; preds = %10
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %7, !llvm.loop !6
24: ; preds = %18, %7
%25 = call double (...) @tic()
%26 = load double, ptr %2, align 8
%27 = fsub double %25, %26
store double %27, ptr %1, align 8
%28 = load float, ptr %4, align 4
%29 = load float, ptr %4, align 4
%30 = fcmp une float %28, %29
br i1 %30, label %31, label %33
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str)
br label %33
33: ; preds = %31, %24
%34 = load double, ptr %1, align 8
ret double %34
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @stdlib_base_kronecker_deltaf(float noundef, float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmzel4gwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca i32, align 4
%6 = call double (...) @tic()
store double %6, ptr %2, align 8
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %20
%10 = call float (...) @rand_float()
%11 = call float @llvm.fmuladd.f32(float 1.000000e+02, float %10, float -5.000000e+01)
store float %11, ptr %3, align 4
%12 = load float, ptr %3, align 4
%13 = call float @stdlib_base_kronecker_deltaf(float noundef %12, float noundef 0.000000e+00)
store float %13, ptr %4, align 4
%14 = load float, ptr %4, align 4
%15 = load float, ptr %4, align 4
%16 = fcmp une float %14, %15
br i1 %16, label %17, label %19
17: ; preds = %9
%18 = call i32 @printf(ptr noundef @.str)
br label %25
19: ; preds = %9
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %23, 1000000
br i1 %24, label %9, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %25
25: ; preds = %.loopexit, %17
%26 = call double (...) @tic()
%27 = load double, ptr %2, align 8
%28 = fsub double %26, %27
store double %28, ptr %1, align 8
%29 = load float, ptr %4, align 4
%30 = load float, ptr %4, align 4
%31 = fcmp une float %29, %30
br i1 %31, label %32, label %34
32: ; preds = %25
%33 = call i32 @printf(ptr noundef @.str)
br label %34
34: ; preds = %32, %25
%35 = load double, ptr %1, align 8
ret double %35
}
declare double @tic(...) #1
declare float @rand_float(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @stdlib_base_kronecker_deltaf(float noundef, float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnqnggwp4.c'
source_filename = "/tmp/tmpnqnggwp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnqnggwp4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptfj5_lo4.c'
source_filename = "/tmp/tmptfj5_lo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @alloc_pagecache(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca %struct.stat, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = call i64 @fstat(i32 noundef %9, ptr noundef %7)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
br label %39
13: ; preds = %2
%14 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, %15
store i64 %17, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = load i64, ptr %5, align 8
%20 = call i64 @ftruncate(i32 noundef %18, i64 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %13
br label %39
23: ; preds = %13
store i32 0, ptr %8, align 4
br label %24
24: ; preds = %33, %23
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = load i64, ptr %5, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %29, label %38
29: ; preds = %24
%30 = load i32, ptr %4, align 4
%31 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 4096)
br label %33
33: ; preds = %29
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = add i64 %35, 4096
%37 = trunc i64 %36 to i32
store i32 %37, ptr %8, align 4
br label %24, !llvm.loop !6
38: ; preds = %24
store i32 0, ptr %3, align 4
br label %40
39: ; preds = %22, %12
store i32 -1, ptr %3, align 4
br label %40
40: ; preds = %39, %38
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i64 @ftruncate(i32 noundef, i64 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptfj5_lo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @alloc_pagecache(i32 noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca %struct.stat, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i64 %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = call i64 @fstat(i32 noundef %9, ptr noundef %7)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
br label %42
13: ; preds = %2
%14 = getelementptr inbounds %struct.stat, ptr %7, i32 0, i32 0
%15 = load i64, ptr %14, align 8
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, %15
store i64 %17, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = load i64, ptr %5, align 8
%20 = call i64 @ftruncate(i32 noundef %18, i64 noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %13
br label %42
23: ; preds = %13
store i32 0, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = load i64, ptr %5, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %.lr.ph, label %41
.lr.ph: ; preds = %23
br label %28
28: ; preds = %.lr.ph, %32
%29 = load i32, ptr %4, align 4
%30 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%31 = call i32 @read(i32 noundef %29, ptr noundef %30, i32 noundef 4096)
br label %32
32: ; preds = %28
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = add i64 %34, 4096
%36 = trunc i64 %35 to i32
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = load i64, ptr %5, align 8
%40 = icmp ult i64 %38, %39
br i1 %40, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %41
41: ; preds = %._crit_edge, %23
store i32 0, ptr %3, align 4
br label %43
42: ; preds = %22, %12
store i32 -1, ptr %3, align 4
br label %43
43: ; preds = %42, %41
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i64 @fstat(i32 noundef, ptr noundef) #1
declare i64 @ftruncate(i32 noundef, i64 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3_vglaoe.c'
source_filename = "/tmp/tmp3_vglaoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3_vglaoe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6me_432j.c'
source_filename = "/tmp/tmp6me_432j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdopen(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef %7)
ret ptr %8
}
declare i32 @close(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6me_432j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"foo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fdopen(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @close(i32 noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef @.str, ptr noundef %7)
ret ptr %8
}
declare i32 @close(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbgiw7oln.c'
source_filename = "/tmp/tmpbgiw7oln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @st_compare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgiw7oln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @st_compare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 @strcmp(ptr noundef %6, ptr noundef %8)
ret i32 %9
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpawc2dstm.c'
source_filename = "/tmp/tmpawc2dstm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpawc2dstm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_rcpq3m1.c'
source_filename = "/tmp/tmp_rcpq3m1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_rcpq3m1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6_il5v12.c'
source_filename = "/tmp/tmp6_il5v12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_manager_release_sendfile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_il5v12.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_manager_release_sendfile(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo3osy1x6.c'
source_filename = "/tmp/tmpo3osy1x6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @C_STRTOLD(ptr noundef null, ptr noundef null)
ret i32 0
}
declare i32 @C_STRTOLD(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo3osy1x6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @C_STRTOLD(ptr noundef null, ptr noundef null)
ret i32 0
}
declare i32 @C_STRTOLD(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx13nov01.c'
source_filename = "/tmp/tmpx13nov01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @linkat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load ptr, ptr %10, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14, %5
%18 = load i32, ptr @EINVAL, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
store i32 -1, ptr %6, align 4
br label %50
20: ; preds = %14
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr @AT_FDCWD, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = load ptr, ptr %10, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 47
br i1 %31, label %44, label %32
32: ; preds = %27, %24, %20
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr @AT_FDCWD, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %47
36: ; preds = %32
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load ptr, ptr %8, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 47
br i1 %43, label %44, label %47
44: ; preds = %39, %27
%45 = load i32, ptr @EBADF, align 4
%46 = call i32 @__set_errno(i32 noundef %45)
store i32 -1, ptr %6, align 4
br label %50
47: ; preds = %39, %36, %32
%48 = load i32, ptr @ENOSYS, align 4
%49 = call i32 @__set_errno(i32 noundef %48)
store i32 -1, ptr %6, align 4
br label %50
50: ; preds = %47, %44, %17
%51 = load i32, ptr %6, align 4
ret i32 %51
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx13nov01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINVAL = dso_local global i32 0, align 4
@AT_FDCWD = dso_local global i32 0, align 4
@EBADF = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @linkat(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load ptr, ptr %10, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14, %5
%18 = load i32, ptr @EINVAL, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
store i32 -1, ptr %6, align 4
br label %50
20: ; preds = %14
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr @AT_FDCWD, align 4
%23 = icmp ne i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %9, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %32
27: ; preds = %24
%28 = load ptr, ptr %10, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 47
br i1 %31, label %44, label %32
32: ; preds = %27, %24, %20
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr @AT_FDCWD, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %47
36: ; preds = %32
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 0
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load ptr, ptr %8, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 47
br i1 %43, label %44, label %47
44: ; preds = %39, %27
%45 = load i32, ptr @EBADF, align 4
%46 = call i32 @__set_errno(i32 noundef %45)
store i32 -1, ptr %6, align 4
br label %50
47: ; preds = %39, %36, %32
%48 = load i32, ptr @ENOSYS, align 4
%49 = call i32 @__set_errno(i32 noundef %48)
store i32 -1, ptr %6, align 4
br label %50
50: ; preds = %47, %44, %17
%51 = load i32, ptr %6, align 4
ret i32 %51
}
declare i32 @__set_errno(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxkf5p_nj.c'
source_filename = "/tmp/tmpxkf5p_nj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxkf5p_nj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6cmn_rxm.c'
source_filename = "/tmp/tmp6cmn_rxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @randrange(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = call float @randf(float noundef %7, float noundef %8)
store float %9, ptr %6, align 4
%10 = load float, ptr %6, align 4
%11 = load float, ptr %5, align 4
%12 = fcmp oge float %10, %11
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load float, ptr %4, align 4
%15 = load float, ptr %5, align 4
%16 = call float @randrange(float noundef %14, float noundef %15)
store float %16, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = load float, ptr %6, align 4
store float %18, ptr %3, align 4
br label %19
19: ; preds = %17, %13
%20 = load float, ptr %3, align 4
ret float %20
}
declare float @randf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6cmn_rxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @randrange(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = call float @randf(float noundef %7, float noundef %8)
store float %9, ptr %6, align 4
%10 = load float, ptr %6, align 4
%11 = load float, ptr %5, align 4
%12 = fcmp oge float %10, %11
br i1 %12, label %13, label %17
13: ; preds = %2
%14 = load float, ptr %4, align 4
%15 = load float, ptr %5, align 4
%16 = call float @randrange(float noundef %14, float noundef %15)
store float %16, ptr %3, align 4
br label %19
17: ; preds = %2
%18 = load float, ptr %6, align 4
store float %18, ptr %3, align 4
br label %19
19: ; preds = %17, %13
%20 = load float, ptr %3, align 4
ret float %20
}
declare float @randf(float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3g7tmv_7.c'
source_filename = "/tmp/tmp3g7tmv_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dis_print_PERT_ffsol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @dis_PERT(i32 noundef 1)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @dis_print_sched_ffsol(ptr noundef %4)
ret void
}
declare i32 @dis_PERT(i32 noundef) #1
declare i32 @dis_print_sched_ffsol(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3g7tmv_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dis_print_PERT_ffsol(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @dis_PERT(i32 noundef 1)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @dis_print_sched_ffsol(ptr noundef %4)
ret void
}
declare i32 @dis_PERT(i32 noundef) #1
declare i32 @dis_print_sched_ffsol(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptnfnhgey.c'
source_filename = "/tmp/tmptnfnhgey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strcmp_lite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store i32 -1, ptr %3, align 4
br label %59
15: ; preds = %11
store i32 0, ptr %6, align 4
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @strlen(ptr noundef %18)
store i64 %19, ptr %8, align 8
br label %20
20: ; preds = %40, %15
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %23, %26
br i1 %27, label %28, label %38
28: ; preds = %20
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %33, %28, %20
%39 = phi i1 [ false, %28 ], [ false, %20 ], [ %37, %33 ]
br i1 %39, label %40, label %47
40: ; preds = %38
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %20, !llvm.loop !6
47: ; preds = %38
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = load i64, ptr %7, align 8
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %58
52: ; preds = %47
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = load i64, ptr %8, align 8
%56 = icmp eq i64 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %52
store i32 0, ptr %3, align 4
br label %59
58: ; preds = %52, %47
store i32 1, ptr %3, align 4
br label %59
59: ; preds = %58, %57, %14
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptnfnhgey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strcmp_lite(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %2
store i32 -1, ptr %3, align 4
br label %59
15: ; preds = %11
store i32 0, ptr %6, align 4
store i64 0, ptr %7, align 8
store i64 0, ptr %8, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %7, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i64 @strlen(ptr noundef %18)
store i64 %19, ptr %8, align 8
br label %20
20: ; preds = %40, %15
%21 = load ptr, ptr %4, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %23, %26
br i1 %27, label %28, label %38
28: ; preds = %20
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load ptr, ptr %5, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %33, %28, %20
%39 = phi i1 [ false, %28 ], [ false, %20 ], [ %37, %33 ]
br i1 %39, label %40, label %47
40: ; preds = %38
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %4, align 8
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds i8, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load i32, ptr %6, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %6, align 4
br label %20, !llvm.loop !6
47: ; preds = %38
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = load i64, ptr %7, align 8
%51 = icmp eq i64 %49, %50
br i1 %51, label %52, label %58
52: ; preds = %47
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = load i64, ptr %8, align 8
%56 = icmp eq i64 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %52
store i32 0, ptr %3, align 4
br label %59
58: ; preds = %52, %47
store i32 1, ptr %3, align 4
br label %59
59: ; preds = %58, %57, %14
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo94kqm4g.c'
source_filename = "/tmp/tmpo94kqm4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Cplusplus()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @Cplusplus(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo94kqm4g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"done\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Cplusplus()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @Cplusplus(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmjofhtwa.c'
source_filename = "/tmp/tmpmjofhtwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"newPi = %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"estPi = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 1.000000e-08, ptr %10, align 8
br label %15
15: ; preds = %49, %2
store i32 10000, ptr %12, align 4
%16 = load double, ptr %8, align 8
store double %16, ptr %9, align 8
store i32 0, ptr %11, align 4
br label %17
17: ; preds = %37, %15
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %12, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %40
21: ; preds = %17
%22 = load i64, ptr %6, align 8
%23 = add nsw i64 %22, 1
store i64 %23, ptr %6, align 8
%24 = call double (...) @drand48()
store double %24, ptr %13, align 8
%25 = call double (...) @drand48()
store double %25, ptr %14, align 8
%26 = load double, ptr %13, align 8
%27 = load double, ptr %13, align 8
%28 = load double, ptr %14, align 8
%29 = load double, ptr %14, align 8
%30 = fmul double %28, %29
%31 = call double @llvm.fmuladd.f64(double %26, double %27, double %30)
%32 = fcmp olt double %31, 1.000000e+00
br i1 %32, label %33, label %36
33: ; preds = %21
%34 = load i64, ptr %7, align 8
%35 = add nsw i64 %34, 1
store i64 %35, ptr %7, align 8
br label %36
36: ; preds = %33, %21
br label %37
37: ; preds = %36
%38 = load i32, ptr %11, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %11, align 4
br label %17, !llvm.loop !6
40: ; preds = %17
%41 = load i64, ptr %7, align 8
%42 = sitofp i64 %41 to double
%43 = load i64, ptr %6, align 8
%44 = sitofp i64 %43 to double
%45 = fdiv double %42, %44
store double %45, ptr %8, align 8
%46 = load double, ptr %8, align 8
%47 = fptosi double %46 to i32
%48 = call i32 @printf(ptr noundef @.str, i32 noundef %47)
br label %49
49: ; preds = %40
%50 = load double, ptr %8, align 8
%51 = load double, ptr %9, align 8
%52 = fsub double %50, %51
%53 = call double @llvm.fabs.f64(double %52)
%54 = load double, ptr %10, align 8
%55 = fcmp ogt double %53, %54
br i1 %55, label %15, label %56, !llvm.loop !8
56: ; preds = %49
%57 = load double, ptr %8, align 8
%58 = fmul double 4.000000e+00, %57
%59 = fptosi double %58 to i32
%60 = call i32 @printf(ptr noundef @.str.1, i32 noundef %59)
ret i32 0
}
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmjofhtwa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"newPi = %lf\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"estPi = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 i64, align 8
%7 = alloca i64, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store double 1.000000e-08, ptr %10, align 8
br label %15
15: ; preds = %51, %2
store i32 10000, ptr %12, align 4
%16 = load double, ptr %8, align 8
store double %16, ptr %9, align 8
store i32 0, ptr %11, align 4
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %12, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %42
.lr.ph: ; preds = %15
br label %20
20: ; preds = %.lr.ph, %36
%21 = load i64, ptr %6, align 8
%22 = add nsw i64 %21, 1
store i64 %22, ptr %6, align 8
%23 = call double (...) @drand48()
store double %23, ptr %13, align 8
%24 = call double (...) @drand48()
store double %24, ptr %14, align 8
%25 = load double, ptr %13, align 8
%26 = load double, ptr %13, align 8
%27 = load double, ptr %14, align 8
%28 = load double, ptr %14, align 8
%29 = fmul double %27, %28
%30 = call double @llvm.fmuladd.f64(double %25, double %26, double %29)
%31 = fcmp olt double %30, 1.000000e+00
br i1 %31, label %32, label %35
32: ; preds = %20
%33 = load i64, ptr %7, align 8
%34 = add nsw i64 %33, 1
store i64 %34, ptr %7, align 8
br label %35
35: ; preds = %32, %20
br label %36
36: ; preds = %35
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %11, align 4
%39 = load i32, ptr %11, align 4
%40 = load i32, ptr %12, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %15
%43 = load i64, ptr %7, align 8
%44 = sitofp i64 %43 to double
%45 = load i64, ptr %6, align 8
%46 = sitofp i64 %45 to double
%47 = fdiv double %44, %46
store double %47, ptr %8, align 8
%48 = load double, ptr %8, align 8
%49 = fptosi double %48 to i32
%50 = call i32 @printf(ptr noundef @.str, i32 noundef %49)
br label %51
51: ; preds = %42
%52 = load double, ptr %8, align 8
%53 = load double, ptr %9, align 8
%54 = fsub double %52, %53
%55 = call double @llvm.fabs.f64(double %54)
%56 = load double, ptr %10, align 8
%57 = fcmp ogt double %55, %56
br i1 %57, label %15, label %58, !llvm.loop !8
58: ; preds = %51
%59 = load double, ptr %8, align 8
%60 = fmul double 4.000000e+00, %59
%61 = fptosi double %60 to i32
%62 = call i32 @printf(ptr noundef @.str.1, i32 noundef %61)
ret i32 0
}
declare double @drand48(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2kryr3c3.c'
source_filename = "/tmp/tmp2kryr3c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sr_indent(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call ptr (...) @sr_strbuf_new()
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %24
12: ; preds = %2
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %20, %12
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = call i32 @sr_strbuf_append_char(ptr noundef %18, i8 noundef signext 32)
br label %20
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %13, !llvm.loop !6
23: ; preds = %13
br label %24
24: ; preds = %23, %2
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = call ptr @sr_indent_except_first_line(ptr noundef %25, i32 noundef %26)
store ptr %27, ptr %7, align 8
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %7, align 8
%30 = call i32 @sr_strbuf_append_str(ptr noundef %28, ptr noundef %29)
%31 = load ptr, ptr %7, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = call ptr @sr_strbuf_free_nobuf(ptr noundef %33)
ret ptr %34
}
declare ptr @sr_strbuf_new(...) #1
declare i32 @sr_strbuf_append_char(ptr noundef, i8 noundef signext) #1
declare ptr @sr_indent_except_first_line(ptr noundef, i32 noundef) #1
declare i32 @sr_strbuf_append_str(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @sr_strbuf_free_nobuf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2kryr3c3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @sr_indent(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = call ptr (...) @sr_strbuf_new()
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %12, label %26
12: ; preds = %2
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %19
%17 = load ptr, ptr %5, align 8
%18 = call i32 @sr_strbuf_append_char(ptr noundef %17, i8 noundef signext 32)
br label %19
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %12
br label %26
26: ; preds = %25, %2
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %4, align 4
%29 = call ptr @sr_indent_except_first_line(ptr noundef %27, i32 noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %7, align 8
%32 = call i32 @sr_strbuf_append_str(ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = call i32 @free(ptr noundef %33)
%35 = load ptr, ptr %5, align 8
%36 = call ptr @sr_strbuf_free_nobuf(ptr noundef %35)
ret ptr %36
}
declare ptr @sr_strbuf_new(...) #1
declare i32 @sr_strbuf_append_char(ptr noundef, i8 noundef signext) #1
declare ptr @sr_indent_except_first_line(ptr noundef, i32 noundef) #1
declare i32 @sr_strbuf_append_str(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare ptr @sr_strbuf_free_nobuf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzevewulp.c'
source_filename = "/tmp/tmpzevewulp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mc2coord(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %4
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load ptr, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19, %16, %4
store i32 -100, ptr %5, align 4
br label %38
23: ; preds = %19
%24 = load i32, ptr %9, align 4
%25 = call ptr @tc2text(i32 noundef %24, i32 noundef 0)
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @full_mapcode_decode(ptr noundef %10, ptr noundef %11, ptr noundef %26, ptr noundef %27, ptr noundef null, ptr noundef null)
store i32 %28, ptr %13, align 4
%29 = load i64, ptr %10, align 8
%30 = sitofp i64 %29 to double
%31 = fdiv double %30, 1.000000e+06
%32 = load ptr, ptr %6, align 8
store double %31, ptr %32, align 8
%33 = load i64, ptr %11, align 8
%34 = sitofp i64 %33 to double
%35 = fdiv double %34, 1.000000e+06
%36 = load ptr, ptr %7, align 8
store double %35, ptr %36, align 8
%37 = load i32, ptr %13, align 4
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %23, %22
%39 = load i32, ptr %5, align 4
ret i32 %39
}
declare ptr @tc2text(i32 noundef, i32 noundef) #1
declare i32 @full_mapcode_decode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzevewulp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mc2coord(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %4
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load ptr, ptr %8, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19, %16, %4
store i32 -100, ptr %5, align 4
br label %38
23: ; preds = %19
%24 = load i32, ptr %9, align 4
%25 = call ptr @tc2text(i32 noundef %24, i32 noundef 0)
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
%27 = load ptr, ptr %8, align 8
%28 = call i32 @full_mapcode_decode(ptr noundef %10, ptr noundef %11, ptr noundef %26, ptr noundef %27, ptr noundef null, ptr noundef null)
store i32 %28, ptr %13, align 4
%29 = load i64, ptr %10, align 8
%30 = sitofp i64 %29 to double
%31 = fdiv double %30, 1.000000e+06
%32 = load ptr, ptr %6, align 8
store double %31, ptr %32, align 8
%33 = load i64, ptr %11, align 8
%34 = sitofp i64 %33 to double
%35 = fdiv double %34, 1.000000e+06
%36 = load ptr, ptr %7, align 8
store double %35, ptr %36, align 8
%37 = load i32, ptr %13, align 4
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %23, %22
%39 = load i32, ptr %5, align 4
ret i32 %39
}
declare ptr @tc2text(i32 noundef, i32 noundef) #1
declare i32 @full_mapcode_decode(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxq35h9cc.c'
source_filename = "/tmp/tmpxq35h9cc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxq35h9cc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxd6szu0.c'
source_filename = "/tmp/tmpaxd6szu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64, i64 }
@.str = private unnamed_addr constant [21 x i8] c"%s -> %s: same file\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s -> %s:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnck(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 8
%10 = alloca %struct.stat, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @stat(ptr noundef %11, ptr noundef %9)
%13 = icmp ne i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @stat(ptr noundef %15, ptr noundef %10)
%17 = icmp ne i32 %16, 0
br i1 %17, label %34, label %18
18: ; preds = %14
%19 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%22 = load i64, ptr %21, align 8
%23 = icmp eq i64 %20, %22
br i1 %23, label %24, label %34
24: ; preds = %18
%25 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%28 = load i64, ptr %27, align 8
%29 = icmp eq i64 %26, %28
br i1 %29, label %30, label %34
30: ; preds = %24
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @eprintf(ptr noundef @.str, ptr noundef %31, ptr noundef %32)
br label %34
34: ; preds = %30, %24, %18, %14, %4
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = call i32 %35(ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %34
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @eprintf(ptr noundef @.str.1, ptr noundef %42, ptr noundef %43)
br label %45
45: ; preds = %41, %34
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @eprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxd6szu0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i64, i64 }
@.str = private unnamed_addr constant [21 x i8] c"%s -> %s: same file\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%s -> %s:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnck(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 8
%10 = alloca %struct.stat, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @stat(ptr noundef %11, ptr noundef %9)
%13 = icmp ne i32 %12, 0
br i1 %13, label %34, label %14
14: ; preds = %4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @stat(ptr noundef %15, ptr noundef %10)
%17 = icmp ne i32 %16, 0
br i1 %17, label %34, label %18
18: ; preds = %14
%19 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%20 = load i64, ptr %19, align 8
%21 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0
%22 = load i64, ptr %21, align 8
%23 = icmp eq i64 %20, %22
br i1 %23, label %24, label %34
24: ; preds = %18
%25 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 1
%26 = load i64, ptr %25, align 8
%27 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 1
%28 = load i64, ptr %27, align 8
%29 = icmp eq i64 %26, %28
br i1 %29, label %30, label %34
30: ; preds = %24
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @eprintf(ptr noundef @.str, ptr noundef %31, ptr noundef %32)
br label %34
34: ; preds = %30, %24, %18, %14, %4
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %8, align 4
%39 = call i32 %35(ptr noundef %36, ptr noundef %37, i32 noundef %38)
%40 = icmp slt i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %34
%42 = load ptr, ptr %5, align 8
%43 = load ptr, ptr %6, align 8
%44 = call i32 @eprintf(ptr noundef @.str.1, ptr noundef %42, ptr noundef %43)
br label %45
45: ; preds = %41, %34
ret void
}
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @eprintf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1uhx1fl4.c'
source_filename = "/tmp/tmp1uhx1fl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @markCompensatoryMutations(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %10, align 4
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %280, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %283
17: ; preds = %13
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %9, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %24, label %73
24: ; preds = %17
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i64 @toupper(i8 noundef signext %29)
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = call i64 @toupper(i8 noundef signext %35)
%37 = icmp ne i64 %30, %36
br i1 %37, label %38, label %67
38: ; preds = %24
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 46
br i1 %45, label %46, label %67
46: ; preds = %38
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 45
br i1 %53, label %54, label %67
54: ; preds = %46
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 45
br i1 %61, label %62, label %67
62: ; preds = %54
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
store i32 1, ptr %66, align 4
br label %72
67: ; preds = %54, %46, %38, %24
%68 = load ptr, ptr %8, align 8
%69 = load i32, ptr %9, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
store i32 0, ptr %71, align 4
br label %72
72: ; preds = %67, %62
br label %279
73: ; preds = %17
%74 = load ptr, ptr %5, align 8
%75 = load i32, ptr %9, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i8, ptr %74, i64 %76
%78 = load i8, ptr %77, align 1
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 46
br i1 %80, label %93, label %81
81: ; preds = %73
%82 = load ptr, ptr %5, align 8
%83 = load ptr, ptr %7, align 8
%84 = load i32, ptr %9, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %83, i64 %85
%87 = load i32, ptr %86, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %82, i64 %88
%90 = load i8, ptr %89, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 46
br i1 %92, label %93, label %98
93: ; preds = %81, %73
%94 = load ptr, ptr %8, align 8
%95 = load i32, ptr %9, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 2, ptr %97, align 4
br label %278
98: ; preds = %81
%99 = load ptr, ptr %5, align 8
%100 = load i32, ptr %9, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = load i8, ptr %102, align 1
%104 = load ptr, ptr %5, align 8
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %9, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
%109 = load i32, ptr %108, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i8, ptr %104, i64 %110
%112 = load i8, ptr %111, align 1
%113 = call i32 @rnaPair(i8 noundef signext %103, i8 noundef signext %112)
%114 = icmp ne i32 %113, 0
br i1 %114, label %188, label %115
115: ; preds = %98
%116 = load ptr, ptr %5, align 8
%117 = load i32, ptr %9, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i8, ptr %116, i64 %118
%120 = load i8, ptr %119, align 1
%121 = sext i8 %120 to i32
%122 = icmp eq i32 %121, 45
br i1 %122, label %135, label %123
123: ; preds = %115
%124 = load ptr, ptr %5, align 8
%125 = load ptr, ptr %7, align 8
%126 = load i32, ptr %9, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds i32, ptr %125, i64 %127
%129 = load i32, ptr %128, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %124, i64 %130
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = icmp eq i32 %133, 45
br i1 %134, label %135, label %140
135: ; preds = %123, %115
%136 = load ptr, ptr %8, align 8
%137 = load i32, ptr %9, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i32, ptr %136, i64 %138
store i32 7, ptr %139, align 4
br label %187
140: ; preds = %123
%141 = load ptr, ptr %5, align 8
%142 = load i32, ptr %9, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i8, ptr %141, i64 %143
%145 = load i8, ptr %144, align 1
%146 = call i64 @toupper(i8 noundef signext %145)
%147 = load ptr, ptr %6, align 8
%148 = load i32, ptr %9, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds i8, ptr %147, i64 %149
%151 = load i8, ptr %150, align 1
%152 = call i64 @toupper(i8 noundef signext %151)
%153 = icmp ne i64 %146, %152
br i1 %153, label %154, label %181
154: ; preds = %140
%155 = load ptr, ptr %5, align 8
%156 = load ptr, ptr %7, align 8
%157 = load i32, ptr %9, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds i32, ptr %156, i64 %158
%160 = load i32, ptr %159, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i8, ptr %155, i64 %161
%163 = load i8, ptr %162, align 1
%164 = call i64 @toupper(i8 noundef signext %163)
%165 = load ptr, ptr %6, align 8
%166 = load ptr, ptr %7, align 8
%167 = load i32, ptr %9, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i32, ptr %166, i64 %168
%170 = load i32, ptr %169, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds i8, ptr %165, i64 %171
%173 = load i8, ptr %172, align 1
%174 = call i64 @toupper(i8 noundef signext %173)
%175 = icmp ne i64 %164, %174
br i1 %175, label %176, label %181
176: ; preds = %154
%177 = load ptr, ptr %8, align 8
%178 = load i32, ptr %9, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i32, ptr %177, i64 %179
store i32 6, ptr %180, align 4
br label %186
181: ; preds = %154, %140
%182 = load ptr, ptr %8, align 8
%183 = load i32, ptr %9, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i32, ptr %182, i64 %184
store i32 5, ptr %185, align 4
br label %186
186: ; preds = %181, %176
br label %187
187: ; preds = %186, %135
br label %277
188: ; preds = %98
%189 = load ptr, ptr %5, align 8
%190 = load i32, ptr %9, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds i8, ptr %189, i64 %191
%193 = load i8, ptr %192, align 1
%194 = call i64 @toupper(i8 noundef signext %193)
%195 = load ptr, ptr %6, align 8
%196 = load i32, ptr %9, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds i8, ptr %195, i64 %197
%199 = load i8, ptr %198, align 1
%200 = call i64 @toupper(i8 noundef signext %199)
%201 = icmp ne i64 %194, %200
br i1 %201, label %202, label %229
202: ; preds = %188
%203 = load ptr, ptr %5, align 8
%204 = load ptr, ptr %7, align 8
%205 = load i32, ptr %9, align 4
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds i32, ptr %204, i64 %206
%208 = load i32, ptr %207, align 4
%209 = sext i32 %208 to i64
%210 = getelementptr inbounds i8, ptr %203, i64 %209
%211 = load i8, ptr %210, align 1
%212 = call i64 @toupper(i8 noundef signext %211)
%213 = load ptr, ptr %6, align 8
%214 = load ptr, ptr %7, align 8
%215 = load i32, ptr %9, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds i32, ptr %214, i64 %216
%218 = load i32, ptr %217, align 4
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds i8, ptr %213, i64 %219
%221 = load i8, ptr %220, align 1
%222 = call i64 @toupper(i8 noundef signext %221)
%223 = icmp ne i64 %212, %222
br i1 %223, label %224, label %229
224: ; preds = %202
%225 = load ptr, ptr %8, align 8
%226 = load i32, ptr %9, align 4
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds i32, ptr %225, i64 %227
store i32 4, ptr %228, align 4
br label %276
229: ; preds = %202, %188
%230 = load ptr, ptr %5, align 8
%231 = load i32, ptr %9, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds i8, ptr %230, i64 %232
%234 = load i8, ptr %233, align 1
%235 = call i64 @toupper(i8 noundef signext %234)
%236 = load ptr, ptr %6, align 8
%237 = load i32, ptr %9, align 4
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i8, ptr %236, i64 %238
%240 = load i8, ptr %239, align 1
%241 = call i64 @toupper(i8 noundef signext %240)
%242 = icmp ne i64 %235, %241
br i1 %242, label %265, label %243
243: ; preds = %229
%244 = load ptr, ptr %5, align 8
%245 = load ptr, ptr %7, align 8
%246 = load i32, ptr %9, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds i32, ptr %245, i64 %247
%249 = load i32, ptr %248, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds i8, ptr %244, i64 %250
%252 = load i8, ptr %251, align 1
%253 = call i64 @toupper(i8 noundef signext %252)
%254 = load ptr, ptr %6, align 8
%255 = load ptr, ptr %7, align 8
%256 = load i32, ptr %9, align 4
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds i32, ptr %255, i64 %257
%259 = load i32, ptr %258, align 4
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds i8, ptr %254, i64 %260
%262 = load i8, ptr %261, align 1
%263 = call i64 @toupper(i8 noundef signext %262)
%264 = icmp ne i64 %253, %263
br i1 %264, label %265, label %270
265: ; preds = %243, %229
%266 = load ptr, ptr %8, align 8
%267 = load i32, ptr %9, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds i32, ptr %266, i64 %268
store i32 3, ptr %269, align 4
br label %275
270: ; preds = %243
%271 = load ptr, ptr %8, align 8
%272 = load i32, ptr %9, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds i32, ptr %271, i64 %273
store i32 2, ptr %274, align 4
br label %275
275: ; preds = %270, %265
br label %276
276: ; preds = %275, %224
br label %277
277: ; preds = %276, %187
br label %278
278: ; preds = %277, %93
br label %279
279: ; preds = %278, %72
br label %280
280: ; preds = %279
%281 = load i32, ptr %9, align 4
%282 = add nsw i32 %281, 1
store i32 %282, ptr %9, align 4
br label %13, !llvm.loop !6
283: ; preds = %13
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i64 @toupper(i8 noundef signext) #1
declare i32 @rnaPair(i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1uhx1fl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @markCompensatoryMutations(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %10, align 4
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %10, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %285
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %279
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %72
23: ; preds = %16
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i64 @toupper(i8 noundef signext %28)
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call i64 @toupper(i8 noundef signext %34)
%36 = icmp ne i64 %29, %35
br i1 %36, label %37, label %66
37: ; preds = %23
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 46
br i1 %44, label %45, label %66
45: ; preds = %37
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %51, 45
br i1 %52, label %53, label %66
53: ; preds = %45
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 45
br i1 %60, label %61, label %66
61: ; preds = %53
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %9, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
store i32 1, ptr %65, align 4
br label %71
66: ; preds = %53, %45, %37, %23
%67 = load ptr, ptr %8, align 8
%68 = load i32, ptr %9, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
store i32 0, ptr %70, align 4
br label %71
71: ; preds = %66, %61
br label %278
72: ; preds = %16
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 46
br i1 %79, label %92, label %80
80: ; preds = %72
%81 = load ptr, ptr %5, align 8
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %82, i64 %84
%86 = load i32, ptr %85, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i8, ptr %81, i64 %87
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 46
br i1 %91, label %92, label %97
92: ; preds = %80, %72
%93 = load ptr, ptr %8, align 8
%94 = load i32, ptr %9, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 2, ptr %96, align 4
br label %277
97: ; preds = %80
%98 = load ptr, ptr %5, align 8
%99 = load i32, ptr %9, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = load ptr, ptr %5, align 8
%104 = load ptr, ptr %7, align 8
%105 = load i32, ptr %9, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %104, i64 %106
%108 = load i32, ptr %107, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %103, i64 %109
%111 = load i8, ptr %110, align 1
%112 = call i32 @rnaPair(i8 noundef signext %102, i8 noundef signext %111)
%113 = icmp ne i32 %112, 0
br i1 %113, label %187, label %114
114: ; preds = %97
%115 = load ptr, ptr %5, align 8
%116 = load i32, ptr %9, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i8, ptr %115, i64 %117
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp eq i32 %120, 45
br i1 %121, label %134, label %122
122: ; preds = %114
%123 = load ptr, ptr %5, align 8
%124 = load ptr, ptr %7, align 8
%125 = load i32, ptr %9, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds i32, ptr %124, i64 %126
%128 = load i32, ptr %127, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds i8, ptr %123, i64 %129
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp eq i32 %132, 45
br i1 %133, label %134, label %139
134: ; preds = %122, %114
%135 = load ptr, ptr %8, align 8
%136 = load i32, ptr %9, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
store i32 7, ptr %138, align 4
br label %186
139: ; preds = %122
%140 = load ptr, ptr %5, align 8
%141 = load i32, ptr %9, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i8, ptr %140, i64 %142
%144 = load i8, ptr %143, align 1
%145 = call i64 @toupper(i8 noundef signext %144)
%146 = load ptr, ptr %6, align 8
%147 = load i32, ptr %9, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds i8, ptr %146, i64 %148
%150 = load i8, ptr %149, align 1
%151 = call i64 @toupper(i8 noundef signext %150)
%152 = icmp ne i64 %145, %151
br i1 %152, label %153, label %180
153: ; preds = %139
%154 = load ptr, ptr %5, align 8
%155 = load ptr, ptr %7, align 8
%156 = load i32, ptr %9, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %155, i64 %157
%159 = load i32, ptr %158, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %154, i64 %160
%162 = load i8, ptr %161, align 1
%163 = call i64 @toupper(i8 noundef signext %162)
%164 = load ptr, ptr %6, align 8
%165 = load ptr, ptr %7, align 8
%166 = load i32, ptr %9, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds i32, ptr %165, i64 %167
%169 = load i32, ptr %168, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %164, i64 %170
%172 = load i8, ptr %171, align 1
%173 = call i64 @toupper(i8 noundef signext %172)
%174 = icmp ne i64 %163, %173
br i1 %174, label %175, label %180
175: ; preds = %153
%176 = load ptr, ptr %8, align 8
%177 = load i32, ptr %9, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i32, ptr %176, i64 %178
store i32 6, ptr %179, align 4
br label %185
180: ; preds = %153, %139
%181 = load ptr, ptr %8, align 8
%182 = load i32, ptr %9, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i32, ptr %181, i64 %183
store i32 5, ptr %184, align 4
br label %185
185: ; preds = %180, %175
br label %186
186: ; preds = %185, %134
br label %276
187: ; preds = %97
%188 = load ptr, ptr %5, align 8
%189 = load i32, ptr %9, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds i8, ptr %188, i64 %190
%192 = load i8, ptr %191, align 1
%193 = call i64 @toupper(i8 noundef signext %192)
%194 = load ptr, ptr %6, align 8
%195 = load i32, ptr %9, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds i8, ptr %194, i64 %196
%198 = load i8, ptr %197, align 1
%199 = call i64 @toupper(i8 noundef signext %198)
%200 = icmp ne i64 %193, %199
br i1 %200, label %201, label %228
201: ; preds = %187
%202 = load ptr, ptr %5, align 8
%203 = load ptr, ptr %7, align 8
%204 = load i32, ptr %9, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds i32, ptr %203, i64 %205
%207 = load i32, ptr %206, align 4
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds i8, ptr %202, i64 %208
%210 = load i8, ptr %209, align 1
%211 = call i64 @toupper(i8 noundef signext %210)
%212 = load ptr, ptr %6, align 8
%213 = load ptr, ptr %7, align 8
%214 = load i32, ptr %9, align 4
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds i32, ptr %213, i64 %215
%217 = load i32, ptr %216, align 4
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds i8, ptr %212, i64 %218
%220 = load i8, ptr %219, align 1
%221 = call i64 @toupper(i8 noundef signext %220)
%222 = icmp ne i64 %211, %221
br i1 %222, label %223, label %228
223: ; preds = %201
%224 = load ptr, ptr %8, align 8
%225 = load i32, ptr %9, align 4
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds i32, ptr %224, i64 %226
store i32 4, ptr %227, align 4
br label %275
228: ; preds = %201, %187
%229 = load ptr, ptr %5, align 8
%230 = load i32, ptr %9, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds i8, ptr %229, i64 %231
%233 = load i8, ptr %232, align 1
%234 = call i64 @toupper(i8 noundef signext %233)
%235 = load ptr, ptr %6, align 8
%236 = load i32, ptr %9, align 4
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds i8, ptr %235, i64 %237
%239 = load i8, ptr %238, align 1
%240 = call i64 @toupper(i8 noundef signext %239)
%241 = icmp ne i64 %234, %240
br i1 %241, label %264, label %242
242: ; preds = %228
%243 = load ptr, ptr %5, align 8
%244 = load ptr, ptr %7, align 8
%245 = load i32, ptr %9, align 4
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds i32, ptr %244, i64 %246
%248 = load i32, ptr %247, align 4
%249 = sext i32 %248 to i64
%250 = getelementptr inbounds i8, ptr %243, i64 %249
%251 = load i8, ptr %250, align 1
%252 = call i64 @toupper(i8 noundef signext %251)
%253 = load ptr, ptr %6, align 8
%254 = load ptr, ptr %7, align 8
%255 = load i32, ptr %9, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds i32, ptr %254, i64 %256
%258 = load i32, ptr %257, align 4
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds i8, ptr %253, i64 %259
%261 = load i8, ptr %260, align 1
%262 = call i64 @toupper(i8 noundef signext %261)
%263 = icmp ne i64 %252, %262
br i1 %263, label %264, label %269
264: ; preds = %242, %228
%265 = load ptr, ptr %8, align 8
%266 = load i32, ptr %9, align 4
%267 = sext i32 %266 to i64
%268 = getelementptr inbounds i32, ptr %265, i64 %267
store i32 3, ptr %268, align 4
br label %274
269: ; preds = %242
%270 = load ptr, ptr %8, align 8
%271 = load i32, ptr %9, align 4
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i32, ptr %270, i64 %272
store i32 2, ptr %273, align 4
br label %274
274: ; preds = %269, %264
br label %275
275: ; preds = %274, %223
br label %276
276: ; preds = %275, %186
br label %277
277: ; preds = %276, %92
br label %278
278: ; preds = %277, %71
br label %279
279: ; preds = %278
%280 = load i32, ptr %9, align 4
%281 = add nsw i32 %280, 1
store i32 %281, ptr %9, align 4
%282 = load i32, ptr %9, align 4
%283 = load i32, ptr %10, align 4
%284 = icmp slt i32 %282, %283
br i1 %284, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %279
br label %285
285: ; preds = %._crit_edge, %4
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i64 @toupper(i8 noundef signext) #1
declare i32 @rnaPair(i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppiugv6rb.c'
source_filename = "/tmp/tmppiugv6rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tft_blit(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppiugv6rb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tft_blit(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkzzul5t2.c'
source_filename = "/tmp/tmpkzzul5t2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\0D\0ATimer Interrupt Demo Program \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @app_main() #0 {
%1 = alloca i8, align 1
%2 = call i32 (...) @serialInit()
%3 = call i32 (...) @serialInit2()
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 (...) @loadIntVectors()
%6 = call i32 (...) @initInterrupts()
%7 = call i32 (...) @enableInt()
%8 = call i32 (...) @timer0Start()
br label %9
9: ; preds = %0, %9
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %1, align 1
%11 = load i8, ptr %1, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
br label %9
}
declare i32 @serialInit(...) #1
declare i32 @serialInit2(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @loadIntVectors(...) #1
declare i32 @initInterrupts(...) #1
declare i32 @enableInt(...) #1
declare i32 @timer0Start(...) #1
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkzzul5t2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"\0D\0ATimer Interrupt Demo Program \0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @app_main() #0 {
%1 = alloca i8, align 1
%2 = call i32 (...) @serialInit()
%3 = call i32 (...) @serialInit2()
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 (...) @loadIntVectors()
%6 = call i32 (...) @initInterrupts()
%7 = call i32 (...) @enableInt()
%8 = call i32 (...) @timer0Start()
br label %9
9: ; preds = %9, %0
%10 = call signext i8 (...) @getchar()
store i8 %10, ptr %1, align 1
%11 = load i8, ptr %1, align 1
%12 = call i32 @putchar(i8 noundef signext %11)
br label %9
}
declare i32 @serialInit(...) #1
declare i32 @serialInit2(...) #1
declare i32 @puts(ptr noundef) #1
declare i32 @loadIntVectors(...) #1
declare i32 @initInterrupts(...) #1
declare i32 @enableInt(...) #1
declare i32 @timer0Start(...) #1
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpge_760rq.c'
source_filename = "/tmp/tmpge_760rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fak(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 4)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @mpz_init_set_str(i32 noundef %7, ptr noundef @.str, i32 noundef 10)
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %22, %1
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %25
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %14, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, 1
%21 = call i32 @mpz_mul_si(i32 noundef %15, i32 noundef %17, i64 noundef %20)
br label %22
22: ; preds = %13
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = load ptr, ptr %4, align 8
ret ptr %26
}
declare ptr @malloc(i32 noundef) #1
declare i32 @mpz_init_set_str(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @mpz_mul_si(i32 noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpge_760rq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fak(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 4)
store ptr %5, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = call i32 @mpz_init_set_str(i32 noundef %7, ptr noundef @.str, i32 noundef 10)
store i32 1, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %21
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %15, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = add nsw i64 %18, 1
%20 = call i32 @mpz_mul_si(i32 noundef %14, i32 noundef %16, i64 noundef %19)
br label %21
21: ; preds = %12
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %1
%28 = load ptr, ptr %4, align 8
ret ptr %28
}
declare ptr @malloc(i32 noundef) #1
declare i32 @mpz_init_set_str(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @mpz_mul_si(i32 noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6ac9tdgw.c'
source_filename = "/tmp/tmp6ac9tdgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [101 x i8], align 16
store i32 0, ptr %3, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1)
br label %6
6: ; preds = %53, %0
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, -1
store i32 %8, ptr %1, align 4
%9 = icmp ne i32 %7, 0
br i1 %9, label %10, label %54
10: ; preds = %6
%11 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %11)
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %43, %10
%14 = load i32, ptr %2, align 4
%15 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
%17 = icmp slt i32 %14, %16
br i1 %17, label %18, label %46
18: ; preds = %13
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 68
br i1 %24, label %39, label %25
25: ; preds = %18
%26 = load i32, ptr %2, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 48
br i1 %31, label %39, label %32
32: ; preds = %25
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 106
br i1 %38, label %39, label %42
39: ; preds = %32, %25, %18
%40 = load i32, ptr %3, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %39, %32
br label %43
43: ; preds = %42
%44 = load i32, ptr %2, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %2, align 4
br label %13, !llvm.loop !6
46: ; preds = %13
%47 = load i32, ptr %3, align 4
%48 = icmp sgt i32 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.2)
br label %53
51: ; preds = %46
%52 = call i32 @printf(ptr noundef @.str.3)
br label %53
53: ; preds = %51, %49
store i32 0, ptr %3, align 4
br label %6, !llvm.loop !8
54: ; preds = %6
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ac9tdgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"YES\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [101 x i8], align 16
store i32 0, ptr %3, align 4
%5 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1)
%6 = load i32, ptr %1, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %1, align 4
%8 = icmp ne i32 %6, 0
br i1 %8, label %.lr.ph2, label %58
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %54
%10 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%11 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10)
store i32 0, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = icmp slt i32 %12, %14
br i1 %15, label %.lr.ph, label %47
.lr.ph: ; preds = %9
br label %16
16: ; preds = %.lr.ph, %41
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 68
br i1 %22, label %37, label %23
23: ; preds = %16
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 48
br i1 %29, label %37, label %30
30: ; preds = %23
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [101 x i8], ptr %4, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 106
br i1 %36, label %37, label %40
37: ; preds = %30, %23, %16
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %40
40: ; preds = %37, %30
br label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = call i32 @strlen(ptr noundef %13)
%46 = icmp slt i32 %44, %45
br i1 %46, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %9
%48 = load i32, ptr %3, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %47
%51 = call i32 @printf(ptr noundef @.str.2)
br label %54
52: ; preds = %47
%53 = call i32 @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %50
store i32 0, ptr %3, align 4
%55 = load i32, ptr %1, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %1, align 4
%57 = icmp ne i32 %55, 0
br i1 %57, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %54
br label %58
58: ; preds = %._crit_edge3, %0
ret void
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8xn0wamp.c'
source_filename = "/tmp/tmp8xn0wamp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %42, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
br label %5
5: ; preds = %8, %3
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 32
br i1 %7, label %8, label %10
8: ; preds = %5
%9 = call i32 (...) @getchar()
store i32 %9, ptr %2, align 4
br label %5, !llvm.loop !6
10: ; preds = %5
br label %11
11: ; preds = %23, %10
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr @EOF, align 4
%14 = icmp ne i32 %12, %13
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %16, 32
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %19, 10
br label %21
21: ; preds = %18, %15, %11
%22 = phi i1 [ false, %15 ], [ false, %11 ], [ %20, %18 ]
br i1 %22, label %23, label %28
23: ; preds = %21
%24 = load i32, ptr %2, align 4
%25 = trunc i32 %24 to i8
%26 = call i32 @putchar(i8 noundef signext %25)
%27 = call i32 (...) @getchar()
store i32 %27, ptr %2, align 4
br label %11, !llvm.loop !8
28: ; preds = %21
%29 = call i32 @putchar(i8 noundef signext 10)
br label %30
30: ; preds = %39, %28
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr @EOF, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %34, label %37
34: ; preds = %30
%35 = load i32, ptr %2, align 4
%36 = icmp ne i32 %35, 10
br label %37
37: ; preds = %34, %30
%38 = phi i1 [ false, %30 ], [ %36, %34 ]
br i1 %38, label %39, label %41
39: ; preds = %37
%40 = call i32 (...) @getchar()
store i32 %40, ptr %2, align 4
br label %30, !llvm.loop !9
41: ; preds = %37
br label %42
42: ; preds = %41
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr @EOF, align 4
%45 = icmp ne i32 %43, %44
br i1 %45, label %3, label %46, !llvm.loop !10
46: ; preds = %42
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8xn0wamp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %43, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 32
br i1 %6, label %.lr.ph, label %11
.lr.ph: ; preds = %3
br label %7
7: ; preds = %.lr.ph, %7
%8 = call i32 (...) @getchar()
store i32 %8, ptr %2, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %11
11: ; preds = %._crit_edge, %3
br label %12
12: ; preds = %24, %11
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr @EOF, align 4
%15 = icmp ne i32 %13, %14
br i1 %15, label %16, label %22
16: ; preds = %12
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 32
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %20, 10
br label %22
22: ; preds = %19, %16, %12
%23 = phi i1 [ false, %16 ], [ false, %12 ], [ %21, %19 ]
br i1 %23, label %24, label %29
24: ; preds = %22
%25 = load i32, ptr %2, align 4
%26 = trunc i32 %25 to i8
%27 = call i32 @putchar(i8 noundef signext %26)
%28 = call i32 (...) @getchar()
store i32 %28, ptr %2, align 4
br label %12, !llvm.loop !8
29: ; preds = %22
%30 = call i32 @putchar(i8 noundef signext 10)
br label %31
31: ; preds = %40, %29
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr @EOF, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %36, 10
br label %38
38: ; preds = %35, %31
%39 = phi i1 [ false, %31 ], [ %37, %35 ]
br i1 %39, label %40, label %42
40: ; preds = %38
%41 = call i32 (...) @getchar()
store i32 %41, ptr %2, align 4
br label %31, !llvm.loop !9
42: ; preds = %38
br label %43
43: ; preds = %42
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr @EOF, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %3, label %47, !llvm.loop !10
47: ; preds = %43
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp8bhgwu9x.c'
source_filename = "/tmp/tmp8bhgwu9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cpo_strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %3, align 8
br label %113
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = call ptr @strchr(ptr noundef %23, i8 noundef signext %25)
store ptr %26, ptr %3, align 8
br label %113
27: ; preds = %16
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @memset(ptr noundef %28, i8 noundef signext 0, i32 noundef 256)
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = zext i8 %31 to i64
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %32
store i8 1, ptr %33, align 1
%34 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
store i8 1, ptr %34, align 16
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
%37 = load i8, ptr %35, align 1
%38 = zext i8 %37 to i32
store i32 %38, ptr %8, align 4
br label %39
39: ; preds = %46, %27
%40 = load i32, ptr %8, align 4
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %51
46: ; preds = %39
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %4, align 8
%49 = load i8, ptr %47, align 1
%50 = zext i8 %49 to i32
store i32 %50, ptr %8, align 4
br label %39, !llvm.loop !6
51: ; preds = %39
br label %52
52: ; preds = %111, %51
%53 = load i32, ptr %8, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %112
55: ; preds = %52
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %4, align 8
%58 = load i8, ptr %56, align 1
%59 = zext i8 %58 to i32
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %8, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 1
%63 = load i8, ptr %62, align 1
%64 = zext i8 %63 to i32
%65 = icmp eq i32 %60, %64
br i1 %65, label %66, label %98
66: ; preds = %55
%67 = load ptr, ptr %4, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 -2
store ptr %68, ptr %7, align 8
store i32 1, ptr %9, align 4
br label %69
69: ; preds = %96, %66
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %9, align 4
%72 = zext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %9, align 4
%78 = zext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = zext i8 %80 to i32
%82 = icmp eq i32 %75, %81
br i1 %82, label %83, label %97
83: ; preds = %69
%84 = load i32, ptr %9, align 4
%85 = add i32 %84, 1
store i32 %85, ptr %9, align 4
%86 = load ptr, ptr %5, align 8
%87 = load i32, ptr %9, align 4
%88 = zext i32 %87 to i64
%89 = getelementptr inbounds i8, ptr %86, i64 %88
%90 = load i8, ptr %89, align 1
%91 = zext i8 %90 to i32
%92 = icmp eq i32 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %83
%94 = load ptr, ptr %4, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 -2
store ptr %95, ptr %3, align 8
br label %113
96: ; preds = %83
br label %69, !llvm.loop !8
97: ; preds = %69
br label %98
98: ; preds = %97, %55
br label %99
99: ; preds = %106, %98
%100 = load i32, ptr %8, align 4
%101 = zext i32 %100 to i64
%102 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %101
%103 = load i8, ptr %102, align 1
%104 = zext i8 %103 to i32
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %111
106: ; preds = %99
%107 = load ptr, ptr %4, align 8
%108 = getelementptr inbounds i8, ptr %107, i32 1
store ptr %108, ptr %4, align 8
%109 = load i8, ptr %107, align 1
%110 = zext i8 %109 to i32
store i32 %110, ptr %8, align 4
br label %99, !llvm.loop !9
111: ; preds = %99
br label %52, !llvm.loop !10
112: ; preds = %52
store ptr null, ptr %3, align 8
br label %113
113: ; preds = %112, %93, %22, %14
%114 = load ptr, ptr %3, align 8
ret ptr %114
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8bhgwu9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cpo_strstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
store ptr %15, ptr %3, align 8
br label %136
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %16
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = call ptr @strchr(ptr noundef %23, i8 noundef signext %25)
store ptr %26, ptr %3, align 8
br label %136
27: ; preds = %16
%28 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%29 = call i32 @memset(ptr noundef %28, i8 noundef signext 0, i32 noundef 256)
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = zext i8 %31 to i64
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %32
store i8 1, ptr %33, align 1
%34 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
store i8 1, ptr %34, align 16
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %4, align 8
%37 = load i8, ptr %35, align 1
%38 = zext i8 %37 to i32
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 0
br i1 %44, label %.lr.ph, label %56
.lr.ph: ; preds = %27
br label %45
45: ; preds = %.lr.ph, %45
%46 = load ptr, ptr %4, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %4, align 8
%48 = load i8, ptr %46, align 1
%49 = zext i8 %48 to i32
store i32 %49, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = zext i32 %50 to i64
%52 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %51
%53 = load i8, ptr %52, align 1
%54 = zext i8 %53 to i32
%55 = icmp eq i32 %54, 0
br i1 %55, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %45
br label %56
56: ; preds = %._crit_edge, %27
%57 = load i32, ptr %8, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %.lr.ph8, label %135
.lr.ph8: ; preds = %56
br label %59
59: ; preds = %.lr.ph8, %132
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds i8, ptr %60, i32 1
store ptr %61, ptr %4, align 8
%62 = load i8, ptr %60, align 1
%63 = zext i8 %62 to i32
store i32 %63, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = load ptr, ptr %5, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 1
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = icmp eq i32 %64, %68
br i1 %69, label %70, label %114
70: ; preds = %59
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 -2
store ptr %72, ptr %7, align 8
store i32 1, ptr %9, align 4
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %9, align 4
%75 = zext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = zext i8 %77 to i32
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %9, align 4
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = icmp eq i32 %78, %84
br i1 %85, label %.lr.ph2, label %113
.lr.ph2: ; preds = %70
br label %100
86: ; preds = %100
%87 = load ptr, ptr %7, align 8
%88 = load i32, ptr %9, align 4
%89 = zext i32 %88 to i64
%90 = getelementptr inbounds i8, ptr %87, i64 %89
%91 = load i8, ptr %90, align 1
%92 = zext i8 %91 to i32
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %9, align 4
%95 = zext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
%97 = load i8, ptr %96, align 1
%98 = zext i8 %97 to i32
%99 = icmp eq i32 %92, %98
br i1 %99, label %100, label %._crit_edge3, !llvm.loop !8
100: ; preds = %.lr.ph2, %86
%101 = load i32, ptr %9, align 4
%102 = add i32 %101, 1
store i32 %102, ptr %9, align 4
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %9, align 4
%105 = zext i32 %104 to i64
%106 = getelementptr inbounds i8, ptr %103, i64 %105
%107 = load i8, ptr %106, align 1
%108 = zext i8 %107 to i32
%109 = icmp eq i32 %108, 0
br i1 %109, label %110, label %86
110: ; preds = %100
%111 = load ptr, ptr %4, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 -2
store ptr %112, ptr %3, align 8
br label %136
._crit_edge3: ; preds = %86
br label %113
113: ; preds = %._crit_edge3, %70
br label %114
114: ; preds = %113, %59
%115 = load i32, ptr %8, align 4
%116 = zext i32 %115 to i64
%117 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %116
%118 = load i8, ptr %117, align 1
%119 = zext i8 %118 to i32
%120 = icmp eq i32 %119, 0
br i1 %120, label %.lr.ph5, label %132
.lr.ph5: ; preds = %114
br label %121
121: ; preds = %.lr.ph5, %121
%122 = load ptr, ptr %4, align 8
%123 = getelementptr inbounds i8, ptr %122, i32 1
store ptr %123, ptr %4, align 8
%124 = load i8, ptr %122, align 1
%125 = zext i8 %124 to i32
store i32 %125, ptr %8, align 4
%126 = load i32, ptr %8, align 4
%127 = zext i32 %126 to i64
%128 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 %127
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = icmp eq i32 %130, 0
br i1 %131, label %121, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %121
br label %132
132: ; preds = %._crit_edge6, %114
%133 = load i32, ptr %8, align 4
%134 = icmp ne i32 %133, 0
br i1 %134, label %59, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %132
br label %135
135: ; preds = %._crit_edge9, %56
store ptr null, ptr %3, align 8
br label %136
136: ; preds = %135, %110, %22, %14
%137 = load ptr, ptr %3, align 8
ret ptr %137
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpz4u_yl1z.c'
source_filename = "/tmp/tmpz4u_yl1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz4u_yl1z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9qd69rz.c'
source_filename = "/tmp/tmpp9qd69rz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp9qd69rz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpro06bxe5.c'
source_filename = "/tmp/tmpro06bxe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_custom_trigger() #0 {
%1 = call i32 (...) @ir_remote_init_32k_mode()
ret void
}
declare i32 @ir_remote_init_32k_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpro06bxe5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_custom_trigger() #0 {
%1 = call i32 (...) @ir_remote_init_32k_mode()
ret void
}
declare i32 @ir_remote_init_32k_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppf0i9w1a.c'
source_filename = "/tmp/tmppf0i9w1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@FD_SETSIZE = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"SERIAL EAGAIN ERROR\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"SERIAL read error %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readport(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 i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca %struct.timeval, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
store i32 3, ptr %12, align 4
%13 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
store i32 300000, ptr %13, align 4
%14 = call i32 @FD_ZERO(ptr noundef %10)
%15 = load i32, ptr %4, align 4
%16 = call i32 @FD_SET(i32 noundef %15, ptr noundef %10)
%17 = load i32, ptr @FD_SETSIZE, align 4
%18 = call i32 @select(i32 noundef %17, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11)
store i32 %18, ptr %8, align 4
%19 = load ptr, ptr %5, align 8
store i8 63, ptr %19, align 1
%20 = load i32, ptr %8, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %2
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25)
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %22, %2
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @EAGAIN, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %42
36: ; preds = %30
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @errno, align 8
%39 = call ptr @strerror(i64 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %37, ptr noundef %39)
store i32 0, ptr %3, align 4
br label %42
41: ; preds = %27
store i32 1, ptr %3, align 4
br label %42
42: ; preds = %41, %36, %34
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppf0i9w1a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@FD_SETSIZE = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [21 x i8] c"SERIAL EAGAIN ERROR\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"SERIAL read error %d %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readport(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 i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
%11 = alloca %struct.timeval, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
store i32 3, ptr %12, align 4
%13 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 1
store i32 300000, ptr %13, align 4
%14 = call i32 @FD_ZERO(ptr noundef %10)
%15 = load i32, ptr %4, align 4
%16 = call i32 @FD_SET(i32 noundef %15, ptr noundef %10)
%17 = load i32, ptr @FD_SETSIZE, align 4
%18 = call i32 @select(i32 noundef %17, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %11)
store i32 %18, ptr %8, align 4
%19 = load ptr, ptr %5, align 8
store i8 63, ptr %19, align 1
%20 = load i32, ptr %8, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %2
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef %25)
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %22, %2
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @EAGAIN, align 8
%33 = icmp eq i64 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %42
36: ; preds = %30
%37 = load i64, ptr @errno, align 8
%38 = load i64, ptr @errno, align 8
%39 = call ptr @strerror(i64 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %37, ptr noundef %39)
store i32 0, ptr %3, align 4
br label %42
41: ; preds = %27
store i32 1, ptr %3, align 4
br label %42
42: ; preds = %41, %36, %34
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ljnto19.c'
source_filename = "/tmp/tmp6ljnto19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @logb(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double (...) @__infer_nondet_double()
ret double %3
}
declare double @__infer_nondet_double(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ljnto19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @logb(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = call double (...) @__infer_nondet_double()
ret double %3
}
declare double @__infer_nondet_double(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zo7tohy.c'
source_filename = "/tmp/tmp8zo7tohy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zo7tohy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4zwtb9qw.c'
source_filename = "/tmp/tmp4zwtb9qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4zwtb9qw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpord2m5m6.c'
source_filename = "/tmp/tmpord2m5m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ht16k337Seg_printStrInternal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strnlen(ptr noundef %9, i32 noundef 4)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %6, align 4
br label %16
15: ; preds = %2
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %14, %13 ], [ 4, %15 ]
store i32 %17, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %18
18: ; preds = %36, %16
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %39
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @ht16k337Seg_printAscii(ptr noundef %23, i32 noundef %24, i8 noundef signext %29)
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %22
%34 = load i32, ptr %8, align 4
store i32 %34, ptr %3, align 4
br label %40
35: ; preds = %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %18, !llvm.loop !6
39: ; preds = %18
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %39, %33
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @strnlen(ptr noundef, i32 noundef) #1
declare i32 @ht16k337Seg_printAscii(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpord2m5m6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ht16k337Seg_printStrInternal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strnlen(ptr noundef %9, i32 noundef 4)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = load i32, ptr %6, align 4
br label %16
15: ; preds = %2
br label %16
16: ; preds = %15, %13
%17 = phi i32 [ %14, %13 ], [ 4, %15 ]
store i32 %17, ptr %6, align 4
store i32 0, ptr %7, align 4
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %41
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %35
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i32 @ht16k337Seg_printAscii(ptr noundef %22, i32 noundef %23, i8 noundef signext %28)
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %21
%33 = load i32, ptr %8, align 4
store i32 %33, ptr %3, align 4
br label %42
34: ; preds = %21
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %16
store i32 0, ptr %3, align 4
br label %42
42: ; preds = %41, %32
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @strnlen(ptr noundef, i32 noundef) #1
declare i32 @ht16k337Seg_printAscii(ptr noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiz47ivbz.c'
source_filename = "/tmp/tmpiz47ivbz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0A\0ACaught signal %d, exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @cleanup()
%6 = load i32, ptr %2, align 4
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @cleanup(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiz47ivbz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"\0A\0ACaught signal %d, exiting...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @signal_handler(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
%5 = call i32 (...) @cleanup()
%6 = load i32, ptr %2, align 4
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @cleanup(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnm9w55b6.c'
source_filename = "/tmp/tmpnm9w55b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tms = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_tms_stime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnm9w55b6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tms = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_tms_stime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.tms, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 4
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp35ws9h75.c'
source_filename = "/tmp/tmp35ws9h75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randomVocableIndex() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @random()
%3 = call i32 (...) @vocableCount()
%4 = srem i32 %2, %3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %1, align 4
ret i32 %6
}
declare i32 @random(...) #1
declare i32 @vocableCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35ws9h75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @randomVocableIndex() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @random()
%3 = call i32 (...) @vocableCount()
%4 = srem i32 %2, %3
store i32 %4, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %1, align 4
ret i32 %6
}
declare i32 @random(...) #1
declare i32 @vocableCount(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprsqmcqo8.c'
source_filename = "/tmp/tmprsqmcqo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprsqmcqo8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpziamh7ve.c'
source_filename = "/tmp/tmpziamh7ve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpziamh7ve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps4rf5dpd.c'
source_filename = "/tmp/tmps4rf5dpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @track_info_matches(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @track_info_matches_full(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef 1)
ret i32 %10
}
declare i32 @track_info_matches_full(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4rf5dpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @track_info_matches(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @track_info_matches_full(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0, i32 noundef 1)
ret i32 %10
}
declare i32 @track_info_matches_full(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_jy5log3.c'
source_filename = "/tmp/tmp_jy5log3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
ret i32 0
}
declare i32 @init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_jy5log3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
ret i32 0
}
declare i32 @init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdxsuosgs.c'
source_filename = "/tmp/tmpdxsuosgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"La media di %g + %g = %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Potenza %d^%d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Valori degli argomenti nel main val=%d n=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Somma elementi vettore = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"%d e' una data valida\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"%d non e' una data valida\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong 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 double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 1.080000e+01, ptr %6, align 8
store double 8.990000e+01, ptr %7, align 8
store i32 2, ptr %8, align 4
store i32 5, ptr %9, align 4
store i32 5, ptr %12, align 4
%13 = load double, ptr %6, align 8
%14 = fptosi double %13 to i32
%15 = load double, ptr %7, align 8
%16 = load double, ptr %6, align 8
%17 = load double, ptr %7, align 8
%18 = call double @Media(double noundef %16, double noundef %17)
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %14, double noundef %15, double noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @Potenza(i32 noundef %22, i32 noundef %23)
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21, i32 noundef %24)
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%30 = call i32 @SommaElementi(ptr noundef %29, i32 noundef 10)
store i32 %30, ptr %11, align 4
%31 = load i32, ptr %11, align 4
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = call i32 @StampaGiorno(i32 noundef 31)
%34 = call i32 @StampaGiorno(i32 noundef -1)
%35 = call i32 @StampaGiorno(i32 noundef 32)
br label %36
36: ; preds = %50, %2
%37 = load i32, ptr %12, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %12, align 4
%39 = icmp ne i32 %37, 0
br i1 %39, label %40, label %51
40: ; preds = %36
%41 = load i32, ptr %12, align 4
%42 = call i64 @VerificaData(i32 noundef %41)
%43 = icmp sgt i64 %42, 0
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr %12, align 4
%46 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %45)
br label %50
47: ; preds = %40
%48 = load i32, ptr %12, align 4
%49 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %48)
br label %50
50: ; preds = %47, %44
br label %36, !llvm.loop !6
51: ; preds = %36
%52 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare double @Media(double noundef, double noundef) #1
declare i32 @Potenza(i32 noundef, i32 noundef) #1
declare i32 @SommaElementi(ptr noundef, i32 noundef) #1
declare i32 @StampaGiorno(i32 noundef) #1
declare i64 @VerificaData(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdxsuosgs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"La media di %g + %g = %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Potenza %d^%d = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"Valori degli argomenti nel main val=%d n=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Somma elementi vettore = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"%d e' una data valida\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"%d non e' una data valida\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong 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 double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [10 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 1.080000e+01, ptr %6, align 8
store double 8.990000e+01, ptr %7, align 8
store i32 2, ptr %8, align 4
store i32 5, ptr %9, align 4
store i32 5, ptr %12, align 4
%13 = load double, ptr %6, align 8
%14 = fptosi double %13 to i32
%15 = load double, ptr %7, align 8
%16 = load double, ptr %6, align 8
%17 = load double, ptr %7, align 8
%18 = call double @Media(double noundef %16, double noundef %17)
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %14, double noundef %15, double noundef %18)
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %9, align 4
%24 = call i32 @Potenza(i32 noundef %22, i32 noundef %23)
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %20, i32 noundef %21, i32 noundef %24)
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %9, align 4
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %26, i32 noundef %27)
%29 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%30 = call i32 @SommaElementi(ptr noundef %29, i32 noundef 10)
store i32 %30, ptr %11, align 4
%31 = load i32, ptr %11, align 4
%32 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = call i32 @StampaGiorno(i32 noundef 31)
%34 = call i32 @StampaGiorno(i32 noundef -1)
%35 = call i32 @StampaGiorno(i32 noundef 32)
%36 = load i32, ptr %12, align 4
%37 = add nsw i32 %36, -1
store i32 %37, ptr %12, align 4
%38 = icmp ne i32 %36, 0
br i1 %38, label %.lr.ph, label %53
.lr.ph: ; preds = %2
br label %39
39: ; preds = %.lr.ph, %49
%40 = load i32, ptr %12, align 4
%41 = call i64 @VerificaData(i32 noundef %40)
%42 = icmp sgt i64 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %39
%44 = load i32, ptr %12, align 4
%45 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %44)
br label %49
46: ; preds = %39
%47 = load i32, ptr %12, align 4
%48 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.5, i32 noundef %47)
br label %49
49: ; preds = %46, %43
%50 = load i32, ptr %12, align 4
%51 = add nsw i32 %50, -1
store i32 %51, ptr %12, align 4
%52 = icmp ne i32 %50, 0
br i1 %52, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %53
53: ; preds = %._crit_edge, %2
%54 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %54
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare double @Media(double noundef, double noundef) #1
declare i32 @Potenza(i32 noundef, i32 noundef) #1
declare i32 @SommaElementi(ptr noundef, i32 noundef) #1
declare i32 @StampaGiorno(i32 noundef) #1
declare i64 @VerificaData(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpaj_ecgr7.c'
source_filename = "/tmp/tmpaj_ecgr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaj_ecgr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LOG_ERR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps2nmpnet.c'
source_filename = "/tmp/tmps2nmpnet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @paths_are_same(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca [4096 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%10 = call ptr @realpath(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%12 = icmp ne ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %27
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%17 = call ptr @realpath(ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%19 = icmp ne ptr %17, %18
br i1 %19, label %20, label %21
20: ; preds = %14
store i32 0, ptr %3, align 4
br label %27
21: ; preds = %14
%22 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%23 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%24 = call i64 @stroscmp(ptr noundef %22, ptr noundef %23)
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %21, %20, %13
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare i64 @stroscmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps2nmpnet.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @paths_are_same(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca [4096 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%10 = call ptr @realpath(ptr noundef %8, ptr noundef %9)
%11 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%12 = icmp ne ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 0, ptr %3, align 4
br label %27
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%17 = call ptr @realpath(ptr noundef %15, ptr noundef %16)
%18 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%19 = icmp ne ptr %17, %18
br i1 %19, label %20, label %21
20: ; preds = %14
store i32 0, ptr %3, align 4
br label %27
21: ; preds = %14
%22 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%23 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%24 = call i64 @stroscmp(ptr noundef %22, ptr noundef %23)
%25 = icmp eq i64 %24, 0
%26 = zext i1 %25 to i32
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %21, %20, %13
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare i64 @stroscmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk09317xg.c'
source_filename = "/tmp/tmpk09317xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 208 should be 14\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_208() #0 {
%1 = call i32 @isqrt(i32 noundef 208)
%2 = icmp eq i32 %1, 14
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1045, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk09317xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [162 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/stdlib/isqrt.c\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Integer square root of 208 should be 14\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_sqrt_208() #0 {
%1 = call i32 @isqrt(i32 noundef 208)
%2 = icmp eq i32 %1, 14
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 1045, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @isqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3chrt2f8.c'
source_filename = "/tmp/tmp3chrt2f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"1337\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3chrt2f8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"1337\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fun() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv2fr1mzh.c'
source_filename = "/tmp/tmpv2fr1mzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv2fr1mzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4tfehi3k.c'
source_filename = "/tmp/tmp4tfehi3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@str_char.s = internal global [8 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [6 x i8] c"'%c' \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"'\\0'\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"'\\r'\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"'\\n'\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"?%.3d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_char(i8 noundef zeroext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp sge i32 %5, 32
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = call i32 @sprintf(ptr noundef @str_char.s, ptr noundef @.str, i8 noundef zeroext %8)
store ptr @str_char.s, ptr %2, align 8
br label %19
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
switch i32 %12, label %16 [
i32 0, label %13
i32 13, label %14
i32 10, label %15
]
13: ; preds = %10
store ptr @.str.1, ptr %2, align 8
br label %19
14: ; preds = %10
store ptr @.str.2, ptr %2, align 8
br label %19
15: ; preds = %10
store ptr @.str.3, ptr %2, align 8
br label %19
16: ; preds = %10
%17 = load i8, ptr %3, align 1
%18 = call i32 @sprintf(ptr noundef @str_char.s, ptr noundef @.str.4, i8 noundef zeroext %17)
store ptr @str_char.s, ptr %2, align 8
br label %19
19: ; preds = %16, %15, %14, %13, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4tfehi3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@str_char.s = internal global [8 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [6 x i8] c"'%c' \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"'\\0'\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"'\\r'\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"'\\n'\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"?%.3d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @str_char(i8 noundef zeroext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = zext i8 %4 to i32
%6 = icmp sge i32 %5, 32
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = call i32 @sprintf(ptr noundef @str_char.s, ptr noundef @.str, i8 noundef zeroext %8)
store ptr @str_char.s, ptr %2, align 8
br label %19
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = zext i8 %11 to i32
switch i32 %12, label %16 [
i32 0, label %13
i32 13, label %14
i32 10, label %15
]
13: ; preds = %10
store ptr @.str.1, ptr %2, align 8
br label %19
14: ; preds = %10
store ptr @.str.2, ptr %2, align 8
br label %19
15: ; preds = %10
store ptr @.str.3, ptr %2, align 8
br label %19
16: ; preds = %10
%17 = load i8, ptr %3, align 1
%18 = call i32 @sprintf(ptr noundef @str_char.s, ptr noundef @.str.4, i8 noundef zeroext %17)
store ptr @str_char.s, ptr %2, align 8
br label %19
19: ; preds = %16, %15, %14, %13, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxswj_vtt.c'
source_filename = "/tmp/tmpxswj_vtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @daemonize()
br label %7
7: ; preds = %2, %7
%8 = call i32 @sleep(i32 noundef 1)
br label %7
}
declare i32 @daemonize(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxswj_vtt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong 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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @daemonize()
br label %7
7: ; preds = %7, %2
%8 = call i32 @sleep(i32 noundef 1)
br label %7
}
declare i32 @daemonize(...) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmpylbqlo.c'
source_filename = "/tmp/tmpmpylbqlo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [22 x i8] c"Usage: %s <filesdir>\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"sw\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"csc\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"temp/\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"words.txt\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"+-------------------------------\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"|Words dired: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"index.txt\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"|Dired: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [37 x i8] c"**ERROR** sw not executed **ERROR**\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Couldn't open the directory\00", align 1
@.str.15 = private unnamed_addr constant [38 x i8] c"**ERROR** csc not executed **ERROR**\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca [256 x i8], align 16
%11 = alloca [256 x i8], align 16
%12 = alloca [256 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [256 x i8], align 16
%16 = alloca ptr, align 8
%17 = alloca [256 x i8], align 16
%18 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %27
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24)
%26 = call i32 @exit(i32 noundef 2) #3
unreachable
27: ; preds = %2
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @setbuf(i32 noundef %28, ptr noundef null)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @realpath(ptr noundef %32, ptr noundef %33)
%35 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @strcat(ptr noundef %35, ptr noundef @.str.1)
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @realpath(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%43 = call i32 @strcat(ptr noundef %42, ptr noundef @.str.1)
%44 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%45 = call ptr @dirname(ptr noundef %44)
store ptr %45, ptr %8, align 8
%46 = load ptr, ptr %8, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.1)
%48 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%49 = load ptr, ptr %8, align 8
%50 = call i32 @strcpy(ptr noundef %48, ptr noundef %49)
%51 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str.2)
%53 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%54 = load ptr, ptr %8, align 8
%55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54)
%56 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.3)
%58 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%59 = load ptr, ptr %8, align 8
%60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59)
%61 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.4)
%63 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%64 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%65 = call i32 @strcpy(ptr noundef %63, ptr noundef %64)
%66 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str.5)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%69 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %69)
%71 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%72 = call ptr @opendir(ptr noundef %71)
store ptr %72, ptr %13, align 8
%73 = load ptr, ptr %13, align 8
%74 = icmp ne ptr %73, null
br i1 %74, label %75, label %144
75: ; preds = %27
br label %76
76: ; preds = %138, %104, %75
%77 = load ptr, ptr %13, align 8
%78 = call ptr @readdir(ptr noundef %77)
store ptr %78, ptr %14, align 8
%79 = icmp ne ptr %78, null
br i1 %79, label %80, label %140
80: ; preds = %76
%81 = load ptr, ptr %14, align 8
%82 = getelementptr inbounds %struct.dirent, ptr %81, i32 0, i32 0
%83 = load ptr, ptr %82, align 8
%84 = call i64 @strcmp(ptr noundef %83, ptr noundef @.str.8)
%85 = icmp eq i64 %84, 0
br i1 %85, label %104, label %86
86: ; preds = %80
%87 = load ptr, ptr %14, align 8
%88 = getelementptr inbounds %struct.dirent, ptr %87, i32 0, i32 0
%89 = load ptr, ptr %88, align 8
%90 = call i64 @strcmp(ptr noundef %89, ptr noundef @.str.9)
%91 = icmp eq i64 %90, 0
br i1 %91, label %104, label %92
92: ; preds = %86
%93 = load ptr, ptr %14, align 8
%94 = getelementptr inbounds %struct.dirent, ptr %93, i32 0, i32 0
%95 = load ptr, ptr %94, align 8
%96 = call i64 @strcmp(ptr noundef %95, ptr noundef @.str.5)
%97 = icmp eq i64 %96, 0
br i1 %97, label %104, label %98
98: ; preds = %92
%99 = load ptr, ptr %14, align 8
%100 = getelementptr inbounds %struct.dirent, ptr %99, i32 0, i32 0
%101 = load ptr, ptr %100, align 8
%102 = call i64 @strcmp(ptr noundef %101, ptr noundef @.str.10)
%103 = icmp eq i64 %102, 0
br i1 %103, label %104, label %105
104: ; preds = %98, %92, %86, %80
br label %76, !llvm.loop !6
105: ; preds = %98
%106 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%107 = load ptr, ptr %14, align 8
%108 = getelementptr inbounds %struct.dirent, ptr %107, i32 0, i32 0
%109 = load ptr, ptr %108, align 8
%110 = call i32 @strcpy(ptr noundef %106, ptr noundef %109)
%111 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%112 = call ptr @strtok(ptr noundef %111, ptr noundef @.str.8)
store ptr %112, ptr %16, align 8
%113 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%114 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%115 = call i32 @strcpy(ptr noundef %113, ptr noundef %114)
%116 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%117 = load ptr, ptr %14, align 8
%118 = getelementptr inbounds %struct.dirent, ptr %117, i32 0, i32 0
%119 = load ptr, ptr %118, align 8
%120 = call i32 @strcat(ptr noundef %116, ptr noundef %119)
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%122 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %122)
%124 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%126 = call i64 (...) @fork()
%127 = icmp eq i64 %126, 0
br i1 %127, label %128, label %138
128: ; preds = %105
%129 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%130 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%131 = load ptr, ptr %16, align 8
%132 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%133 = load ptr, ptr %8, align 8
%134 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef %129, ptr noundef @.str.2, ptr noundef %130, ptr noundef %131, ptr noundef %132, ptr noundef %133, ptr noundef null)
%135 = load i32, ptr @stderr, align 4
%136 = call i32 @fprintf(i32 noundef %135, ptr noundef @.str.13)
%137 = call i32 @exit(i32 noundef 3) #3
unreachable
138: ; preds = %105
%139 = call i32 @wait(ptr noundef null)
br label %76, !llvm.loop !6
140: ; preds = %76
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%142 = load ptr, ptr %13, align 8
%143 = call i32 @closedir(ptr noundef %142)
br label %148
144: ; preds = %27
%145 = load i32, ptr @stderr, align 4
%146 = call i32 @fprintf(i32 noundef %145, ptr noundef @.str.14)
%147 = call i32 @exit(i32 noundef 1) #3
unreachable
148: ; preds = %140
%149 = call i64 (...) @fork()
%150 = icmp eq i64 %149, 0
br i1 %150, label %151, label %160
151: ; preds = %148
%152 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%153 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%154 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%155 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%156 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef %152, ptr noundef %153, ptr noundef %154, ptr noundef %155, ptr noundef null)
%157 = load i32, ptr @stderr, align 4
%158 = call i32 @fprintf(i32 noundef %157, ptr noundef @.str.15)
%159 = call i32 @exit(i32 noundef 3) #3
unreachable
160: ; preds = %148
%161 = call i32 @wait(ptr noundef null)
%162 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%163 = call ptr @opendir(ptr noundef %162)
store ptr %163, ptr %13, align 8
%164 = load ptr, ptr %13, align 8
%165 = icmp ne ptr %164, null
br i1 %165, label %166, label %185
166: ; preds = %160
br label %167
167: ; preds = %171, %166
%168 = load ptr, ptr %13, align 8
%169 = call ptr @readdir(ptr noundef %168)
store ptr %169, ptr %14, align 8
%170 = icmp ne ptr %169, null
br i1 %170, label %171, label %182
171: ; preds = %167
%172 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%173 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%174 = call i32 @strcpy(ptr noundef %172, ptr noundef %173)
%175 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%176 = load ptr, ptr %14, align 8
%177 = getelementptr inbounds %struct.dirent, ptr %176, i32 0, i32 0
%178 = load ptr, ptr %177, align 8
%179 = call i32 @strcat(ptr noundef %175, ptr noundef %178)
%180 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%181 = call i32 @remove(ptr noundef %180)
br label %167, !llvm.loop !8
182: ; preds = %167
%183 = load ptr, ptr %13, align 8
%184 = call i32 @closedir(ptr noundef %183)
br label %189
185: ; preds = %160
%186 = load i32, ptr @stderr, align 4
%187 = call i32 @fprintf(i32 noundef %186, ptr noundef @.str.14)
%188 = call i32 @exit(i32 noundef 1) #3
unreachable
189: ; preds = %182
%190 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%191 = call i32 @rmdir(ptr noundef %190)
%192 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @realpath(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @remove(ptr noundef) #1
declare i32 @rmdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmpylbqlo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [22 x i8] c"Usage: %s <filesdir>\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"/\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"sw\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"csc\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"temp/\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"words.txt\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"+-------------------------------\0A\00", align 1
@.str.7 = private unnamed_addr constant [18 x i8] c"|Words dired: %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.9 = private unnamed_addr constant [3 x i8] c"..\00", align 1
@.str.10 = private unnamed_addr constant [10 x i8] c"index.txt\00", align 1
@.str.11 = private unnamed_addr constant [12 x i8] c"|Dired: %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [2 x i8] c"|\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.13 = private unnamed_addr constant [37 x i8] c"**ERROR** sw not executed **ERROR**\0A\00", align 1
@.str.14 = private unnamed_addr constant [28 x i8] c"Couldn't open the directory\00", align 1
@.str.15 = private unnamed_addr constant [38 x i8] c"**ERROR** csc not executed **ERROR**\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong 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 [256 x i8], align 16
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca [256 x i8], align 16
%11 = alloca [256 x i8], align 16
%12 = alloca [256 x i8], align 16
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [256 x i8], align 16
%16 = alloca ptr, align 8
%17 = alloca [256 x i8], align 16
%18 = alloca [256 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %27
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24)
%26 = call i32 @exit(i32 noundef 2) #3
unreachable
27: ; preds = %2
%28 = load i32, ptr @stdout, align 4
%29 = call i32 @setbuf(i32 noundef %28, ptr noundef null)
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 1
%32 = load ptr, ptr %31, align 8
%33 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @realpath(ptr noundef %32, ptr noundef %33)
%35 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%36 = call i32 @strcat(ptr noundef %35, ptr noundef @.str.1)
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds ptr, ptr %37, i64 0
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @realpath(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%43 = call i32 @strcat(ptr noundef %42, ptr noundef @.str.1)
%44 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%45 = call ptr @dirname(ptr noundef %44)
store ptr %45, ptr %8, align 8
%46 = load ptr, ptr %8, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.1)
%48 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%49 = load ptr, ptr %8, align 8
%50 = call i32 @strcpy(ptr noundef %48, ptr noundef %49)
%51 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%52 = call i32 @strcat(ptr noundef %51, ptr noundef @.str.2)
%53 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%54 = load ptr, ptr %8, align 8
%55 = call i32 @strcpy(ptr noundef %53, ptr noundef %54)
%56 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%57 = call i32 @strcat(ptr noundef %56, ptr noundef @.str.3)
%58 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%59 = load ptr, ptr %8, align 8
%60 = call i32 @strcpy(ptr noundef %58, ptr noundef %59)
%61 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.4)
%63 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%64 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%65 = call i32 @strcpy(ptr noundef %63, ptr noundef %64)
%66 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%67 = call i32 @strcat(ptr noundef %66, ptr noundef @.str.5)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%69 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %69)
%71 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%72 = call ptr @opendir(ptr noundef %71)
store ptr %72, ptr %13, align 8
%73 = load ptr, ptr %13, align 8
%74 = icmp ne ptr %73, null
br i1 %74, label %75, label %146
75: ; preds = %27
%76 = load ptr, ptr %13, align 8
%77 = call ptr @readdir(ptr noundef %76)
store ptr %77, ptr %14, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %.lr.ph, label %142
.lr.ph: ; preds = %75
br label %79
79: ; preds = %.lr.ph, %.backedge
%80 = load ptr, ptr %14, align 8
%81 = getelementptr inbounds %struct.dirent, ptr %80, i32 0, i32 0
%82 = load ptr, ptr %81, align 8
%83 = call i64 @strcmp(ptr noundef %82, ptr noundef @.str.8)
%84 = icmp eq i64 %83, 0
br i1 %84, label %103, label %85
85: ; preds = %79
%86 = load ptr, ptr %14, align 8
%87 = getelementptr inbounds %struct.dirent, ptr %86, i32 0, i32 0
%88 = load ptr, ptr %87, align 8
%89 = call i64 @strcmp(ptr noundef %88, ptr noundef @.str.9)
%90 = icmp eq i64 %89, 0
br i1 %90, label %103, label %91
91: ; preds = %85
%92 = load ptr, ptr %14, align 8
%93 = getelementptr inbounds %struct.dirent, ptr %92, i32 0, i32 0
%94 = load ptr, ptr %93, align 8
%95 = call i64 @strcmp(ptr noundef %94, ptr noundef @.str.5)
%96 = icmp eq i64 %95, 0
br i1 %96, label %103, label %97
97: ; preds = %91
%98 = load ptr, ptr %14, align 8
%99 = getelementptr inbounds %struct.dirent, ptr %98, i32 0, i32 0
%100 = load ptr, ptr %99, align 8
%101 = call i64 @strcmp(ptr noundef %100, ptr noundef @.str.10)
%102 = icmp eq i64 %101, 0
br i1 %102, label %103, label %107
103: ; preds = %97, %91, %85, %79
br label %.backedge
.backedge: ; preds = %103, %140
%104 = load ptr, ptr %13, align 8
%105 = call ptr @readdir(ptr noundef %104)
store ptr %105, ptr %14, align 8
%106 = icmp ne ptr %105, null
br i1 %106, label %79, label %._crit_edge, !llvm.loop !6
107: ; preds = %97
%108 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%109 = load ptr, ptr %14, align 8
%110 = getelementptr inbounds %struct.dirent, ptr %109, i32 0, i32 0
%111 = load ptr, ptr %110, align 8
%112 = call i32 @strcpy(ptr noundef %108, ptr noundef %111)
%113 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0
%114 = call ptr @strtok(ptr noundef %113, ptr noundef @.str.8)
store ptr %114, ptr %16, align 8
%115 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%116 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%117 = call i32 @strcpy(ptr noundef %115, ptr noundef %116)
%118 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%119 = load ptr, ptr %14, align 8
%120 = getelementptr inbounds %struct.dirent, ptr %119, i32 0, i32 0
%121 = load ptr, ptr %120, align 8
%122 = call i32 @strcat(ptr noundef %118, ptr noundef %121)
%123 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%124 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %124)
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%127 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%128 = call i64 (...) @fork()
%129 = icmp eq i64 %128, 0
br i1 %129, label %130, label %140
130: ; preds = %107
%131 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%132 = getelementptr inbounds [256 x i8], ptr %17, i64 0, i64 0
%133 = load ptr, ptr %16, align 8
%134 = getelementptr inbounds [256 x i8], ptr %12, i64 0, i64 0
%135 = load ptr, ptr %8, align 8
%136 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef %131, ptr noundef @.str.2, ptr noundef %132, ptr noundef %133, ptr noundef %134, ptr noundef %135, ptr noundef null)
%137 = load i32, ptr @stderr, align 4
%138 = call i32 @fprintf(i32 noundef %137, ptr noundef @.str.13)
%139 = call i32 @exit(i32 noundef 3) #3
unreachable
140: ; preds = %107
%141 = call i32 @wait(ptr noundef null)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %142
142: ; preds = %._crit_edge, %75
%143 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%144 = load ptr, ptr %13, align 8
%145 = call i32 @closedir(ptr noundef %144)
br label %150
146: ; preds = %27
%147 = load i32, ptr @stderr, align 4
%148 = call i32 @fprintf(i32 noundef %147, ptr noundef @.str.14)
%149 = call i32 @exit(i32 noundef 1) #3
unreachable
150: ; preds = %142
%151 = call i64 (...) @fork()
%152 = icmp eq i64 %151, 0
br i1 %152, label %153, label %162
153: ; preds = %150
%154 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%155 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%156 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0
%157 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%158 = call i32 (ptr, ptr, ptr, ptr, ptr, ...) @execlp(ptr noundef %154, ptr noundef %155, ptr noundef %156, ptr noundef %157, ptr noundef null)
%159 = load i32, ptr @stderr, align 4
%160 = call i32 @fprintf(i32 noundef %159, ptr noundef @.str.15)
%161 = call i32 @exit(i32 noundef 3) #3
unreachable
162: ; preds = %150
%163 = call i32 @wait(ptr noundef null)
%164 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%165 = call ptr @opendir(ptr noundef %164)
store ptr %165, ptr %13, align 8
%166 = load ptr, ptr %13, align 8
%167 = icmp ne ptr %166, null
br i1 %167, label %168, label %189
168: ; preds = %162
%169 = load ptr, ptr %13, align 8
%170 = call ptr @readdir(ptr noundef %169)
store ptr %170, ptr %14, align 8
%171 = icmp ne ptr %170, null
br i1 %171, label %.lr.ph2, label %186
.lr.ph2: ; preds = %168
br label %172
172: ; preds = %.lr.ph2, %172
%173 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%174 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%175 = call i32 @strcpy(ptr noundef %173, ptr noundef %174)
%176 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%177 = load ptr, ptr %14, align 8
%178 = getelementptr inbounds %struct.dirent, ptr %177, i32 0, i32 0
%179 = load ptr, ptr %178, align 8
%180 = call i32 @strcat(ptr noundef %176, ptr noundef %179)
%181 = getelementptr inbounds [256 x i8], ptr %18, i64 0, i64 0
%182 = call i32 @remove(ptr noundef %181)
%183 = load ptr, ptr %13, align 8
%184 = call ptr @readdir(ptr noundef %183)
store ptr %184, ptr %14, align 8
%185 = icmp ne ptr %184, null
br i1 %185, label %172, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %172
br label %186
186: ; preds = %._crit_edge3, %168
%187 = load ptr, ptr %13, align 8
%188 = call i32 @closedir(ptr noundef %187)
br label %193
189: ; preds = %162
%190 = load i32, ptr @stderr, align 4
%191 = call i32 @fprintf(i32 noundef %190, ptr noundef @.str.14)
%192 = call i32 @exit(i32 noundef 1) #3
unreachable
193: ; preds = %186
%194 = getelementptr inbounds [256 x i8], ptr %11, i64 0, i64 0
%195 = call i32 @rmdir(ptr noundef %194)
%196 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @realpath(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @dirname(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i64 @fork(...) #1
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @wait(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @remove(ptr noundef) #1
declare i32 @rmdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp68qp6or_.c'
source_filename = "/tmp/tmp68qp6or_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.grid = private unnamed_addr constant [5 x [5 x i32]] [[5 x i32] [i32 1, i32 1, i32 0, i32 0, i32 0], [5 x i32] [i32 0, i32 1, i32 1, i32 0, i32 0], [5 x i32] [i32 0, i32 0, i32 1, i32 1, i32 1], [5 x i32] [i32 1, i32 0, i32 0, i32 0, i32 1], [5 x i32] [i32 0, i32 1, i32 0, i32 1, i32 1]], align 16
@.str = private unnamed_addr constant [16 x i8] c"Blob count: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x [5 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.grid, i64 100, i1 false)
%3 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 0
%4 = call i32 @blob_count(i32 noundef 1, i32 noundef 1, ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @blob_count(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68qp6or_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.grid = private unnamed_addr constant [5 x [5 x i32]] [[5 x i32] [i32 1, i32 1, i32 0, i32 0, i32 0], [5 x i32] [i32 0, i32 1, i32 1, i32 0, i32 0], [5 x i32] [i32 0, i32 0, i32 1, i32 1, i32 1], [5 x i32] [i32 1, i32 0, i32 0, i32 0, i32 1], [5 x i32] [i32 0, i32 1, i32 0, i32 1, i32 1]], align 16
@.str = private unnamed_addr constant [16 x i8] c"Blob count: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x [5 x i32]], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.grid, i64 100, i1 false)
%3 = getelementptr inbounds [5 x [5 x i32]], ptr %2, i64 0, i64 0
%4 = call i32 @blob_count(i32 noundef 1, i32 noundef 1, ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef) #2
declare i32 @blob_count(i32 noundef, i32 noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "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, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ntozicv.c'
source_filename = "/tmp/tmp8ntozicv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"munpack version %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.6\00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"usage: munpack [-f] [-q] [-t] [-C directory] [files...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ntozicv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"munpack version %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.6\00", align 1
@.str.2 = private unnamed_addr constant [57 x i8] c"usage: munpack [-f] [-q] [-t] [-C directory] [files...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str.2)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyk7u6u_b.c'
source_filename = "/tmp/tmpyk7u6u_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Erreur lors d'un fopen de '%s' en mode '%s' \00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Ligne %d du fichier %s.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_fopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @fopen(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %9, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %27, label %15
15: ; preds = %4
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %7, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #3
unreachable
27: ; preds = %4
%28 = load ptr, ptr %9, align 8
ret ptr %28
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyk7u6u_b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [45 x i8] c"Erreur lors d'un fopen de '%s' en mode '%s' \00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Ligne %d du fichier %s.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @my_fopen(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call ptr @fopen(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %9, align 8
%13 = load ptr, ptr %9, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %27, label %15
15: ; preds = %4
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = load i32, ptr @stderr, align 4
%22 = load i32, ptr %8, align 4
%23 = load ptr, ptr %7, align 8
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.2, i32 noundef %22, ptr noundef %23)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #3
unreachable
27: ; preds = %4
%28 = load ptr, ptr %9, align 8
ret ptr %28
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "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 = { "frame-pointer"="all" "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 = { noreturn "frame-pointer"="all" "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 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzzzgp0kn.c'
source_filename = "/tmp/tmpzzzgp0kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzzzgp0kn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk2beznf.c'
source_filename = "/tmp/tmphk2beznf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphk2beznf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4hrfaap3.c'
source_filename = "/tmp/tmp4hrfaap3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4hrfaap3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzvv0kmgx.c'
source_filename = "/tmp/tmpzvv0kmgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzvv0kmgx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!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 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.