llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp0qamvcjo.c'
source_filename = "/tmp/tmp0qamvcjo.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 [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Case %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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 1, ptr %5, align 4
br label %8
8: ; preds = %76, %0
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %79
12: ; preds = %8
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sgt i32 %14, %15
br i1 %16, label %17, label %21
17: ; preds = %12
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %29, label %21
21: ; preds = %17, %12
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %2, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %33
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %33
29: ; preds = %25, %17
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %31)
br label %75
33: ; preds = %25, %21
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp sgt i32 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %49, label %41
41: ; preds = %37, %33
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %53
45: ; preds = %41
%46 = load i32, ptr %3, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %53
49: ; preds = %45, %37
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %3, align 4
%52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %50, i32 noundef %51)
br label %74
53: ; preds = %45, %41
%54 = load i32, ptr %4, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %61
57: ; preds = %53
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %3, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %69, label %61
61: ; preds = %57, %53
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %73
65: ; preds = %61
%66 = load i32, ptr %4, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %73
69: ; preds = %65, %57
%70 = load i32, ptr %5, align 4
%71 = load i32, ptr %4, align 4
%72 = call i32 @printf(ptr noundef @.str.2, i32 noundef %70, i32 noundef %71)
br label %73
73: ; preds = %69, %65, %61
br label %74
74: ; preds = %73, %49
br label %75
75: ; preds = %74, %29
br label %76
76: ; preds = %75
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %5, align 4
br label %8, !llvm.loop !6
79: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qamvcjo.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 [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Case %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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
store i32 1, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %81
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %75
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %13, %14
br i1 %15, label %16, label %20
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %28, label %20
20: ; preds = %16, %11
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %32
24: ; preds = %20
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %32
28: ; preds = %24, %16
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %2, align 4
%31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29, i32 noundef %30)
br label %74
32: ; preds = %24, %20
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sgt i32 %33, %34
br i1 %35, label %36, label %40
36: ; preds = %32
%37 = load i32, ptr %3, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %48, label %40
40: ; preds = %36, %32
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %52
44: ; preds = %40
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %52
48: ; preds = %44, %36
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %3, align 4
%51 = call i32 @printf(ptr noundef @.str.2, i32 noundef %49, i32 noundef %50)
br label %73
52: ; preds = %44, %40
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %2, align 4
%55 = icmp sgt i32 %53, %54
br i1 %55, label %56, label %60
56: ; preds = %52
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %3, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %68, label %60
60: ; preds = %56, %52
%61 = load i32, ptr %3, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %72
64: ; preds = %60
%65 = load i32, ptr %4, align 4
%66 = load i32, ptr %2, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %72
68: ; preds = %64, %56
%69 = load i32, ptr %5, align 4
%70 = load i32, ptr %4, align 4
%71 = call i32 @printf(ptr noundef @.str.2, i32 noundef %69, i32 noundef %70)
br label %72
72: ; preds = %68, %64, %60
br label %73
73: ; preds = %72, %48
br label %74
74: ; preds = %73, %28
br label %75
75: ; preds = %74
%76 = load i32, ptr %5, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %5, align 4
%78 = load i32, ptr %5, align 4
%79 = load i32, ptr %6, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgad2fesx.c'
source_filename = "/tmp/tmpgad2fesx.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 @Cnd_Eq() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @ArgNum()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @GetFlag(i32 noundef %3)
%5 = call i32 (...) @ArgNum()
%6 = icmp eq i32 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @ArgNum(...) #1
declare i32 @GetFlag(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/tmpgad2fesx.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 @Cnd_Eq() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @ArgNum()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @GetFlag(i32 noundef %3)
%5 = call i32 (...) @ArgNum()
%6 = icmp eq i32 %4, %5
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @ArgNum(...) #1
declare i32 @GetFlag(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_sj4q43r.c'
source_filename = "/tmp/tmp_sj4q43r.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 @fa_get_pdf_beta(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fpext float %4 to double
%6 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %5, double -1.000000e+00)
%7 = fptosi double %6 to i32
%8 = call double @fa_inverse_error_func(i32 noundef %7)
%9 = fmul double 0x3FF6A09E667F055A, %8
%10 = fptrunc double %9 to float
store float %10, ptr %3, align 4
%11 = load float, ptr %3, align 4
ret float %11
}
declare double @fa_inverse_error_func(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sj4q43r.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 @fa_get_pdf_beta(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
store float %0, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = fpext float %4 to double
%6 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %5, double -1.000000e+00)
%7 = fptosi double %6 to i32
%8 = call double @fa_inverse_error_func(i32 noundef %7)
%9 = fmul double 0x3FF6A09E667F055A, %8
%10 = fptrunc double %9 to float
store float %10, ptr %3, align 4
%11 = load float, ptr %3, align 4
ret float %11
}
declare double @fa_inverse_error_func(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, 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"}
|
; ModuleID = '/tmp/tmp5w45nfun.c'
source_filename = "/tmp/tmp5w45nfun.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 @strpbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
br label %9
9: ; preds = %34, %2
%10 = load ptr, ptr %6, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %13, label %37
13: ; preds = %9
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %7, align 8
br label %15
15: ; preds = %30, %13
%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 %33
19: ; preds = %15
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %22, %25
br i1 %26, label %27, label %29
27: ; preds = %19
%28 = load ptr, ptr %6, align 8
store ptr %28, ptr %3, align 8
br label %38
29: ; preds = %19
br label %30
30: ; preds = %29
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %15, !llvm.loop !6
33: ; preds = %15
br label %34
34: ; preds = %33
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
br label %9, !llvm.loop !8
37: ; preds = %9
store ptr null, ptr %3, align 8
br label %38
38: ; preds = %37, %27
%39 = load ptr, ptr %3, align 8
ret ptr %39
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5w45nfun.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 @strpbrk(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i8, ptr %9, align 1
%11 = icmp ne i8 %10, 0
br i1 %11, label %.lr.ph2, label %41
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %35
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %34
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %28
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %20, %23
br i1 %24, label %25, label %27
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
store ptr %26, ptr %3, align 8
br label %42
27: ; preds = %17
br label %28
28: ; preds = %27
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %7, align 8
%32 = load i8, ptr %31, align 1
%33 = icmp ne i8 %32, 0
br i1 %33, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %12
br label %35
35: ; preds = %34
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i8, ptr %38, align 1
%40 = icmp ne i8 %39, 0
br i1 %40, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %2
store ptr null, ptr %3, align 8
br label %42
42: ; preds = %41, %25
%43 = load ptr, ptr %3, align 8
ret ptr %43
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplg07vw6r.c'
source_filename = "/tmp/tmplg07vw6r.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"
@wstrtok.buf = internal global [1024 x i8] zeroinitializer, align 16
@wstrtok.buf2 = internal global [1024 x i8] zeroinitializer, align 16
@wstrtok.emptystr = internal global [16 x i8] zeroinitializer, align 16
@wstrtok.len = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wstrtok(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 0, ptr @wstrtok.emptystr, align 16
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strcpy(ptr noundef @wstrtok.buf, ptr noundef %11)
%13 = call i32 @strlen(ptr noundef @wstrtok.buf)
store i32 %13, ptr @wstrtok.len, align 4
store i32 0, ptr %7, align 4
br label %17
14: ; preds = %2
%15 = call i32 @strlen(ptr noundef @wstrtok.buf)
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %14, %10
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr @wstrtok.len, align 4
%20 = icmp sge i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr @wstrtok.emptystr, ptr %3, align 8
br label %68
22: ; preds = %17
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %26, %22
br label %35
35: ; preds = %56, %34
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %53
42: ; preds = %35
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %47, %51
br label %53
53: ; preds = %42, %35
%54 = phi i1 [ false, %35 ], [ %52, %42 ]
br i1 %54, label %55, label %59
55: ; preds = %53
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %35, !llvm.loop !6
59: ; preds = %53
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %61
store i8 0, ptr %62, align 1
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %64
%66 = call i32 @strcpy(ptr noundef @wstrtok.buf2, ptr noundef %65)
%67 = call i32 @clean_line(ptr noundef @wstrtok.buf2)
store ptr @wstrtok.buf2, ptr %3, align 8
br label %68
68: ; preds = %59, %21
%69 = load ptr, ptr %3, align 8
ret ptr %69
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @clean_line(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/tmplg07vw6r.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"
@wstrtok.buf = internal global [1024 x i8] zeroinitializer, align 16
@wstrtok.buf2 = internal global [1024 x i8] zeroinitializer, align 16
@wstrtok.emptystr = internal global [16 x i8] zeroinitializer, align 16
@wstrtok.len = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @wstrtok(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i8 0, ptr @wstrtok.emptystr, align 16
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %14
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strcpy(ptr noundef @wstrtok.buf, ptr noundef %11)
%13 = call i32 @strlen(ptr noundef @wstrtok.buf)
store i32 %13, ptr @wstrtok.len, align 4
store i32 0, ptr %7, align 4
br label %17
14: ; preds = %2
%15 = call i32 @strlen(ptr noundef @wstrtok.buf)
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %14, %10
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr @wstrtok.len, align 4
%20 = icmp sge i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %17
store ptr @wstrtok.emptystr, ptr %3, align 8
br label %68
22: ; preds = %17
%23 = load i32, ptr %7, align 4
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %32
store i8 %29, ptr %33, align 1
br label %34
34: ; preds = %26, %22
br label %35
35: ; preds = %56, %34
%36 = load i32, ptr %7, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %53
42: ; preds = %35
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i64 0
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp ne i32 %47, %51
br label %53
53: ; preds = %42, %35
%54 = phi i1 [ false, %35 ], [ %52, %42 ]
br i1 %54, label %55, label %59
55: ; preds = %53
br label %56
56: ; preds = %55
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %35, !llvm.loop !6
59: ; preds = %53
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %61
store i8 0, ptr %62, align 1
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [1024 x i8], ptr @wstrtok.buf, i64 0, i64 %64
%66 = call i32 @strcpy(ptr noundef @wstrtok.buf2, ptr noundef %65)
%67 = call i32 @clean_line(ptr noundef @wstrtok.buf2)
store ptr @wstrtok.buf2, ptr %3, align 8
br label %68
68: ; preds = %59, %21
%69 = load ptr, ptr %3, align 8
ret ptr %69
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @clean_line(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/tmpyt7n8vis.c'
source_filename = "/tmp/tmpyt7n8vis.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 @serial_closePort(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/tmpyt7n8vis.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 @serial_closePort(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/tmph5jeupoz.c'
source_filename = "/tmp/tmph5jeupoz.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 [8 x i8] c"Alarm> \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"%d %64[^\0A]\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"Bad command\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"(%d) %s\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 [128 x i8], align 16
%8 = alloca [64 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
br label %9
9: ; preds = %2, %21, %36
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%12 = load i32, ptr @stdin, align 4
%13 = call ptr @fgets(ptr noundef %11, i32 noundef 128, i32 noundef %12)
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %9
%18 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%19 = call i32 @strlen(ptr noundef %18)
%20 = icmp sle i32 %19, 1
br i1 %20, label %21, label %22
21: ; preds = %17
br label %9
22: ; preds = %17
%23 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%24 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0
%25 = call i32 @sscanf(ptr noundef %23, ptr noundef @.str.1, ptr noundef %6, ptr noundef %24)
%26 = icmp slt i32 %25, 2
br i1 %26, label %27, label %30
27: ; preds = %22
%28 = load i32, ptr @stderr, align 4
%29 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2)
br label %36
30: ; preds = %22
%31 = load i32, ptr %6, align 4
%32 = call i32 @sleep(i32 noundef %31)
%33 = load i32, ptr %6, align 4
%34 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %33, ptr noundef %34)
br label %36
36: ; preds = %30, %27
br label %9
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #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" }
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/tmph5jeupoz.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 [8 x i8] c"Alarm> \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [11 x i8] c"%d %64[^\0A]\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [13 x i8] c"Bad command\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"(%d) %s\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 [128 x i8], align 16
%8 = alloca [64 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
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%11 = load i32, ptr @stdin, align 4
%12 = call ptr @fgets(ptr noundef %10, i32 noundef 128, i32 noundef %11)
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %.lr.ph
.lr.ph: ; preds = %2
br label %16
._crit_edge: ; preds = %.backedge
br label %14
14: ; preds = %._crit_edge, %2
%15 = call i32 @exit(i32 noundef 0) #3
unreachable
16: ; preds = %.lr.ph, %.backedge
%17 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp sle i32 %18, 1
br i1 %19, label %20, label %25
20: ; preds = %16
br label %.backedge
.backedge: ; preds = %20, %39
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%22 = load i32, ptr @stdin, align 4
%23 = call ptr @fgets(ptr noundef %10, i32 noundef 128, i32 noundef %22)
%24 = icmp eq ptr %23, null
br i1 %24, label %._crit_edge, label %16
25: ; preds = %16
%26 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0
%28 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.1, ptr noundef %6, ptr noundef %27)
%29 = icmp slt i32 %28, 2
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr @stderr, align 4
%32 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.2)
br label %39
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = call i32 @sleep(i32 noundef %34)
%36 = load i32, ptr %6, align 4
%37 = getelementptr inbounds [64 x i8], ptr %8, i64 0, i64 0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36, ptr noundef %37)
br label %39
39: ; preds = %33, %30
br label %.backedge
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #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" }
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/tmp14oji0l5.c'
source_filename = "/tmp/tmp14oji0l5.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/tmp14oji0l5.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/tmptuj0dqru.c'
source_filename = "/tmp/tmptuj0dqru.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.timespec = type { i32, i32 }
%struct.sched_param = type { i32 }
@.str = private unnamed_addr constant [61 x i8] c"wrong number of parameters (%i instead of 2 or 3), aborting\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"cannot read the first argument (portbase), aborting\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%hhu\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"cannot read the second argument (outbits), aborting\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"cannot read the third argument (site ID), aborting\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [64 x i8] c"Cannot get the port. Maybe you should run this program as root\0A\00", align 1
@SCHED_FIFO = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [25 x i8] c"Cannot set new priority\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [39 x i8] c"Running with new static priority = %i\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"LPT address: 0x%x, output bit mask: 0x%x\0A\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"Site id: %i\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Site id is not specified\0A\00", align 1
@CLOCK_REALTIME = dso_local global i32 0, align 4
@TIMER_ABSTIME = 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 %struct.timespec, align 4
%7 = alloca %struct.timespec, align 4
%8 = alloca i64, align 8
%9 = alloca %struct.sched_param, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 4
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 3
br i1 %18, label %19, label %24
19: ; preds = %16, %2
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %3, align 4
br label %188
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %11)
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %33
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %32, ptr %3, align 4
br label %188
33: ; preds = %24
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %36, ptr noundef @.str.3, ptr noundef %12)
%38 = icmp ne i32 %37, 1
br i1 %38, label %39, label %42
39: ; preds = %33
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%41 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %41, ptr %3, align 4
br label %188
42: ; preds = %33
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, 4
br i1 %44, label %45, label %55
45: ; preds = %42
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %48, ptr noundef @.str.1, ptr noundef %13)
%50 = icmp ne i32 %49, 1
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%53 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %53, ptr %3, align 4
br label %188
54: ; preds = %45
br label %55
55: ; preds = %54, %42
%56 = load i32, ptr %11, align 4
%57 = call i64 @ioperm(i32 noundef %56, i32 noundef 1, i32 noundef 1)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.6)
store i32 1, ptr %3, align 4
br label %188
62: ; preds = %55
%63 = load i32, ptr %11, align 4
%64 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %63)
%65 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
store i32 20, ptr %65, align 4
%66 = load i32, ptr @SCHED_FIFO, align 4
%67 = call i64 @sched_setscheduler(i32 noundef 0, i32 noundef %66, ptr noundef %9)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %62
%70 = load i32, ptr @stderr, align 4
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.7)
store i32 1, ptr %3, align 4
br label %188
72: ; preds = %62
%73 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
store i32 0, ptr %73, align 4
%74 = call i32 @sched_getparam(i32 noundef 0, ptr noundef %9)
%75 = load i32, ptr @stdout, align 4
%76 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
%77 = load i32, ptr %76, align 4
%78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.8, i32 noundef %77)
%79 = load i32, ptr @stdout, align 4
%80 = load i32, ptr %11, align 4
%81 = load i8, ptr %12, align 1
%82 = zext i8 %81 to i32
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.9, i32 noundef %80, i32 noundef %82)
%84 = load i32, ptr %4, align 4
%85 = icmp eq i32 %84, 4
br i1 %85, label %86, label %90
86: ; preds = %72
%87 = load i32, ptr @stdout, align 4
%88 = load i32, ptr %13, align 4
%89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.10, i32 noundef %88)
br label %93
90: ; preds = %72
%91 = load i32, ptr @stdout, align 4
%92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.11)
br label %93
93: ; preds = %90, %86
%94 = load i32, ptr @CLOCK_REALTIME, align 4
%95 = call i32 @clock_gettime(i32 noundef %94, ptr noundef %7)
%96 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
store i32 0, ptr %96, align 4
%97 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%98 = load i32, ptr %97, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %97, align 4
%100 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%101 = load i32, ptr %100, align 4
%102 = srem i32 %101, 60
%103 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%104 = load i32, ptr %103, align 4
%105 = sub nsw i32 %104, %102
store i32 %105, ptr %103, align 4
%106 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%107 = load i32, ptr %106, align 4
%108 = add nsw i32 %107, 60
store i32 %108, ptr %106, align 4
br label %109
109: ; preds = %93, %187
%110 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%111 = load i32, ptr %110, align 4
%112 = add nsw i32 %111, 10
store i32 %112, ptr %110, align 4
%113 = load i32, ptr @CLOCK_REALTIME, align 4
%114 = load i32, ptr @TIMER_ABSTIME, align 4
%115 = call i32 @clock_nanosleep(i32 noundef %113, i32 noundef %114, ptr noundef %7, ptr noundef null)
%116 = load i8, ptr %12, align 1
%117 = load i32, ptr %11, align 4
%118 = call i32 @outb(i8 noundef zeroext %116, i32 noundef %117)
%119 = load i32, ptr @CLOCK_REALTIME, align 4
%120 = call i32 @clock_gettime(i32 noundef %119, ptr noundef %6)
%121 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%122 = load i32, ptr %121, align 4
%123 = sdiv i32 %122, 1000000
%124 = sext i32 %123 to i64
store i64 %124, ptr %8, align 8
%125 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%126 = load i32, ptr %125, align 4
%127 = mul nsw i32 %126, 1000
%128 = sext i32 %127 to i64
%129 = load i64, ptr %8, align 8
%130 = add i64 %129, %128
store i64 %130, ptr %8, align 8
%131 = load i64, ptr %8, align 8
%132 = trunc i64 %131 to i32
%133 = call i64 @parity(i32 noundef %132)
%134 = shl i64 %133, 42
%135 = load i64, ptr %8, align 8
%136 = add i64 %135, %134
store i64 %136, ptr %8, align 8
%137 = load i32, ptr %4, align 4
%138 = icmp eq i32 %137, 4
br i1 %138, label %139, label %150
139: ; preds = %109
%140 = load i32, ptr %13, align 4
%141 = zext i32 %140 to i64
%142 = shl i64 %141, 43
%143 = load i64, ptr %8, align 8
%144 = add i64 %143, %142
store i64 %144, ptr %8, align 8
%145 = load i32, ptr %13, align 4
%146 = call i64 @parity(i32 noundef %145)
%147 = shl i64 %146, 48
%148 = load i64, ptr %8, align 8
%149 = add i64 %148, %147
store i64 %149, ptr %8, align 8
br label %150
150: ; preds = %139, %109
%151 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
store i32 0, ptr %151, align 4
%152 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 15000000, ptr %152, align 4
%153 = load i32, ptr @CLOCK_REALTIME, align 4
%154 = call i32 @clock_nanosleep(i32 noundef %153, i32 noundef 0, ptr noundef %6, ptr noundef null)
%155 = load i32, ptr %11, align 4
%156 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %155)
store i32 0, ptr %10, align 4
br label %157
157: ; preds = %184, %150
%158 = load i32, ptr %10, align 4
%159 = load i32, ptr %4, align 4
%160 = icmp eq i32 %159, 4
%161 = zext i1 %160 to i64
%162 = select i1 %160, i32 49, i32 43
%163 = icmp slt i32 %158, %162
br i1 %163, label %164, label %187
164: ; preds = %157
%165 = load i64, ptr %8, align 8
%166 = urem i64 %165, 2
%167 = mul i64 2, %166
%168 = add i64 1, %167
%169 = mul i64 %168, 15000000
%170 = trunc i64 %169 to i32
%171 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 %170, ptr %171, align 4
%172 = load i64, ptr %8, align 8
%173 = udiv i64 %172, 2
store i64 %173, ptr %8, align 8
%174 = load i32, ptr @CLOCK_REALTIME, align 4
%175 = call i32 @clock_nanosleep(i32 noundef %174, i32 noundef 0, ptr noundef %6, ptr noundef null)
%176 = load i8, ptr %12, align 1
%177 = load i32, ptr %11, align 4
%178 = call i32 @outb(i8 noundef zeroext %176, i32 noundef %177)
%179 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 15000000, ptr %179, align 4
%180 = load i32, ptr @CLOCK_REALTIME, align 4
%181 = call i32 @clock_nanosleep(i32 noundef %180, i32 noundef 0, ptr noundef %6, ptr noundef null)
%182 = load i32, ptr %11, align 4
%183 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %182)
br label %184
184: ; preds = %164
%185 = load i32, ptr %10, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %10, align 4
br label %157, !llvm.loop !6
187: ; preds = %157
br label %109
188: ; preds = %69, %59, %51, %39, %30, %19
%189 = load i32, ptr %3, align 4
ret i32 %189
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1
declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @outb(i8 noundef zeroext, i32 noundef) #1
declare i64 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sched_getparam(i32 noundef, ptr noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @parity(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/tmptuj0dqru.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.timespec = type { i32, i32 }
%struct.sched_param = type { i32 }
@.str = private unnamed_addr constant [61 x i8] c"wrong number of parameters (%i instead of 2 or 3), aborting\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [53 x i8] c"cannot read the first argument (portbase), aborting\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"%hhu\00", align 1
@.str.4 = private unnamed_addr constant [53 x i8] c"cannot read the second argument (outbits), aborting\0A\00", align 1
@.str.5 = private unnamed_addr constant [52 x i8] c"cannot read the third argument (site ID), aborting\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [64 x i8] c"Cannot get the port. Maybe you should run this program as root\0A\00", align 1
@SCHED_FIFO = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [25 x i8] c"Cannot set new priority\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [39 x i8] c"Running with new static priority = %i\0A\00", align 1
@.str.9 = private unnamed_addr constant [42 x i8] c"LPT address: 0x%x, output bit mask: 0x%x\0A\00", align 1
@.str.10 = private unnamed_addr constant [13 x i8] c"Site id: %i\0A\00", align 1
@.str.11 = private unnamed_addr constant [26 x i8] c"Site id is not specified\0A\00", align 1
@CLOCK_REALTIME = dso_local global i32 0, align 4
@TIMER_ABSTIME = 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 %struct.timespec, align 4
%7 = alloca %struct.timespec, align 4
%8 = alloca i64, align 8
%9 = alloca %struct.sched_param, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp sgt i32 %14, 4
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 3
br i1 %18, label %19, label %24
19: ; preds = %16, %2
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %23, ptr %3, align 4
br label %193
24: ; preds = %16
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %27, ptr noundef @.str.1, ptr noundef %11)
%29 = icmp ne i32 %28, 1
br i1 %29, label %30, label %33
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %32, ptr %3, align 4
br label %193
33: ; preds = %24
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 2
%36 = load ptr, ptr %35, align 8
%37 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %36, ptr noundef @.str.3, ptr noundef %12)
%38 = icmp ne i32 %37, 1
br i1 %38, label %39, label %42
39: ; preds = %33
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%41 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %41, ptr %3, align 4
br label %193
42: ; preds = %33
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, 4
br i1 %44, label %45, label %55
45: ; preds = %42
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 3
%48 = load ptr, ptr %47, align 8
%49 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %48, ptr noundef @.str.1, ptr noundef %13)
%50 = icmp ne i32 %49, 1
br i1 %50, label %51, label %54
51: ; preds = %45
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%53 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %53, ptr %3, align 4
br label %193
54: ; preds = %45
br label %55
55: ; preds = %54, %42
%56 = load i32, ptr %11, align 4
%57 = call i64 @ioperm(i32 noundef %56, i32 noundef 1, i32 noundef 1)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.6)
store i32 1, ptr %3, align 4
br label %193
62: ; preds = %55
%63 = load i32, ptr %11, align 4
%64 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %63)
%65 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
store i32 20, ptr %65, align 4
%66 = load i32, ptr @SCHED_FIFO, align 4
%67 = call i64 @sched_setscheduler(i32 noundef 0, i32 noundef %66, ptr noundef %9)
%68 = icmp ne i64 %67, 0
br i1 %68, label %69, label %72
69: ; preds = %62
%70 = load i32, ptr @stderr, align 4
%71 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.7)
store i32 1, ptr %3, align 4
br label %193
72: ; preds = %62
%73 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
store i32 0, ptr %73, align 4
%74 = call i32 @sched_getparam(i32 noundef 0, ptr noundef %9)
%75 = load i32, ptr @stdout, align 4
%76 = getelementptr inbounds %struct.sched_param, ptr %9, i32 0, i32 0
%77 = load i32, ptr %76, align 4
%78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.8, i32 noundef %77)
%79 = load i32, ptr @stdout, align 4
%80 = load i32, ptr %11, align 4
%81 = load i8, ptr %12, align 1
%82 = zext i8 %81 to i32
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.9, i32 noundef %80, i32 noundef %82)
%84 = load i32, ptr %4, align 4
%85 = icmp eq i32 %84, 4
br i1 %85, label %86, label %90
86: ; preds = %72
%87 = load i32, ptr @stdout, align 4
%88 = load i32, ptr %13, align 4
%89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.10, i32 noundef %88)
br label %93
90: ; preds = %72
%91 = load i32, ptr @stdout, align 4
%92 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %91, ptr noundef @.str.11)
br label %93
93: ; preds = %90, %86
%94 = load i32, ptr @CLOCK_REALTIME, align 4
%95 = call i32 @clock_gettime(i32 noundef %94, ptr noundef %7)
%96 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
store i32 0, ptr %96, align 4
%97 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%98 = load i32, ptr %97, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %97, align 4
%100 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%101 = load i32, ptr %100, align 4
%102 = srem i32 %101, 60
%103 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%104 = load i32, ptr %103, align 4
%105 = sub nsw i32 %104, %102
store i32 %105, ptr %103, align 4
%106 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%107 = load i32, ptr %106, align 4
%108 = add nsw i32 %107, 60
store i32 %108, ptr %106, align 4
br label %109
109: ; preds = %192, %93
%110 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%111 = load i32, ptr %110, align 4
%112 = add nsw i32 %111, 10
store i32 %112, ptr %110, align 4
%113 = load i32, ptr @CLOCK_REALTIME, align 4
%114 = load i32, ptr @TIMER_ABSTIME, align 4
%115 = call i32 @clock_nanosleep(i32 noundef %113, i32 noundef %114, ptr noundef %7, ptr noundef null)
%116 = load i8, ptr %12, align 1
%117 = load i32, ptr %11, align 4
%118 = call i32 @outb(i8 noundef zeroext %116, i32 noundef %117)
%119 = load i32, ptr @CLOCK_REALTIME, align 4
%120 = call i32 @clock_gettime(i32 noundef %119, ptr noundef %6)
%121 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%122 = load i32, ptr %121, align 4
%123 = sdiv i32 %122, 1000000
%124 = sext i32 %123 to i64
store i64 %124, ptr %8, align 8
%125 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%126 = load i32, ptr %125, align 4
%127 = mul nsw i32 %126, 1000
%128 = sext i32 %127 to i64
%129 = load i64, ptr %8, align 8
%130 = add i64 %129, %128
store i64 %130, ptr %8, align 8
%131 = load i64, ptr %8, align 8
%132 = trunc i64 %131 to i32
%133 = call i64 @parity(i32 noundef %132)
%134 = shl i64 %133, 42
%135 = load i64, ptr %8, align 8
%136 = add i64 %135, %134
store i64 %136, ptr %8, align 8
%137 = load i32, ptr %4, align 4
%138 = icmp eq i32 %137, 4
br i1 %138, label %139, label %150
139: ; preds = %109
%140 = load i32, ptr %13, align 4
%141 = zext i32 %140 to i64
%142 = shl i64 %141, 43
%143 = load i64, ptr %8, align 8
%144 = add i64 %143, %142
store i64 %144, ptr %8, align 8
%145 = load i32, ptr %13, align 4
%146 = call i64 @parity(i32 noundef %145)
%147 = shl i64 %146, 48
%148 = load i64, ptr %8, align 8
%149 = add i64 %148, %147
store i64 %149, ptr %8, align 8
br label %150
150: ; preds = %139, %109
%151 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
store i32 0, ptr %151, align 4
%152 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 15000000, ptr %152, align 4
%153 = load i32, ptr @CLOCK_REALTIME, align 4
%154 = call i32 @clock_nanosleep(i32 noundef %153, i32 noundef 0, ptr noundef %6, ptr noundef null)
%155 = load i32, ptr %11, align 4
%156 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %155)
store i32 0, ptr %10, align 4
%157 = load i32, ptr %10, align 4
%158 = load i32, ptr %4, align 4
%159 = icmp eq i32 %158, 4
%160 = zext i1 %159 to i64
%161 = select i1 %159, i32 49, i32 43
%162 = icmp slt i32 %157, %161
br i1 %162, label %.lr.ph, label %192
.lr.ph: ; preds = %150
br label %163
163: ; preds = %.lr.ph, %183
%164 = load i64, ptr %8, align 8
%165 = urem i64 %164, 2
%166 = mul i64 2, %165
%167 = add i64 1, %166
%168 = mul i64 %167, 15000000
%169 = trunc i64 %168 to i32
%170 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 %169, ptr %170, align 4
%171 = load i64, ptr %8, align 8
%172 = udiv i64 %171, 2
store i64 %172, ptr %8, align 8
%173 = load i32, ptr @CLOCK_REALTIME, align 4
%174 = call i32 @clock_nanosleep(i32 noundef %173, i32 noundef 0, ptr noundef %6, ptr noundef null)
%175 = load i8, ptr %12, align 1
%176 = load i32, ptr %11, align 4
%177 = call i32 @outb(i8 noundef zeroext %175, i32 noundef %176)
%178 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
store i32 15000000, ptr %178, align 4
%179 = load i32, ptr @CLOCK_REALTIME, align 4
%180 = call i32 @clock_nanosleep(i32 noundef %179, i32 noundef 0, ptr noundef %6, ptr noundef null)
%181 = load i32, ptr %11, align 4
%182 = call i32 @outb(i8 noundef zeroext 0, i32 noundef %181)
br label %183
183: ; preds = %163
%184 = load i32, ptr %10, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %10, align 4
%186 = load i32, ptr %10, align 4
%187 = load i32, ptr %4, align 4
%188 = icmp eq i32 %187, 4
%189 = zext i1 %188 to i64
%190 = select i1 %188, i32 49, i32 43
%191 = icmp slt i32 %186, %190
br i1 %191, label %163, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %183
br label %192
192: ; preds = %._crit_edge, %150
br label %109
193: ; preds = %69, %59, %51, %39, %30, %19
%194 = load i32, ptr %3, align 4
ret i32 %194
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1
declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @outb(i8 noundef zeroext, i32 noundef) #1
declare i64 @sched_setscheduler(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @sched_getparam(i32 noundef, ptr noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @clock_nanosleep(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @parity(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/tmppzz69spm.c'
source_filename = "/tmp/tmppzz69spm.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 @htx_strcpy(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 = call ptr @strcpy(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strcpy(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/tmppzz69spm.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 @htx_strcpy(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 = call ptr @strcpy(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @strcpy(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/tmpa0d_jr8w.c'
source_filename = "/tmp/tmpa0d_jr8w.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 @event_report(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 i32 @event_report_justified(ptr noundef %3, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @event_report_justified(ptr 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/tmpa0d_jr8w.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 @event_report(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 i32 @event_report_justified(ptr noundef %3, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @event_report_justified(ptr 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/tmpl0csgci9.c'
source_filename = "/tmp/tmpl0csgci9.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/tmpl0csgci9.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/tmptdi2rwil.c'
source_filename = "/tmp/tmptdi2rwil.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 @dump_statfs64(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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %7, align 4
%26 = add i32 %25, 4
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %7, align 4
%28 = add i32 %27, 8
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %7, align 4
%30 = add i32 %29, 16
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %7, align 4
%32 = add i32 %31, 24
store i32 %32, ptr %15, align 4
%33 = load i32, ptr %7, align 4
%34 = add i32 %33, 32
store i32 %34, ptr %16, align 4
%35 = load i32, ptr %7, align 4
%36 = add i32 %35, 40
store i32 %36, ptr %17, align 4
%37 = load i32, ptr %7, align 4
%38 = add i32 %37, 48
store i32 %38, ptr %18, align 4
%39 = load i32, ptr %7, align 4
%40 = add i32 %39, 56
store i32 %40, ptr %19, align 4
%41 = load i32, ptr %7, align 4
%42 = add i32 %41, 60
store i32 %42, ptr %20, align 4
%43 = load i32, ptr %7, align 4
%44 = add i32 %43, 64
store i32 %44, ptr %21, align 4
%45 = load i32, ptr %7, align 4
%46 = add i32 %45, 68
store i32 %46, ptr %22, align 4
store i32 0, ptr %23, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %4
%50 = call ptr @malloc(i32 noundef 0)
%51 = load ptr, ptr %8, align 8
store ptr %50, ptr %51, align 8
%52 = load i32, ptr %23, align 4
store i32 %52, ptr %5, align 4
br label %174
53: ; preds = %4
%54 = call ptr @malloc(i32 noundef 96)
store ptr %54, ptr %10, align 8
%55 = load i32, ptr %6, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %57, label %167
57: ; preds = %53
%58 = load i32, ptr %11, align 4
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 0
%61 = load ptr, ptr %9, align 8
%62 = call i64 @dump_unsigned_int_from_mem(i32 noundef %58, ptr noundef %60, ptr noundef %61)
%63 = load i32, ptr %23, align 4
%64 = sext i32 %63 to i64
%65 = add nsw i64 %64, %62
%66 = trunc i64 %65 to i32
store i32 %66, ptr %23, align 4
%67 = load i32, ptr %12, align 4
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 1
%70 = load ptr, ptr %9, align 8
%71 = call i64 @dump_unsigned_int_from_mem(i32 noundef %67, ptr noundef %69, ptr noundef %70)
%72 = load i32, ptr %23, align 4
%73 = sext i32 %72 to i64
%74 = add nsw i64 %73, %71
%75 = trunc i64 %74 to i32
store i32 %75, ptr %23, align 4
%76 = load i32, ptr %13, align 4
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %9, align 8
%80 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %76, ptr noundef %78, ptr noundef %79)
%81 = load i32, ptr %23, align 4
%82 = sext i32 %81 to i64
%83 = add nsw i64 %82, %80
%84 = trunc i64 %83 to i32
store i32 %84, ptr %23, align 4
%85 = load i32, ptr %14, align 4
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 3
%88 = load ptr, ptr %9, align 8
%89 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %85, ptr noundef %87, ptr noundef %88)
%90 = load i32, ptr %23, align 4
%91 = sext i32 %90 to i64
%92 = add nsw i64 %91, %89
%93 = trunc i64 %92 to i32
store i32 %93, ptr %23, align 4
%94 = load i32, ptr %15, align 4
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 4
%97 = load ptr, ptr %9, align 8
%98 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %94, ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %23, align 4
%100 = sext i32 %99 to i64
%101 = add nsw i64 %100, %98
%102 = trunc i64 %101 to i32
store i32 %102, ptr %23, align 4
%103 = load i32, ptr %16, align 4
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 5
%106 = load ptr, ptr %9, align 8
%107 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %103, ptr noundef %105, ptr noundef %106)
%108 = load i32, ptr %23, align 4
%109 = sext i32 %108 to i64
%110 = add nsw i64 %109, %107
%111 = trunc i64 %110 to i32
store i32 %111, ptr %23, align 4
%112 = load i32, ptr %17, align 4
%113 = load ptr, ptr %10, align 8
%114 = getelementptr inbounds ptr, ptr %113, i64 6
%115 = load ptr, ptr %9, align 8
%116 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %112, ptr noundef %114, ptr noundef %115)
%117 = load i32, ptr %23, align 4
%118 = sext i32 %117 to i64
%119 = add nsw i64 %118, %116
%120 = trunc i64 %119 to i32
store i32 %120, ptr %23, align 4
%121 = load i32, ptr %6, align 4
%122 = load i32, ptr %18, align 4
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 7
%125 = load ptr, ptr %9, align 8
%126 = call i64 @dump___kernel_fsid_t(i32 noundef %121, i32 noundef %122, ptr noundef %124, ptr noundef %125)
%127 = load i32, ptr %23, align 4
%128 = sext i32 %127 to i64
%129 = add nsw i64 %128, %126
%130 = trunc i64 %129 to i32
store i32 %130, ptr %23, align 4
%131 = load i32, ptr %19, align 4
%132 = load ptr, ptr %10, align 8
%133 = getelementptr inbounds ptr, ptr %132, i64 8
%134 = load ptr, ptr %9, align 8
%135 = call i64 @dump_unsigned_int_from_mem(i32 noundef %131, ptr noundef %133, ptr noundef %134)
%136 = load i32, ptr %23, align 4
%137 = sext i32 %136 to i64
%138 = add nsw i64 %137, %135
%139 = trunc i64 %138 to i32
store i32 %139, ptr %23, align 4
%140 = load i32, ptr %20, align 4
%141 = load ptr, ptr %10, align 8
%142 = getelementptr inbounds ptr, ptr %141, i64 9
%143 = load ptr, ptr %9, align 8
%144 = call i64 @dump_unsigned_int_from_mem(i32 noundef %140, ptr noundef %142, ptr noundef %143)
%145 = load i32, ptr %23, align 4
%146 = sext i32 %145 to i64
%147 = add nsw i64 %146, %144
%148 = trunc i64 %147 to i32
store i32 %148, ptr %23, align 4
%149 = load i32, ptr %21, align 4
%150 = load ptr, ptr %10, align 8
%151 = getelementptr inbounds ptr, ptr %150, i64 10
%152 = load ptr, ptr %9, align 8
%153 = call i64 @dump_unsigned_int_from_mem(i32 noundef %149, ptr noundef %151, ptr noundef %152)
%154 = load i32, ptr %23, align 4
%155 = sext i32 %154 to i64
%156 = add nsw i64 %155, %153
%157 = trunc i64 %156 to i32
store i32 %157, ptr %23, align 4
%158 = load i32, ptr %22, align 4
%159 = load ptr, ptr %10, align 8
%160 = getelementptr inbounds ptr, ptr %159, i64 11
%161 = load ptr, ptr %9, align 8
%162 = call i64 @dump_unsigned_int_from_mem(i32 noundef %158, ptr noundef %160, ptr noundef %161)
%163 = load i32, ptr %23, align 4
%164 = sext i32 %163 to i64
%165 = add nsw i64 %164, %162
%166 = trunc i64 %165 to i32
store i32 %166, ptr %23, align 4
br label %167
167: ; preds = %57, %53
%168 = load ptr, ptr %10, align 8
%169 = call ptr @copy_params(ptr noundef %168, i32 noundef 12, ptr noundef %23)
%170 = load ptr, ptr %8, align 8
store ptr %169, ptr %170, align 8
%171 = load ptr, ptr %10, align 8
%172 = call i32 @free_dumped_params(ptr noundef %171, i32 noundef 12)
%173 = load i32, ptr %23, align 4
store i32 %173, ptr %5, align 4
br label %174
174: ; preds = %167, %49
%175 = load i32, ptr %5, align 4
ret i32 %175
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_long_long_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump___kernel_fsid_t(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmptdi2rwil.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 @dump_statfs64(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 i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%24 = load i32, ptr %7, align 4
store i32 %24, ptr %11, align 4
%25 = load i32, ptr %7, align 4
%26 = add i32 %25, 4
store i32 %26, ptr %12, align 4
%27 = load i32, ptr %7, align 4
%28 = add i32 %27, 8
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %7, align 4
%30 = add i32 %29, 16
store i32 %30, ptr %14, align 4
%31 = load i32, ptr %7, align 4
%32 = add i32 %31, 24
store i32 %32, ptr %15, align 4
%33 = load i32, ptr %7, align 4
%34 = add i32 %33, 32
store i32 %34, ptr %16, align 4
%35 = load i32, ptr %7, align 4
%36 = add i32 %35, 40
store i32 %36, ptr %17, align 4
%37 = load i32, ptr %7, align 4
%38 = add i32 %37, 48
store i32 %38, ptr %18, align 4
%39 = load i32, ptr %7, align 4
%40 = add i32 %39, 56
store i32 %40, ptr %19, align 4
%41 = load i32, ptr %7, align 4
%42 = add i32 %41, 60
store i32 %42, ptr %20, align 4
%43 = load i32, ptr %7, align 4
%44 = add i32 %43, 64
store i32 %44, ptr %21, align 4
%45 = load i32, ptr %7, align 4
%46 = add i32 %45, 68
store i32 %46, ptr %22, align 4
store i32 0, ptr %23, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %4
%50 = call ptr @malloc(i32 noundef 0)
%51 = load ptr, ptr %8, align 8
store ptr %50, ptr %51, align 8
%52 = load i32, ptr %23, align 4
store i32 %52, ptr %5, align 4
br label %174
53: ; preds = %4
%54 = call ptr @malloc(i32 noundef 96)
store ptr %54, ptr %10, align 8
%55 = load i32, ptr %6, align 4
%56 = icmp sge i32 %55, 0
br i1 %56, label %57, label %167
57: ; preds = %53
%58 = load i32, ptr %11, align 4
%59 = load ptr, ptr %10, align 8
%60 = getelementptr inbounds ptr, ptr %59, i64 0
%61 = load ptr, ptr %9, align 8
%62 = call i64 @dump_unsigned_int_from_mem(i32 noundef %58, ptr noundef %60, ptr noundef %61)
%63 = load i32, ptr %23, align 4
%64 = sext i32 %63 to i64
%65 = add nsw i64 %64, %62
%66 = trunc i64 %65 to i32
store i32 %66, ptr %23, align 4
%67 = load i32, ptr %12, align 4
%68 = load ptr, ptr %10, align 8
%69 = getelementptr inbounds ptr, ptr %68, i64 1
%70 = load ptr, ptr %9, align 8
%71 = call i64 @dump_unsigned_int_from_mem(i32 noundef %67, ptr noundef %69, ptr noundef %70)
%72 = load i32, ptr %23, align 4
%73 = sext i32 %72 to i64
%74 = add nsw i64 %73, %71
%75 = trunc i64 %74 to i32
store i32 %75, ptr %23, align 4
%76 = load i32, ptr %13, align 4
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds ptr, ptr %77, i64 2
%79 = load ptr, ptr %9, align 8
%80 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %76, ptr noundef %78, ptr noundef %79)
%81 = load i32, ptr %23, align 4
%82 = sext i32 %81 to i64
%83 = add nsw i64 %82, %80
%84 = trunc i64 %83 to i32
store i32 %84, ptr %23, align 4
%85 = load i32, ptr %14, align 4
%86 = load ptr, ptr %10, align 8
%87 = getelementptr inbounds ptr, ptr %86, i64 3
%88 = load ptr, ptr %9, align 8
%89 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %85, ptr noundef %87, ptr noundef %88)
%90 = load i32, ptr %23, align 4
%91 = sext i32 %90 to i64
%92 = add nsw i64 %91, %89
%93 = trunc i64 %92 to i32
store i32 %93, ptr %23, align 4
%94 = load i32, ptr %15, align 4
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 4
%97 = load ptr, ptr %9, align 8
%98 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %94, ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %23, align 4
%100 = sext i32 %99 to i64
%101 = add nsw i64 %100, %98
%102 = trunc i64 %101 to i32
store i32 %102, ptr %23, align 4
%103 = load i32, ptr %16, align 4
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 5
%106 = load ptr, ptr %9, align 8
%107 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %103, ptr noundef %105, ptr noundef %106)
%108 = load i32, ptr %23, align 4
%109 = sext i32 %108 to i64
%110 = add nsw i64 %109, %107
%111 = trunc i64 %110 to i32
store i32 %111, ptr %23, align 4
%112 = load i32, ptr %17, align 4
%113 = load ptr, ptr %10, align 8
%114 = getelementptr inbounds ptr, ptr %113, i64 6
%115 = load ptr, ptr %9, align 8
%116 = call i64 @dump_long_long_unsigned_int_from_mem(i32 noundef %112, ptr noundef %114, ptr noundef %115)
%117 = load i32, ptr %23, align 4
%118 = sext i32 %117 to i64
%119 = add nsw i64 %118, %116
%120 = trunc i64 %119 to i32
store i32 %120, ptr %23, align 4
%121 = load i32, ptr %6, align 4
%122 = load i32, ptr %18, align 4
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 7
%125 = load ptr, ptr %9, align 8
%126 = call i64 @dump___kernel_fsid_t(i32 noundef %121, i32 noundef %122, ptr noundef %124, ptr noundef %125)
%127 = load i32, ptr %23, align 4
%128 = sext i32 %127 to i64
%129 = add nsw i64 %128, %126
%130 = trunc i64 %129 to i32
store i32 %130, ptr %23, align 4
%131 = load i32, ptr %19, align 4
%132 = load ptr, ptr %10, align 8
%133 = getelementptr inbounds ptr, ptr %132, i64 8
%134 = load ptr, ptr %9, align 8
%135 = call i64 @dump_unsigned_int_from_mem(i32 noundef %131, ptr noundef %133, ptr noundef %134)
%136 = load i32, ptr %23, align 4
%137 = sext i32 %136 to i64
%138 = add nsw i64 %137, %135
%139 = trunc i64 %138 to i32
store i32 %139, ptr %23, align 4
%140 = load i32, ptr %20, align 4
%141 = load ptr, ptr %10, align 8
%142 = getelementptr inbounds ptr, ptr %141, i64 9
%143 = load ptr, ptr %9, align 8
%144 = call i64 @dump_unsigned_int_from_mem(i32 noundef %140, ptr noundef %142, ptr noundef %143)
%145 = load i32, ptr %23, align 4
%146 = sext i32 %145 to i64
%147 = add nsw i64 %146, %144
%148 = trunc i64 %147 to i32
store i32 %148, ptr %23, align 4
%149 = load i32, ptr %21, align 4
%150 = load ptr, ptr %10, align 8
%151 = getelementptr inbounds ptr, ptr %150, i64 10
%152 = load ptr, ptr %9, align 8
%153 = call i64 @dump_unsigned_int_from_mem(i32 noundef %149, ptr noundef %151, ptr noundef %152)
%154 = load i32, ptr %23, align 4
%155 = sext i32 %154 to i64
%156 = add nsw i64 %155, %153
%157 = trunc i64 %156 to i32
store i32 %157, ptr %23, align 4
%158 = load i32, ptr %22, align 4
%159 = load ptr, ptr %10, align 8
%160 = getelementptr inbounds ptr, ptr %159, i64 11
%161 = load ptr, ptr %9, align 8
%162 = call i64 @dump_unsigned_int_from_mem(i32 noundef %158, ptr noundef %160, ptr noundef %161)
%163 = load i32, ptr %23, align 4
%164 = sext i32 %163 to i64
%165 = add nsw i64 %164, %162
%166 = trunc i64 %165 to i32
store i32 %166, ptr %23, align 4
br label %167
167: ; preds = %57, %53
%168 = load ptr, ptr %10, align 8
%169 = call ptr @copy_params(ptr noundef %168, i32 noundef 12, ptr noundef %23)
%170 = load ptr, ptr %8, align 8
store ptr %169, ptr %170, align 8
%171 = load ptr, ptr %10, align 8
%172 = call i32 @free_dumped_params(ptr noundef %171, i32 noundef 12)
%173 = load i32, ptr %23, align 4
store i32 %173, ptr %5, align 4
br label %174
174: ; preds = %167, %49
%175 = load i32, ptr %5, align 4
ret i32 %175
}
declare ptr @malloc(i32 noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_long_long_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump___kernel_fsid_t(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(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/tmp9l3tuz4e.c'
source_filename = "/tmp/tmp9l3tuz4e.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"
@CEC_MSG_STANDBY = 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/tmp9l3tuz4e.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"
@CEC_MSG_STANDBY = 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/tmp_bl2ag_9.c'
source_filename = "/tmp/tmp_bl2ag_9.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 [7 x i8] c"%s\09$%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"pushl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgpushlit(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 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3)
ret void
}
declare i32 @ngen(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/tmp_bl2ag_9.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 [7 x i8] c"%s\09$%d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"pushl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgpushlit(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 @ngen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %3)
ret void
}
declare i32 @ngen(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/tmpj0hdqi_s.c'
source_filename = "/tmp/tmpj0hdqi_s.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 @HTTPWrapperToLower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @HTTPWrapperIsAscii(i32 noundef %4)
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 65
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 90
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 32
store i32 %15, ptr %2, align 4
br label %19
16: ; preds = %10, %7
br label %17
17: ; preds = %16, %1
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %2, align 4
br label %19
19: ; preds = %17, %13
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @HTTPWrapperIsAscii(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/tmpj0hdqi_s.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 @HTTPWrapperToLower(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i64 @HTTPWrapperIsAscii(i32 noundef %4)
%6 = icmp sgt i64 %5, 0
br i1 %6, label %7, label %17
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 65
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 90
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 32
store i32 %15, ptr %2, align 4
br label %19
16: ; preds = %10, %7
br label %17
17: ; preds = %16, %1
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %2, align 4
br label %19
19: ; preds = %17, %13
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @HTTPWrapperIsAscii(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/tmp39cpmk7w.c'
source_filename = "/tmp/tmp39cpmk7w.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 [8 x i8] c"ignore\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ignore() #0 {
%1 = call i32 @lprcat(ptr noundef @.str)
ret void
}
declare i32 @lprcat(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/tmp39cpmk7w.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 [8 x i8] c"ignore\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ignore() #0 {
%1 = call i32 @lprcat(ptr noundef @.str)
ret void
}
declare i32 @lprcat(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/tmpunu4x8y6.c'
source_filename = "/tmp/tmpunu4x8y6.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 @xorWord(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = xor i32 %5, %6
ret i32 %7
}
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/tmpunu4x8y6.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 @xorWord(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = xor i32 %5, %6
ret i32 %7
}
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/tmp79vz69sr.c'
source_filename = "/tmp/tmp79vz69sr.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 [168 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/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xa6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xa6() #0 {
%1 = call i64 @ispunct(i32 noundef 166)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 835, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmp79vz69sr.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 [168 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/ctype/test_ispunct.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"ispunct should be 0 for 0xa6\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_ispunct_0xa6() #0 {
%1 = call i64 @ispunct(i32 noundef 166)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 835, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ispunct(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/tmptdw0hpmy.c'
source_filename = "/tmp/tmptdw0hpmy.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 [25 x i8] c"ERROR. shutdown() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Shutdown(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @shutdown(i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @err_fatal(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @err_fatal(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/tmptdw0hpmy.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 [25 x i8] c"ERROR. shutdown() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Shutdown(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @shutdown(i32 noundef %6, i32 noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @err_fatal(ptr noundef @.str)
br label %13
13: ; preds = %11, %2
ret void
}
declare i32 @shutdown(i32 noundef, i32 noundef) #1
declare i32 @err_fatal(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/tmpyfwygfyt.c'
source_filename = "/tmp/tmpyfwygfyt.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"%s%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @teeint(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 = icmp ne ptr null, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr null, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %6, align 4
ret i32 %19
}
declare i32 @assert(i32 noundef) #1
declare i32 @fprintf(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/tmpyfwygfyt.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"%s%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @teeint(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 = icmp ne ptr null, %7
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr null, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %4, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 @fprintf(ptr noundef %15, ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %6, align 4
ret i32 %19
}
declare i32 @assert(i32 noundef) #1
declare i32 @fprintf(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/tmp3x4aqkgg.c'
source_filename = "/tmp/tmp3x4aqkgg.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"
@EVP_PKEY_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_PKEY_set_type_str(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 i32, ptr @EVP_PKEY_NONE, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @pkey_set_type(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @pkey_set_type(ptr noundef, 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/tmp3x4aqkgg.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"
@EVP_PKEY_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @EVP_PKEY_set_type_str(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 i32, ptr @EVP_PKEY_NONE, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @pkey_set_type(ptr noundef %7, i32 noundef %8, ptr noundef %9, i32 noundef %10)
ret i32 %11
}
declare i32 @pkey_set_type(ptr noundef, 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/tmpw8lb54_l.c'
source_filename = "/tmp/tmpw8lb54_l.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"Divyansh.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@SEEK_CUR = 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 ptr, align 8
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %30, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 25
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr @EOF, align 8
%13 = icmp ne ptr %11, %12
br label %14
14: ; preds = %10, %7
%15 = phi i1 [ false, %7 ], [ %13, %10 ]
br i1 %15, label %16, label %33
16: ; preds = %14
%17 = load ptr, ptr %2, align 8
%18 = call i32 @getw(ptr noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %20
store i32 %18, ptr %21, align 4
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr @SEEK_CUR, align 4
%29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28)
br label %30
30: ; preds = %16
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %7, !llvm.loop !6
33: ; preds = %14
%34 = load ptr, ptr %2, align 8
%35 = call i32 @fclose(ptr noundef %34)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getw(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 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/tmpw8lb54_l.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"Divyansh.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global ptr null, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@SEEK_CUR = 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 ptr, align 8
%3 = alloca [100 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca [100 x i32], align 16
store i32 0, ptr %1, align 4
%6 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %6, ptr %2, align 8
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %30, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 25
br i1 %9, label %10, label %14
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load ptr, ptr @EOF, align 8
%13 = icmp ne ptr %11, %12
br label %14
14: ; preds = %10, %7
%15 = phi i1 [ false, %7 ], [ %13, %10 ]
br i1 %15, label %16, label %33
16: ; preds = %14
%17 = load ptr, ptr %2, align 8
%18 = call i32 @getw(ptr noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %20
store i32 %18, ptr %21, align 4
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str.2, i32 noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr @SEEK_CUR, align 4
%29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28)
br label %30
30: ; preds = %16
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %7, !llvm.loop !6
33: ; preds = %14
%34 = load ptr, ptr %2, align 8
%35 = call i32 @fclose(ptr noundef %34)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getw(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 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/tmpz4hqj30k.c'
source_filename = "/tmp/tmpz4hqj30k.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 @BresenhamLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%20 = load ptr, ptr %11, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %10, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = sub nsw i32 %22, %25
store i32 %26, ptr %13, align 4
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 1
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %10, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
%32 = load i32, ptr %31, align 4
%33 = sub nsw i32 %29, %32
store i32 %33, ptr %14, align 4
%34 = load i32, ptr %13, align 4
%35 = icmp sgt i32 %34, 0
%36 = zext i1 %35 to i32
%37 = shl i32 %36, 1
%38 = sub nsw i32 %37, 1
store i32 %38, ptr %15, align 4
%39 = load i32, ptr %14, align 4
%40 = icmp sgt i32 %39, 0
%41 = zext i1 %40 to i32
%42 = shl i32 %41, 1
%43 = sub nsw i32 %42, 1
store i32 %43, ptr %16, align 4
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 0
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %17, align 4
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 1
%49 = load i32, ptr %48, align 4
store i32 %49, ptr %18, align 4
store i32 0, ptr %19, align 4
%50 = load i32, ptr %13, align 4
%51 = call i32 @abs(i32 noundef %50) #3
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %14, align 4
%53 = call i32 @abs(i32 noundef %52) #3
store i32 %53, ptr %14, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %14, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %97
57: ; preds = %6
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %17, align 4
br label %61
61: ; preds = %92, %57
%62 = load i32, ptr %17, align 4
%63 = load ptr, ptr %11, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 0
%65 = load i32, ptr %64, align 4
%66 = load i32, ptr %15, align 4
%67 = add nsw i32 %65, %66
%68 = icmp ne i32 %62, %67
br i1 %68, label %69, label %96
69: ; preds = %61
%70 = load ptr, ptr %7, align 8
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %17, align 4
%74 = load i32, ptr %18, align 4
%75 = load ptr, ptr %12, align 8
%76 = call i32 @AddColarToYUV(ptr noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, ptr noundef %75)
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %19, align 4
%79 = add nsw i32 %78, %77
store i32 %79, ptr %19, align 4
%80 = load i32, ptr %19, align 4
%81 = shl i32 %80, 1
%82 = load i32, ptr %13, align 4
%83 = icmp sge i32 %81, %82
br i1 %83, label %84, label %91
84: ; preds = %69
%85 = load i32, ptr %16, align 4
%86 = load i32, ptr %18, align 4
%87 = add nsw i32 %86, %85
store i32 %87, ptr %18, align 4
%88 = load i32, ptr %13, align 4
%89 = load i32, ptr %19, align 4
%90 = sub nsw i32 %89, %88
store i32 %90, ptr %19, align 4
br label %91
91: ; preds = %84, %69
br label %92
92: ; preds = %91
%93 = load i32, ptr %15, align 4
%94 = load i32, ptr %17, align 4
%95 = add nsw i32 %94, %93
store i32 %95, ptr %17, align 4
br label %61, !llvm.loop !6
96: ; preds = %61
br label %137
97: ; preds = %6
%98 = load ptr, ptr %10, align 8
%99 = getelementptr inbounds i32, ptr %98, i64 1
%100 = load i32, ptr %99, align 4
store i32 %100, ptr %18, align 4
br label %101
101: ; preds = %132, %97
%102 = load i32, ptr %18, align 4
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds i32, ptr %103, i64 1
%105 = load i32, ptr %104, align 4
%106 = load i32, ptr %16, align 4
%107 = add nsw i32 %105, %106
%108 = icmp ne i32 %102, %107
br i1 %108, label %109, label %136
109: ; preds = %101
%110 = load ptr, ptr %7, align 8
%111 = load i32, ptr %8, align 4
%112 = load i32, ptr %9, align 4
%113 = load i32, ptr %17, align 4
%114 = load i32, ptr %18, align 4
%115 = load ptr, ptr %12, align 8
%116 = call i32 @AddColarToYUV(ptr noundef %110, i32 noundef %111, i32 noundef %112, i32 noundef %113, i32 noundef %114, ptr noundef %115)
%117 = load i32, ptr %13, align 4
%118 = load i32, ptr %19, align 4
%119 = add nsw i32 %118, %117
store i32 %119, ptr %19, align 4
%120 = load i32, ptr %19, align 4
%121 = shl i32 %120, 1
%122 = load i32, ptr %14, align 4
%123 = icmp sge i32 %121, %122
br i1 %123, label %124, label %131
124: ; preds = %109
%125 = load i32, ptr %15, align 4
%126 = load i32, ptr %17, align 4
%127 = add nsw i32 %126, %125
store i32 %127, ptr %17, align 4
%128 = load i32, ptr %14, align 4
%129 = load i32, ptr %19, align 4
%130 = sub nsw i32 %129, %128
store i32 %130, ptr %19, align 4
br label %131
131: ; preds = %124, %109
br label %132
132: ; preds = %131
%133 = load i32, ptr %16, align 4
%134 = load i32, ptr %18, align 4
%135 = add nsw i32 %134, %133
store i32 %135, ptr %18, align 4
br label %101, !llvm.loop !8
136: ; preds = %101
br label %137
137: ; preds = %136, %96
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i32 @AddColarToYUV(ptr noundef, i32 noundef, i32 noundef, 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 = { nounwind willreturn memory(none) "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 = { "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 = { nounwind 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/tmpz4hqj30k.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 @BresenhamLine(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%20 = load ptr, ptr %11, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %10, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 0
%25 = load i32, ptr %24, align 4
%26 = sub nsw i32 %22, %25
store i32 %26, ptr %13, align 4
%27 = load ptr, ptr %11, align 8
%28 = getelementptr inbounds i32, ptr %27, i64 1
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %10, align 8
%31 = getelementptr inbounds i32, ptr %30, i64 1
%32 = load i32, ptr %31, align 4
%33 = sub nsw i32 %29, %32
store i32 %33, ptr %14, align 4
%34 = load i32, ptr %13, align 4
%35 = icmp sgt i32 %34, 0
%36 = zext i1 %35 to i32
%37 = shl i32 %36, 1
%38 = sub nsw i32 %37, 1
store i32 %38, ptr %15, align 4
%39 = load i32, ptr %14, align 4
%40 = icmp sgt i32 %39, 0
%41 = zext i1 %40 to i32
%42 = shl i32 %41, 1
%43 = sub nsw i32 %42, 1
store i32 %43, ptr %16, align 4
%44 = load ptr, ptr %10, align 8
%45 = getelementptr inbounds i32, ptr %44, i64 0
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %17, align 4
%47 = load ptr, ptr %10, align 8
%48 = getelementptr inbounds i32, ptr %47, i64 1
%49 = load i32, ptr %48, align 4
store i32 %49, ptr %18, align 4
store i32 0, ptr %19, align 4
%50 = load i32, ptr %13, align 4
%51 = call i32 @abs(i32 noundef %50) #3
store i32 %51, ptr %13, align 4
%52 = load i32, ptr %14, align 4
%53 = call i32 @abs(i32 noundef %52) #3
store i32 %53, ptr %14, align 4
%54 = load i32, ptr %13, align 4
%55 = load i32, ptr %14, align 4
%56 = icmp sgt i32 %54, %55
br i1 %56, label %57, label %102
57: ; preds = %6
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
%60 = load i32, ptr %59, align 4
store i32 %60, ptr %17, align 4
%61 = load i32, ptr %17, align 4
%62 = load ptr, ptr %11, align 8
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %15, align 4
%65 = add nsw i32 %63, %64
%66 = icmp ne i32 %61, %65
br i1 %66, label %.lr.ph2, label %101
.lr.ph2: ; preds = %57
br label %67
67: ; preds = %.lr.ph2, %90
%68 = load ptr, ptr %7, align 8
%69 = load i32, ptr %8, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %17, align 4
%72 = load i32, ptr %18, align 4
%73 = load ptr, ptr %12, align 8
%74 = call i32 @AddColarToYUV(ptr noundef %68, i32 noundef %69, i32 noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73)
%75 = load i32, ptr %14, align 4
%76 = load i32, ptr %19, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %19, align 4
%78 = load i32, ptr %19, align 4
%79 = shl i32 %78, 1
%80 = load i32, ptr %13, align 4
%81 = icmp sge i32 %79, %80
br i1 %81, label %82, label %89
82: ; preds = %67
%83 = load i32, ptr %16, align 4
%84 = load i32, ptr %18, align 4
%85 = add nsw i32 %84, %83
store i32 %85, ptr %18, align 4
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %19, align 4
%88 = sub nsw i32 %87, %86
store i32 %88, ptr %19, align 4
br label %89
89: ; preds = %82, %67
br label %90
90: ; preds = %89
%91 = load i32, ptr %15, align 4
%92 = load i32, ptr %17, align 4
%93 = add nsw i32 %92, %91
store i32 %93, ptr %17, align 4
%94 = load i32, ptr %17, align 4
%95 = load ptr, ptr %11, align 8
%96 = getelementptr inbounds i32, ptr %95, i64 0
%97 = load i32, ptr %96, align 4
%98 = load i32, ptr %15, align 4
%99 = add nsw i32 %97, %98
%100 = icmp ne i32 %94, %99
br i1 %100, label %67, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %90
br label %101
101: ; preds = %._crit_edge3, %57
br label %148
102: ; preds = %6
%103 = load ptr, ptr %10, align 8
%104 = getelementptr inbounds i32, ptr %103, i64 1
%105 = load i32, ptr %104, align 4
store i32 %105, ptr %18, align 4
%106 = load i32, ptr %18, align 4
%107 = load ptr, ptr %11, align 8
%108 = getelementptr inbounds i32, ptr %107, i64 1
%109 = load i32, ptr %108, align 4
%110 = load i32, ptr %16, align 4
%111 = add nsw i32 %109, %110
%112 = icmp ne i32 %106, %111
br i1 %112, label %.lr.ph, label %147
.lr.ph: ; preds = %102
br label %113
113: ; preds = %.lr.ph, %136
%114 = load ptr, ptr %7, align 8
%115 = load i32, ptr %8, align 4
%116 = load i32, ptr %9, align 4
%117 = load i32, ptr %17, align 4
%118 = load i32, ptr %18, align 4
%119 = load ptr, ptr %12, align 8
%120 = call i32 @AddColarToYUV(ptr noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118, ptr noundef %119)
%121 = load i32, ptr %13, align 4
%122 = load i32, ptr %19, align 4
%123 = add nsw i32 %122, %121
store i32 %123, ptr %19, align 4
%124 = load i32, ptr %19, align 4
%125 = shl i32 %124, 1
%126 = load i32, ptr %14, align 4
%127 = icmp sge i32 %125, %126
br i1 %127, label %128, label %135
128: ; preds = %113
%129 = load i32, ptr %15, align 4
%130 = load i32, ptr %17, align 4
%131 = add nsw i32 %130, %129
store i32 %131, ptr %17, align 4
%132 = load i32, ptr %14, align 4
%133 = load i32, ptr %19, align 4
%134 = sub nsw i32 %133, %132
store i32 %134, ptr %19, align 4
br label %135
135: ; preds = %128, %113
br label %136
136: ; preds = %135
%137 = load i32, ptr %16, align 4
%138 = load i32, ptr %18, align 4
%139 = add nsw i32 %138, %137
store i32 %139, ptr %18, align 4
%140 = load i32, ptr %18, align 4
%141 = load ptr, ptr %11, align 8
%142 = getelementptr inbounds i32, ptr %141, i64 1
%143 = load i32, ptr %142, align 4
%144 = load i32, ptr %16, align 4
%145 = add nsw i32 %143, %144
%146 = icmp ne i32 %140, %145
br i1 %146, label %113, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %136
br label %147
147: ; preds = %._crit_edge, %102
br label %148
148: ; preds = %147, %101
ret void
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(i32 noundef) #1
declare i32 @AddColarToYUV(ptr noundef, i32 noundef, i32 noundef, 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 = { nounwind willreturn memory(none) "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 = { "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 = { nounwind 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/tmpwq8ij0jx.c'
source_filename = "/tmp/tmpwq8ij0jx.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 [14 x i8] c"/proc/self/fd\00", align 1
@errno = dso_local global i64 0, align 8
@_SC_OPEN_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closeall(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%9 = call ptr @opendir(ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %55
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = call i32 @dirfd(ptr noundef %13)
store i32 %14, ptr %6, align 4
br label %15
15: ; preds = %51, %12
%16 = load ptr, ptr %5, align 8
%17 = call ptr @readdir(ptr noundef %16)
store ptr %17, ptr %7, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %52
19: ; preds = %15
store i64 0, ptr @errno, align 8
%20 = load ptr, ptr %7, align 8
%21 = getelementptr inbounds %struct.dirent, ptr %20, i32 0, i32 0
%22 = load ptr, ptr %21, align 8
%23 = call i64 @strtol(ptr noundef %22, ptr noundef %3, i32 noundef 10)
store i64 %23, ptr %4, align 8
%24 = load i64, ptr @errno, align 8
%25 = icmp ne i64 %24, 0
br i1 %25, label %51, label %26
26: ; preds = %19
%27 = load ptr, ptr %3, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %51
31: ; preds = %26
%32 = load ptr, ptr %3, align 8
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = icmp ne ptr %32, %35
br i1 %36, label %37, label %51
37: ; preds = %31
%38 = load i64, ptr %4, align 8
%39 = load i32, ptr %2, align 4
%40 = sext i32 %39 to i64
%41 = icmp sge i64 %38, %40
br i1 %41, label %42, label %51
42: ; preds = %37
%43 = load i64, ptr %4, align 8
%44 = load i32, ptr %6, align 4
%45 = sext i32 %44 to i64
%46 = icmp ne i64 %43, %45
br i1 %46, label %47, label %51
47: ; preds = %42
%48 = load i64, ptr %4, align 8
%49 = trunc i64 %48 to i32
%50 = call i32 @close(i32 noundef %49)
br label %51
51: ; preds = %47, %42, %37, %31, %26, %19
br label %15, !llvm.loop !6
52: ; preds = %15
%53 = load ptr, ptr %5, align 8
%54 = call i32 @closedir(ptr noundef %53)
br label %71
55: ; preds = %1
%56 = load i32, ptr @_SC_OPEN_MAX, align 4
%57 = call i32 @sysconf(i32 noundef %56)
store i32 %57, ptr %8, align 4
br label %58
58: ; preds = %69, %55
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %2, align 4
%62 = icmp sge i32 %60, %61
br i1 %62, label %63, label %70
63: ; preds = %58
%64 = load i32, ptr %8, align 4
%65 = icmp sge i32 %64, 0
br i1 %65, label %66, label %69
66: ; preds = %63
%67 = load i32, ptr %8, align 4
%68 = call i32 @close(i32 noundef %67)
br label %69
69: ; preds = %66, %63
br label %58, !llvm.loop !8
70: ; preds = %58
br label %71
71: ; preds = %70, %52
ret void
}
declare ptr @opendir(ptr noundef) #1
declare i32 @dirfd(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @sysconf(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/tmpwq8ij0jx.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 [14 x i8] c"/proc/self/fd\00", align 1
@errno = dso_local global i64 0, align 8
@_SC_OPEN_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @closeall(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%9 = call ptr @opendir(ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %57
12: ; preds = %1
%13 = load ptr, ptr %5, align 8
%14 = call i32 @dirfd(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = call ptr @readdir(ptr noundef %15)
store ptr %16, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %.lr.ph2, label %54
.lr.ph2: ; preds = %12
br label %18
18: ; preds = %.lr.ph2, %50
store i64 0, ptr @errno, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds %struct.dirent, ptr %19, i32 0, i32 0
%21 = load ptr, ptr %20, align 8
%22 = call i64 @strtol(ptr noundef %21, ptr noundef %3, i32 noundef 10)
store i64 %22, ptr %4, align 8
%23 = load i64, ptr @errno, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %50, label %25
25: ; preds = %18
%26 = load ptr, ptr %3, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %50
30: ; preds = %25
%31 = load ptr, ptr %3, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0
%34 = load ptr, ptr %33, align 8
%35 = icmp ne ptr %31, %34
br i1 %35, label %36, label %50
36: ; preds = %30
%37 = load i64, ptr %4, align 8
%38 = load i32, ptr %2, align 4
%39 = sext i32 %38 to i64
%40 = icmp sge i64 %37, %39
br i1 %40, label %41, label %50
41: ; preds = %36
%42 = load i64, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = icmp ne i64 %42, %44
br i1 %45, label %46, label %50
46: ; preds = %41
%47 = load i64, ptr %4, align 8
%48 = trunc i64 %47 to i32
%49 = call i32 @close(i32 noundef %48)
br label %50
50: ; preds = %46, %41, %36, %30, %25, %18
%51 = load ptr, ptr %5, align 8
%52 = call ptr @readdir(ptr noundef %51)
store ptr %52, ptr %7, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %18, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %50
br label %54
54: ; preds = %._crit_edge3, %12
%55 = load ptr, ptr %5, align 8
%56 = call i32 @closedir(ptr noundef %55)
br label %76
57: ; preds = %1
%58 = load i32, ptr @_SC_OPEN_MAX, align 4
%59 = call i32 @sysconf(i32 noundef %58)
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %2, align 4
%63 = icmp sge i32 %61, %62
br i1 %63, label %.lr.ph, label %75
.lr.ph: ; preds = %57
br label %64
64: ; preds = %.lr.ph, %70
%65 = load i32, ptr %8, align 4
%66 = icmp sge i32 %65, 0
br i1 %66, label %67, label %70
67: ; preds = %64
%68 = load i32, ptr %8, align 4
%69 = call i32 @close(i32 noundef %68)
br label %70
70: ; preds = %67, %64
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, -1
store i32 %72, ptr %8, align 4
%73 = load i32, ptr %2, align 4
%74 = icmp sge i32 %72, %73
br i1 %74, label %64, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %70
br label %75
75: ; preds = %._crit_edge, %57
br label %76
76: ; preds = %75, %54
ret void
}
declare ptr @opendir(ptr noundef) #1
declare i32 @dirfd(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @sysconf(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/tmp0jdu6mf2.c'
source_filename = "/tmp/tmp0jdu6mf2.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"
@randn.next = internal global double -4.200000e+01, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @randn() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = load double, ptr @randn.next, align 8
%8 = fcmp une double %7, -4.200000e+01
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load double, ptr @randn.next, align 8
store double %10, ptr %2, align 8
store double -4.200000e+01, ptr @randn.next, align 8
%11 = load double, ptr %2, align 8
store double %11, ptr %1, align 8
br label %44
12: ; preds = %0
br label %13
13: ; preds = %26, %12
%14 = call double (...) @rand_double()
store double %14, ptr %5, align 8
%15 = call double (...) @rand_double()
store double %15, ptr %6, align 8
%16 = load double, ptr %5, align 8
%17 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %16, double -1.000000e+00)
store double %17, ptr %3, align 8
%18 = load double, ptr %6, align 8
%19 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %18, double -1.000000e+00)
store double %19, ptr %4, align 8
%20 = load double, ptr %3, align 8
%21 = load double, ptr %3, align 8
%22 = load double, ptr %4, align 8
%23 = load double, ptr %4, align 8
%24 = fmul double %22, %23
%25 = call double @llvm.fmuladd.f64(double %20, double %21, double %24)
store double %25, ptr %2, align 8
br label %26
26: ; preds = %13
%27 = load double, ptr %2, align 8
%28 = fcmp oge double %27, 1.000000e+00
br i1 %28, label %13, label %29, !llvm.loop !6
29: ; preds = %26
%30 = load double, ptr %2, align 8
%31 = call i32 @log(double noundef %30)
%32 = mul nsw i32 -2, %31
%33 = sitofp i32 %32 to double
%34 = load double, ptr %2, align 8
%35 = fdiv double %33, %34
%36 = fptosi double %35 to i32
%37 = call double @sqrt(i32 noundef %36)
store double %37, ptr %2, align 8
%38 = load double, ptr %2, align 8
%39 = load double, ptr %3, align 8
%40 = fmul double %38, %39
store double %40, ptr @randn.next, align 8
%41 = load double, ptr %2, align 8
%42 = load double, ptr %4, align 8
%43 = fmul double %41, %42
store double %43, ptr %1, align 8
br label %44
44: ; preds = %29, %9
%45 = load double, ptr %1, align 8
ret double %45
}
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sqrt(i32 noundef) #1
declare i32 @log(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 = { "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/tmp0jdu6mf2.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"
@randn.next = internal global double -4.200000e+01, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @randn() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = load double, ptr @randn.next, align 8
%8 = fcmp une double %7, -4.200000e+01
br i1 %8, label %9, label %12
9: ; preds = %0
%10 = load double, ptr @randn.next, align 8
store double %10, ptr %2, align 8
store double -4.200000e+01, ptr @randn.next, align 8
%11 = load double, ptr %2, align 8
store double %11, ptr %1, align 8
br label %44
12: ; preds = %0
br label %13
13: ; preds = %26, %12
%14 = call double (...) @rand_double()
store double %14, ptr %5, align 8
%15 = call double (...) @rand_double()
store double %15, ptr %6, align 8
%16 = load double, ptr %5, align 8
%17 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %16, double -1.000000e+00)
store double %17, ptr %3, align 8
%18 = load double, ptr %6, align 8
%19 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %18, double -1.000000e+00)
store double %19, ptr %4, align 8
%20 = load double, ptr %3, align 8
%21 = load double, ptr %3, align 8
%22 = load double, ptr %4, align 8
%23 = load double, ptr %4, align 8
%24 = fmul double %22, %23
%25 = call double @llvm.fmuladd.f64(double %20, double %21, double %24)
store double %25, ptr %2, align 8
br label %26
26: ; preds = %13
%27 = load double, ptr %2, align 8
%28 = fcmp oge double %27, 1.000000e+00
br i1 %28, label %13, label %29, !llvm.loop !6
29: ; preds = %26
%30 = load double, ptr %2, align 8
%31 = call i32 @log(double noundef %30)
%32 = mul nsw i32 -2, %31
%33 = sitofp i32 %32 to double
%34 = load double, ptr %2, align 8
%35 = fdiv double %33, %34
%36 = fptosi double %35 to i32
%37 = call double @sqrt(i32 noundef %36)
store double %37, ptr %2, align 8
%38 = load double, ptr %2, align 8
%39 = load double, ptr %3, align 8
%40 = fmul double %38, %39
store double %40, ptr @randn.next, align 8
%41 = load double, ptr %2, align 8
%42 = load double, ptr %4, align 8
%43 = fmul double %41, %42
store double %43, ptr %1, align 8
br label %44
44: ; preds = %29, %9
%45 = load double, ptr %1, align 8
ret double %45
}
declare double @rand_double(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sqrt(i32 noundef) #1
declare i32 @log(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 = { "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/tmpecu5rmqi.c'
source_filename = "/tmp/tmpecu5rmqi.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 [37 x i8] c"Welcome to the Calculator Program!\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Please enter a non-negative value: \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"Please enter another non-negative value: \0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Value 1 + Value 2 = \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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @displayDescription()
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
br label %11
11: ; preds = %36, %0
%12 = call i32 (...) @displayMenu()
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%14 = load i32, ptr %4, align 4
switch i32 %14, label %35 [
i32 1, label %15
i32 2, label %20
i32 3, label %25
i32 4, label %30
]
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @addition(i32 noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18)
br label %35
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @addition(i32 noundef %21, i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23)
br label %35
25: ; preds = %11
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 @addition(i32 noundef %26, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %28)
br label %35
30: ; preds = %11
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @addition(i32 noundef %31, i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
br label %35
35: ; preds = %11, %30, %25, %20, %15
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = icmp ne i32 %37, 5
br i1 %38, label %11, label %39, !llvm.loop !6
39: ; preds = %36
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i32 @displayDescription(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @displayMenu(...) #1
declare i32 @addition(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecu5rmqi.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 [37 x i8] c"Welcome to the Calculator Program!\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Please enter a non-negative value: \0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [43 x i8] c"Please enter another non-negative value: \0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Value 1 + Value 2 = \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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @displayDescription()
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %3)
br label %11
11: ; preds = %36, %0
%12 = call i32 (...) @displayMenu()
%13 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %4)
%14 = load i32, ptr %4, align 4
switch i32 %14, label %35 [
i32 1, label %15
i32 2, label %20
i32 3, label %25
i32 4, label %30
]
15: ; preds = %11
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @addition(i32 noundef %16, i32 noundef %17)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18)
br label %35
20: ; preds = %11
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %3, align 4
%23 = call i32 @addition(i32 noundef %21, i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %23)
br label %35
25: ; preds = %11
%26 = load i32, ptr %2, align 4
%27 = load i32, ptr %3, align 4
%28 = call i32 @addition(i32 noundef %26, i32 noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %28)
br label %35
30: ; preds = %11
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr %3, align 4
%33 = call i32 @addition(i32 noundef %31, i32 noundef %32)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
br label %35
35: ; preds = %30, %25, %20, %15, %11
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = icmp ne i32 %37, 5
br i1 %38, label %11, label %39, !llvm.loop !6
39: ; preds = %36
%40 = load i32, ptr %1, align 4
ret i32 %40
}
declare i32 @displayDescription(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @displayMenu(...) #1
declare i32 @addition(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp685crswa.c'
source_filename = "/tmp/tmp685crswa.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 @skip_past_whitespace(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
br label %5
5: ; preds = %21, %2
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @check_end_array(ptr noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, 0
br label %18
18: ; preds = %13, %5
%19 = phi i1 [ false, %5 ], [ %17, %13 ]
br i1 %19, label %20, label %24
20: ; preds = %18
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %5, !llvm.loop !6
24: ; preds = %18
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @check_end_array(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/tmp685crswa.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 @skip_past_whitespace(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
br label %5
5: ; preds = %21, %2
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %4, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %5
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = call i32 @check_end_array(ptr noundef %14, i32 noundef %15)
%17 = icmp eq i32 %16, 0
br label %18
18: ; preds = %13, %5
%19 = phi i1 [ false, %5 ], [ %17, %13 ]
br i1 %19, label %20, label %24
20: ; preds = %18
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
br label %5, !llvm.loop !6
24: ; preds = %18
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @check_end_array(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/tmpyegvkr6e.c'
source_filename = "/tmp/tmpyegvkr6e.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/tmpyegvkr6e.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/tmp7crjrf8j.c'
source_filename = "/tmp/tmp7crjrf8j.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.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@.str = private unnamed_addr constant [40 x i8] c"Number of arguments is not correct!!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Usage: programName host portNr\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"no such host\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"connect error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"message: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"reading\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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr @AF_INET, align 4
%30 = load i32, ptr @SOCK_STREAM, align 4
%31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0)
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %21
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %99
36: ; preds = %21
%37 = load ptr, ptr %6, align 8
%38 = call ptr @gethostbyname(ptr noundef %37)
store ptr %38, ptr %10, align 8
%39 = load ptr, ptr %10, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%43 = load i32, ptr %8, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 -1, ptr %3, align 4
br label %99
45: ; preds = %36
%46 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 12)
%47 = load i32, ptr @AF_INET, align 4
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %47, ptr %48, align 4
%49 = load i32, ptr %7, align 4
%50 = call i32 @htons(i32 noundef %49)
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store i32 %50, ptr %51, align 4
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds %struct.hostent, ptr %52, i32 0, i32 1
%54 = load i64, ptr %53, align 8
%55 = inttoptr i64 %54 to ptr
%56 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds %struct.hostent, ptr %58, i32 0, i32 0
%60 = load i32, ptr %59, align 8
%61 = call i32 @bcopy(ptr noundef %55, ptr noundef %57, i32 noundef %60)
%62 = load i32, ptr %8, align 4
%63 = call i64 @connect(i32 noundef %62, ptr noundef %9, i32 noundef 12)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %45
%66 = load i32, ptr @errno, align 4
%67 = call ptr @strerror(i32 noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %67)
%69 = load i32, ptr %8, align 4
%70 = call i32 @close(i32 noundef %69)
store i32 -1, ptr %3, align 4
br label %99
71: ; preds = %45
%72 = call ptr @malloc(i32 noundef 512)
store ptr %72, ptr %11, align 8
%73 = call ptr @malloc(i32 noundef 512)
store ptr %73, ptr %12, align 8
%74 = load ptr, ptr %12, align 8
%75 = call i32 @memset(ptr noundef %74, i8 noundef signext 0, i32 noundef 512)
%76 = load ptr, ptr %11, align 8
%77 = call i32 @build_websocket_handshake(ptr noundef %76)
%78 = load ptr, ptr %11, align 8
%79 = call i32 @strlen(ptr noundef %78)
store i32 %79, ptr %13, align 4
%80 = load i32, ptr %8, align 4
%81 = load ptr, ptr %11, align 8
%82 = load i32, ptr %13, align 4
%83 = call i32 @write(i32 noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load i32, ptr %8, align 4
%85 = load ptr, ptr %12, align 8
%86 = call i32 @read(i32 noundef %84, ptr noundef %85, i32 noundef 512)
%87 = load ptr, ptr %12, align 8
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %87)
br label %89
89: ; preds = %71, %89
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%91 = load ptr, ptr %12, align 8
%92 = call i32 @memset(ptr noundef %91, i8 noundef signext 0, i32 noundef 512)
%93 = load i32, ptr %8, align 4
%94 = load ptr, ptr %12, align 8
%95 = call i32 @read(i32 noundef %93, ptr noundef %94, i32 noundef 512)
%96 = load ptr, ptr %12, align 8
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %96)
%98 = call i32 @sleep(i32 noundef 500)
br label %89
99: ; preds = %65, %41, %34
%100 = load i32, ptr %3, align 4
ret i32 %100
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @build_websocket_handshake(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #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" }
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/tmp7crjrf8j.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.sockaddr_in = type { %struct.TYPE_2__, i32, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@.str = private unnamed_addr constant [40 x i8] c"Number of arguments is not correct!!!!\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Usage: programName host portNr\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"socket failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"no such host\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"connect error: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"message: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"reading\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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 3
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 2
%27 = load ptr, ptr %26, align 8
%28 = call i32 @atoi(ptr noundef %27)
store i32 %28, ptr %7, align 4
%29 = load i32, ptr @AF_INET, align 4
%30 = load i32, ptr @SOCK_STREAM, align 4
%31 = call i32 @socket(i32 noundef %29, i32 noundef %30, i32 noundef 0)
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %21
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %99
36: ; preds = %21
%37 = load ptr, ptr %6, align 8
%38 = call ptr @gethostbyname(ptr noundef %37)
store ptr %38, ptr %10, align 8
%39 = load ptr, ptr %10, align 8
%40 = icmp eq ptr %39, null
br i1 %40, label %41, label %45
41: ; preds = %36
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%43 = load i32, ptr %8, align 4
%44 = call i32 @close(i32 noundef %43)
store i32 -1, ptr %3, align 4
br label %99
45: ; preds = %36
%46 = call i32 @memset(ptr noundef %9, i8 noundef signext 0, i32 noundef 12)
%47 = load i32, ptr @AF_INET, align 4
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %47, ptr %48, align 4
%49 = load i32, ptr %7, align 4
%50 = call i32 @htons(i32 noundef %49)
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
store i32 %50, ptr %51, align 4
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds %struct.hostent, ptr %52, i32 0, i32 1
%54 = load i64, ptr %53, align 8
%55 = inttoptr i64 %54 to ptr
%56 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds %struct.hostent, ptr %58, i32 0, i32 0
%60 = load i32, ptr %59, align 8
%61 = call i32 @bcopy(ptr noundef %55, ptr noundef %57, i32 noundef %60)
%62 = load i32, ptr %8, align 4
%63 = call i64 @connect(i32 noundef %62, ptr noundef %9, i32 noundef 12)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %45
%66 = load i32, ptr @errno, align 4
%67 = call ptr @strerror(i32 noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %67)
%69 = load i32, ptr %8, align 4
%70 = call i32 @close(i32 noundef %69)
store i32 -1, ptr %3, align 4
br label %99
71: ; preds = %45
%72 = call ptr @malloc(i32 noundef 512)
store ptr %72, ptr %11, align 8
%73 = call ptr @malloc(i32 noundef 512)
store ptr %73, ptr %12, align 8
%74 = load ptr, ptr %12, align 8
%75 = call i32 @memset(ptr noundef %74, i8 noundef signext 0, i32 noundef 512)
%76 = load ptr, ptr %11, align 8
%77 = call i32 @build_websocket_handshake(ptr noundef %76)
%78 = load ptr, ptr %11, align 8
%79 = call i32 @strlen(ptr noundef %78)
store i32 %79, ptr %13, align 4
%80 = load i32, ptr %8, align 4
%81 = load ptr, ptr %11, align 8
%82 = load i32, ptr %13, align 4
%83 = call i32 @write(i32 noundef %80, ptr noundef %81, i32 noundef %82)
%84 = load i32, ptr %8, align 4
%85 = load ptr, ptr %12, align 8
%86 = call i32 @read(i32 noundef %84, ptr noundef %85, i32 noundef 512)
%87 = load ptr, ptr %12, align 8
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %87)
br label %89
89: ; preds = %89, %71
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%91 = load ptr, ptr %12, align 8
%92 = call i32 @memset(ptr noundef %91, i8 noundef signext 0, i32 noundef 512)
%93 = load i32, ptr %8, align 4
%94 = load ptr, ptr %12, align 8
%95 = call i32 @read(i32 noundef %93, ptr noundef %94, i32 noundef 512)
%96 = load ptr, ptr %12, align 8
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %96)
%98 = call i32 @sleep(i32 noundef 500)
br label %89
99: ; preds = %65, %41, %34
%100 = load i32, ptr %3, align 4
ret i32 %100
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @build_websocket_handshake(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #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" }
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/tmpo1lcq_bd.c'
source_filename = "/tmp/tmpo1lcq_bd.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 @_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @execve(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @execve(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/tmpo1lcq_bd.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 @_execve(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @execve(ptr noundef %7, ptr noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @execve(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/tmpbj8idybe.c'
source_filename = "/tmp/tmpbj8idybe.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 @hard_fault_handler() #0 {
br label %1
1: ; preds = %0, %1
br label %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/tmpbj8idybe.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 @hard_fault_handler() #0 {
br label %1
1: ; preds = %1, %0
br label %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/tmp7acw9f6v.c'
source_filename = "/tmp/tmp7acw9f6v.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 @slaCr2af(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @sla_cr2af_(ptr noundef %5, ptr noundef %6, ptr noundef %9, ptr noundef %10, i32 noundef 1)
ret void
}
declare i32 @sla_cr2af_(ptr 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/tmp7acw9f6v.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 @slaCr2af(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %7, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @sla_cr2af_(ptr noundef %5, ptr noundef %6, ptr noundef %9, ptr noundef %10, i32 noundef 1)
ret void
}
declare i32 @sla_cr2af_(ptr 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/tmpa7gf5e9z.c'
source_filename = "/tmp/tmpa7gf5e9z.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/tmpa7gf5e9z.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/tmp1cgj_0hy.c'
source_filename = "/tmp/tmp1cgj_0hy.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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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 null, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @usage(ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strtoul(ptr noundef %20, ptr noundef %6, i32 noundef 10)
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %17
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @usage(ptr noundef %29)
br label %31
31: ; preds = %26, %17
%32 = call i32 (...) @input_subsystem_init()
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = call i32 @socket_init(i32 noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @mainloop(i32 noundef %35, i32 noundef %36)
ret i32 0
}
declare i32 @usage(ptr noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @input_subsystem_init(...) #1
declare i32 @socket_init(i32 noundef) #1
declare i32 @mainloop(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/tmp1cgj_0hy.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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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 null, ptr %6, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @usage(ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strtoul(ptr noundef %20, ptr noundef %6, i32 noundef 10)
store i32 %21, ptr %7, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %17
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @usage(ptr noundef %29)
br label %31
31: ; preds = %26, %17
%32 = call i32 (...) @input_subsystem_init()
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = call i32 @socket_init(i32 noundef %33)
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @mainloop(i32 noundef %35, i32 noundef %36)
ret i32 0
}
declare i32 @usage(ptr noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @input_subsystem_init(...) #1
declare i32 @socket_init(i32 noundef) #1
declare i32 @mainloop(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/tmpbzawazmd.c'
source_filename = "/tmp/tmpbzawazmd.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(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %48, %2
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = getelementptr inbounds i8, ptr %8, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %7
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %14, %7
%22 = phi i1 [ false, %7 ], [ %20, %14 ]
br i1 %22, label %23, label %51
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %28, %33
br i1 %34, label %35, label %47
35: ; preds = %23
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %40, %45
store i32 %46, ptr %3, align 4
br label %63
47: ; preds = %23
br label %48
48: ; preds = %47
%49 = load i64, ptr %6, align 8
%50 = add i64 %49, 1
store i64 %50, ptr %6, align 8
br label %7, !llvm.loop !6
51: ; preds = %21
%52 = load ptr, ptr %4, align 8
%53 = load i64, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = load ptr, ptr %5, align 8
%58 = load i64, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %56, %61
store i32 %62, ptr %3, align 4
br label %63
63: ; preds = %51, %35
%64 = load i32, ptr %3, align 4
ret i32 %64
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzawazmd.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(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %48, %2
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = getelementptr inbounds i8, ptr %8, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %7
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %14, %7
%22 = phi i1 [ false, %7 ], [ %20, %14 ]
br i1 %22, label %23, label %51
23: ; preds = %21
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %6, align 8
%26 = getelementptr inbounds i8, ptr %24, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %6, align 8
%31 = getelementptr inbounds i8, ptr %29, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %28, %33
br i1 %34, label %35, label %47
35: ; preds = %23
%36 = load ptr, ptr %4, align 8
%37 = load i64, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = sub nsw i32 %40, %45
store i32 %46, ptr %3, align 4
br label %63
47: ; preds = %23
br label %48
48: ; preds = %47
%49 = load i64, ptr %6, align 8
%50 = add i64 %49, 1
store i64 %50, ptr %6, align 8
br label %7, !llvm.loop !6
51: ; preds = %21
%52 = load ptr, ptr %4, align 8
%53 = load i64, ptr %6, align 8
%54 = getelementptr inbounds i8, ptr %52, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = load ptr, ptr %5, align 8
%58 = load i64, ptr %6, align 8
%59 = getelementptr inbounds i8, ptr %57, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %56, %61
store i32 %62, ptr %3, align 4
br label %63
63: ; preds = %51, %35
%64 = load i32, ptr %3, align 4
ret i32 %64
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmptthm5lzs.c'
source_filename = "/tmp/tmptthm5lzs.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 [35 x i8] c"Hello world from Alwasam Shigdar!\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"I learned that 2+2=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The grade I am working for is:%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The temperture is barely %f\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 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 65)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.200000e+01)
ret i32 0
}
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/tmptthm5lzs.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 [35 x i8] c"Hello world from Alwasam Shigdar!\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"I learned that 2+2=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"The grade I am working for is:%c\0A\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"The temperture is barely %f\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 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef 4)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 65)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef 3.200000e+01)
ret i32 0
}
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/tmp6dm6mwyy.c'
source_filename = "/tmp/tmp6dm6mwyy.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 [28 x i8] c"how many boolean valuable? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @allocList(i32 noundef %6, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = call i32 @showBooleanCombi(ptr noundef %9, i32 noundef 0, i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @freeList(ptr noundef %13)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @allocList(i32 noundef, ptr noundef) #1
declare i32 @showBooleanCombi(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @freeList(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/tmp6dm6mwyy.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 [28 x i8] c"how many boolean valuable? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @puts(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @allocList(i32 noundef %6, ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sub nsw i32 %10, 1
%12 = call i32 @showBooleanCombi(ptr noundef %9, i32 noundef 0, i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @freeList(ptr noundef %13)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @allocList(i32 noundef, ptr noundef) #1
declare i32 @showBooleanCombi(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @freeList(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/tmp0l6g41fq.c'
source_filename = "/tmp/tmp0l6g41fq.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 @sscol(i32 noundef %0, ptr 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
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
br label %11
11: ; preds = %29, %4
%12 = load i32, ptr %10, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %32
15: ; preds = %11
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load ptr, ptr %9, align 8
%21 = load ptr, ptr %8, align 8
%22 = load i32, ptr %10, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %20, i64 %26
%28 = call i32 @swap(ptr noundef %19, ptr noundef %27)
br label %29
29: ; preds = %15
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
br label %11, !llvm.loop !6
32: ; preds = %11
%33 = load i32, ptr %6, align 4
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %9, align 8
%36 = call i32 @forwcolunitario(i32 noundef %33, ptr noundef %34, ptr noundef %35)
%37 = load i32, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %9, align 8
%40 = call i32 @backcol(i32 noundef %37, ptr noundef %38, ptr noundef %39, i32 noundef 0)
%41 = icmp eq i32 %40, -1
br i1 %41, label %42, label %43
42: ; preds = %32
store i32 -1, ptr %5, align 4
br label %44
43: ; preds = %32
store i32 0, ptr %5, align 4
br label %44
44: ; preds = %43, %42
%45 = load i32, ptr %5, align 4
ret i32 %45
}
declare i32 @swap(ptr noundef, ptr noundef) #1
declare i32 @forwcolunitario(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @backcol(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0l6g41fq.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 @sscol(i32 noundef %0, ptr 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
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 0, ptr %10, align 4
%11 = load i32, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph, label %34
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %28
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load ptr, ptr %9, align 8
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %10, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %19, i64 %25
%27 = call i32 @swap(ptr noundef %18, ptr noundef %26)
br label %28
28: ; preds = %14
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %4
%35 = load i32, ptr %6, align 4
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %9, align 8
%38 = call i32 @forwcolunitario(i32 noundef %35, ptr noundef %36, ptr noundef %37)
%39 = load i32, ptr %6, align 4
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %9, align 8
%42 = call i32 @backcol(i32 noundef %39, ptr noundef %40, ptr noundef %41, i32 noundef 0)
%43 = icmp eq i32 %42, -1
br i1 %43, label %44, label %45
44: ; preds = %34
store i32 -1, ptr %5, align 4
br label %46
45: ; preds = %34
store i32 0, ptr %5, align 4
br label %46
46: ; preds = %45, %44
%47 = load i32, ptr %5, align 4
ret i32 %47
}
declare i32 @swap(ptr noundef, ptr noundef) #1
declare i32 @forwcolunitario(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @backcol(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphn1hgeoq.c'
source_filename = "/tmp/tmphn1hgeoq.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/tmphn1hgeoq.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/tmpoaovl_tm.c'
source_filename = "/tmp/tmpoaovl_tm.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 @strcasestr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i8, ptr %9, align 1
store i8 %11, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %47
14: ; preds = %2
%15 = load i8, ptr %6, align 1
%16 = call i64 @tolower(i8 noundef zeroext %15)
%17 = trunc i64 %16 to i8
store i8 %17, ptr %6, align 1
%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 = %38, %14
br label %21
21: ; preds = %29, %20
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store ptr null, ptr %3, align 8
br label %49
28: ; preds = %21
br label %29
29: ; preds = %28
%30 = load i8, ptr %7, align 1
%31 = call i64 @tolower(i8 noundef zeroext %30)
%32 = trunc i64 %31 to i8
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %33, %35
br i1 %36, label %21, label %37, !llvm.loop !6
37: ; preds = %29
br label %38
38: ; preds = %37
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %8, align 8
%42 = call i64 @strncasecmp(ptr noundef %39, ptr noundef %40, i64 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %20, label %44, !llvm.loop !8
44: ; preds = %38
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 -1
store ptr %46, ptr %4, align 8
br label %47
47: ; preds = %44, %2
%48 = load ptr, ptr %4, align 8
store ptr %48, ptr %3, align 8
br label %49
49: ; preds = %47, %27
%50 = load ptr, ptr %3, align 8
ret ptr %50
}
declare i64 @tolower(i8 noundef zeroext) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoaovl_tm.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 @strcasestr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %5, align 8
%11 = load i8, ptr %9, align 1
store i8 %11, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %47
14: ; preds = %2
%15 = load i8, ptr %6, align 1
%16 = call i64 @tolower(i8 noundef zeroext %15)
%17 = trunc i64 %16 to i8
store i8 %17, ptr %6, align 1
%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 = %38, %14
br label %21
21: ; preds = %29, %20
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %21
store ptr null, ptr %3, align 8
br label %49
28: ; preds = %21
br label %29
29: ; preds = %28
%30 = load i8, ptr %7, align 1
%31 = call i64 @tolower(i8 noundef zeroext %30)
%32 = trunc i64 %31 to i8
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %33, %35
br i1 %36, label %21, label %37, !llvm.loop !6
37: ; preds = %29
br label %38
38: ; preds = %37
%39 = load ptr, ptr %4, align 8
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %8, align 8
%42 = call i64 @strncasecmp(ptr noundef %39, ptr noundef %40, i64 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %20, label %44, !llvm.loop !8
44: ; preds = %38
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i8, ptr %45, i32 -1
store ptr %46, ptr %4, align 8
br label %47
47: ; preds = %44, %2
%48 = load ptr, ptr %4, align 8
store ptr %48, ptr %3, align 8
br label %49
49: ; preds = %47, %27
%50 = load ptr, ptr %3, align 8
ret ptr %50
}
declare i64 @tolower(i8 noundef zeroext) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @strncasecmp(ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpoetbzbph.c'
source_filename = "/tmp/tmpoetbzbph.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.primes = private unnamed_addr constant [6 x i32] [i32 2, i32 3, i32 7, i32 11, i32 13, i32 17], align 16
@__const.main.non_primes = private unnamed_addr constant [6 x i32] [i32 4, i32 6, i32 8, i32 12, i32 14, i32 15], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.primes, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.non_primes, i64 24, i1 false)
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %23, %0
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 @is_prime(i32 noundef %12)
%14 = call i32 @assert(i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @is_prime(i32 noundef %18)
%20 = icmp eq i32 %19, 0
%21 = zext i1 %20 to i32
%22 = call i32 @assert(i32 noundef %21)
br label %23
23: ; preds = %8
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %5, !llvm.loop !6
26: ; preds = %5
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 @assert(i32 noundef) #2
declare i32 @is_prime(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoetbzbph.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.primes = private unnamed_addr constant [6 x i32] [i32 2, i32 3, i32 7, i32 11, i32 13, i32 17], align 16
@__const.main.non_primes = private unnamed_addr constant [6 x i32] [i32 4, i32 6, i32 8, i32 12, i32 14, i32 15], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i32], align 16
%3 = alloca [6 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.primes, i64 24, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.non_primes, i64 24, i1 false)
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %22
%8 = load i32, ptr %4, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [6 x i32], ptr %2, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 @is_prime(i32 noundef %11)
%13 = call i32 @assert(i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [6 x i32], ptr %3, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @is_prime(i32 noundef %17)
%19 = icmp eq i32 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
br label %22
22: ; preds = %7
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %25, 6
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %0
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 @assert(i32 noundef) #2
declare i32 @is_prime(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"}
|
; ModuleID = '/tmp/tmps23tgqjl.c'
source_filename = "/tmp/tmps23tgqjl.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"testC float\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testC(float noundef %0, float noundef %1, float noundef %2) #0 {
%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
store float %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
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/tmps23tgqjl.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"testC float\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testC(float noundef %0, float noundef %1, float noundef %2) #0 {
%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
store float %2, ptr %6, align 4
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
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/tmpga1ba_d4.c'
source_filename = "/tmp/tmpga1ba_d4.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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp uge ptr %12, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load i64, ptr %7, align 8
%19 = call ptr @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
store ptr %19, ptr %4, align 8
br label %37
20: ; preds = %3
br label %21
21: ; preds = %24, %20
%22 = load i64, ptr %7, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %34
24: ; preds = %21
%25 = load i64, ptr %7, align 8
%26 = add i64 %25, -1
store i64 %26, ptr %7, align 8
%27 = load ptr, ptr %9, align 8
%28 = load i64, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %27, i64 %28
%30 = load i8, ptr %29, align 1
%31 = load ptr, ptr %8, align 8
%32 = load i64, ptr %7, align 8
%33 = getelementptr inbounds i8, ptr %31, i64 %32
store i8 %30, ptr %33, align 1
br label %21, !llvm.loop !6
34: ; preds = %21
br label %35
35: ; preds = %34
%36 = load ptr, ptr %5, align 8
store ptr %36, ptr %4, align 8
br label %37
37: ; preds = %35, %15
%38 = load ptr, ptr %4, align 8
ret ptr %38
}
declare ptr @memcpy(ptr noundef, ptr 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/tmpga1ba_d4.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 @memmove(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load ptr, ptr %9, align 8
%13 = load ptr, ptr %8, align 8
%14 = icmp uge ptr %12, %13
br i1 %14, label %15, label %20
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load ptr, ptr %9, align 8
%18 = load i64, ptr %7, align 8
%19 = call ptr @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
store ptr %19, ptr %4, align 8
br label %38
20: ; preds = %3
%21 = load i64, ptr %7, align 8
%22 = icmp ne i64 %21, 0
br i1 %22, label %.lr.ph, label %35
.lr.ph: ; preds = %20
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i64, ptr %7, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %7, align 8
%26 = load ptr, ptr %9, align 8
%27 = load i64, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %8, align 8
%31 = load i64, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %30, i64 %31
store i8 %29, ptr %32, align 1
%33 = load i64, ptr %7, align 8
%34 = icmp ne i64 %33, 0
br i1 %34, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %35
35: ; preds = %._crit_edge, %20
br label %36
36: ; preds = %35
%37 = load ptr, ptr %5, align 8
store ptr %37, ptr %4, align 8
br label %38
38: ; preds = %36, %15
%39 = load ptr, ptr %4, align 8
ret ptr %39
}
declare ptr @memcpy(ptr noundef, ptr 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/tmpq_4c4tc2.c'
source_filename = "/tmp/tmpq_4c4tc2.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 @clz32(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 32, ptr %2, align 4
br label %55
9: ; preds = %1
%10 = load i64, ptr %3, align 8
store i64 %10, ptr %4, align 8
store i32 0, ptr %5, align 4
%11 = load i64, ptr %4, align 8
%12 = and i64 %11, 4294901760
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 16
store i32 %16, ptr %5, align 4
%17 = load i64, ptr %4, align 8
%18 = shl i64 %17, 16
store i64 %18, ptr %4, align 8
br label %19
19: ; preds = %14, %9
%20 = load i64, ptr %4, align 8
%21 = and i64 %20, 4278190080
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 8
store i32 %25, ptr %5, align 4
%26 = load i64, ptr %4, align 8
%27 = shl i64 %26, 8
store i64 %27, ptr %4, align 8
br label %28
28: ; preds = %23, %19
%29 = load i64, ptr %4, align 8
%30 = and i64 %29, 4026531840
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 4
store i32 %34, ptr %5, align 4
%35 = load i64, ptr %4, align 8
%36 = shl i64 %35, 4
store i64 %36, ptr %4, align 8
br label %37
37: ; preds = %32, %28
%38 = load i64, ptr %4, align 8
%39 = and i64 %38, 3221225472
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 2
store i32 %43, ptr %5, align 4
%44 = load i64, ptr %4, align 8
%45 = shl i64 %44, 2
store i64 %45, ptr %4, align 8
br label %46
46: ; preds = %41, %37
%47 = load i64, ptr %4, align 8
%48 = and i64 %47, 134217728
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %50, %46
%54 = load i32, ptr %5, align 4
store i32 %54, ptr %2, align 4
br label %55
55: ; preds = %53, %8
%56 = load i32, ptr %2, align 4
ret i32 %56
}
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/tmpq_4c4tc2.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 @clz32(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%6 = load i64, ptr %3, align 8
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 32, ptr %2, align 4
br label %55
9: ; preds = %1
%10 = load i64, ptr %3, align 8
store i64 %10, ptr %4, align 8
store i32 0, ptr %5, align 4
%11 = load i64, ptr %4, align 8
%12 = and i64 %11, 4294901760
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 16
store i32 %16, ptr %5, align 4
%17 = load i64, ptr %4, align 8
%18 = shl i64 %17, 16
store i64 %18, ptr %4, align 8
br label %19
19: ; preds = %14, %9
%20 = load i64, ptr %4, align 8
%21 = and i64 %20, 4278190080
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 8
store i32 %25, ptr %5, align 4
%26 = load i64, ptr %4, align 8
%27 = shl i64 %26, 8
store i64 %27, ptr %4, align 8
br label %28
28: ; preds = %23, %19
%29 = load i64, ptr %4, align 8
%30 = and i64 %29, 4026531840
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 4
store i32 %34, ptr %5, align 4
%35 = load i64, ptr %4, align 8
%36 = shl i64 %35, 4
store i64 %36, ptr %4, align 8
br label %37
37: ; preds = %32, %28
%38 = load i64, ptr %4, align 8
%39 = and i64 %38, 3221225472
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %46
41: ; preds = %37
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 2
store i32 %43, ptr %5, align 4
%44 = load i64, ptr %4, align 8
%45 = shl i64 %44, 2
store i64 %45, ptr %4, align 8
br label %46
46: ; preds = %41, %37
%47 = load i64, ptr %4, align 8
%48 = and i64 %47, 134217728
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %46
%51 = load i32, ptr %5, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %5, align 4
br label %53
53: ; preds = %50, %46
%54 = load i32, ptr %5, align 4
store i32 %54, ptr %2, align 4
br label %55
55: ; preds = %53, %8
%56 = load i32, ptr %2, align 4
ret i32 %56
}
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/tmps3pgvse5.c'
source_filename = "/tmp/tmps3pgvse5.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/tmps3pgvse5.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/tmpntbrg6bz.c'
source_filename = "/tmp/tmpntbrg6bz.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 [39 x i8] c"\0A**** Solo5 standalone test_ssp ****\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"1234567890123456789012345678901234567890\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @solo5_app_main(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = call i32 @puts(ptr noundef @.str)
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str.1)
%7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @puts(ptr noundef %7)
ret i32 1
}
declare i32 @puts(ptr noundef) #1
declare i32 @strcpy(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/tmpntbrg6bz.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 [39 x i8] c"\0A**** Solo5 standalone test_ssp ****\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"1234567890123456789012345678901234567890\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @solo5_app_main(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = call i32 @puts(ptr noundef @.str)
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @strcpy(ptr noundef %5, ptr noundef @.str.1)
%7 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @puts(ptr noundef %7)
ret i32 1
}
declare i32 @puts(ptr noundef) #1
declare i32 @strcpy(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/tmp1h4qrybk.c'
source_filename = "/tmp/tmp1h4qrybk.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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_tune_pme(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_tune_pme(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1h4qrybk.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 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @gmx_tune_pme(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @gmx_tune_pme(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"}
|
; ModuleID = '/tmp/tmpisspoyx6.c'
source_filename = "/tmp/tmpisspoyx6.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 @vc_scan_stream(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4096 x i8], align 16
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %1
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [4096 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @vc_stream_read(i32 noundef %7, ptr noundef %8, i32 noundef 4096)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = add i32 %14, %13
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %12, %6
br label %17
17: ; preds = %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = icmp eq i64 %19, 4096
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load i32, ptr %5, align 4
%23 = zext i32 %22 to i64
%24 = icmp ult i64 %23, 65536
br label %25
25: ; preds = %21, %17
%26 = phi i1 [ false, %17 ], [ %24, %21 ]
br i1 %26, label %6, label %27, !llvm.loop !6
27: ; preds = %25
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @vc_stream_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/tmpisspoyx6.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 @vc_scan_stream(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [4096 x i8], align 16
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %1
%7 = load i32, ptr %2, align 4
%8 = getelementptr inbounds [4096 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @vc_stream_read(i32 noundef %7, ptr noundef %8, i32 noundef 4096)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %5, align 4
%15 = add i32 %14, %13
store i32 %15, ptr %5, align 4
br label %16
16: ; preds = %12, %6
br label %17
17: ; preds = %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = icmp eq i64 %19, 4096
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load i32, ptr %5, align 4
%23 = zext i32 %22 to i64
%24 = icmp ult i64 %23, 65536
br label %25
25: ; preds = %21, %17
%26 = phi i1 [ false, %17 ], [ %24, %21 ]
br i1 %26, label %6, label %27, !llvm.loop !6
27: ; preds = %25
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @vc_stream_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/tmpycrx269u.c'
source_filename = "/tmp/tmpycrx269u.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 zeroext i8 @sla(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 128
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @setFlag(i32 noundef 4)
br label %11
9: ; preds = %1
%10 = call i32 @resetFlag(i32 noundef 4)
br label %11
11: ; preds = %9, %7
%12 = call i32 @resetFlag(i32 noundef 6)
%13 = call i32 @resetFlag(i32 noundef 5)
%14 = load i8, ptr %2, align 1
%15 = zext i8 %14 to i32
%16 = shl i32 %15, 1
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
%18 = load i8, ptr %2, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = call i32 @resetFlag(i32 noundef 7)
br label %24
22: ; preds = %11
%23 = call i32 @setFlag(i32 noundef 7)
br label %24
24: ; preds = %22, %20
%25 = load i8, ptr %2, align 1
ret i8 %25
}
declare i32 @setFlag(i32 noundef) #1
declare i32 @resetFlag(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/tmpycrx269u.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 zeroext i8 @sla(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
%5 = and i32 %4, 128
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = call i32 @setFlag(i32 noundef 4)
br label %11
9: ; preds = %1
%10 = call i32 @resetFlag(i32 noundef 4)
br label %11
11: ; preds = %9, %7
%12 = call i32 @resetFlag(i32 noundef 6)
%13 = call i32 @resetFlag(i32 noundef 5)
%14 = load i8, ptr %2, align 1
%15 = zext i8 %14 to i32
%16 = shl i32 %15, 1
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
%18 = load i8, ptr %2, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = call i32 @resetFlag(i32 noundef 7)
br label %24
22: ; preds = %11
%23 = call i32 @setFlag(i32 noundef 7)
br label %24
24: ; preds = %22, %20
%25 = load i8, ptr %2, align 1
ret i8 %25
}
declare i32 @setFlag(i32 noundef) #1
declare i32 @resetFlag(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/tmpu6x6653z.c'
source_filename = "/tmp/tmpu6x6653z.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 @strlwc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %12, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = call signext i8 @Xtolower(i8 noundef signext %7)
%9 = load ptr, ptr %3, align 8
store i8 %8, ptr %9, align 1
%10 = icmp ne i8 %8, 0
br i1 %10, label %11, label %15
11: ; preds = %5
br label %12
12: ; preds = %11
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %3, align 8
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load ptr, ptr %2, align 8
ret ptr %16
}
declare signext i8 @Xtolower(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/tmpu6x6653z.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 @strlwc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = call signext i8 @Xtolower(i8 noundef signext %6)
%8 = load ptr, ptr %3, align 8
store i8 %7, ptr %8, align 1
%9 = icmp ne i8 %7, 0
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %11
br label %11
11: ; preds = %10
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = call signext i8 @Xtolower(i8 noundef signext %15)
%17 = load ptr, ptr %3, align 8
store i8 %16, ptr %17, align 1
%18 = icmp ne i8 %16, 0
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %19
19: ; preds = %._crit_edge, %1
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare signext i8 @Xtolower(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/tmpios_ly4f.c'
source_filename = "/tmp/tmpios_ly4f.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 @split(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %20, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = call i32 (...) @drand48()
%14 = load i32, ptr %6, align 4
%15 = mul nsw i32 %13, %14
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
ret void
}
declare i32 @drand48(...) #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/tmpios_ly4f.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 @split(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %19
%12 = call i32 (...) @drand48()
%13 = load i32, ptr %6, align 4
%14 = mul nsw i32 %12, %13
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %5, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %3
ret void
}
declare i32 @drand48(...) #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/tmpbul5ssq4.c'
source_filename = "/tmp/tmpbul5ssq4.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/tmpbul5ssq4.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/tmp87t_c90g.c'
source_filename = "/tmp/tmp87t_c90g.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"
@__NR_recvfrom = 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/tmp87t_c90g.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"
@__NR_recvfrom = 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/tmpxg26tqze.c'
source_filename = "/tmp/tmpxg26tqze.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 [12 x i8] c"got: %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 i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @add1(i32 noundef 40, i32 noundef 2)
store i32 %4, ptr %2, align 4
%5 = call i32 @add1(i32 noundef 100, i32 noundef -5)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @add1(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr 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/tmpxg26tqze.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 [12 x i8] c"got: %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 i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @add1(i32 noundef 40, i32 noundef 2)
store i32 %4, ptr %2, align 4
%5 = call i32 @add1(i32 noundef 100, i32 noundef -5)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7)
ret i32 0
}
declare i32 @add1(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr 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/tmpxul0jl_i.c'
source_filename = "/tmp/tmpxul0jl_i.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 @rdmsr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
call void asm sideeffect "mov $2, %rcx;\0Ardmsr;\0Amov %rax, $0;\0Amov %rdx, $1;\0A", "=*imr,=*imr,imr,~{rax},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(ptr) %5, ptr elementtype(ptr) %6, ptr %7) #1, !srcloc !6
%8 = load ptr, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %8, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
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 }
!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 = !{i64 525, i64 553, i64 572, i64 599}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxul0jl_i.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 @rdmsr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
call void asm sideeffect "mov $2, %rcx;\0Ardmsr;\0Amov %rax, $0;\0Amov %rdx, $1;\0A", "=*imr,=*imr,imr,~{rax},~{rcx},~{rdx},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(ptr) %5, ptr elementtype(ptr) %6, ptr %7) #1, !srcloc !6
%8 = load ptr, ptr %6, align 8
%9 = load ptr, ptr %4, align 8
store ptr %8, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
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 }
!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 = !{i64 525, i64 553, i64 572, i64 599}
|
; ModuleID = '/tmp/tmp8fp35dg4.c'
source_filename = "/tmp/tmp8fp35dg4.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"%d,\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100, ptr %4, align 4
br label %6
6: ; preds = %34, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 1000
br i1 %8, label %9, label %37
9: ; preds = %6
store i32 0, ptr %5, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %14, %9
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = srem i32 %15, 10
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = sdiv i32 %17, 10
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %20, %21
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = add nsw i32 %19, %24
store i32 %25, ptr %5, align 4
br label %11, !llvm.loop !6
26: ; preds = %11
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
br label %33
33: ; preds = %30, %26
br label %34
34: ; preds = %33
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
br label %6, !llvm.loop !8
37: ; preds = %6
store i32 1000, ptr %4, align 4
br label %38
38: ; preds = %68, %37
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 10000
br i1 %40, label %41, label %71
41: ; preds = %38
store i32 0, ptr %5, align 4
%42 = load i32, ptr %4, align 4
store i32 %42, ptr %2, align 4
br label %43
43: ; preds = %46, %41
%44 = load i32, ptr %2, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %60
46: ; preds = %43
%47 = load i32, ptr %2, align 4
%48 = srem i32 %47, 10
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = sdiv i32 %49, 10
store i32 %50, ptr %2, align 4
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = mul nsw i32 %52, %53
%55 = load i32, ptr %3, align 4
%56 = mul nsw i32 %54, %55
%57 = load i32, ptr %3, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %51, %58
store i32 %59, ptr %5, align 4
br label %43, !llvm.loop !9
60: ; preds = %43
%61 = load i32, ptr %4, align 4
%62 = load i32, ptr %5, align 4
%63 = icmp eq i32 %61, %62
br i1 %63, label %64, label %67
64: ; preds = %60
%65 = load i32, ptr %4, align 4
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %65)
br label %67
67: ; preds = %64, %60
br label %68
68: ; preds = %67
%69 = load i32, ptr %4, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %4, align 4
br label %38, !llvm.loop !10
71: ; preds = %38
store i32 10000, ptr %4, align 4
br label %72
72: ; preds = %104, %71
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %73, 100000
br i1 %74, label %75, label %107
75: ; preds = %72
store i32 0, ptr %5, align 4
%76 = load i32, ptr %4, align 4
store i32 %76, ptr %2, align 4
br label %77
77: ; preds = %80, %75
%78 = load i32, ptr %2, align 4
%79 = icmp ne i32 %78, 0
br i1 %79, label %80, label %96
80: ; preds = %77
%81 = load i32, ptr %2, align 4
%82 = srem i32 %81, 10
store i32 %82, ptr %3, align 4
%83 = load i32, ptr %2, align 4
%84 = sdiv i32 %83, 10
store i32 %84, ptr %2, align 4
%85 = load i32, ptr %5, align 4
%86 = load i32, ptr %3, align 4
%87 = load i32, ptr %3, align 4
%88 = mul nsw i32 %86, %87
%89 = load i32, ptr %3, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %3, align 4
%92 = mul nsw i32 %90, %91
%93 = load i32, ptr %3, align 4
%94 = mul nsw i32 %92, %93
%95 = add nsw i32 %85, %94
store i32 %95, ptr %5, align 4
br label %77, !llvm.loop !11
96: ; preds = %77
%97 = load i32, ptr %4, align 4
%98 = load i32, ptr %5, align 4
%99 = icmp eq i32 %97, %98
br i1 %99, label %100, label %103
100: ; preds = %96
%101 = load i32, ptr %4, align 4
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %101)
br label %103
103: ; preds = %100, %96
br label %104
104: ; preds = %103
%105 = load i32, ptr %4, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %4, align 4
br label %72, !llvm.loop !12
107: ; preds = %72
%108 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fp35dg4.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"%d,\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 100, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 1000
br i1 %7, label %.lr.ph2, label %39
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %34
store i32 0, ptr %5, align 4
%9 = load i32, ptr %4, align 4
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %2, align 4
%14 = srem i32 %13, 10
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = sdiv i32 %15, 10
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %18, %19
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %20, %21
%23 = add nsw i32 %17, %22
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %26
26: ; preds = %._crit_edge, %8
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
br label %33
33: ; preds = %30, %26
br label %34
34: ; preds = %33
%35 = load i32, ptr %4, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 1000
br i1 %38, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %39
39: ; preds = %._crit_edge3, %0
store i32 1000, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %40, 10000
br i1 %41, label %.lr.ph8, label %75
.lr.ph8: ; preds = %39
br label %42
42: ; preds = %.lr.ph8, %70
store i32 0, ptr %5, align 4
%43 = load i32, ptr %4, align 4
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %.lr.ph5, label %62
.lr.ph5: ; preds = %42
br label %46
46: ; preds = %.lr.ph5, %46
%47 = load i32, ptr %2, align 4
%48 = srem i32 %47, 10
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = sdiv i32 %49, 10
store i32 %50, ptr %2, align 4
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %3, align 4
%54 = mul nsw i32 %52, %53
%55 = load i32, ptr %3, align 4
%56 = mul nsw i32 %54, %55
%57 = load i32, ptr %3, align 4
%58 = mul nsw i32 %56, %57
%59 = add nsw i32 %51, %58
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %2, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %46, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %46
br label %62
62: ; preds = %._crit_edge6, %42
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp eq i32 %63, %64
br i1 %65, label %66, label %69
66: ; preds = %62
%67 = load i32, ptr %4, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %67)
br label %69
69: ; preds = %66, %62
br label %70
70: ; preds = %69
%71 = load i32, ptr %4, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp slt i32 %73, 10000
br i1 %74, label %42, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %70
br label %75
75: ; preds = %._crit_edge9, %39
store i32 10000, ptr %4, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp slt i32 %76, 100000
br i1 %77, label %.lr.ph14, label %113
.lr.ph14: ; preds = %75
br label %78
78: ; preds = %.lr.ph14, %108
store i32 0, ptr %5, align 4
%79 = load i32, ptr %4, align 4
store i32 %79, ptr %2, align 4
%80 = load i32, ptr %2, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %.lr.ph11, label %100
.lr.ph11: ; preds = %78
br label %82
82: ; preds = %.lr.ph11, %82
%83 = load i32, ptr %2, align 4
%84 = srem i32 %83, 10
store i32 %84, ptr %3, align 4
%85 = load i32, ptr %2, align 4
%86 = sdiv i32 %85, 10
store i32 %86, ptr %2, align 4
%87 = load i32, ptr %5, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %3, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %3, align 4
%92 = mul nsw i32 %90, %91
%93 = load i32, ptr %3, align 4
%94 = mul nsw i32 %92, %93
%95 = load i32, ptr %3, align 4
%96 = mul nsw i32 %94, %95
%97 = add nsw i32 %87, %96
store i32 %97, ptr %5, align 4
%98 = load i32, ptr %2, align 4
%99 = icmp ne i32 %98, 0
br i1 %99, label %82, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %82
br label %100
100: ; preds = %._crit_edge12, %78
%101 = load i32, ptr %4, align 4
%102 = load i32, ptr %5, align 4
%103 = icmp eq i32 %101, %102
br i1 %103, label %104, label %107
104: ; preds = %100
%105 = load i32, ptr %4, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %105)
br label %107
107: ; preds = %104, %100
br label %108
108: ; preds = %107
%109 = load i32, ptr %4, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %4, align 4
%111 = load i32, ptr %4, align 4
%112 = icmp slt i32 %111, 100000
br i1 %112, label %78, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %108
br label %113
113: ; preds = %._crit_edge15, %75
%114 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp5fh6x2tj.c'
source_filename = "/tmp/tmp5fh6x2tj.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"
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"sock_send: socket write error\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Message was: '%.*s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %60
13: ; preds = %3
br label %14
14: ; preds = %54, %45, %13
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = load i64, ptr %7, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %19, label %58
19: ; preds = %14
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i64, ptr %7, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = sub i64 %25, %27
%29 = call i32 @write(i32 noundef %20, ptr noundef %24, i64 noundef %28)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %46
32: ; preds = %19
%33 = load i64, ptr @errno, align 8
%34 = load i64, ptr @EAGAIN, align 8
%35 = icmp ne i64 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = call i32 (i32, ptr, ...) @report(i32 noundef 1, ptr noundef @.str)
%38 = load i64, ptr %7, align 8
%39 = load i32, ptr %8, align 4
%40 = sext i32 %39 to i64
%41 = sub i64 %38, %40
%42 = load ptr, ptr %6, align 8
%43 = call i32 (i32, ptr, ...) @report(i32 noundef 5, ptr noundef @.str.1, i64 noundef %41, ptr noundef %42)
%44 = load i32, ptr %9, align 4
store i32 %44, ptr %4, align 4
br label %60
45: ; preds = %32
br label %14, !llvm.loop !6
46: ; preds = %19
%47 = load i32, ptr %9, align 4
%48 = icmp eq i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %46
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %50, %51
store i32 %52, ptr %4, align 4
br label %60
53: ; preds = %46
br label %54
54: ; preds = %53
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, %55
store i32 %57, ptr %8, align 4
br label %14, !llvm.loop !6
58: ; preds = %14
%59 = load i32, ptr %8, align 4
store i32 %59, ptr %4, align 4
br label %60
60: ; preds = %58, %49, %36, %12
%61 = load i32, ptr %4, align 4
ret i32 %61
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @report(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5fh6x2tj.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"
@errno = dso_local global i64 0, align 8
@EAGAIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [30 x i8] c"sock_send: socket write error\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Message was: '%.*s'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sock_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %63
13: ; preds = %3
%14 = load i32, ptr %8, align 4
%15 = sext i32 %14 to i64
%16 = load i64, ptr %7, align 8
%17 = icmp ne i64 %15, %16
br i1 %17, label %.lr.ph, label %61
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %.backedge
%19 = load i32, ptr %5, align 4
%20 = load ptr, ptr %6, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i64, ptr %7, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = sub i64 %24, %26
%28 = call i32 @write(i32 noundef %19, ptr noundef %23, i64 noundef %27)
store i32 %28, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %49
31: ; preds = %18
%32 = load i64, ptr @errno, align 8
%33 = load i64, ptr @EAGAIN, align 8
%34 = icmp ne i64 %32, %33
br i1 %34, label %35, label %44
35: ; preds = %31
%36 = call i32 (i32, ptr, ...) @report(i32 noundef 1, ptr noundef @.str)
%37 = load i64, ptr %7, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = sub i64 %37, %39
%41 = load ptr, ptr %6, align 8
%42 = call i32 (i32, ptr, ...) @report(i32 noundef 5, ptr noundef @.str.1, i64 noundef %40, ptr noundef %41)
%43 = load i32, ptr %9, align 4
store i32 %43, ptr %4, align 4
br label %63
44: ; preds = %31
br label %.backedge
.backedge: ; preds = %44, %57
%45 = load i32, ptr %8, align 4
%46 = sext i32 %45 to i64
%47 = load i64, ptr %7, align 8
%48 = icmp ne i64 %46, %47
br i1 %48, label %18, label %._crit_edge, !llvm.loop !6
49: ; preds = %18
%50 = load i32, ptr %9, align 4
%51 = icmp eq i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %53, %54
store i32 %55, ptr %4, align 4
br label %63
56: ; preds = %49
br label %57
57: ; preds = %56
%58 = load i32, ptr %9, align 4
%59 = load i32, ptr %8, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %8, align 4
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %61
61: ; preds = %._crit_edge, %13
%62 = load i32, ptr %8, align 4
store i32 %62, ptr %4, align 4
br label %63
63: ; preds = %61, %52, %35, %12
%64 = load i32, ptr %4, align 4
ret i32 %64
}
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @report(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"}
|
; ModuleID = '/tmp/tmp5adj1ccu.c'
source_filename = "/tmp/tmp5adj1ccu.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 [62 x i8] c"Usage: fsaand [-ip d/s[dr]] [-op d/s] [-silent] [-v] [-l/-h]\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c" filename1 filename2 outfilename\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @badusage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%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/tmp5adj1ccu.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 [62 x i8] c"Usage: fsaand [-ip d/s[dr]] [-op d/s] [-silent] [-v] [-l/-h]\0A\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c" filename1 filename2 outfilename\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @badusage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%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/tmpj6to114c.c'
source_filename = "/tmp/tmpj6to114c.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 [168 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/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xc0() #0 {
%1 = call i64 @isascii(i32 noundef 192)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpj6to114c.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 [168 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/ctype/test_isascii.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isascii should be 0 for 0xc0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isascii_0xc0() #0 {
%1 = call i64 @isascii(i32 noundef 192)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 965, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isascii(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/tmpnzrulh7p.c'
source_filename = "/tmp/tmpnzrulh7p.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 [11 x i8] c"output.txt\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Calling prctl() to set seccomp strict mode...\0A\00", align 1
@PR_SET_SECCOMP = dso_local global i32 0, align 4
@SECCOMP_MODE_STRICT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Writing to an already open file...\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Trying to open file for reading...\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [65 x i8] c"You will not see this message--the process will be killed first\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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr @O_WRONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %5, align 4
store ptr @.str.1, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = load i32, ptr @PR_SET_SECCOMP, align 4
%12 = load i32, ptr @SECCOMP_MODE_STRICT, align 4
%13 = call i32 @prctl(i32 noundef %11, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.3)
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add nsw i64 %18, 1
%20 = call i32 @write(i32 noundef %15, ptr noundef %16, i64 noundef %19)
%21 = call i32 @printf(ptr noundef @.str.4)
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef @.str, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @prctl(i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnzrulh7p.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 [11 x i8] c"output.txt\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.2 = private unnamed_addr constant [47 x i8] c"Calling prctl() to set seccomp strict mode...\0A\00", align 1
@PR_SET_SECCOMP = dso_local global i32 0, align 4
@SECCOMP_MODE_STRICT = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [36 x i8] c"Writing to an already open file...\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"Trying to open file for reading...\0A\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [65 x i8] c"You will not see this message--the process will be killed first\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 ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load i32, ptr @O_WRONLY, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %5, align 4
store ptr @.str.1, ptr %6, align 8
%10 = call i32 @printf(ptr noundef @.str.2)
%11 = load i32, ptr @PR_SET_SECCOMP, align 4
%12 = load i32, ptr @SECCOMP_MODE_STRICT, align 4
%13 = call i32 @prctl(i32 noundef %11, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.3)
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i64 @strlen(ptr noundef %17)
%19 = add nsw i64 %18, 1
%20 = call i32 @write(i32 noundef %15, ptr noundef %16, i64 noundef %19)
%21 = call i32 @printf(ptr noundef @.str.4)
%22 = load i32, ptr @O_RDONLY, align 4
%23 = call i32 @open(ptr noundef @.str, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = call i32 @printf(ptr noundef @.str.5)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @prctl(i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
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"}
|
; ModuleID = '/tmp/tmpiloekm17.c'
source_filename = "/tmp/tmpiloekm17.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"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @MultiplicationPrincipleR(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store i64 %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %12, align 8
%17 = icmp uge i64 %15, %16
br i1 %17, label %18, label %38
18: ; preds = %6
store i32 0, ptr %14, align 4
br label %19
19: ; preds = %31, %18
%20 = load i32, ptr %14, align 4
%21 = sext i32 %20 to i64
%22 = load i64, ptr %12, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %24, label %34
24: ; preds = %19
%25 = load ptr, ptr %10, align 8
%26 = load i32, ptr %14, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %24
%32 = load i32, ptr %14, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %14, align 4
br label %19, !llvm.loop !6
34: ; preds = %19
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%36 = load i64, ptr %13, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %7, align 8
br label %72
38: ; preds = %6
store i32 0, ptr %14, align 4
br label %39
39: ; preds = %67, %38
%40 = load i32, ptr %14, align 4
%41 = sext i32 %40 to i64
%42 = load ptr, ptr %11, align 8
%43 = load i64, ptr %8, align 8
%44 = getelementptr inbounds i64, ptr %42, i64 %43
%45 = load i64, ptr %44, align 8
%46 = icmp ult i64 %41, %45
br i1 %46, label %47, label %70
47: ; preds = %39
%48 = load ptr, ptr %9, align 8
%49 = load i64, ptr %8, align 8
%50 = getelementptr inbounds ptr, ptr %48, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %14, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i32, ptr %51, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %10, align 8
%57 = load i64, ptr %8, align 8
%58 = getelementptr inbounds i32, ptr %56, i64 %57
store i32 %55, ptr %58, align 4
%59 = load i64, ptr %8, align 8
%60 = add i64 %59, 1
%61 = load ptr, ptr %9, align 8
%62 = load ptr, ptr %10, align 8
%63 = load ptr, ptr %11, align 8
%64 = load i64, ptr %12, align 8
%65 = load i64, ptr %13, align 8
%66 = call i64 @MultiplicationPrincipleR(i64 noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, i64 noundef %64, i64 noundef %65)
store i64 %66, ptr %13, align 8
br label %67
67: ; preds = %47
%68 = load i32, ptr %14, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %14, align 4
br label %39, !llvm.loop !8
70: ; preds = %39
%71 = load i64, ptr %13, align 8
store i64 %71, ptr %7, align 8
br label %72
72: ; preds = %70, %34
%73 = load i64, ptr %7, align 8
ret i64 %73
}
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/tmpiloekm17.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"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @MultiplicationPrincipleR(i64 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i64 noundef %4, i64 noundef %5) #0 {
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
store i64 %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i64 %4, ptr %12, align 8
store i64 %5, ptr %13, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %12, align 8
%17 = icmp uge i64 %15, %16
br i1 %17, label %18, label %41
18: ; preds = %6
store i32 0, ptr %14, align 4
%19 = load i32, ptr %14, align 4
%20 = sext i32 %19 to i64
%21 = load i64, ptr %12, align 8
%22 = icmp ult i64 %20, %21
br i1 %22, label %.lr.ph2, label %37
.lr.ph2: ; preds = %18
br label %23
23: ; preds = %.lr.ph2, %30
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %14, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %23
%31 = load i32, ptr %14, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = sext i32 %33 to i64
%35 = load i64, ptr %12, align 8
%36 = icmp ult i64 %34, %35
br i1 %36, label %23, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %30
br label %37
37: ; preds = %._crit_edge3, %18
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%39 = load i64, ptr %13, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %7, align 8
br label %81
41: ; preds = %6
store i32 0, ptr %14, align 4
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = load ptr, ptr %11, align 8
%45 = load i64, ptr %8, align 8
%46 = getelementptr inbounds i64, ptr %44, i64 %45
%47 = load i64, ptr %46, align 8
%48 = icmp ult i64 %43, %47
br i1 %48, label %.lr.ph, label %79
.lr.ph: ; preds = %41
br label %49
49: ; preds = %.lr.ph, %69
%50 = load ptr, ptr %9, align 8
%51 = load i64, ptr %8, align 8
%52 = getelementptr inbounds ptr, ptr %50, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %14, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %10, align 8
%59 = load i64, ptr %8, align 8
%60 = getelementptr inbounds i32, ptr %58, i64 %59
store i32 %57, ptr %60, align 4
%61 = load i64, ptr %8, align 8
%62 = add i64 %61, 1
%63 = load ptr, ptr %9, align 8
%64 = load ptr, ptr %10, align 8
%65 = load ptr, ptr %11, align 8
%66 = load i64, ptr %12, align 8
%67 = load i64, ptr %13, align 8
%68 = call i64 @MultiplicationPrincipleR(i64 noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %65, i64 noundef %66, i64 noundef %67)
store i64 %68, ptr %13, align 8
br label %69
69: ; preds = %49
%70 = load i32, ptr %14, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %14, align 4
%72 = load i32, ptr %14, align 4
%73 = sext i32 %72 to i64
%74 = load ptr, ptr %11, align 8
%75 = load i64, ptr %8, align 8
%76 = getelementptr inbounds i64, ptr %74, i64 %75
%77 = load i64, ptr %76, align 8
%78 = icmp ult i64 %73, %77
br i1 %78, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %69
br label %79
79: ; preds = %._crit_edge, %41
%80 = load i64, ptr %13, align 8
store i64 %80, ptr %7, align 8
br label %81
81: ; preds = %79, %37
%82 = load i64, ptr %7, align 8
ret i64 %82
}
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/tmp0tw07k7y.c'
source_filename = "/tmp/tmp0tw07k7y.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 @putc_lcd_asc16(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca [16 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%11 = load i8, ptr %8, align 1
%12 = zext i8 %11 to i32
%13 = mul nsw i32 %12, 16
%14 = sext i32 %13 to i64
store i64 %14, ptr %9, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%17 = call i32 @get_asc16_font(i64 noundef %15, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @drawch16(ptr noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef %21)
ret void
}
declare i32 @get_asc16_font(i64 noundef, ptr noundef) #1
declare i32 @drawch16(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0tw07k7y.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 @putc_lcd_asc16(ptr noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca [16 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i8 %3, ptr %8, align 1
%11 = load i8, ptr %8, align 1
%12 = zext i8 %11 to i32
%13 = mul nsw i32 %12, 16
%14 = sext i32 %13 to i64
store i64 %14, ptr %9, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%17 = call i32 @get_asc16_font(i64 noundef %15, ptr noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [16 x i8], ptr %10, i64 0, i64 0
%22 = call i32 @drawch16(ptr noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef %21)
ret void
}
declare i32 @get_asc16_font(i64 noundef, ptr noundef) #1
declare i32 @drawch16(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmp0s4n1tuu.c'
source_filename = "/tmp/tmp0s4n1tuu.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 [12 x i8] c"Numerator:\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Denominator:\09\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"%d / %d = %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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @specialFraction(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %26
17: ; preds = %0
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %5, align 4
%20 = call i32 @simplify(ptr noundef %2, ptr noundef %3)
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %17, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @specialFraction(i32 noundef, i32 noundef) #1
declare i32 @simplify(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/tmp0s4n1tuu.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 [12 x i8] c"Numerator:\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Denominator:\09\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"%d / %d = %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 i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @specialFraction(i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %26
17: ; preds = %0
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %3, align 4
store i32 %19, ptr %5, align 4
%20 = call i32 @simplify(ptr noundef %2, ptr noundef %3)
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %17, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @specialFraction(i32 noundef, i32 noundef) #1
declare i32 @simplify(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/tmpe96l1u1a.c'
source_filename = "/tmp/tmpe96l1u1a.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 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Warning: Stat of %s failed for reason other than not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fileExists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %19
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @perror(ptr noundef null)
store i32 0, ptr %2, align 4
br label %19
18: ; preds = %1
store i32 1, ptr %2, align 4
br label %19
19: ; preds = %18, %13, %12
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(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/tmpe96l1u1a.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 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [60 x i8] c"Warning: Stat of %s failed for reason other than not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fileExists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %19
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %3, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @perror(ptr noundef null)
store i32 0, ptr %2, align 4
br label %19
18: ; preds = %1
store i32 1, ptr %2, align 4
br label %19
19: ; preds = %18, %13, %12
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(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/tmpsvntl9mk.c'
source_filename = "/tmp/tmpsvntl9mk.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 @Cyc_Tcutil_check_nonzero_bound(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 = load ptr, ptr %4, align 8
%7 = call i32 @Cyc_Tcutil_check_bound(i32 noundef %5, i32 noundef 0, ptr noundef %6, i32 noundef 0)
ret void
}
declare i32 @Cyc_Tcutil_check_bound(i32 noundef, 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/tmpsvntl9mk.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 @Cyc_Tcutil_check_nonzero_bound(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 = load ptr, ptr %4, align 8
%7 = call i32 @Cyc_Tcutil_check_bound(i32 noundef %5, i32 noundef 0, ptr noundef %6, i32 noundef 0)
ret void
}
declare i32 @Cyc_Tcutil_check_bound(i32 noundef, 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/tmplw5cemqe.c'
source_filename = "/tmp/tmplw5cemqe.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 [8 x i8] c"DISPLAY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gp_getenv_display() #0 {
%1 = call ptr @getenv(ptr noundef @.str)
ret ptr %1
}
declare ptr @getenv(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/tmplw5cemqe.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 [8 x i8] c"DISPLAY\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gp_getenv_display() #0 {
%1 = call ptr @getenv(ptr noundef @.str)
ret ptr %1
}
declare ptr @getenv(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/tmphqmj3uki.c'
source_filename = "/tmp/tmphqmj3uki.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/tmphqmj3uki.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/tmpcp9pehe2.c'
source_filename = "/tmp/tmpcp9pehe2.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"BUBBLE SORT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bubblesort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %61, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %13, label %64
13: ; preds = %8
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %57, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = sub nsw i32 %16, %17
%19 = sub nsw i32 %18, 1
%20 = icmp slt i32 %15, %19
br i1 %20, label %21, label %60
21: ; preds = %14
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %27, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp sgt i32 %26, %32
br i1 %33, label %34, label %56
34: ; preds = %21
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
store i32 %39, ptr %7, align 4
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %40, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %45, ptr %49, align 4
%50 = load i32, ptr %7, align 4
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
store i32 %50, ptr %55, align 4
br label %56
56: ; preds = %34, %21
br label %57
57: ; preds = %56
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %14, !llvm.loop !6
60: ; preds = %14
br label %61
61: ; preds = %60
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
br label %8, !llvm.loop !8
64: ; preds = %8
%65 = call i32 @printf(ptr noundef @.str)
%66 = load ptr, ptr %3, align 8
%67 = load i32, ptr %4, align 4
%68 = call i32 @display(ptr noundef %66, i32 noundef %67)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @display(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/tmpcp9pehe2.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"BUBBLE SORT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bubblesort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %.lr.ph2, label %72
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %65
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = sub nsw i32 %16, 1
%18 = icmp slt i32 %13, %17
br i1 %18, label %.lr.ph, label %64
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %55
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %25, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp sgt i32 %24, %30
br i1 %31, label %32, label %54
32: ; preds = %19
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
store i32 %37, ptr %7, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
store i32 %48, ptr %53, align 4
br label %54
54: ; preds = %32, %19
br label %55
55: ; preds = %54
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %4, align 4
%60 = load i32, ptr %5, align 4
%61 = sub nsw i32 %59, %60
%62 = sub nsw i32 %61, 1
%63 = icmp slt i32 %58, %62
br i1 %63, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %55
br label %64
64: ; preds = %._crit_edge, %12
br label %65
65: ; preds = %64
%66 = load i32, ptr %5, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %5, align 4
%68 = load i32, ptr %5, align 4
%69 = load i32, ptr %4, align 4
%70 = sub nsw i32 %69, 1
%71 = icmp slt i32 %68, %70
br i1 %71, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %72
72: ; preds = %._crit_edge3, %2
%73 = call i32 @printf(ptr noundef @.str)
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %4, align 4
%76 = call i32 @display(ptr noundef %74, i32 noundef %75)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @display(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/tmp5jsdd2gi.c'
source_filename = "/tmp/tmp5jsdd2gi.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 @output_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %13, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = call i64 @output_byte(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %4
br label %4, !llvm.loop !6
14: ; preds = %4
ret void
}
declare i64 @output_byte(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/tmp5jsdd2gi.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 @output_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %4, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 1
store i32 %7, ptr %3, align 4
%8 = sext i32 %6 to i64
%9 = getelementptr inbounds i8, ptr %5, i64 %8
%10 = load i8, ptr %9, align 1
%11 = call i64 @output_byte(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %4, label %13, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i64 @output_byte(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/tmpm9s1iwzx.c'
source_filename = "/tmp/tmpm9s1iwzx.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 @parallax_to_lat_alt(double noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = call double @planet_axis_ratio(i32 noundef %12)
store double %13, ptr %9, align 8
%14 = load i32, ptr %8, align 4
%15 = call double @planet_radius_in_meters(i32 noundef %14)
store double %15, ptr %10, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %6, align 8
%18 = load double, ptr %9, align 8
%19 = load ptr, ptr %7, align 8
%20 = call double @find_closest_point_on_ellipse(double noundef %16, double noundef %17, i32 noundef 1, double noundef %18, ptr noundef %19)
store double %20, ptr %11, align 8
%21 = load double, ptr %11, align 8
%22 = load double, ptr %10, align 8
%23 = fmul double %21, %22
ret double %23
}
declare double @planet_axis_ratio(i32 noundef) #1
declare double @planet_radius_in_meters(i32 noundef) #1
declare double @find_closest_point_on_ellipse(double noundef, double noundef, i32 noundef, double 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/tmpm9s1iwzx.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 @parallax_to_lat_alt(double noundef %0, double noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = call double @planet_axis_ratio(i32 noundef %12)
store double %13, ptr %9, align 8
%14 = load i32, ptr %8, align 4
%15 = call double @planet_radius_in_meters(i32 noundef %14)
store double %15, ptr %10, align 8
%16 = load double, ptr %5, align 8
%17 = load double, ptr %6, align 8
%18 = load double, ptr %9, align 8
%19 = load ptr, ptr %7, align 8
%20 = call double @find_closest_point_on_ellipse(double noundef %16, double noundef %17, i32 noundef 1, double noundef %18, ptr noundef %19)
store double %20, ptr %11, align 8
%21 = load double, ptr %11, align 8
%22 = load double, ptr %10, align 8
%23 = fmul double %21, %22
ret double %23
}
declare double @planet_axis_ratio(i32 noundef) #1
declare double @planet_radius_in_meters(i32 noundef) #1
declare double @find_closest_point_on_ellipse(double noundef, double noundef, i32 noundef, double 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/tmpw9jwp1tu.c'
source_filename = "/tmp/tmpw9jwp1tu.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"\0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c" *****************************************************\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" * AMBER Bond Angle and Dihedral Parameter Optimiser *\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" * *\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c" * v3.0.0 *\0A\00", align 1
@.str.5 = private unnamed_addr constant [71 x i8] c" * Written by: *\0A\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c" * Robin Betz (2011) *\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" * Ross Walker (2004) *\0A\00", align 1
@.str.8 = private unnamed_addr constant [71 x i8] c" * The Walker Molecular Dynamics Lab *\0A\00", align 1
@.str.9 = private unnamed_addr constant [71 x i8] c" * University of California, San Diego *\0A\00", align 1
@.str.10 = private unnamed_addr constant [71 x i8] c" * La Jolla, California, 92092 *\0A\00", align 1
@.str.11 = private unnamed_addr constant [71 x i8] c" * USA *\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_program_info() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @printf(ptr noundef @.str)
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fflush(i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmpw9jwp1tu.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"\0A\00", align 1
@.str.1 = private unnamed_addr constant [71 x i8] c" *****************************************************\0A\00", align 1
@.str.2 = private unnamed_addr constant [71 x i8] c" * AMBER Bond Angle and Dihedral Parameter Optimiser *\0A\00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c" * *\0A\00", align 1
@.str.4 = private unnamed_addr constant [71 x i8] c" * v3.0.0 *\0A\00", align 1
@.str.5 = private unnamed_addr constant [71 x i8] c" * Written by: *\0A\00", align 1
@.str.6 = private unnamed_addr constant [71 x i8] c" * Robin Betz (2011) *\0A\00", align 1
@.str.7 = private unnamed_addr constant [71 x i8] c" * Ross Walker (2004) *\0A\00", align 1
@.str.8 = private unnamed_addr constant [71 x i8] c" * The Walker Molecular Dynamics Lab *\0A\00", align 1
@.str.9 = private unnamed_addr constant [71 x i8] c" * University of California, San Diego *\0A\00", align 1
@.str.10 = private unnamed_addr constant [71 x i8] c" * La Jolla, California, 92092 *\0A\00", align 1
@.str.11 = private unnamed_addr constant [71 x i8] c" * USA *\0A\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_program_info() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.9)
%12 = call i32 @printf(ptr noundef @.str.10)
%13 = call i32 @printf(ptr noundef @.str.11)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @printf(ptr noundef @.str)
%16 = load i32, ptr @stdout, align 4
%17 = call i32 @fflush(i32 noundef %16)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @fflush(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/tmpsali9wun.c'
source_filename = "/tmp/tmpsali9wun.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %4, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 4
store i32 %9, ptr %5, align 4
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %125, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %1, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %126
14: ; preds = %10
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %124, %14
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %1, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br label %23
23: ; preds = %19, %15
%24 = phi i1 [ false, %15 ], [ %22, %19 ]
br i1 %24, label %25, label %125
25: ; preds = %23
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
%28 = load i32, ptr %1, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %100
30: ; preds = %25
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %32, %33
%35 = zext i1 %34 to i32
%36 = call i32 @__VERIFIER_assert(i32 noundef %35)
%37 = load i32, ptr %2, align 4
%38 = icmp sle i32 0, %37
%39 = zext i1 %38 to i32
%40 = call i32 @__VERIFIER_assert(i32 noundef %39)
%41 = call i32 (...) @__VERIFIER_nondet_int()
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %44
43: ; preds = %30
br label %101
44: ; preds = %30
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %1, align 4
%47 = icmp slt i32 %45, %46
%48 = zext i1 %47 to i32
%49 = call i32 @__VERIFIER_assert(i32 noundef %48)
%50 = load i32, ptr %2, align 4
%51 = icmp sle i32 0, %50
%52 = zext i1 %51 to i32
%53 = call i32 @__VERIFIER_assert(i32 noundef %52)
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr %4, align 4
%56 = icmp slt i32 %54, %55
%57 = zext i1 %56 to i32
%58 = call i32 @__VERIFIER_assert(i32 noundef %57)
%59 = load i32, ptr %3, align 4
%60 = icmp sle i32 0, %59
%61 = zext i1 %60 to i32
%62 = call i32 @__VERIFIER_assert(i32 noundef %61)
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
%65 = load i32, ptr %2, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %2, align 4
%67 = load i32, ptr %2, align 4
%68 = load i32, ptr %1, align 4
%69 = icmp slt i32 %67, %68
%70 = zext i1 %69 to i32
%71 = call i32 @__VERIFIER_assert(i32 noundef %70)
%72 = load i32, ptr %2, align 4
%73 = icmp sle i32 0, %72
%74 = zext i1 %73 to i32
%75 = call i32 @__VERIFIER_assert(i32 noundef %74)
%76 = load i32, ptr %3, align 4
%77 = load i32, ptr %4, align 4
%78 = icmp slt i32 %76, %77
%79 = zext i1 %78 to i32
%80 = call i32 @__VERIFIER_assert(i32 noundef %79)
%81 = load i32, ptr %3, align 4
%82 = icmp sle i32 0, %81
%83 = zext i1 %82 to i32
%84 = call i32 @__VERIFIER_assert(i32 noundef %83)
%85 = load i32, ptr %3, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %3, align 4
%87 = load i32, ptr %2, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %2, align 4
%89 = load i32, ptr %3, align 4
%90 = load i32, ptr %4, align 4
%91 = icmp slt i32 %89, %90
%92 = zext i1 %91 to i32
%93 = call i32 @__VERIFIER_assert(i32 noundef %92)
%94 = load i32, ptr %3, align 4
%95 = icmp sle i32 0, %94
%96 = zext i1 %95 to i32
%97 = call i32 @__VERIFIER_assert(i32 noundef %96)
%98 = load i32, ptr %3, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %3, align 4
br label %124
100: ; preds = %25
br label %101
101: ; preds = %100, %43
%102 = load i32, ptr %2, align 4
%103 = load i32, ptr %1, align 4
%104 = icmp slt i32 %102, %103
%105 = zext i1 %104 to i32
%106 = call i32 @__VERIFIER_assert(i32 noundef %105)
%107 = load i32, ptr %2, align 4
%108 = icmp sle i32 0, %107
%109 = zext i1 %108 to i32
%110 = call i32 @__VERIFIER_assert(i32 noundef %109)
%111 = load i32, ptr %3, align 4
%112 = load i32, ptr %4, align 4
%113 = icmp slt i32 %111, %112
%114 = zext i1 %113 to i32
%115 = call i32 @__VERIFIER_assert(i32 noundef %114)
%116 = load i32, ptr %3, align 4
%117 = icmp sle i32 0, %116
%118 = zext i1 %117 to i32
%119 = call i32 @__VERIFIER_assert(i32 noundef %118)
%120 = load i32, ptr %3, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %3, align 4
%122 = load i32, ptr %2, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %2, align 4
br label %124
124: ; preds = %101, %44
br label %15, !llvm.loop !6
125: ; preds = %23
br label %10, !llvm.loop !8
126: ; preds = %10
ret void
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_assert(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/tmpsali9wun.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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %6, ptr %4, align 4
%7 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %7, ptr %1, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 4
store i32 %9, ptr %5, align 4
store i32 0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %128
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %124
store i32 0, ptr %3, align 4
br label %14
14: ; preds = %123, %13
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %1, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %124
24: ; preds = %22
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
%27 = load i32, ptr %1, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %99
29: ; preds = %24
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, 1
%32 = load i32, ptr %1, align 4
%33 = icmp slt i32 %31, %32
%34 = zext i1 %33 to i32
%35 = call i32 @__VERIFIER_assert(i32 noundef %34)
%36 = load i32, ptr %2, align 4
%37 = icmp sle i32 0, %36
%38 = zext i1 %37 to i32
%39 = call i32 @__VERIFIER_assert(i32 noundef %38)
%40 = call i32 (...) @__VERIFIER_nondet_int()
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %29
br label %100
43: ; preds = %29
%44 = load i32, ptr %2, align 4
%45 = load i32, ptr %1, align 4
%46 = icmp slt i32 %44, %45
%47 = zext i1 %46 to i32
%48 = call i32 @__VERIFIER_assert(i32 noundef %47)
%49 = load i32, ptr %2, align 4
%50 = icmp sle i32 0, %49
%51 = zext i1 %50 to i32
%52 = call i32 @__VERIFIER_assert(i32 noundef %51)
%53 = load i32, ptr %3, align 4
%54 = load i32, ptr %4, align 4
%55 = icmp slt i32 %53, %54
%56 = zext i1 %55 to i32
%57 = call i32 @__VERIFIER_assert(i32 noundef %56)
%58 = load i32, ptr %3, align 4
%59 = icmp sle i32 0, %58
%60 = zext i1 %59 to i32
%61 = call i32 @__VERIFIER_assert(i32 noundef %60)
%62 = load i32, ptr %3, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %3, align 4
%64 = load i32, ptr %2, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %2, align 4
%66 = load i32, ptr %2, align 4
%67 = load i32, ptr %1, align 4
%68 = icmp slt i32 %66, %67
%69 = zext i1 %68 to i32
%70 = call i32 @__VERIFIER_assert(i32 noundef %69)
%71 = load i32, ptr %2, align 4
%72 = icmp sle i32 0, %71
%73 = zext i1 %72 to i32
%74 = call i32 @__VERIFIER_assert(i32 noundef %73)
%75 = load i32, ptr %3, align 4
%76 = load i32, ptr %4, align 4
%77 = icmp slt i32 %75, %76
%78 = zext i1 %77 to i32
%79 = call i32 @__VERIFIER_assert(i32 noundef %78)
%80 = load i32, ptr %3, align 4
%81 = icmp sle i32 0, %80
%82 = zext i1 %81 to i32
%83 = call i32 @__VERIFIER_assert(i32 noundef %82)
%84 = load i32, ptr %3, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %3, align 4
%86 = load i32, ptr %2, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %2, align 4
%88 = load i32, ptr %3, align 4
%89 = load i32, ptr %4, align 4
%90 = icmp slt i32 %88, %89
%91 = zext i1 %90 to i32
%92 = call i32 @__VERIFIER_assert(i32 noundef %91)
%93 = load i32, ptr %3, align 4
%94 = icmp sle i32 0, %93
%95 = zext i1 %94 to i32
%96 = call i32 @__VERIFIER_assert(i32 noundef %95)
%97 = load i32, ptr %3, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %3, align 4
br label %123
99: ; preds = %24
br label %100
100: ; preds = %99, %42
%101 = load i32, ptr %2, align 4
%102 = load i32, ptr %1, align 4
%103 = icmp slt i32 %101, %102
%104 = zext i1 %103 to i32
%105 = call i32 @__VERIFIER_assert(i32 noundef %104)
%106 = load i32, ptr %2, align 4
%107 = icmp sle i32 0, %106
%108 = zext i1 %107 to i32
%109 = call i32 @__VERIFIER_assert(i32 noundef %108)
%110 = load i32, ptr %3, align 4
%111 = load i32, ptr %4, align 4
%112 = icmp slt i32 %110, %111
%113 = zext i1 %112 to i32
%114 = call i32 @__VERIFIER_assert(i32 noundef %113)
%115 = load i32, ptr %3, align 4
%116 = icmp sle i32 0, %115
%117 = zext i1 %116 to i32
%118 = call i32 @__VERIFIER_assert(i32 noundef %117)
%119 = load i32, ptr %3, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %3, align 4
%121 = load i32, ptr %2, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %2, align 4
br label %123
123: ; preds = %100, %43
br label %14, !llvm.loop !6
124: ; preds = %22
%125 = load i32, ptr %2, align 4
%126 = load i32, ptr %1, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %13, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %124
br label %128
128: ; preds = %._crit_edge, %0
ret void
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_assert(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/tmpi6x2qrey.c'
source_filename = "/tmp/tmpi6x2qrey.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/tmpi6x2qrey.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/tmpd9nxuovn.c'
source_filename = "/tmp/tmpd9nxuovn.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 @cmd_getch(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 @check_arg_count(i32 noundef %5, i32 noundef 0)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %13
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 (...) @getch()
%12 = call i32 @report_int(i32 noundef %11)
br label %13
13: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_int(i32 noundef) #1
declare i32 @getch(...) #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/tmpd9nxuovn.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 @cmd_getch(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 @check_arg_count(i32 noundef %5, i32 noundef 0)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %13
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 (...) @getch()
%12 = call i32 @report_int(i32 noundef %11)
br label %13
13: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_int(i32 noundef) #1
declare i32 @getch(...) #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_s50cj1d.c'
source_filename = "/tmp/tmp_s50cj1d.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 @FILE_SIZE(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 = call i32 @fsize(ptr noundef %5)
ret i32 %6
}
declare i32 @fsize(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/tmp_s50cj1d.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 @FILE_SIZE(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 = call i32 @fsize(ptr noundef %5)
ret i32 %6
}
declare i32 @fsize(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/tmpkev84amd.c'
source_filename = "/tmp/tmpkev84amd.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 [24 x i8] c"%s: error opening file\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"----------New file----------\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Title: %s\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Page %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"%s: error in file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1000 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
br label %47
13: ; preds = %1
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
br label %17
17: ; preds = %31, %13
%18 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%19 = load ptr, ptr %3, align 8
%20 = call ptr @fgets(ptr noundef %18, i32 noundef 1000, ptr noundef %19)
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %36
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = srem i32 %23, 30
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %27)
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
br label %31
31: ; preds = %26, %22
%32 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %32)
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %17, !llvm.loop !6
36: ; preds = %17
%37 = load ptr, ptr %3, align 8
%38 = call i64 @ferror(ptr noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %36
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %2, align 8
%43 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.6, ptr noundef %42)
br label %44
44: ; preds = %40, %36
%45 = load ptr, ptr %3, align 8
%46 = call i32 @fclose(ptr noundef %45)
br label %47
47: ; preds = %44, %10
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmpkev84amd.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 [24 x i8] c"%s: error opening file\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"----------New file----------\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Title: %s\0A\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Page %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [19 x i8] c"%s: error in file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [1000 x i8], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %5, align 4
store i32 1, ptr %6, align 4
%7 = load ptr, ptr %2, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %11)
br label %49
13: ; preds = %1
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
%17 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%18 = load ptr, ptr %3, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 1000, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %13
br label %21
21: ; preds = %.lr.ph, %30
%22 = load i32, ptr %5, align 4
%23 = srem i32 %22, 30
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %21
%26 = load i32, ptr %6, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26)
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %25, %21
%31 = getelementptr inbounds [1000 x i8], ptr %4, i64 0, i64 0
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %31)
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load ptr, ptr %3, align 8
%36 = call ptr @fgets(ptr noundef %17, i32 noundef 1000, ptr noundef %35)
%37 = icmp ne ptr %36, null
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %38
38: ; preds = %._crit_edge, %13
%39 = load ptr, ptr %3, align 8
%40 = call i64 @ferror(ptr noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr @stderr, align 4
%44 = load ptr, ptr %2, align 8
%45 = call i32 @fprintf(i32 noundef %43, ptr noundef @.str.6, ptr noundef %44)
br label %46
46: ; preds = %42, %38
%47 = load ptr, ptr %3, align 8
%48 = call i32 @fclose(ptr noundef %47)
br label %49
49: ; preds = %46, %10
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, 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/tmpupqbowem.c'
source_filename = "/tmp/tmpupqbowem.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 @last_word_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %21, %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br label %19
19: ; preds = %14, %9
%20 = phi i1 [ false, %9 ], [ %18, %14 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %3, align 8
br label %9, !llvm.loop !6
24: ; preds = %19
br label %25
25: ; preds = %37, %24
%26 = load ptr, ptr %3, align 8
%27 = load ptr, ptr %2, align 8
%28 = icmp ugt ptr %26, %27
br i1 %28, label %29, label %40
29: ; preds = %25
%30 = load ptr, ptr %3, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %37
34: ; preds = %29
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %3, align 8
br label %40
37: ; preds = %29
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 -1
store ptr %39, ptr %3, align 8
br label %25, !llvm.loop !8
40: ; preds = %34, %25
%41 = load ptr, ptr %3, align 8
ret ptr %41
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpupqbowem.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 @last_word_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %4, i64 %7
store ptr %8, ptr %3, align 8
br label %9
9: ; preds = %21, %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %19
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br label %19
19: ; preds = %14, %9
%20 = phi i1 [ false, %9 ], [ %18, %14 ]
br i1 %20, label %21, label %24
21: ; preds = %19
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 -1
store ptr %23, ptr %3, align 8
br label %9, !llvm.loop !6
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %2, align 8
%27 = icmp ugt ptr %25, %26
br i1 %27, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %36
%29 = load ptr, ptr %3, align 8
%30 = load i8, ptr %29, align 1
%31 = call i64 @isspace(i8 noundef signext %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %3, align 8
br label %42
36: ; preds = %28
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 -1
store ptr %38, ptr %3, align 8
%39 = load ptr, ptr %3, align 8
%40 = load ptr, ptr %2, align 8
%41 = icmp ugt ptr %39, %40
br i1 %41, label %28, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %36
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %24
br label %42
42: ; preds = %.loopexit, %33
%43 = load ptr, ptr %3, align 8
ret ptr %43
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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}
|
; ModuleID = '/tmp/tmpzh7ogpd0.c'
source_filename = "/tmp/tmpzh7ogpd0.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 @t8(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
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/tmpzh7ogpd0.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 @t8(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
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/tmpzoqdfpq0.c'
source_filename = "/tmp/tmpzoqdfpq0.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 @Pieri_polynomial_system(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca [3 x i32], align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %28, %29
%31 = mul nsw i32 %27, %30
%32 = add nsw i32 %26, %31
store i32 %32, ptr %15, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %34, %35
%37 = mul nsw i32 %33, %36
store i32 %37, ptr %16, align 4
%38 = load i32, ptr %15, align 4
%39 = load i32, ptr %16, align 4
%40 = mul nsw i32 %38, %39
store i32 %40, ptr %17, align 4
%41 = load i32, ptr %17, align 4
%42 = mul nsw i32 2, %41
store i32 %42, ptr %18, align 4
%43 = load i32, ptr %17, align 4
%44 = zext i32 %43 to i64
%45 = call ptr @llvm.stacksave()
store ptr %45, ptr %21, align 8
%46 = alloca double, i64 %44, align 16
store i64 %44, ptr %22, align 8
%47 = load i32, ptr %18, align 4
%48 = zext i32 %47 to i64
%49 = alloca double, i64 %48, align 16
store i64 %48, ptr %23, align 8
%50 = load i32, ptr %12, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %79
52: ; preds = %6
%53 = load i32, ptr %15, align 4
%54 = load i32, ptr %16, align 4
%55 = load ptr, ptr %11, align 8
%56 = call i32 @scan_input_planes(i32 noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %46)
store i32 %56, ptr %14, align 4
store i32 0, ptr %13, align 4
br label %57
57: ; preds = %75, %52
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %17, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %78
61: ; preds = %57
%62 = load i32, ptr %13, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %46, i64 %63
%65 = load double, ptr %64, align 8
%66 = load i32, ptr %13, align 4
%67 = mul nsw i32 2, %66
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %49, i64 %68
store double %65, ptr %69, align 8
%70 = load i32, ptr %13, align 4
%71 = mul nsw i32 2, %70
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %49, i64 %73
store double 0.000000e+00, ptr %74, align 8
br label %75
75: ; preds = %61
%76 = load i32, ptr %13, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %13, align 4
br label %57, !llvm.loop !6
78: ; preds = %57
br label %85
79: ; preds = %6
%80 = load i32, ptr %15, align 4
%81 = load i32, ptr %16, align 4
%82 = mul nsw i32 2, %81
%83 = load ptr, ptr %11, align 8
%84 = call i32 @scan_input_planes(i32 noundef %80, i32 noundef %82, ptr noundef %83, ptr noundef %49)
store i32 %84, ptr %14, align 4
br label %85
85: ; preds = %79, %78
%86 = load i32, ptr %7, align 4
%87 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 0
store i32 %86, ptr %87, align 4
%88 = load i32, ptr %8, align 4
%89 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 1
store i32 %88, ptr %89, align 4
%90 = load i32, ptr %9, align 4
%91 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 2
store i32 %90, ptr %91, align 4
%92 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 0
%93 = load ptr, ptr %20, align 8
%94 = call i32 @_ada_use_c2phc4c(i32 noundef 227, ptr noundef %92, ptr noundef %93, ptr noundef %49, i32 noundef 0)
store i32 %94, ptr %14, align 4
%95 = load i32, ptr %14, align 4
%96 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %96)
ret i32 %95
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scan_input_planes(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr 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/tmpzoqdfpq0.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 @Pieri_polynomial_system(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca [3 x i32], align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 %5, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %8, align 4
%26 = mul nsw i32 %24, %25
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %28, %29
%31 = mul nsw i32 %27, %30
%32 = add nsw i32 %26, %31
store i32 %32, ptr %15, align 4
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %34, %35
%37 = mul nsw i32 %33, %36
store i32 %37, ptr %16, align 4
%38 = load i32, ptr %15, align 4
%39 = load i32, ptr %16, align 4
%40 = mul nsw i32 %38, %39
store i32 %40, ptr %17, align 4
%41 = load i32, ptr %17, align 4
%42 = mul nsw i32 2, %41
store i32 %42, ptr %18, align 4
%43 = load i32, ptr %17, align 4
%44 = zext i32 %43 to i64
%45 = call ptr @llvm.stacksave()
store ptr %45, ptr %21, align 8
%46 = alloca double, i64 %44, align 16
store i64 %44, ptr %22, align 8
%47 = load i32, ptr %18, align 4
%48 = zext i32 %47 to i64
%49 = alloca double, i64 %48, align 16
store i64 %48, ptr %23, align 8
%50 = load i32, ptr %12, align 4
%51 = icmp eq i32 %50, 1
br i1 %51, label %52, label %81
52: ; preds = %6
%53 = load i32, ptr %15, align 4
%54 = load i32, ptr %16, align 4
%55 = load ptr, ptr %11, align 8
%56 = call i32 @scan_input_planes(i32 noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %46)
store i32 %56, ptr %14, align 4
store i32 0, ptr %13, align 4
%57 = load i32, ptr %13, align 4
%58 = load i32, ptr %17, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %.lr.ph, label %80
.lr.ph: ; preds = %52
br label %60
60: ; preds = %.lr.ph, %74
%61 = load i32, ptr %13, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %46, i64 %62
%64 = load double, ptr %63, align 8
%65 = load i32, ptr %13, align 4
%66 = mul nsw i32 2, %65
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds double, ptr %49, i64 %67
store double %64, ptr %68, align 8
%69 = load i32, ptr %13, align 4
%70 = mul nsw i32 2, %69
%71 = add nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %49, i64 %72
store double 0.000000e+00, ptr %73, align 8
br label %74
74: ; preds = %60
%75 = load i32, ptr %13, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %13, align 4
%77 = load i32, ptr %13, align 4
%78 = load i32, ptr %17, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %60, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %52
br label %87
81: ; preds = %6
%82 = load i32, ptr %15, align 4
%83 = load i32, ptr %16, align 4
%84 = mul nsw i32 2, %83
%85 = load ptr, ptr %11, align 8
%86 = call i32 @scan_input_planes(i32 noundef %82, i32 noundef %84, ptr noundef %85, ptr noundef %49)
store i32 %86, ptr %14, align 4
br label %87
87: ; preds = %81, %80
%88 = load i32, ptr %7, align 4
%89 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 0
store i32 %88, ptr %89, align 4
%90 = load i32, ptr %8, align 4
%91 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 1
store i32 %90, ptr %91, align 4
%92 = load i32, ptr %9, align 4
%93 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 2
store i32 %92, ptr %93, align 4
%94 = getelementptr inbounds [3 x i32], ptr %19, i64 0, i64 0
%95 = load ptr, ptr %20, align 8
%96 = call i32 @_ada_use_c2phc4c(i32 noundef 227, ptr noundef %94, ptr noundef %95, ptr noundef %49, i32 noundef 0)
store i32 %96, ptr %14, align 4
%97 = load i32, ptr %14, align 4
%98 = load ptr, ptr %21, align 8
call void @llvm.stackrestore(ptr %98)
ret i32 %97
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @scan_input_planes(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr 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/tmp9h9cdbxi.c'
source_filename = "/tmp/tmp9h9cdbxi.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 @_U_Qfle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
store x86_fp80 %1, ptr %4, align 16
%5 = load x86_fp80, ptr %3, align 16
%6 = load x86_fp80, ptr %4, align 16
%7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 13)
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmp9h9cdbxi.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 @_U_Qfle(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
store x86_fp80 %1, ptr %4, align 16
%5 = load x86_fp80, ptr %3, align 16
%6 = load x86_fp80, ptr %4, align 16
%7 = call i64 @_U_Qfcmp(x86_fp80 noundef %5, x86_fp80 noundef %6, i32 noundef 13)
%8 = icmp ne i64 %7, 0
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i64 @_U_Qfcmp(x86_fp80 noundef, x86_fp80 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/tmpwdfba1fg.c'
source_filename = "/tmp/tmpwdfba1fg.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 [9 x i8] c"%lld%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f2(float noundef %0, double noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca float, align 4
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store float %0, ptr %3, align 4
store double %1, ptr %4, align 8
%9 = load float, ptr %3, align 4
%10 = call float @modff(float noundef %9, ptr noundef %5) #3
store float %10, ptr %3, align 4
%11 = load double, ptr %4, align 8
%12 = call double @modf(double noundef %11, ptr noundef %6) #3
store double %12, ptr %4, align 8
%13 = call i64 @malloc(i32 noundef 100)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load float, ptr %5, align 4
%17 = fptosi float %16 to i64
%18 = load double, ptr %6, align 8
%19 = fptosi double %18 to i64
%20 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, i64 noundef %17, i64 noundef %19)
%21 = load ptr, ptr %7, align 8
ret ptr %21
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @modf(double noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef, i64 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 = { 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 = { "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 = { 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/tmpwdfba1fg.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 [9 x i8] c"%lld%lld\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @f2(float noundef %0, double noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca double, align 8
%5 = alloca float, align 4
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store float %0, ptr %3, align 4
store double %1, ptr %4, align 8
%9 = load float, ptr %3, align 4
%10 = call float @modff(float noundef %9, ptr noundef %5) #3
store float %10, ptr %3, align 4
%11 = load double, ptr %4, align 8
%12 = call double @modf(double noundef %11, ptr noundef %6) #3
store double %12, ptr %4, align 8
%13 = call i64 @malloc(i32 noundef 100)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load float, ptr %5, align 4
%17 = fptosi float %16 to i64
%18 = load double, ptr %6, align 8
%19 = fptosi double %18 to i64
%20 = call i32 @sprintf(ptr noundef %15, ptr noundef @.str, i64 noundef %17, i64 noundef %19)
%21 = load ptr, ptr %7, align 8
ret ptr %21
}
; Function Attrs: nounwind
declare float @modff(float noundef, ptr noundef) #1
; Function Attrs: nounwind
declare double @modf(double noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef, i64 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 = { 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 = { "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 = { 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/tmphjjhs8wr.c'
source_filename = "/tmp/tmphjjhs8wr.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/tmphjjhs8wr.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/tmpwchwf9jw.c'
source_filename = "/tmp/tmpwchwf9jw.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 @setArrayB(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
store i32 %7, ptr %11, 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/tmpwchwf9jw.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 @setArrayB(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i32, ptr %8, i64 %10
store i32 %7, ptr %11, 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/tmp9vk0pckm.c'
source_filename = "/tmp/tmp9vk0pckm.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 @SSET_POINT_GAUSS_LEGENDRE(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
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
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @sset_point_gauss_legendre_(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @sset_point_gauss_legendre_(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/tmp9vk0pckm.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 @SSET_POINT_GAUSS_LEGENDRE(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
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
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @sset_point_gauss_legendre_(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @sset_point_gauss_legendre_(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/tmpxhfv2h_r.c'
source_filename = "/tmp/tmpxhfv2h_r.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"Cannot create node :(\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"After adding two nodes.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"After removing one node.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%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 i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = call ptr @create_node(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
br label %15
15: ; preds = %13, %0
%16 = load ptr, ptr %3, align 8
%17 = call ptr @create_list(ptr noundef %16)
store ptr %17, ptr %2, align 8
%18 = load i32, ptr %7, align 4
%19 = call ptr @create_node(i32 noundef %18)
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %15
%23 = call i32 @printf(ptr noundef @.str)
br label %24
24: ; preds = %22, %15
%25 = load i32, ptr %8, align 4
%26 = call ptr @create_node(i32 noundef %25)
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %24
%30 = call i32 @printf(ptr noundef @.str)
br label %31
31: ; preds = %29, %24
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @append_node(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @append_node(ptr noundef %35, ptr noundef %36)
%38 = call i32 @printf(ptr noundef @.str.1)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @print_list(ptr noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = load ptr, ptr %3, align 8
%43 = call ptr @remove_node(ptr noundef %41, ptr noundef %42)
store ptr %43, ptr %2, align 8
%44 = call i32 @printf(ptr noundef @.str.2)
%45 = load ptr, ptr %2, align 8
%46 = call i32 @print_list(ptr noundef %45)
ret i32 0
}
declare ptr @create_node(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @create_list(ptr noundef) #1
declare i32 @append_node(ptr noundef, ptr noundef) #1
declare i32 @print_list(ptr noundef) #1
declare ptr @remove_node(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/tmpxhfv2h_r.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"Cannot create node :(\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"After adding two nodes.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"After removing one node.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%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 i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
store i32 2, ptr %7, align 4
store i32 3, ptr %8, align 4
%9 = load i32, ptr %6, align 4
%10 = call ptr @create_node(i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
br label %15
15: ; preds = %13, %0
%16 = load ptr, ptr %3, align 8
%17 = call ptr @create_list(ptr noundef %16)
store ptr %17, ptr %2, align 8
%18 = load i32, ptr %7, align 4
%19 = call ptr @create_node(i32 noundef %18)
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %24, label %22
22: ; preds = %15
%23 = call i32 @printf(ptr noundef @.str)
br label %24
24: ; preds = %22, %15
%25 = load i32, ptr %8, align 4
%26 = call ptr @create_node(i32 noundef %25)
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %31, label %29
29: ; preds = %24
%30 = call i32 @printf(ptr noundef @.str)
br label %31
31: ; preds = %29, %24
%32 = load ptr, ptr %2, align 8
%33 = load ptr, ptr %4, align 8
%34 = call i32 @append_node(ptr noundef %32, ptr noundef %33)
%35 = load ptr, ptr %2, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @append_node(ptr noundef %35, ptr noundef %36)
%38 = call i32 @printf(ptr noundef @.str.1)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @print_list(ptr noundef %39)
%41 = load ptr, ptr %2, align 8
%42 = load ptr, ptr %3, align 8
%43 = call ptr @remove_node(ptr noundef %41, ptr noundef %42)
store ptr %43, ptr %2, align 8
%44 = call i32 @printf(ptr noundef @.str.2)
%45 = load ptr, ptr %2, align 8
%46 = call i32 @print_list(ptr noundef %45)
ret i32 0
}
declare ptr @create_node(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @create_list(ptr noundef) #1
declare i32 @append_node(ptr noundef, ptr noundef) #1
declare i32 @print_list(ptr noundef) #1
declare ptr @remove_node(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/tmp5vtgliqo.c'
source_filename = "/tmp/tmp5vtgliqo.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 @_flushlbf() #0 {
%1 = call i32 @fflush(i32 noundef 0)
ret void
}
declare i32 @fflush(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/tmp5vtgliqo.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 @_flushlbf() #0 {
%1 = call i32 @fflush(i32 noundef 0)
ret void
}
declare i32 @fflush(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/tmpo14gdzuk.c'
source_filename = "/tmp/tmpo14gdzuk.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"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmpo14gdzuk.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"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmp0hqo74ab.c'
source_filename = "/tmp/tmp0hqo74ab.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 [36 x i8] c"Before manipulation with pointers \0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"n is: %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 25, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
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/tmp0hqo74ab.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 [36 x i8] c"Before manipulation with pointers \0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"n is: %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 25, ptr %6, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
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/tmpckx07yan.c'
source_filename = "/tmp/tmpckx07yan.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 @pce_pidfile_delete(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 i32 @unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @unlink(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/tmpckx07yan.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 @pce_pidfile_delete(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 i32 @unlink(ptr noundef %3)
ret i32 %4
}
declare i32 @unlink(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/tmp11x0tqfs.c'
source_filename = "/tmp/tmp11x0tqfs.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 @intern_free_dico(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %22, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 27
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds ptr, ptr %11, i64 %13
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %22
18: ; preds = %10
%19 = load ptr, ptr %5, align 8
call void @intern_free_dico(ptr noundef %19)
%20 = load ptr, ptr %5, align 8
%21 = call i32 @free(ptr noundef %20)
br label %22
22: ; preds = %18, %10
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp11x0tqfs.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 @intern_free_dico(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 27
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %21
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds ptr, ptr %10, i64 %12
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %21
17: ; preds = %9
%18 = load ptr, ptr %5, align 8
call void @intern_free_dico(ptr noundef %18)
%19 = load ptr, ptr %5, align 8
%20 = call i32 @free(ptr noundef %19)
br label %21
21: ; preds = %17, %9
%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 = icmp slt i32 %24, 27
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu9ikzljn.c'
source_filename = "/tmp/tmpu9ikzljn.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"
@GMP_RNDD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mul_lo(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load i32, ptr @GMP_RNDD, align 4
%6 = call i32 @mpfr_set_default_rounding_mode(i32 noundef %5)
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fmul double %7, %8
ret double %9
}
declare i32 @mpfr_set_default_rounding_mode(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/tmpu9ikzljn.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"
@GMP_RNDD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @mul_lo(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load i32, ptr @GMP_RNDD, align 4
%6 = call i32 @mpfr_set_default_rounding_mode(i32 noundef %5)
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = fmul double %7, %8
ret double %9
}
declare i32 @mpfr_set_default_rounding_mode(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/tmpejop0tum.c'
source_filename = "/tmp/tmpejop0tum.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"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @join_paths(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %7, %9
%11 = add nsw i32 %10, 2
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 47
br i1 %20, label %21, label %34
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %22, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 47
br i1 %30, label %31, label %34
31: ; preds = %21
%32 = load ptr, ptr %5, align 8
%33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str)
br label %34
34: ; preds = %31, %21, %2
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i32 @strcat(ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %5, align 8
ret ptr %38
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpejop0tum.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"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @join_paths(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %7, %9
%11 = add nsw i32 %10, 2
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @strcpy(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 47
br i1 %20, label %21, label %34
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %3, align 8
%24 = call i32 @strlen(ptr noundef %23)
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %22, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 47
br i1 %30, label %31, label %34
31: ; preds = %21
%32 = load ptr, ptr %5, align 8
%33 = call i32 @strcat(ptr noundef %32, ptr noundef @.str)
br label %34
34: ; preds = %31, %21, %2
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %4, align 8
%37 = call i32 @strcat(ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %5, align 8
ret ptr %38
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpk8eqe51t.c'
source_filename = "/tmp/tmpk8eqe51t.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/tmpk8eqe51t.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/tmpd35wpcrr.c'
source_filename = "/tmp/tmpd35wpcrr.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"\0A testcase 1 complete. \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"\0A testcase 2 complete. \0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0A testcase 3 complete. \0A\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 (...) @BufInit()
%3 = call i32 (...) @testcase1()
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %8
7: ; preds = %0
br label %21
8: ; preds = %5
%9 = call i32 (...) @testcase2()
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.1)
br label %14
13: ; preds = %8
br label %21
14: ; preds = %11
%15 = call i32 (...) @testcase3()
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.2)
br label %20
19: ; preds = %14
br label %21
20: ; preds = %17
br label %21
21: ; preds = %20, %19, %13, %7
%22 = call i32 (...) @BufFinish()
ret i32 0
}
declare i32 @BufInit(...) #1
declare i32 @testcase1(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @testcase2(...) #1
declare i32 @testcase3(...) #1
declare i32 @BufFinish(...) #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/tmpd35wpcrr.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"\0A testcase 1 complete. \0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"\0A testcase 2 complete. \0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"\0A testcase 3 complete. \0A\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 (...) @BufInit()
%3 = call i32 (...) @testcase1()
%4 = icmp eq i32 %3, 1
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str)
br label %8
7: ; preds = %0
br label %21
8: ; preds = %5
%9 = call i32 (...) @testcase2()
%10 = icmp eq i32 %9, 1
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @printf(ptr noundef @.str.1)
br label %14
13: ; preds = %8
br label %21
14: ; preds = %11
%15 = call i32 (...) @testcase3()
%16 = icmp eq i32 %15, 1
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.2)
br label %20
19: ; preds = %14
br label %21
20: ; preds = %17
br label %21
21: ; preds = %20, %19, %13, %7
%22 = call i32 (...) @BufFinish()
ret i32 0
}
declare i32 @BufInit(...) #1
declare i32 @testcase1(...) #1
declare i32 @printf(ptr noundef) #1
declare i32 @testcase2(...) #1
declare i32 @testcase3(...) #1
declare i32 @BufFinish(...) #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/tmp20lan_9h.c'
source_filename = "/tmp/tmp20lan_9h.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 [83 x i8] c"usage: %s [-f J|C[separator]] [-o outputfile] [-a sum_name] metadata.mfs PATH ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr 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/tmp20lan_9h.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 [83 x i8] c"usage: %s [-f J|C[separator]] [-o outputfile] [-a sum_name] metadata.mfs PATH ...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(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 i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr 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/tmpvxgwppom.c'
source_filename = "/tmp/tmpvxgwppom.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 @wrap_resetty() #0 {
%1 = call i32 (...) @resetty()
ret i32 %1
}
declare i32 @resetty(...) #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/tmpvxgwppom.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 @wrap_resetty() #0 {
%1 = call i32 (...) @resetty()
ret i32 %1
}
declare i32 @resetty(...) #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/tmp7un0xb97.c'
source_filename = "/tmp/tmp7un0xb97.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"%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
store i32 1, ptr %2, align 4
%3 = call i32 @addone(ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @addone(ptr noundef) #1
declare i32 @printf(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/tmp7un0xb97.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"%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
store i32 1, ptr %2, align 4
%3 = call i32 @addone(ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @addone(ptr noundef) #1
declare i32 @printf(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/tmphim6_i6q.c'
source_filename = "/tmp/tmphim6_i6q.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/tmphim6_i6q.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/tmprrept2qn.c'
source_filename = "/tmp/tmprrept2qn.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"
@KVM_RUN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kvm_run(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @KVM_RUN, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
ret i32 %5
}
declare i32 @ioctl(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/tmprrept2qn.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"
@KVM_RUN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @kvm_run(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr @KVM_RUN, align 4
%5 = call i32 @ioctl(i32 noundef %3, i32 noundef %4, i32 noundef 0)
ret i32 %5
}
declare i32 @ioctl(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"}
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.