llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmptwsu2iar.c'
source_filename = "/tmp/tmptwsu2iar.c"
target datalayout = "e-m:e-p270: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 @GPIOPinTypeTrace(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 = call i32 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 2)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 1, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptwsu2iar.c"
target datalayout = "e-m:e-p270: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 @GPIOPinTypeTrace(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 = call i32 @GPIODirModeSet(i32 noundef %5, i32 noundef %6, i32 noundef 2)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @GPIOPadConfigSet(i32 noundef %8, i32 noundef %9, i32 noundef 1, i32 noundef 8)
ret void
}
declare i32 @GPIODirModeSet(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @GPIOPadConfigSet(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaxgk2csy.c'
source_filename = "/tmp/tmpaxgk2csy.c"
target datalayout = "e-m:e-p270: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 @memcpy(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 i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %11, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %14, 12
br i1 %15, label %16, label %32
16: ; preds = %3
store i64 0, ptr %8, align 8
br label %17
17: ; preds = %27, %16
%18 = load i64, ptr %8, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %30
21: ; preds = %17
%22 = load ptr, ptr %11, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %11, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %10, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %10, align 8
store i8 %24, ptr %25, align 1
br label %27
27: ; preds = %21
%28 = load i64, ptr %8, align 8
%29 = add i64 %28, 1
store i64 %29, ptr %8, align 8
br label %17, !llvm.loop !6
30: ; preds = %17
%31 = load ptr, ptr %5, align 8
store ptr %31, ptr %4, align 8
br label %98
32: ; preds = %3
%33 = load ptr, ptr %10, align 8
%34 = ptrtoint ptr %33 to i32
%35 = sext i32 %34 to i64
%36 = and i64 %35, 3
store i64 %36, ptr %9, align 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %58
38: ; preds = %32
%39 = load i64, ptr %9, align 8
%40 = sub i64 4, %39
store i64 %40, ptr %9, align 8
%41 = load i64, ptr %9, align 8
%42 = load i64, ptr %7, align 8
%43 = sub i64 %42, %41
store i64 %43, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %44
44: ; preds = %54, %38
%45 = load i64, ptr %8, align 8
%46 = load i64, ptr %9, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %48, label %57
48: ; preds = %44
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %11, align 8
%51 = load i8, ptr %49, align 1
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %10, align 8
store i8 %51, ptr %52, align 1
br label %54
54: ; preds = %48
%55 = load i64, ptr %8, align 8
%56 = add i64 %55, 1
store i64 %56, ptr %8, align 8
br label %44, !llvm.loop !8
57: ; preds = %44
br label %58
58: ; preds = %57, %32
%59 = load i64, ptr %7, align 8
%60 = udiv i64 %59, 4
store i64 %60, ptr %9, align 8
store i64 0, ptr %8, align 8
br label %61
61: ; preds = %73, %58
%62 = load i64, ptr %8, align 8
%63 = load i64, ptr %9, align 8
%64 = icmp ult i64 %62, %63
br i1 %64, label %65, label %76
65: ; preds = %61
%66 = load ptr, ptr %11, align 8
%67 = load i32, ptr %66, align 4
%68 = load ptr, ptr %10, align 8
store i32 %67, ptr %68, align 4
%69 = load ptr, ptr %10, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 4
store ptr %70, ptr %10, align 8
%71 = load ptr, ptr %11, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 4
store ptr %72, ptr %11, align 8
br label %73
73: ; preds = %65
%74 = load i64, ptr %8, align 8
%75 = add i64 %74, 1
store i64 %75, ptr %8, align 8
br label %61, !llvm.loop !9
76: ; preds = %61
%77 = load i64, ptr %7, align 8
%78 = and i64 %77, 3
store i64 %78, ptr %9, align 8
%79 = load i64, ptr %9, align 8
%80 = icmp ne i64 %79, 0
br i1 %80, label %81, label %96
81: ; preds = %76
store i64 0, ptr %8, align 8
br label %82
82: ; preds = %92, %81
%83 = load i64, ptr %8, align 8
%84 = load i64, ptr %9, align 8
%85 = icmp ult i64 %83, %84
br i1 %85, label %86, label %95
86: ; preds = %82
%87 = load ptr, ptr %11, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %11, align 8
%89 = load i8, ptr %87, align 1
%90 = load ptr, ptr %10, align 8
%91 = getelementptr inbounds i8, ptr %90, i32 1
store ptr %91, ptr %10, align 8
store i8 %89, ptr %90, align 1
br label %92
92: ; preds = %86
%93 = load i64, ptr %8, align 8
%94 = add i64 %93, 1
store i64 %94, ptr %8, align 8
br label %82, !llvm.loop !10
95: ; preds = %82
br label %96
96: ; preds = %95, %76
%97 = load ptr, ptr %5, align 8
store ptr %97, ptr %4, align 8
br label %98
98: ; preds = %96, %30
%99 = load ptr, ptr %4, align 8
ret ptr %99
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaxgk2csy.c"
target datalayout = "e-m:e-p270: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 @memcpy(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 i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %11, align 8
%14 = load i64, ptr %7, align 8
%15 = icmp ult i64 %14, 12
br i1 %15, label %16, label %34
16: ; preds = %3
store i64 0, ptr %8, align 8
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph8, label %32
.lr.ph8: ; preds = %16
br label %20
20: ; preds = %.lr.ph8, %26
%21 = load ptr, ptr %11, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %11, align 8
%23 = load i8, ptr %21, align 1
%24 = load ptr, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %10, align 8
store i8 %23, ptr %24, align 1
br label %26
26: ; preds = %20
%27 = load i64, ptr %8, align 8
%28 = add i64 %27, 1
store i64 %28, ptr %8, align 8
%29 = load i64, ptr %8, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp ult i64 %29, %30
br i1 %31, label %20, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %26
br label %32
32: ; preds = %._crit_edge9, %16
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %106
34: ; preds = %3
%35 = load ptr, ptr %10, align 8
%36 = ptrtoint ptr %35 to i32
%37 = sext i32 %36 to i64
%38 = and i64 %37, 3
store i64 %38, ptr %9, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %62
40: ; preds = %34
%41 = load i64, ptr %9, align 8
%42 = sub i64 4, %41
store i64 %42, ptr %9, align 8
%43 = load i64, ptr %9, align 8
%44 = load i64, ptr %7, align 8
%45 = sub i64 %44, %43
store i64 %45, ptr %7, align 8
store i64 0, ptr %8, align 8
%46 = load i64, ptr %8, align 8
%47 = load i64, ptr %9, align 8
%48 = icmp ult i64 %46, %47
br i1 %48, label %.lr.ph, label %61
.lr.ph: ; preds = %40
br label %49
49: ; preds = %.lr.ph, %55
%50 = load ptr, ptr %11, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %11, align 8
%52 = load i8, ptr %50, align 1
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %10, align 8
store i8 %52, ptr %53, align 1
br label %55
55: ; preds = %49
%56 = load i64, ptr %8, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %8, align 8
%58 = load i64, ptr %8, align 8
%59 = load i64, ptr %9, align 8
%60 = icmp ult i64 %58, %59
br i1 %60, label %49, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %55
br label %61
61: ; preds = %._crit_edge, %40
br label %62
62: ; preds = %61, %34
%63 = load i64, ptr %7, align 8
%64 = udiv i64 %63, 4
store i64 %64, ptr %9, align 8
store i64 0, ptr %8, align 8
%65 = load i64, ptr %8, align 8
%66 = load i64, ptr %9, align 8
%67 = icmp ult i64 %65, %66
br i1 %67, label %.lr.ph2, label %82
.lr.ph2: ; preds = %62
br label %68
68: ; preds = %.lr.ph2, %76
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr %69, align 4
%71 = load ptr, ptr %10, align 8
store i32 %70, ptr %71, align 4
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 4
store ptr %73, ptr %10, align 8
%74 = load ptr, ptr %11, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 4
store ptr %75, ptr %11, align 8
br label %76
76: ; preds = %68
%77 = load i64, ptr %8, align 8
%78 = add i64 %77, 1
store i64 %78, ptr %8, align 8
%79 = load i64, ptr %8, align 8
%80 = load i64, ptr %9, align 8
%81 = icmp ult i64 %79, %80
br i1 %81, label %68, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %76
br label %82
82: ; preds = %._crit_edge3, %62
%83 = load i64, ptr %7, align 8
%84 = and i64 %83, 3
store i64 %84, ptr %9, align 8
%85 = load i64, ptr %9, align 8
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %104
87: ; preds = %82
store i64 0, ptr %8, align 8
%88 = load i64, ptr %8, align 8
%89 = load i64, ptr %9, align 8
%90 = icmp ult i64 %88, %89
br i1 %90, label %.lr.ph5, label %103
.lr.ph5: ; preds = %87
br label %91
91: ; preds = %.lr.ph5, %97
%92 = load ptr, ptr %11, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %11, align 8
%94 = load i8, ptr %92, align 1
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %10, align 8
store i8 %94, ptr %95, align 1
br label %97
97: ; preds = %91
%98 = load i64, ptr %8, align 8
%99 = add i64 %98, 1
store i64 %99, ptr %8, align 8
%100 = load i64, ptr %8, align 8
%101 = load i64, ptr %9, align 8
%102 = icmp ult i64 %100, %101
br i1 %102, label %91, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %97
br label %103
103: ; preds = %._crit_edge6, %87
br label %104
104: ; preds = %103, %82
%105 = load ptr, ptr %5, align 8
store ptr %105, ptr %4, align 8
br label %106
106: ; preds = %104, %32
%107 = load ptr, ptr %4, align 8
ret ptr %107
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp7nqe6b_8.c'
source_filename = "/tmp/tmp7nqe6b_8.c"
target datalayout = "e-m:e-p270: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 @tw2_member_key_output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
%4 = alloca [80 x i8], align 16
%5 = alloca [80 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%8 = call i64 @fio_read_member_key(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %1
%11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%12 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @_tw2_get_decode_key(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 4, i32 noundef 5)
br label %15
15: ; preds = %10, %1
ret void
}
declare i64 @fio_read_member_key(ptr noundef, ptr noundef) #1
declare i32 @_tw2_get_decode_key(ptr noundef, ptr noundef, 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/tmp7nqe6b_8.c"
target datalayout = "e-m:e-p270: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 @tw2_member_key_output(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1000 x i8], align 16
%4 = alloca [80 x i8], align 16
%5 = alloca [80 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%8 = call i64 @fio_read_member_key(ptr noundef %6, ptr noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %1
%11 = getelementptr inbounds [1000 x i8], ptr %3, i64 0, i64 0
%12 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%13 = getelementptr inbounds [80 x i8], ptr %5, i64 0, i64 0
%14 = call i32 @_tw2_get_decode_key(ptr noundef %11, ptr noundef %12, ptr noundef %13, i32 noundef 4, i32 noundef 5)
br label %15
15: ; preds = %10, %1
ret void
}
declare i64 @fio_read_member_key(ptr noundef, ptr noundef) #1
declare i32 @_tw2_get_decode_key(ptr noundef, ptr noundef, 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/tmp9k64eels.c'
source_filename = "/tmp/tmp9k64eels.c"
target datalayout = "e-m:e-p270: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 @base_name_is(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @base_name(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %23
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strcmp(ptr noundef %14, ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
%19 = zext i1 %18 to i32
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %13, %12
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @base_name(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9k64eels.c"
target datalayout = "e-m:e-p270: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 @base_name_is(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call ptr @base_name(ptr noundef %8)
store ptr %9, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store i32 0, ptr %3, align 4
br label %23
13: ; preds = %2
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i32 @strcmp(ptr noundef %14, ptr noundef %15)
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
%19 = zext i1 %18 to i32
store i32 %19, ptr %7, align 4
%20 = load ptr, ptr %6, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load i32, ptr %7, align 4
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %13, %12
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @base_name(ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmposh42p41.c'
source_filename = "/tmp/tmposh42p41.c"
target datalayout = "e-m:e-p270: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 { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"usage %s hostname port\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"wrong host\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"connection error\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"socket read error\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca [140 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 %13
13: ; preds = %2, %84
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 3
br i1 %15, label %16, label %23
16: ; preds = %13
%17 = load i32, ptr @stderr, align 4
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str, ptr noundef %20)
%22 = call i32 @exit(i32 noundef 0) #3
unreachable
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @atoi(ptr noundef %26)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr @AF_INET, align 4
%29 = load i32, ptr @SOCK_STREAM, align 4
%30 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef 0)
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %23
%34 = call i32 @perror(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %23
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 1
%38 = load ptr, ptr %37, align 8
%39 = call ptr @gethostbyname(ptr noundef %38)
store ptr %39, ptr %10, align 8
%40 = load ptr, ptr %10, align 8
%41 = icmp eq ptr %40, null
br i1 %41, label %42, label %46
42: ; preds = %35
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2)
%45 = call i32 @exit(i32 noundef 0) #3
unreachable
46: ; preds = %35
%47 = call i32 @bzero(ptr noundef %9, i32 noundef 12)
%48 = load i32, ptr @AF_INET, align 4
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 2
store i32 %48, ptr %49, align 4
%50 = load ptr, ptr %10, align 8
%51 = getelementptr inbounds %struct.hostent, ptr %50, i32 0, i32 1
%52 = load i64, ptr %51, align 8
%53 = inttoptr i64 %52 to ptr
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%55 = getelementptr inbounds %struct.TYPE_2__, ptr %54, i32 0, i32 0
%56 = load ptr, ptr %10, align 8
%57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 0
%58 = load i32, ptr %57, align 8
%59 = call i32 @bcopy(ptr noundef %53, ptr noundef %55, i32 noundef %58)
%60 = load i32, ptr %7, align 4
%61 = call i32 @htons(i32 noundef %60)
%62 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store i32 %61, ptr %62, align 4
%63 = load i32, ptr %6, align 4
%64 = call i64 @connect(i32 noundef %63, ptr noundef %9, i32 noundef 12)
%65 = icmp slt i64 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %46
%67 = call i32 @perror(ptr noundef @.str.3)
br label %68
68: ; preds = %66, %46
%69 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%70 = call i32 @bzero(ptr noundef %69, i32 noundef 141)
%71 = load i32, ptr %6, align 4
%72 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%73 = call i32 @read(i32 noundef %71, ptr noundef %72, i32 noundef 140)
store i32 %73, ptr %8, align 4
%74 = load i32, ptr %8, align 4
%75 = icmp slt i32 %74, 0
br i1 %75, label %76, label %78
76: ; preds = %68
%77 = call i32 @perror(ptr noundef @.str.4)
br label %78
78: ; preds = %76, %68
%79 = load i32, ptr %8, align 4
%80 = icmp sgt i32 %79, 0
br i1 %80, label %81, label %84
81: ; preds = %78
%82 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%83 = call i32 @printf(ptr noundef @.str.5, ptr noundef %82)
br label %84
84: ; preds = %81, %78
br label %13
}
declare i32 @fprintf(i32 noundef, 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 i32 @perror(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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" }
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/tmposh42p41.c"
target datalayout = "e-m:e-p270: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 { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { i32, i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"usage %s hostname port\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"wrong host\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"connection error\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"socket read error\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca %struct.sockaddr_in, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca [140 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
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %.lr.ph
.lr.ph: ; preds = %2
br label %22
._crit_edge: ; preds = %83
br label %15
15: ; preds = %._crit_edge, %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %.lr.ph, %83
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 2
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %7, align 4
%27 = load i32, ptr @AF_INET, align 4
%28 = load i32, ptr @SOCK_STREAM, align 4
%29 = call i32 @socket(i32 noundef %27, i32 noundef %28, i32 noundef 0)
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %22
%33 = call i32 @perror(ptr noundef @.str.1)
br label %34
34: ; preds = %32, %22
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, 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 = %34
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2)
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %34
%46 = call i32 @bzero(ptr noundef %9, 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 ptr, ptr %10, align 8
%50 = getelementptr inbounds %struct.hostent, ptr %49, i32 0, i32 1
%51 = load i64, ptr %50, align 8
%52 = inttoptr i64 %51 to ptr
%53 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 1
%54 = getelementptr inbounds %struct.TYPE_2__, ptr %53, i32 0, i32 0
%55 = load ptr, ptr %10, align 8
%56 = getelementptr inbounds %struct.hostent, ptr %55, i32 0, i32 0
%57 = load i32, ptr %56, align 8
%58 = call i32 @bcopy(ptr noundef %52, ptr noundef %54, i32 noundef %57)
%59 = load i32, ptr %7, align 4
%60 = call i32 @htons(i32 noundef %59)
%61 = getelementptr inbounds %struct.sockaddr_in, ptr %9, i32 0, i32 0
store i32 %60, ptr %61, align 4
%62 = load i32, ptr %6, align 4
%63 = call i64 @connect(i32 noundef %62, ptr noundef %9, i32 noundef 12)
%64 = icmp slt i64 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %45
%66 = call i32 @perror(ptr noundef @.str.3)
br label %67
67: ; preds = %65, %45
%68 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%69 = call i32 @bzero(ptr noundef %68, i32 noundef 141)
%70 = load i32, ptr %6, align 4
%71 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%72 = call i32 @read(i32 noundef %70, ptr noundef %71, i32 noundef 140)
store i32 %72, ptr %8, align 4
%73 = load i32, ptr %8, align 4
%74 = icmp slt i32 %73, 0
br i1 %74, label %75, label %77
75: ; preds = %67
%76 = call i32 @perror(ptr noundef @.str.4)
br label %77
77: ; preds = %75, %67
%78 = load i32, ptr %8, align 4
%79 = icmp sgt i32 %78, 0
br i1 %79, label %80, label %83
80: ; preds = %77
%81 = getelementptr inbounds [140 x i8], ptr %12, i64 0, i64 0
%82 = call i32 @printf(ptr noundef @.str.5, ptr noundef %81)
br label %83
83: ; preds = %80, %77
%84 = load i32, ptr %4, align 4
%85 = icmp slt i32 %84, 3
br i1 %85, label %._crit_edge, label %22
}
declare i32 @fprintf(i32 noundef, 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 i32 @perror(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @bcopy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(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" }
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/tmpi6ganfxi.c'
source_filename = "/tmp/tmpi6ganfxi.c"
target datalayout = "e-m:e-p270: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 @stdlib_strided_dsnanmeanwd(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load i64, ptr %5, align 8
%14 = icmp sle i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store double 0x7FF8000000000000, ptr %4, align 8
br label %74
16: ; preds = %3
%17 = load i64, ptr %5, align 8
%18 = icmp eq i64 %17, 1
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load i64, ptr %7, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19, %16
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds float, ptr %23, i64 0
%25 = load float, ptr %24, align 4
%26 = fpext float %25 to double
store double %26, ptr %4, align 8
br label %74
27: ; preds = %19
%28 = load i64, ptr %7, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i64, ptr %5, align 8
%32 = sub nsw i64 1, %31
%33 = load i64, ptr %7, align 8
%34 = mul nsw i64 %32, %33
store i64 %34, ptr %8, align 8
br label %36
35: ; preds = %27
store i64 0, ptr %8, align 8
br label %36
36: ; preds = %35, %30
store double 0.000000e+00, ptr %11, align 8
store i64 0, ptr %10, align 8
store i64 0, ptr %9, align 8
br label %37
37: ; preds = %65, %36
%38 = load i64, ptr %9, align 8
%39 = load i64, ptr %5, align 8
%40 = icmp slt i64 %38, %39
br i1 %40, label %41, label %68
41: ; preds = %37
%42 = load ptr, ptr %6, align 8
%43 = load i64, ptr %8, align 8
%44 = getelementptr inbounds float, ptr %42, i64 %43
%45 = load float, ptr %44, align 4
%46 = fpext float %45 to double
store double %46, ptr %12, align 8
%47 = load double, ptr %12, align 8
%48 = load double, ptr %12, align 8
%49 = fcmp oeq double %47, %48
br i1 %49, label %50, label %61
50: ; preds = %41
%51 = load i64, ptr %10, align 8
%52 = add nsw i64 %51, 1
store i64 %52, ptr %10, align 8
%53 = load double, ptr %12, align 8
%54 = load double, ptr %11, align 8
%55 = fsub double %53, %54
%56 = load i64, ptr %10, align 8
%57 = sitofp i64 %56 to double
%58 = fdiv double %55, %57
%59 = load double, ptr %11, align 8
%60 = fadd double %59, %58
store double %60, ptr %11, align 8
br label %61
61: ; preds = %50, %41
%62 = load i64, ptr %7, align 8
%63 = load i64, ptr %8, align 8
%64 = add nsw i64 %63, %62
store i64 %64, ptr %8, align 8
br label %65
65: ; preds = %61
%66 = load i64, ptr %9, align 8
%67 = add nsw i64 %66, 1
store i64 %67, ptr %9, align 8
br label %37, !llvm.loop !6
68: ; preds = %37
%69 = load i64, ptr %10, align 8
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %68
store double 0x7FF8000000000000, ptr %4, align 8
br label %74
72: ; preds = %68
%73 = load double, ptr %11, align 8
store double %73, ptr %4, align 8
br label %74
74: ; preds = %72, %71, %22, %15
%75 = load double, ptr %4, align 8
ret double %75
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpi6ganfxi.c"
target datalayout = "e-m:e-p270: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 @stdlib_strided_dsnanmeanwd(i64 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
store i64 %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%13 = load i64, ptr %5, align 8
%14 = icmp sle i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %3
store double 0x7FF8000000000000, ptr %4, align 8
br label %76
16: ; preds = %3
%17 = load i64, ptr %5, align 8
%18 = icmp eq i64 %17, 1
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load i64, ptr %7, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19, %16
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds float, ptr %23, i64 0
%25 = load float, ptr %24, align 4
%26 = fpext float %25 to double
store double %26, ptr %4, align 8
br label %76
27: ; preds = %19
%28 = load i64, ptr %7, align 8
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i64, ptr %5, align 8
%32 = sub nsw i64 1, %31
%33 = load i64, ptr %7, align 8
%34 = mul nsw i64 %32, %33
store i64 %34, ptr %8, align 8
br label %36
35: ; preds = %27
store i64 0, ptr %8, align 8
br label %36
36: ; preds = %35, %30
store double 0.000000e+00, ptr %11, align 8
store i64 0, ptr %10, align 8
store i64 0, ptr %9, align 8
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %5, align 8
%39 = icmp slt i64 %37, %38
br i1 %39, label %.lr.ph, label %70
.lr.ph: ; preds = %36
br label %40
40: ; preds = %.lr.ph, %64
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds float, ptr %41, i64 %42
%44 = load float, ptr %43, align 4
%45 = fpext float %44 to double
store double %45, ptr %12, align 8
%46 = load double, ptr %12, align 8
%47 = load double, ptr %12, align 8
%48 = fcmp oeq double %46, %47
br i1 %48, label %49, label %60
49: ; preds = %40
%50 = load i64, ptr %10, align 8
%51 = add nsw i64 %50, 1
store i64 %51, ptr %10, align 8
%52 = load double, ptr %12, align 8
%53 = load double, ptr %11, align 8
%54 = fsub double %52, %53
%55 = load i64, ptr %10, align 8
%56 = sitofp i64 %55 to double
%57 = fdiv double %54, %56
%58 = load double, ptr %11, align 8
%59 = fadd double %58, %57
store double %59, ptr %11, align 8
br label %60
60: ; preds = %49, %40
%61 = load i64, ptr %7, align 8
%62 = load i64, ptr %8, align 8
%63 = add nsw i64 %62, %61
store i64 %63, ptr %8, align 8
br label %64
64: ; preds = %60
%65 = load i64, ptr %9, align 8
%66 = add nsw i64 %65, 1
store i64 %66, ptr %9, align 8
%67 = load i64, ptr %9, align 8
%68 = load i64, ptr %5, align 8
%69 = icmp slt i64 %67, %68
br i1 %69, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %64
br label %70
70: ; preds = %._crit_edge, %36
%71 = load i64, ptr %10, align 8
%72 = icmp eq i64 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %70
store double 0x7FF8000000000000, ptr %4, align 8
br label %76
74: ; preds = %70
%75 = load double, ptr %11, align 8
store double %75, ptr %4, align 8
br label %76
76: ; preds = %74, %73, %22, %15
%77 = load double, ptr %4, align 8
ret double %77
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpho9bst9q.c'
source_filename = "/tmp/tmpho9bst9q.c"
target datalayout = "e-m:e-p270: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.ifaddrs = type { ptr, ptr, ptr }
%struct.TYPE_2__ = type { i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"getifaddrs\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"lo\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"getnameinfo() failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%-16s %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @NI_MAXHOST, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %9, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %10, align 8
%15 = call i32 @getifaddrs(ptr noundef %6)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #4
unreachable
21: ; preds = %2
br label %22
22: ; preds = %77, %21
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %81
25: ; preds = %22
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.ifaddrs, ptr %26, i32 0, i32 1
%28 = load ptr, ptr %27, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %36, label %30
30: ; preds = %25
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds %struct.ifaddrs, ptr %31, i32 0, i32 0
%33 = load ptr, ptr %32, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30, %25
br label %77
37: ; preds = %30
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds %struct.ifaddrs, ptr %38, i32 0, i32 1
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr @AF_INET, align 4
%45 = icmp ne i32 %43, %44
br i1 %45, label %46, label %51
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr @AF_INET6, align 4
%49 = icmp ne i32 %47, %48
br i1 %49, label %50, label %51
50: ; preds = %46
br label %77
51: ; preds = %46, %37
%52 = load ptr, ptr %6, align 8
%53 = getelementptr inbounds %struct.ifaddrs, ptr %52, i32 0, i32 1
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr @AF_INET, align 4
%57 = icmp eq i32 %55, %56
%58 = zext i1 %57 to i64
%59 = select i1 %57, i64 4, i64 4
%60 = trunc i64 %59 to i32
%61 = load i32, ptr @NI_MAXHOST, align 4
%62 = load i32, ptr @NI_NUMERICHOST, align 4
%63 = call i32 @getnameinfo(ptr noundef %54, i32 noundef %60, ptr noundef %14, i32 noundef %61, ptr noundef null, i32 noundef 0, i32 noundef %62)
store i32 %63, ptr %8, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %72
66: ; preds = %51
%67 = load i32, ptr %8, align 4
%68 = call ptr @gai_strerror(i32 noundef %67)
%69 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %68)
%70 = load i32, ptr @EXIT_FAILURE, align 4
%71 = call i32 @exit(i32 noundef %70) #4
unreachable
72: ; preds = %51
%73 = load ptr, ptr %6, align 8
%74 = getelementptr inbounds %struct.ifaddrs, ptr %73, i32 0, i32 0
%75 = load ptr, ptr %74, align 8
%76 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %75, ptr noundef %14)
br label %77
77: ; preds = %72, %50, %36
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds %struct.ifaddrs, ptr %78, i32 0, i32 2
%80 = load ptr, ptr %79, align 8
store ptr %80, ptr %6, align 8
br label %22, !llvm.loop !6
81: ; preds = %22
%82 = load i32, ptr @EXIT_SUCCESS, align 4
%83 = call i32 @exit(i32 noundef %82) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getifaddrs(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare ptr @gai_strerror(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 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" }
attributes #3 = { 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 #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpho9bst9q.c"
target datalayout = "e-m:e-p270: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.ifaddrs = type { ptr, ptr, ptr }
%struct.TYPE_2__ = type { i32 }
@NI_MAXHOST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"getifaddrs\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"lo\00", align 1
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = dso_local global i32 0, align 4
@NI_NUMERICHOST = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"getnameinfo() failed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%-16s %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr @NI_MAXHOST, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %9, align 8
%14 = alloca i8, i64 %12, align 16
store i64 %12, ptr %10, align 8
%15 = call i32 @getifaddrs(ptr noundef %6)
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = call i32 @perror(ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #4
unreachable
21: ; preds = %2
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %.lr.ph, label %82
.lr.ph: ; preds = %21
br label %24
24: ; preds = %.lr.ph, %76
%25 = load ptr, ptr %6, align 8
%26 = getelementptr inbounds %struct.ifaddrs, ptr %25, i32 0, i32 1
%27 = load ptr, ptr %26, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %35, label %29
29: ; preds = %24
%30 = load ptr, ptr %6, align 8
%31 = getelementptr inbounds %struct.ifaddrs, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = call i64 @strcmp(ptr noundef %32, ptr noundef @.str.1)
%34 = icmp eq i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29, %24
br label %76
36: ; preds = %29
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds %struct.ifaddrs, ptr %37, i32 0, i32 1
%39 = load ptr, ptr %38, align 8
%40 = getelementptr inbounds %struct.TYPE_2__, ptr %39, i32 0, i32 0
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr @AF_INET, align 4
%44 = icmp ne i32 %42, %43
br i1 %44, label %45, label %50
45: ; preds = %36
%46 = load i32, ptr %7, align 4
%47 = load i32, ptr @AF_INET6, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %49, label %50
49: ; preds = %45
br label %76
50: ; preds = %45, %36
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds %struct.ifaddrs, ptr %51, i32 0, i32 1
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr @AF_INET, align 4
%56 = icmp eq i32 %54, %55
%57 = zext i1 %56 to i64
%58 = select i1 %56, i64 4, i64 4
%59 = trunc i64 %58 to i32
%60 = load i32, ptr @NI_MAXHOST, align 4
%61 = load i32, ptr @NI_NUMERICHOST, align 4
%62 = call i32 @getnameinfo(ptr noundef %53, i32 noundef %59, ptr noundef %14, i32 noundef %60, ptr noundef null, i32 noundef 0, i32 noundef %61)
store i32 %62, ptr %8, align 4
%63 = load i32, ptr %8, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %71
65: ; preds = %50
%66 = load i32, ptr %8, align 4
%67 = call ptr @gai_strerror(i32 noundef %66)
%68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %67)
%69 = load i32, ptr @EXIT_FAILURE, align 4
%70 = call i32 @exit(i32 noundef %69) #4
unreachable
71: ; preds = %50
%72 = load ptr, ptr %6, align 8
%73 = getelementptr inbounds %struct.ifaddrs, ptr %72, i32 0, i32 0
%74 = load ptr, ptr %73, align 8
%75 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %74, ptr noundef %14)
br label %76
76: ; preds = %71, %49, %35
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds %struct.ifaddrs, ptr %77, i32 0, i32 2
%79 = load ptr, ptr %78, align 8
store ptr %79, ptr %6, align 8
%80 = load ptr, ptr %6, align 8
%81 = icmp ne ptr %80, null
br i1 %81, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %21
%83 = load i32, ptr @EXIT_SUCCESS, align 4
%84 = call i32 @exit(i32 noundef %83) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getifaddrs(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare ptr @gai_strerror(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 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" }
attributes #3 = { 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 #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3fzq7s8z.c'
source_filename = "/tmp/tmp3fzq7s8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"Line %d too long: more than %zu characters\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Line %d error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
store ptr %12, ptr %7, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %73, %2
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = call i64 @memchr(ptr noundef %14, i8 noundef signext 10, i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %47
20: ; preds = %13
%21 = load i64, ptr %8, align 8
%22 = icmp eq i64 %21, 4096
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr @stdout, align 4
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %24, ptr noundef @.str, i32 noundef %26, i64 noundef 4096)
store i32 -1, ptr %3, align 4
br label %84
28: ; preds = %20
%29 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %8, align 8
%32 = call ptr @memmove(ptr noundef %29, ptr noundef %30, i64 noundef %31)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i64, ptr %8, align 8
%37 = sub i64 4096, %36
%38 = trunc i64 %37 to i32
%39 = call i64 @read(i32 noundef 0, ptr noundef %35, i32 noundef %38)
store i64 %39, ptr %11, align 8
%40 = load i64, ptr %11, align 8
%41 = load i64, ptr %8, align 8
%42 = add i64 %41, %40
store i64 %42, ptr %8, align 8
%43 = load i64, ptr %11, align 8
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %28
br label %74
46: ; preds = %28
br label %73
47: ; preds = %13
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %7, align 8
%53 = ptrtoint ptr %51 to i64
%54 = ptrtoint ptr %52 to i64
%55 = sub i64 %53, %54
%56 = call i64 @do_line(ptr noundef %50, i64 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %47
%59 = load i32, ptr @stdout, align 4
%60 = load i32, ptr %9, align 4
%61 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %59, ptr noundef @.str.1, i32 noundef %60)
store i32 -1, ptr %3, align 4
br label %84
62: ; preds = %47
%63 = load ptr, ptr %10, align 8
%64 = load ptr, ptr %7, align 8
%65 = ptrtoint ptr %63 to i64
%66 = ptrtoint ptr %64 to i64
%67 = sub i64 %65, %66
%68 = add nsw i64 %67, 1
%69 = load i64, ptr %8, align 8
%70 = sub i64 %69, %68
store i64 %70, ptr %8, align 8
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
store ptr %72, ptr %7, align 8
br label %73
73: ; preds = %62, %46
br i1 true, label %13, label %74
74: ; preds = %73, %45
%75 = load ptr, ptr %7, align 8
%76 = load i64, ptr %8, align 8
%77 = call i64 @do_line(ptr noundef %75, i64 noundef %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %74
%80 = load i32, ptr @stdout, align 4
%81 = load i32, ptr %9, align 4
%82 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %80, ptr noundef @.str.1, i32 noundef %81)
store i32 -1, ptr %3, align 4
br label %84
83: ; preds = %74
store i32 0, ptr %3, align 4
br label %84
84: ; preds = %83, %79, %58, %23
%85 = load i32, ptr %3, align 4
ret i32 %85
}
declare i64 @memchr(ptr noundef, i8 noundef signext, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @do_line(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3fzq7s8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [44 x i8] c"Line %d too long: more than %zu characters\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Line %d error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [4096 x i8], align 16
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%12 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
store ptr %12, ptr %7, align 8
store i64 0, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %73, %2
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %8, align 8
%16 = call i64 @memchr(ptr noundef %14, i8 noundef signext 10, i64 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %10, align 8
%18 = load ptr, ptr %10, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %47
20: ; preds = %13
%21 = load i64, ptr %8, align 8
%22 = icmp eq i64 %21, 4096
br i1 %22, label %23, label %28
23: ; preds = %20
%24 = load i32, ptr @stdout, align 4
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
%27 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %24, ptr noundef @.str, i32 noundef %26, i64 noundef 4096)
store i32 -1, ptr %3, align 4
br label %84
28: ; preds = %20
%29 = getelementptr inbounds [4096 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %8, align 8
%32 = call ptr @memmove(ptr noundef %29, ptr noundef %30, i64 noundef %31)
store ptr %32, ptr %7, align 8
%33 = load ptr, ptr %7, align 8
%34 = load i64, ptr %8, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i64, ptr %8, align 8
%37 = sub i64 4096, %36
%38 = trunc i64 %37 to i32
%39 = call i64 @read(i32 noundef 0, ptr noundef %35, i32 noundef %38)
store i64 %39, ptr %11, align 8
%40 = load i64, ptr %11, align 8
%41 = load i64, ptr %8, align 8
%42 = add i64 %41, %40
store i64 %42, ptr %8, align 8
%43 = load i64, ptr %11, align 8
%44 = icmp eq i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %28
br label %74
46: ; preds = %28
br label %73
47: ; preds = %13
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %7, align 8
%53 = ptrtoint ptr %51 to i64
%54 = ptrtoint ptr %52 to i64
%55 = sub i64 %53, %54
%56 = call i64 @do_line(ptr noundef %50, i64 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %62
58: ; preds = %47
%59 = load i32, ptr @stdout, align 4
%60 = load i32, ptr %9, align 4
%61 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %59, ptr noundef @.str.1, i32 noundef %60)
store i32 -1, ptr %3, align 4
br label %84
62: ; preds = %47
%63 = load ptr, ptr %10, align 8
%64 = load ptr, ptr %7, align 8
%65 = ptrtoint ptr %63 to i64
%66 = ptrtoint ptr %64 to i64
%67 = sub i64 %65, %66
%68 = add nsw i64 %67, 1
%69 = load i64, ptr %8, align 8
%70 = sub i64 %69, %68
store i64 %70, ptr %8, align 8
%71 = load ptr, ptr %10, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
store ptr %72, ptr %7, align 8
br label %73
73: ; preds = %62, %46
br i1 true, label %13, label %.loopexit
.loopexit: ; preds = %73
br label %74
74: ; preds = %.loopexit, %45
%75 = load ptr, ptr %7, align 8
%76 = load i64, ptr %8, align 8
%77 = call i64 @do_line(ptr noundef %75, i64 noundef %76)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %83
79: ; preds = %74
%80 = load i32, ptr @stdout, align 4
%81 = load i32, ptr %9, align 4
%82 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %80, ptr noundef @.str.1, i32 noundef %81)
store i32 -1, ptr %3, align 4
br label %84
83: ; preds = %74
store i32 0, ptr %3, align 4
br label %84
84: ; preds = %83, %79, %58, %23
%85 = load i32, ptr %3, align 4
ret i32 %85
}
declare i64 @memchr(ptr noundef, i8 noundef signext, i64 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1
declare ptr @memmove(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @do_line(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"}
|
; ModuleID = '/tmp/tmprj9e88pn.c'
source_filename = "/tmp/tmprj9e88pn.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %4
4: ; preds = %8, %0
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %5, 0
br i1 %7, label %8, label %10
8: ; preds = %4
%9 = call i32 (...) @experiment()
br label %4, !llvm.loop !6
10: ; preds = %4
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @experiment(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmprj9e88pn.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %2, align 4
%6 = icmp sgt i32 %4, 0
br i1 %6, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = call i32 (...) @experiment()
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
%11 = icmp sgt i32 %9, 0
br i1 %11, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @experiment(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp062lxxum.c'
source_filename = "/tmp/tmp062lxxum.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @create_module(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call i64 @__create_module(ptr noundef %6, i64 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = icmp sgt i32 %12, 125
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i32, ptr @errno, align 4
%16 = sub nsw i32 0, %15
%17 = sext i32 %16 to i64
store i64 %17, ptr %5, align 8
store i32 0, ptr @errno, align 4
br label %18
18: ; preds = %14, %11, %2
%19 = load i64, ptr %5, align 8
ret i64 %19
}
declare i64 @__create_module(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp062lxxum.c"
target datalayout = "e-m:e-p270: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 i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @create_module(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call i64 @__create_module(ptr noundef %6, i64 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %18
11: ; preds = %2
%12 = load i32, ptr @errno, align 4
%13 = icmp sgt i32 %12, 125
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load i32, ptr @errno, align 4
%16 = sub nsw i32 0, %15
%17 = sext i32 %16 to i64
store i64 %17, ptr %5, align 8
store i32 0, ptr @errno, align 4
br label %18
18: ; preds = %14, %11, %2
%19 = load i64, ptr %5, align 8
ret i64 %19
}
declare i64 @__create_module(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"}
|
; ModuleID = '/tmp/tmp2_cn_yuv.c'
source_filename = "/tmp/tmp2_cn_yuv.c"
target datalayout = "e-m:e-p270: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 @mmc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @mdc(i32 noundef %15, i32 noundef %16)
%18 = sdiv i32 %14, %17
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %19, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @mdc(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/tmp2_cn_yuv.c"
target datalayout = "e-m:e-p270: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 @mmc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %3, align 4
br label %21
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = mul nsw i32 %12, %13
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %5, align 4
%17 = call i32 @mdc(i32 noundef %15, i32 noundef %16)
%18 = sdiv i32 %14, %17
store i32 %18, ptr %6, align 4
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %3, align 4
br label %21
21: ; preds = %19, %9
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i32 @mdc(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/tmpae4db6v2.c'
source_filename = "/tmp/tmpae4db6v2.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"+ - \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"+ -- \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"+\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"| %d \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"| %2d \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(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
%8 = 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 %8, align 4
br label %9
9: ; preds = %114, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %117
13: ; preds = %9
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %50, %13
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %53
18: ; preds = %14
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %19, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %24, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %29, 10
br i1 %30, label %31, label %33
31: ; preds = %18
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %49
33: ; preds = %18
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = sub nsw i32 %35, 1
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %34, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %39, i64 %42
%44 = load i32, ptr %43, align 4
%45 = icmp sge i32 %44, 10
br i1 %45, label %46, label %48
46: ; preds = %33
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
48: ; preds = %46, %33
br label %49
49: ; preds = %48, %31
br label %50
50: ; preds = %49
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %14, !llvm.loop !6
53: ; preds = %14
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
br label %55
55: ; preds = %109, %53
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %112
59: ; preds = %55
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %60, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load i32, ptr %69, align 4
%71 = icmp slt i32 %70, 10
br i1 %71, label %72, label %83
72: ; preds = %59
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %81)
br label %108
83: ; preds = %59
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %5, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds ptr, ptr %84, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr %6, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %89, i64 %92
%94 = load i32, ptr %93, align 4
%95 = icmp sge i32 %94, 10
br i1 %95, label %96, label %107
96: ; preds = %83
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %8, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %105)
br label %107
107: ; preds = %96, %83
br label %108
108: ; preds = %107, %72
br label %109
109: ; preds = %108
%110 = load i32, ptr %7, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %7, align 4
br label %55, !llvm.loop !8
112: ; preds = %55
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %114
114: ; preds = %112
%115 = load i32, ptr %8, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %8, align 4
br label %9, !llvm.loop !9
117: ; preds = %9
store i32 0, ptr %7, align 4
br label %118
118: ; preds = %154, %117
%119 = load i32, ptr %7, align 4
%120 = load i32, ptr %6, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %122, label %157
122: ; preds = %118
%123 = load ptr, ptr %4, align 8
%124 = load i32, ptr %5, align 4
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds ptr, ptr %123, i64 %126
%128 = load ptr, ptr %127, align 8
%129 = load i32, ptr %6, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %128, i64 %131
%133 = load i32, ptr %132, align 4
%134 = icmp slt i32 %133, 10
br i1 %134, label %135, label %137
135: ; preds = %122
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %153
137: ; preds = %122
%138 = load ptr, ptr %4, align 8
%139 = load i32, ptr %5, align 4
%140 = sub nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds ptr, ptr %138, i64 %141
%143 = load ptr, ptr %142, align 8
%144 = load i32, ptr %6, align 4
%145 = sub nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds i32, ptr %143, i64 %146
%148 = load i32, ptr %147, align 4
%149 = icmp sge i32 %148, 10
br i1 %149, label %150, label %152
150: ; preds = %137
%151 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %152
152: ; preds = %150, %137
br label %153
153: ; preds = %152, %135
br label %154
154: ; preds = %153
%155 = load i32, ptr %7, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %7, align 4
br label %118, !llvm.loop !10
157: ; preds = %118
%158 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpae4db6v2.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"+ - \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"+ -- \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"+\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"| %d \00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"| %2d \00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"|\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_matrix(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
%8 = 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 %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph5, label %123
.lr.ph5: ; preds = %3
br label %12
12: ; preds = %.lr.ph5, %117
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %54
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %48
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %17, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp slt i32 %27, 10
br i1 %28, label %29, label %31
29: ; preds = %16
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %47
31: ; preds = %16
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %32, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = load i32, ptr %6, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp sge i32 %42, 10
br i1 %43, label %44, label %46
44: ; preds = %31
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
46: ; preds = %44, %31
br label %47
47: ; preds = %46, %29
br label %48
48: ; preds = %47
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %12
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph2, label %115
.lr.ph2: ; preds = %54
br label %59
59: ; preds = %.lr.ph2, %109
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %60, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load i32, ptr %6, align 4
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
%70 = load i32, ptr %69, align 4
%71 = icmp slt i32 %70, 10
br i1 %71, label %72, label %83
72: ; preds = %59
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %81)
br label %108
83: ; preds = %59
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %5, align 4
%86 = sub nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds ptr, ptr %84, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = load i32, ptr %6, align 4
%91 = sub nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %89, i64 %92
%94 = load i32, ptr %93, align 4
%95 = icmp sge i32 %94, 10
br i1 %95, label %96, label %107
96: ; preds = %83
%97 = load ptr, ptr %4, align 8
%98 = load i32, ptr %8, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds ptr, ptr %97, i64 %99
%101 = load ptr, ptr %100, align 8
%102 = load i32, ptr %7, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %101, i64 %103
%105 = load i32, ptr %104, align 4
%106 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %105)
br label %107
107: ; preds = %96, %83
br label %108
108: ; preds = %107, %72
br label %109
109: ; preds = %108
%110 = load i32, ptr %7, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %7, align 4
%112 = load i32, ptr %7, align 4
%113 = load i32, ptr %6, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %59, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %109
br label %115
115: ; preds = %._crit_edge3, %54
%116 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %117
117: ; preds = %115
%118 = load i32, ptr %8, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %8, align 4
%120 = load i32, ptr %8, align 4
%121 = load i32, ptr %5, align 4
%122 = icmp slt i32 %120, %121
br i1 %122, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %117
br label %123
123: ; preds = %._crit_edge6, %3
store i32 0, ptr %7, align 4
%124 = load i32, ptr %7, align 4
%125 = load i32, ptr %6, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %.lr.ph8, label %165
.lr.ph8: ; preds = %123
br label %127
127: ; preds = %.lr.ph8, %159
%128 = load ptr, ptr %4, align 8
%129 = load i32, ptr %5, align 4
%130 = sub nsw i32 %129, 1
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds ptr, ptr %128, i64 %131
%133 = load ptr, ptr %132, align 8
%134 = load i32, ptr %6, align 4
%135 = sub nsw i32 %134, 1
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %133, i64 %136
%138 = load i32, ptr %137, align 4
%139 = icmp slt i32 %138, 10
br i1 %139, label %140, label %142
140: ; preds = %127
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %158
142: ; preds = %127
%143 = load ptr, ptr %4, align 8
%144 = load i32, ptr %5, align 4
%145 = sub nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds ptr, ptr %143, i64 %146
%148 = load ptr, ptr %147, align 8
%149 = load i32, ptr %6, align 4
%150 = sub nsw i32 %149, 1
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %148, i64 %151
%153 = load i32, ptr %152, align 4
%154 = icmp sge i32 %153, 10
br i1 %154, label %155, label %157
155: ; preds = %142
%156 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %157
157: ; preds = %155, %142
br label %158
158: ; preds = %157, %140
br label %159
159: ; preds = %158
%160 = load i32, ptr %7, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %7, align 4
%162 = load i32, ptr %7, align 4
%163 = load i32, ptr %6, align 4
%164 = icmp slt i32 %162, %163
br i1 %164, label %127, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %159
br label %165
165: ; preds = %._crit_edge9, %123
%166 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpe3pix9tp.c'
source_filename = "/tmp/tmpe3pix9tp.c"
target datalayout = "e-m:e-p270: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 @spi_setup_bus(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store volatile i32 0, ptr %8, align 4
store volatile i32 0, ptr inttoptr (i64 31531008 to ptr), align 4
%9 = call i32 @delay_us(i32 noundef 1000)
store volatile i32 1, ptr inttoptr (i64 31531008 to ptr), align 4
store volatile i32 3, ptr inttoptr (i64 31531012 to ptr), align 4
store volatile i32 3585, ptr inttoptr (i64 31531028 to ptr), align 4
%10 = load i32, ptr %4, align 4
%11 = sdiv i32 150000000, %10
%12 = sub nsw i32 %11, 1
%13 = and i32 %12, 255
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = shl i32 %14, 8
%16 = or i32 16, %15
%17 = load i32, ptr %6, align 4
%18 = and i32 %17, 1
%19 = shl i32 %18, 16
%20 = or i32 %16, %19
%21 = load i32, ptr %5, align 4
%22 = and i32 %21, 1
%23 = shl i32 %22, 17
%24 = or i32 %20, %23
%25 = or i32 %24, 0
store volatile i32 %25, ptr inttoptr (i64 31531088 to ptr), align 4
store volatile i32 268435456, ptr %8, align 4
%26 = load volatile i32, ptr %8, align 4
store volatile i32 %26, ptr inttoptr (i64 31531068 to ptr), align 4
store volatile i32 1, ptr inttoptr (i64 31531084 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 31531016 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 31531020 to ptr), align 4
%27 = load volatile i32, ptr inttoptr (i64 31531012 to ptr), align 4
%28 = or i32 %27, 16777216
store volatile i32 %28, ptr inttoptr (i64 31531012 to ptr), align 4
ret i32 0
}
declare i32 @delay_us(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/tmpe3pix9tp.c"
target datalayout = "e-m:e-p270: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 @spi_setup_bus(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store volatile i32 0, ptr %8, align 4
store volatile i32 0, ptr inttoptr (i64 31531008 to ptr), align 4
%9 = call i32 @delay_us(i32 noundef 1000)
store volatile i32 1, ptr inttoptr (i64 31531008 to ptr), align 4
store volatile i32 3, ptr inttoptr (i64 31531012 to ptr), align 4
store volatile i32 3585, ptr inttoptr (i64 31531028 to ptr), align 4
%10 = load i32, ptr %4, align 4
%11 = sdiv i32 150000000, %10
%12 = sub nsw i32 %11, 1
%13 = and i32 %12, 255
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = shl i32 %14, 8
%16 = or i32 16, %15
%17 = load i32, ptr %6, align 4
%18 = and i32 %17, 1
%19 = shl i32 %18, 16
%20 = or i32 %16, %19
%21 = load i32, ptr %5, align 4
%22 = and i32 %21, 1
%23 = shl i32 %22, 17
%24 = or i32 %20, %23
%25 = or i32 %24, 0
store volatile i32 %25, ptr inttoptr (i64 31531088 to ptr), align 4
store volatile i32 268435456, ptr %8, align 4
%26 = load volatile i32, ptr %8, align 4
store volatile i32 %26, ptr inttoptr (i64 31531068 to ptr), align 4
store volatile i32 1, ptr inttoptr (i64 31531084 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 31531016 to ptr), align 4
store volatile i32 0, ptr inttoptr (i64 31531020 to ptr), align 4
%27 = load volatile i32, ptr inttoptr (i64 31531012 to ptr), align 4
%28 = or i32 %27, 16777216
store volatile i32 %28, ptr inttoptr (i64 31531012 to ptr), align 4
ret i32 0
}
declare i32 @delay_us(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/tmp504cee2o.c'
source_filename = "/tmp/tmp504cee2o.c"
target datalayout = "e-m:e-p270: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/tmp504cee2o.c"
target datalayout = "e-m:e-p270: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/tmp1eqfh7c1.c'
source_filename = "/tmp/tmp1eqfh7c1.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Enter a radius of a circle: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Area: %d and Circumference: %d\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 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = mul nsw i32 3, %7
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 6, %11
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1eqfh7c1.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Enter a radius of a circle: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"Area: %d and Circumference: %d\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 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = mul nsw i32 3, %7
%9 = load i32, ptr %2, align 4
%10 = mul nsw i32 %8, %9
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 6, %11
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps2rcqsbp.c'
source_filename = "/tmp/tmps2rcqsbp.c"
target datalayout = "e-m:e-p270: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 @owTouchByte(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %4, align 1
store i8 0, ptr %3, align 1
br label %5
5: ; preds = %27, %1
%6 = load i8, ptr %3, align 1
%7 = zext i8 %6 to i32
%8 = icmp slt i32 %7, 8
br i1 %8, label %9, label %30
9: ; preds = %5
%10 = load i8, ptr %2, align 1
%11 = zext i8 %10 to i32
%12 = and i32 %11, 1
%13 = trunc i32 %12 to i8
%14 = call zeroext i8 @owTouchBit(i8 noundef zeroext %13)
%15 = zext i8 %14 to i32
%16 = load i8, ptr %3, align 1
%17 = zext i8 %16 to i32
%18 = shl i32 %15, %17
%19 = load i8, ptr %4, align 1
%20 = zext i8 %19 to i32
%21 = or i32 %20, %18
%22 = trunc i32 %21 to i8
store i8 %22, ptr %4, align 1
%23 = load i8, ptr %2, align 1
%24 = zext i8 %23 to i32
%25 = ashr i32 %24, 1
%26 = trunc i32 %25 to i8
store i8 %26, ptr %2, align 1
br label %27
27: ; preds = %9
%28 = load i8, ptr %3, align 1
%29 = add i8 %28, 1
store i8 %29, ptr %3, align 1
br label %5, !llvm.loop !6
30: ; preds = %5
%31 = load i8, ptr %4, align 1
ret i8 %31
}
declare zeroext i8 @owTouchBit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps2rcqsbp.c"
target datalayout = "e-m:e-p270: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 @owTouchByte(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
store i8 0, ptr %4, align 1
store i8 0, ptr %3, align 1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp slt i32 %6, 8
br i1 %7, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %26
%9 = load i8, ptr %2, align 1
%10 = zext i8 %9 to i32
%11 = and i32 %10, 1
%12 = trunc i32 %11 to i8
%13 = call zeroext i8 @owTouchBit(i8 noundef zeroext %12)
%14 = zext i8 %13 to i32
%15 = load i8, ptr %3, align 1
%16 = zext i8 %15 to i32
%17 = shl i32 %14, %16
%18 = load i8, ptr %4, align 1
%19 = zext i8 %18 to i32
%20 = or i32 %19, %17
%21 = trunc i32 %20 to i8
store i8 %21, ptr %4, align 1
%22 = load i8, ptr %2, align 1
%23 = zext i8 %22 to i32
%24 = ashr i32 %23, 1
%25 = trunc i32 %24 to i8
store i8 %25, ptr %2, align 1
br label %26
26: ; preds = %8
%27 = load i8, ptr %3, align 1
%28 = add i8 %27, 1
store i8 %28, ptr %3, align 1
%29 = load i8, ptr %3, align 1
%30 = zext i8 %29 to i32
%31 = icmp slt i32 %30, 8
br i1 %31, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %1
%33 = load i8, ptr %4, align 1
ret i8 %33
}
declare zeroext i8 @owTouchBit(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqac_ygf0.c'
source_filename = "/tmp/tmpqac_ygf0.c"
target datalayout = "e-m:e-p270: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 @strlen(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 = %12, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %4
br label %12
12: ; preds = %11
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
br label %4, !llvm.loop !6
15: ; preds = %4
%16 = load i32, ptr %3, align 4
ret i32 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqac_ygf0.c"
target datalayout = "e-m:e-p270: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 @strlen(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
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %11
br label %11
11: ; preds = %10
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %20
20: ; preds = %._crit_edge, %1
%21 = load i32, ptr %3, align 4
ret i32 %21
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp58tp5rai.c'
source_filename = "/tmp/tmp58tp5rai.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"see.emily.play/gnome\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"arnold.layne.hard\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 i64 @link(ptr noundef @.str, ptr noundef @.str.1)
%3 = icmp sgt i64 0, %2
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %5, ptr %1, align 4
br label %8
6: ; preds = %0
%7 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %7, ptr %1, align 4
br label %8
8: ; preds = %6, %4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i64 @link(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/tmp58tp5rai.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"see.emily.play/gnome\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"arnold.layne.hard\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
; 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 i64 @link(ptr noundef @.str, ptr noundef @.str.1)
%3 = icmp sgt i64 0, %2
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %5, ptr %1, align 4
br label %8
6: ; preds = %0
%7 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %7, ptr %1, align 4
br label %8
8: ; preds = %6, %4
%9 = load i32, ptr %1, align 4
ret i32 %9
}
declare i64 @link(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/tmpppf879zu.c'
source_filename = "/tmp/tmpppf879zu.c"
target datalayout = "e-m:e-p270: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 @CopyVectors(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %9, %2
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 256
br i1 %8, label %9, label %19
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %4, align 8
store i32 %11, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 1
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i32, ptr %17, i32 1
store ptr %18, ptr %3, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppf879zu.c"
target datalayout = "e-m:e-p270: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 @CopyVectors(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 256
br i1 %7, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %4, align 8
store i32 %10, ptr %11, align 4
%12 = load i32, ptr %5, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i32 1
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i32 1
store ptr %17, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 256
br i1 %19, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %20
20: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppwp9rdi3.c'
source_filename = "/tmp/tmppwp9rdi3.c"
target datalayout = "e-m:e-p270: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/tmppwp9rdi3.c"
target datalayout = "e-m:e-p270: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/tmpyl5yw8dc.c'
source_filename = "/tmp/tmpyl5yw8dc.c"
target datalayout = "e-m:e-p270: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/tmpyl5yw8dc.c"
target datalayout = "e-m:e-p270: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/tmp7bj877xt.c'
source_filename = "/tmp/tmp7bj877xt.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"Enter the lower and upper limits of integral: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"The result is %0.6lf.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = call i32 @integration(float noundef %7, float noundef %8, i32 noundef 10000)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @integration(float noundef, float 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/tmp7bj877xt.c"
target datalayout = "e-m:e-p270: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 [47 x i8] c"Enter the lower and upper limits of integral: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"The result is %0.6lf.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%7 = load float, ptr %3, align 4
%8 = load float, ptr %2, align 4
%9 = call i32 @integration(float noundef %7, float noundef %8, i32 noundef 10000)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @integration(float noundef, float 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/tmpb959uniq.c'
source_filename = "/tmp/tmpb959uniq.c"
target datalayout = "e-m:e-p270: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/tmpb959uniq.c"
target datalayout = "e-m:e-p270: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/tmpk48eywcn.c'
source_filename = "/tmp/tmpk48eywcn.c"
target datalayout = "e-m:e-p270: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 @selectionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %51, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %54
13: ; preds = %9
%14 = load i32, ptr %6, align 4
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
br label %17
17: ; preds = %36, %13
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %39
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, 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 %4, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp slt i32 %26, %31
br i1 %32, label %33, label %35
33: ; preds = %21
%34 = load i32, ptr %7, align 4
store i32 %34, ptr %8, align 4
br label %35
35: ; preds = %33, %21
br label %36
36: ; preds = %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
br label %17, !llvm.loop !6
39: ; preds = %17
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %8, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
%49 = load i32, ptr %48, align 4
%50 = call i32 @swap(i32 noundef %44, i32 noundef %49)
br label %51
51: ; preds = %39
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
br label %9, !llvm.loop !8
54: ; preds = %9
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @swap(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk48eywcn.c"
target datalayout = "e-m:e-p270: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 @selectionSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %58
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %52
%13 = load i32, ptr %6, align 4
store i32 %13, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %40
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %34
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, 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 %4, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %24, %29
br i1 %30, label %31, label %33
31: ; preds = %19
%32 = load i32, ptr %7, align 4
store i32 %32, ptr %8, align 4
br label %33
33: ; preds = %31, %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %12
%41 = load ptr, ptr %4, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 @swap(i32 noundef %45, i32 noundef %50)
br label %52
52: ; preds = %40
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %2
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare i32 @swap(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnj_md8vd.c'
source_filename = "/tmp/tmpnj_md8vd.c"
target datalayout = "e-m:e-p270: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 @void_exit() #0 {
%1 = call i32 (...) @phys_exit()
%2 = call i32 (...) @script_exit()
%3 = call i32 (...) @net_exit()
%4 = call i32 (...) @input_exit()
%5 = call i32 (...) @audio_exit()
%6 = call i32 (...) @video_exit()
%7 = call i32 (...) @log_exit()
ret void
}
declare i32 @phys_exit(...) #1
declare i32 @script_exit(...) #1
declare i32 @net_exit(...) #1
declare i32 @input_exit(...) #1
declare i32 @audio_exit(...) #1
declare i32 @video_exit(...) #1
declare i32 @log_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpnj_md8vd.c"
target datalayout = "e-m:e-p270: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 @void_exit() #0 {
%1 = call i32 (...) @phys_exit()
%2 = call i32 (...) @script_exit()
%3 = call i32 (...) @net_exit()
%4 = call i32 (...) @input_exit()
%5 = call i32 (...) @audio_exit()
%6 = call i32 (...) @video_exit()
%7 = call i32 (...) @log_exit()
ret void
}
declare i32 @phys_exit(...) #1
declare i32 @script_exit(...) #1
declare i32 @net_exit(...) #1
declare i32 @input_exit(...) #1
declare i32 @audio_exit(...) #1
declare i32 @video_exit(...) #1
declare i32 @log_exit(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmps5jvyq7w.c'
source_filename = "/tmp/tmps5jvyq7w.c"
target datalayout = "e-m:e-p270: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 @inv_matrix_det(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [10 x [10 x float]], align 16
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %14, 2
br i1 %15, label %16, label %31
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds float, ptr %19, i64 11
%21 = load float, ptr %20, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds float, ptr %22, i64 1
%24 = load float, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds float, ptr %25, i64 10
%27 = load float, ptr %26, align 4
%28 = fmul float %24, %27
%29 = fneg float %28
%30 = call float @llvm.fmuladd.f32(float %18, float %21, float %29)
store float %30, ptr %3, align 4
br label %75
31: ; preds = %2
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %32
32: ; preds = %70, %31
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %73
36: ; preds = %32
%37 = load i32, ptr %10, align 4
%38 = load ptr, ptr %5, align 8
store i32 %37, ptr %38, align 4
%39 = load ptr, ptr %4, align 8
%40 = getelementptr inbounds [10 x [10 x float]], ptr %6, i64 0, i64 0
%41 = getelementptr inbounds [10 x float], ptr %40, i64 0, i64 0
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %9, align 4
%45 = call i32 @inv_matrix_det_inc(ptr noundef %39, ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load float, ptr %7, align 4
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %8, align 4
%49 = mul nsw i32 10, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds float, ptr %47, i64 %50
%52 = load i32, ptr %9, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
%55 = load float, ptr %54, align 4
%56 = load i32, ptr %8, align 4
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %56, %57
%59 = and i32 %58, 1
%60 = icmp ne i32 %59, 0
%61 = zext i1 %60 to i64
%62 = select i1 %60, i32 -1, i32 1
%63 = sitofp i32 %62 to float
%64 = fmul float %55, %63
%65 = getelementptr inbounds [10 x [10 x float]], ptr %6, i64 0, i64 0
%66 = getelementptr inbounds [10 x float], ptr %65, i64 0, i64 0
%67 = load ptr, ptr %5, align 8
%68 = call float @inv_matrix_det(ptr noundef %66, ptr noundef %67)
%69 = call float @llvm.fmuladd.f32(float %64, float %68, float %46)
store float %69, ptr %7, align 4
br label %70
70: ; preds = %36
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %9, align 4
br label %32, !llvm.loop !6
73: ; preds = %32
%74 = load float, ptr %7, align 4
store float %74, ptr %3, align 4
br label %75
75: ; preds = %73, %16
%76 = load float, ptr %3, align 4
ret float %76
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare i32 @inv_matrix_det_inc(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmps5jvyq7w.c"
target datalayout = "e-m:e-p270: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 @inv_matrix_det(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [10 x [10 x float]], align 16
%7 = alloca float, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %14, 2
br i1 %15, label %16, label %31
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = load float, ptr %17, align 4
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds float, ptr %19, i64 11
%21 = load float, ptr %20, align 4
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds float, ptr %22, i64 1
%24 = load float, ptr %23, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds float, ptr %25, i64 10
%27 = load float, ptr %26, align 4
%28 = fmul float %24, %27
%29 = fneg float %28
%30 = call float @llvm.fmuladd.f32(float %18, float %21, float %29)
store float %30, ptr %3, align 4
br label %77
31: ; preds = %2
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %75
.lr.ph: ; preds = %31
br label %35
35: ; preds = %.lr.ph, %69
%36 = load i32, ptr %10, align 4
%37 = load ptr, ptr %5, align 8
store i32 %36, ptr %37, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds [10 x [10 x float]], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [10 x float], ptr %39, i64 0, i64 0
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %9, align 4
%44 = call i32 @inv_matrix_det_inc(ptr noundef %38, ptr noundef %40, ptr noundef %41, i32 noundef %42, i32 noundef %43)
%45 = load float, ptr %7, align 4
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %8, align 4
%48 = mul nsw i32 10, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds float, ptr %46, i64 %49
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds float, ptr %50, i64 %52
%54 = load float, ptr %53, align 4
%55 = load i32, ptr %8, align 4
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %55, %56
%58 = and i32 %57, 1
%59 = icmp ne i32 %58, 0
%60 = zext i1 %59 to i64
%61 = select i1 %59, i32 -1, i32 1
%62 = sitofp i32 %61 to float
%63 = fmul float %54, %62
%64 = getelementptr inbounds [10 x [10 x float]], ptr %6, i64 0, i64 0
%65 = getelementptr inbounds [10 x float], ptr %64, i64 0, i64 0
%66 = load ptr, ptr %5, align 8
%67 = call float @inv_matrix_det(ptr noundef %65, ptr noundef %66)
%68 = call float @llvm.fmuladd.f32(float %63, float %67, float %45)
store float %68, ptr %7, align 4
br label %69
69: ; preds = %35
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
%72 = load i32, ptr %9, align 4
%73 = load i32, ptr %10, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %31
%76 = load float, ptr %7, align 4
store float %76, ptr %3, align 4
br label %77
77: ; preds = %75, %16
%78 = load float, ptr %3, align 4
ret float %78
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare i32 @inv_matrix_det_inc(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpnvezm248.c'
source_filename = "/tmp/tmpnvezm248.c"
target datalayout = "e-m:e-p270: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 @filter_run_fir_iteration(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca float, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
store float 0.000000e+00, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = shl i32 1, %13
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 32, %15
%17 = lshr i32 -1, %16
%18 = zext i32 %17 to i64
store i64 %18, ptr %11, align 8
store i32 0, ptr %12, align 4
br label %19
19: ; preds = %40, %4
%20 = load i32, ptr %12, align 4
%21 = load i32, ptr %10, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %43
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %12, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds float, ptr %24, i64 %26
%28 = load float, ptr %27, align 4
%29 = load ptr, ptr %5, align 8
%30 = load i64, ptr %8, align 8
%31 = getelementptr inbounds float, ptr %29, i64 %30
%32 = load float, ptr %31, align 4
%33 = load float, ptr %9, align 4
%34 = call float @llvm.fmuladd.f32(float %28, float %32, float %33)
store float %34, ptr %9, align 4
%35 = load i64, ptr %8, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %8, align 8
%37 = load i64, ptr %11, align 8
%38 = load i64, ptr %8, align 8
%39 = and i64 %38, %37
store i64 %39, ptr %8, align 8
br label %40
40: ; preds = %23
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %12, align 4
br label %19, !llvm.loop !6
43: ; preds = %19
%44 = load float, ptr %9, align 4
ret float %44
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 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/tmpnvezm248.c"
target datalayout = "e-m:e-p270: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 @filter_run_fir_iteration(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca float, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 %3, ptr %8, align 8
store float 0.000000e+00, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = shl i32 1, %13
store i32 %14, ptr %10, align 4
%15 = load i32, ptr %7, align 4
%16 = sub nsw i32 32, %15
%17 = lshr i32 -1, %16
%18 = zext i32 %17 to i64
store i64 %18, ptr %11, align 8
store i32 0, ptr %12, align 4
%19 = load i32, ptr %12, align 4
%20 = load i32, ptr %10, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %45
.lr.ph: ; preds = %4
br label %22
22: ; preds = %.lr.ph, %39
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %12, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds float, ptr %28, i64 %29
%31 = load float, ptr %30, align 4
%32 = load float, ptr %9, align 4
%33 = call float @llvm.fmuladd.f32(float %27, float %31, float %32)
store float %33, ptr %9, align 4
%34 = load i64, ptr %8, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %8, align 8
%36 = load i64, ptr %11, align 8
%37 = load i64, ptr %8, align 8
%38 = and i64 %37, %36
store i64 %38, ptr %8, align 8
br label %39
39: ; preds = %22
%40 = load i32, ptr %12, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %10, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %4
%46 = load float, ptr %9, align 4
ret float %46
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 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/tmpuatdfa3m.c'
source_filename = "/tmp/tmpuatdfa3m.c"
target datalayout = "e-m:e-p270: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/tmpuatdfa3m.c"
target datalayout = "e-m:e-p270: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/tmpm_8ac1kn.c'
source_filename = "/tmp/tmpm_8ac1kn.c"
target datalayout = "e-m:e-p270: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 @a(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 1, %6
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = ptrtoint ptr %11 to i64
%13 = trunc i64 %12 to i8
store i8 %13, ptr %5, align 1
br label %14
14: ; preds = %8, %2
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 1, %15
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i8, ptr %5, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (...) @e()
br label %23
23: ; preds = %21, %17, %14
br label %24
24: ; preds = %27, %23
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 1, %25
br i1 %26, label %27, label %28
27: ; preds = %24
br label %24, !llvm.loop !6
28: ; preds = %24
ret void
}
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm_8ac1kn.c"
target datalayout = "e-m:e-p270: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 @a(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 1, %6
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = ptrtoint ptr %11 to i64
%13 = trunc i64 %12 to i8
store i8 %13, ptr %5, align 1
br label %14
14: ; preds = %8, %2
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 1, %15
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = load i8, ptr %5, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %17
%22 = call i32 (...) @e()
br label %23
23: ; preds = %21, %17, %14
br label %24
24: ; preds = %23
ret void
}
declare i32 @e(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp1mjlik6m.c'
source_filename = "/tmp/tmp1mjlik6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Enter The 5-digit Costumer Number (0 To Quit): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Enter the Number of Calls: \00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"*****%d****** \0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"BILL AMT: %.2f \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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %6
6: ; preds = %21, %0
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %31
9: ; preds = %6
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
%14 = load i32, ptr %3, align 4
%15 = icmp sge i32 %14, 100
br i1 %15, label %16, label %18
16: ; preds = %9
%17 = load i32, ptr %3, align 4
br label %21
18: ; preds = %9
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 100
br label %21
21: ; preds = %18, %16
%22 = phi i32 [ %17, %16 ], [ %20, %18 ]
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 %23, 100
%25 = sitofp i32 %24 to float
%26 = fpext float %25 to double
%27 = call double @llvm.fmuladd.f64(double %26, double 1.250000e+00, double 2.500000e+02)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %27)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%30 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %6, !llvm.loop !6
31: ; preds = %6
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1mjlik6m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Enter The 5-digit Costumer Number (0 To Quit): \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Enter the Number of Calls: \00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"*****%d****** \0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"BILL AMT: %.2f \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 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %32
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %20
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%11 = load i32, ptr %2, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = icmp sge i32 %13, 100
br i1 %14, label %15, label %17
15: ; preds = %8
%16 = load i32, ptr %3, align 4
br label %20
17: ; preds = %8
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 100
br label %20
20: ; preds = %17, %15
%21 = phi i32 [ %16, %15 ], [ %19, %17 ]
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 100
%24 = sitofp i32 %23 to float
%25 = fpext float %24 to double
%26 = call double @llvm.fmuladd.f64(double %25, double 1.250000e+00, double 2.500000e+02)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %26)
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%29 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %32
32: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsgdrawax.c'
source_filename = "/tmp/tmpsgdrawax.c"
target datalayout = "e-m:e-p270: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"times\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"fopen times failed\00", align 1
@_IONBF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"fgets error\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@stdout = dso_local global ptr null, align 8
; 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 [64 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca [68 x i8], align 16
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %56
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @_IONBF, align 4
%18 = call i32 @setvbuf(ptr noundef %16, ptr noundef null, i32 noundef %17, i32 noundef 0)
br label %19
19: ; preds = %24, %15
%20 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%21 = load ptr, ptr %6, align 8
%22 = call ptr @fgets(ptr noundef %20, i32 noundef 64, ptr noundef %21)
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
br label %19, !llvm.loop !6
27: ; preds = %19
%28 = load ptr, ptr %6, align 8
%29 = call i64 @ferror(ptr noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %56
33: ; preds = %27
%34 = call i64 @malloc(i32 noundef 4)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %10, align 8
br label %36
36: ; preds = %33, %36
%37 = load i32, ptr %8, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
%39 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%40 = call i32 @itoa(i32 noundef %38, ptr noundef %39)
%41 = load ptr, ptr %10, align 8
%42 = call i32 @time(ptr noundef %41)
%43 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%44 = call i32 @strcat(ptr noundef %43, ptr noundef @.str.4)
%45 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%46 = load ptr, ptr %10, align 8
%47 = call ptr @ctime(ptr noundef %46)
%48 = call i32 @strcat(ptr noundef %45, ptr noundef %47)
%49 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fputs(ptr noundef %49, ptr noundef %50)
%52 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%53 = load ptr, ptr @stdout, align 8
%54 = call i32 @fputs(ptr noundef %52, ptr noundef %53)
%55 = call i32 @sleep(i32 noundef 1)
br label %36
56: ; preds = %31, %13
%57 = load i32, ptr %3, align 4
ret i32 %57
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @fputs(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsgdrawax.c"
target datalayout = "e-m:e-p270: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"times\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a+\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"fopen times failed\00", align 1
@_IONBF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [12 x i8] c"fgets error\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\09\00", align 1
@stdout = dso_local global ptr null, align 8
; 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 [64 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca [68 x i8], align 16
%10 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%11 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %11, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %2
%14 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %3, align 4
br label %58
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
%17 = load i32, ptr @_IONBF, align 4
%18 = call i32 @setvbuf(ptr noundef %16, ptr noundef null, i32 noundef %17, i32 noundef 0)
%19 = getelementptr inbounds [64 x i8], ptr %7, i64 0, i64 0
%20 = load ptr, ptr %6, align 8
%21 = call ptr @fgets(ptr noundef %19, i32 noundef 64, ptr noundef %20)
%22 = icmp ne ptr %21, null
br i1 %22, label %.lr.ph, label %29
.lr.ph: ; preds = %15
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
%26 = load ptr, ptr %6, align 8
%27 = call ptr @fgets(ptr noundef %19, i32 noundef 64, ptr noundef %26)
%28 = icmp ne ptr %27, null
br i1 %28, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %15
%30 = load ptr, ptr %6, align 8
%31 = call i64 @ferror(ptr noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %29
%34 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %58
35: ; preds = %29
%36 = call i64 @malloc(i32 noundef 4)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %10, align 8
br label %38
38: ; preds = %38, %35
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
%41 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%42 = call i32 @itoa(i32 noundef %40, ptr noundef %41)
%43 = load ptr, ptr %10, align 8
%44 = call i32 @time(ptr noundef %43)
%45 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%46 = call i32 @strcat(ptr noundef %45, ptr noundef @.str.4)
%47 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%48 = load ptr, ptr %10, align 8
%49 = call ptr @ctime(ptr noundef %48)
%50 = call i32 @strcat(ptr noundef %47, ptr noundef %49)
%51 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%52 = load ptr, ptr %6, align 8
%53 = call i32 @fputs(ptr noundef %51, ptr noundef %52)
%54 = getelementptr inbounds [68 x i8], ptr %9, i64 0, i64 0
%55 = load ptr, ptr @stdout, align 8
%56 = call i32 @fputs(ptr noundef %54, ptr noundef %55)
%57 = call i32 @sleep(i32 noundef 1)
br label %38
58: ; preds = %33, %13
%59 = load i32, ptr %3, align 4
ret i32 %59
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @itoa(i32 noundef, ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
declare i32 @fputs(ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpcy53oat3.c'
source_filename = "/tmp/tmpcy53oat3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cm_replace_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [2048 x i8], align 16
%13 = alloca [256 x i8], align 16
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca %struct.stat, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i64 2048, ptr %14, align 8
store i32 0, ptr @errno, align 4
%19 = load ptr, ptr %10, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %16, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %5
%23 = load i32, ptr @errno, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %6, align 4
br label %108
25: ; preds = %5
%26 = load ptr, ptr %11, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.1)
store ptr %27, ptr %17, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load ptr, ptr %16, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load i32, ptr @errno, align 4
%33 = sub nsw i32 0, %32
store i32 %33, ptr %6, align 4
br label %108
34: ; preds = %25
br label %35
35: ; preds = %68, %34
%36 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%37 = load i64, ptr %14, align 8
%38 = load ptr, ptr %16, align 8
%39 = call ptr @fgets(ptr noundef %36, i64 noundef %37, ptr noundef %38)
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %69
41: ; preds = %35
%42 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%43 = load ptr, ptr %8, align 8
%44 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%45 = call i64 @sscanf(ptr noundef %42, ptr noundef %43, ptr noundef %44)
%46 = load i64, ptr @EOF, align 8
%47 = icmp ne i64 %45, %46
br i1 %47, label %48, label %68
48: ; preds = %41
%49 = load ptr, ptr %7, align 8
%50 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%51 = call i64 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %60
53: ; preds = %48
%54 = load ptr, ptr %17, align 8
%55 = load ptr, ptr %9, align 8
%56 = call i32 @fprintf(ptr noundef %54, ptr noundef %55)
%57 = icmp eq i32 %56, -1
br i1 %57, label %58, label %59
58: ; preds = %53
br label %101
59: ; preds = %53
br label %67
60: ; preds = %48
%61 = load ptr, ptr %17, align 8
%62 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%63 = call i32 @fprintf(ptr noundef %61, ptr noundef %62)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %66
65: ; preds = %60
br label %101
66: ; preds = %60
br label %67
67: ; preds = %66, %59
br label %68
68: ; preds = %67, %41
br label %35, !llvm.loop !6
69: ; preds = %35
%70 = load ptr, ptr %10, align 8
%71 = call i32 @stat(ptr noundef %70, ptr noundef %18)
store i32 %71, ptr %15, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %74
73: ; preds = %69
br label %101
74: ; preds = %69
%75 = load ptr, ptr %11, align 8
%76 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 2
%77 = load i32, ptr %76, align 4
%78 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 1
%79 = load i32, ptr %78, align 4
%80 = call i32 @chown(ptr noundef %75, i32 noundef %77, i32 noundef %79)
store i32 %80, ptr %15, align 4
%81 = icmp ne i32 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %74
br label %101
83: ; preds = %74
%84 = load ptr, ptr %11, align 8
%85 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0
%86 = load i32, ptr %85, align 4
%87 = call i32 @chmod(ptr noundef %84, i32 noundef %86)
store i32 %87, ptr %15, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %83
br label %101
90: ; preds = %83
%91 = load ptr, ptr %11, align 8
%92 = load ptr, ptr %10, align 8
%93 = call i64 @rename(ptr noundef %91, ptr noundef %92)
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %96
95: ; preds = %90
br label %101
96: ; preds = %90
%97 = load ptr, ptr %16, align 8
%98 = call i32 @fclose(ptr noundef %97)
%99 = load ptr, ptr %17, align 8
%100 = call i32 @fclose(ptr noundef %99)
store i32 0, ptr %6, align 4
br label %108
101: ; preds = %95, %89, %82, %73, %65, %58
%102 = load ptr, ptr %16, align 8
%103 = call i32 @fclose(ptr noundef %102)
%104 = load ptr, ptr %17, align 8
%105 = call i32 @fclose(ptr noundef %104)
%106 = load i32, ptr @errno, align 4
%107 = sub nsw i32 0, %106
store i32 %107, ptr %6, align 4
br label %108
108: ; preds = %101, %96, %29, %22
%109 = load i32, ptr %6, align 4
ret i32 %109
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @chmod(ptr noundef, i32 noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcy53oat3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32, i32, i32 }
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cm_replace_entry(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [2048 x i8], align 16
%13 = alloca [256 x i8], align 16
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca %struct.stat, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store i64 2048, ptr %14, align 8
store i32 0, ptr @errno, align 4
%19 = load ptr, ptr %10, align 8
%20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str)
store ptr %20, ptr %16, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %5
%23 = load i32, ptr @errno, align 4
%24 = sub nsw i32 0, %23
store i32 %24, ptr %6, align 4
br label %111
25: ; preds = %5
%26 = load ptr, ptr %11, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.1)
store ptr %27, ptr %17, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load ptr, ptr %16, align 8
%31 = call i32 @fclose(ptr noundef %30)
%32 = load i32, ptr @errno, align 4
%33 = sub nsw i32 0, %32
store i32 %33, ptr %6, align 4
br label %111
34: ; preds = %25
%35 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%36 = load i64, ptr %14, align 8
%37 = load ptr, ptr %16, align 8
%38 = call ptr @fgets(ptr noundef %35, i64 noundef %36, ptr noundef %37)
%39 = icmp ne ptr %38, null
br i1 %39, label %.lr.ph, label %72
.lr.ph: ; preds = %34
br label %40
40: ; preds = %.lr.ph, %67
%41 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%42 = load ptr, ptr %8, align 8
%43 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%44 = call i64 @sscanf(ptr noundef %41, ptr noundef %42, ptr noundef %43)
%45 = load i64, ptr @EOF, align 8
%46 = icmp ne i64 %44, %45
br i1 %46, label %47, label %67
47: ; preds = %40
%48 = load ptr, ptr %7, align 8
%49 = getelementptr inbounds [256 x i8], ptr %13, i64 0, i64 0
%50 = call i64 @strcmp(ptr noundef %48, ptr noundef %49)
%51 = icmp eq i64 %50, 0
br i1 %51, label %52, label %59
52: ; preds = %47
%53 = load ptr, ptr %17, align 8
%54 = load ptr, ptr %9, align 8
%55 = call i32 @fprintf(ptr noundef %53, ptr noundef %54)
%56 = icmp eq i32 %55, -1
br i1 %56, label %57, label %58
57: ; preds = %52
br label %104
58: ; preds = %52
br label %66
59: ; preds = %47
%60 = load ptr, ptr %17, align 8
%61 = getelementptr inbounds [2048 x i8], ptr %12, i64 0, i64 0
%62 = call i32 @fprintf(ptr noundef %60, ptr noundef %61)
%63 = icmp eq i32 %62, -1
br i1 %63, label %64, label %65
64: ; preds = %59
br label %104
65: ; preds = %59
br label %66
66: ; preds = %65, %58
br label %67
67: ; preds = %66, %40
%68 = load i64, ptr %14, align 8
%69 = load ptr, ptr %16, align 8
%70 = call ptr @fgets(ptr noundef %35, i64 noundef %68, ptr noundef %69)
%71 = icmp ne ptr %70, null
br i1 %71, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %72
72: ; preds = %._crit_edge, %34
%73 = load ptr, ptr %10, align 8
%74 = call i32 @stat(ptr noundef %73, ptr noundef %18)
store i32 %74, ptr %15, align 4
%75 = icmp eq i32 %74, -1
br i1 %75, label %76, label %77
76: ; preds = %72
br label %104
77: ; preds = %72
%78 = load ptr, ptr %11, align 8
%79 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 2
%80 = load i32, ptr %79, align 4
%81 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 1
%82 = load i32, ptr %81, align 4
%83 = call i32 @chown(ptr noundef %78, i32 noundef %80, i32 noundef %82)
store i32 %83, ptr %15, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %77
br label %104
86: ; preds = %77
%87 = load ptr, ptr %11, align 8
%88 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 0
%89 = load i32, ptr %88, align 4
%90 = call i32 @chmod(ptr noundef %87, i32 noundef %89)
store i32 %90, ptr %15, align 4
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %86
br label %104
93: ; preds = %86
%94 = load ptr, ptr %11, align 8
%95 = load ptr, ptr %10, align 8
%96 = call i64 @rename(ptr noundef %94, ptr noundef %95)
%97 = icmp ne i64 %96, 0
br i1 %97, label %98, label %99
98: ; preds = %93
br label %104
99: ; preds = %93
%100 = load ptr, ptr %16, align 8
%101 = call i32 @fclose(ptr noundef %100)
%102 = load ptr, ptr %17, align 8
%103 = call i32 @fclose(ptr noundef %102)
store i32 0, ptr %6, align 4
br label %111
104: ; preds = %98, %92, %85, %76, %64, %57
%105 = load ptr, ptr %16, align 8
%106 = call i32 @fclose(ptr noundef %105)
%107 = load ptr, ptr %17, align 8
%108 = call i32 @fclose(ptr noundef %107)
%109 = load i32, ptr @errno, align 4
%110 = sub nsw i32 0, %109
store i32 %110, ptr %6, align 4
br label %111
111: ; preds = %104, %99, %29, %22
%112 = load i32, ptr %6, align 4
ret i32 %112
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare ptr @fgets(ptr noundef, i64 noundef, ptr noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @chmod(ptr noundef, i32 noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp39d_899i.c'
source_filename = "/tmp/tmp39d_899i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@generateRandu.xn = internal global double 1.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @generateRandu() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call double @pow(i32 noundef 2, i32 noundef 31)
store double %3, ptr %1, align 8
%4 = load double, ptr @generateRandu.xn, align 8
store double %4, ptr %2, align 8
%5 = load double, ptr @generateRandu.xn, align 8
%6 = fmul double 6.553900e+04, %5
%7 = fptosi double %6 to i32
%8 = load double, ptr %1, align 8
%9 = call double @fmod(i32 noundef %7, double noundef %8)
store double %9, ptr @generateRandu.xn, align 8
%10 = load double, ptr %2, align 8
ret double %10
}
declare double @pow(i32 noundef, i32 noundef) #1
declare double @fmod(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp39d_899i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@generateRandu.xn = internal global double 1.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @generateRandu() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call double @pow(i32 noundef 2, i32 noundef 31)
store double %3, ptr %1, align 8
%4 = load double, ptr @generateRandu.xn, align 8
store double %4, ptr %2, align 8
%5 = load double, ptr @generateRandu.xn, align 8
%6 = fmul double 6.553900e+04, %5
%7 = fptosi double %6 to i32
%8 = load double, ptr %1, align 8
%9 = call double @fmod(i32 noundef %7, double noundef %8)
store double %9, ptr @generateRandu.xn, align 8
%10 = load double, ptr %2, align 8
ret double %10
}
declare double @pow(i32 noundef, i32 noundef) #1
declare double @fmod(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpgttadidb.c'
source_filename = "/tmp/tmpgttadidb.c"
target datalayout = "e-m:e-p270: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 @spg_get_schoenflies(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load i32, ptr %11, align 4
%18 = load double, ptr %12, align 8
%19 = call i32 @get_schoenflies(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, double noundef %18, double noundef -1.000000e+00)
ret i32 %19
}
declare i32 @get_schoenflies(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpgttadidb.c"
target datalayout = "e-m:e-p270: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 @spg_get_schoenflies(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, double noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store double %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load i32, ptr %11, align 4
%18 = load double, ptr %12, align 8
%19 = call i32 @get_schoenflies(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, i32 noundef %17, double noundef %18, double noundef -1.000000e+00)
ret i32 %19
}
declare i32 @get_schoenflies(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpquvz83s8.c'
source_filename = "/tmp/tmpquvz83s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1
@.str.1 = private unnamed_addr constant [1429 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A -R: read() system calls only (mapped reads disabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 90) #3
unreachable
}
declare i32 @fprintf(i32 noundef, 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/tmpquvz83s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"usage: %s\00", align 1
@.str.1 = private unnamed_addr constant [1429 x i8] c"fsx [-dnqLOW] [-b opnum] [-c Prob] [-l flen] [-m start:end] [-o oplen] [-p progressinterval] [-r readbdy] [-s style] [-t truncbdy] [-w writebdy] [-D startingop] [-N numops] [-P dirpath] [-S seed] fname\0A\09-b opnum: beginning operation number (default 1)\0A\09-c P: 1 in P chance of file close+open at each op (default infinity)\0A\09-d: debug output for all operations\0A\09-l flen: the upper bound on file size (default 262144)\0A\09-m startop:endop: monitor (print debug output) specified byte range (default 0:infinity)\0A\09-n: no verifications of file size\0A\09-o oplen: the upper bound on operation size (default 65536)\0A\09-p progressinterval: debug output at specified operation interval\0A\09-q: quieter operation\0A\09-r readbdy: 4096 would make reads page aligned (default 1)\0A\09-s style: 1 gives smaller truncates (default 0)\0A\09-t truncbdy: 4096 would make truncates page aligned (default 1)\0A\09-w writebdy: 4096 would make writes page aligned (default 1)\0A\09-D startingop: debug output starting at specified operation\0A\09-L: fsxLite - no file creations & no file size changes\0A\09-N numops: total # operations to do (default infinity)\0A\09-O: use oplen (see -o flag) for every op (default random)\0A\09-P: save .fsxlog and .fsxgood files in dirpath (default ./)\0A\09-S seed: for random # generator (default 1) 0 gets timestamp\0A\09-W: mapped write operations DISabled\0A -R: read() system calls only (mapped reads disabled)\0A\09fname: this filename is REQUIRED (no default)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 90) #3
unreachable
}
declare i32 @fprintf(i32 noundef, 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/tmpa4xyvhar.c'
source_filename = "/tmp/tmpa4xyvhar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"/dev/dvb/adapter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open64(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 ptr, ptr %4, align 8
%8 = call i64 @strncmp(ptr noundef %7, ptr noundef @.str, i32 noundef 16)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = or i32 %11, 12288
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %10, %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @realopen64(ptr noundef %14, i32 noundef %15, i32 noundef %16)
ret i32 %17
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @realopen64(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/tmpa4xyvhar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"/dev/dvb/adapter\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open64(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 ptr, ptr %4, align 8
%8 = call i64 @strncmp(ptr noundef %7, ptr noundef @.str, i32 noundef 16)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = or i32 %11, 12288
store i32 %12, ptr %5, align 4
br label %13
13: ; preds = %10, %3
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 @realopen64(ptr noundef %14, i32 noundef %15, i32 noundef %16)
ret i32 %17
}
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @realopen64(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/tmps8oyjdpq.c'
source_filename = "/tmp/tmps8oyjdpq.c"
target datalayout = "e-m:e-p270: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 @ft_print_top_bottom(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ft_putchar(i8 noundef signext 111)
br label %4
4: ; preds = %7, %1
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 2
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = call i32 @ft_putchar(i8 noundef signext 45)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
br label %4, !llvm.loop !6
11: ; preds = %4
%12 = load i32, ptr %2, align 4
%13 = icmp sgt i32 %12, 1
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 @ft_putchar(i8 noundef signext 111)
br label %16
16: ; preds = %14, %11
%17 = call i32 @ft_putchar(i8 noundef signext 10)
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps8oyjdpq.c"
target datalayout = "e-m:e-p270: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 @ft_print_top_bottom(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @ft_putchar(i8 noundef signext 111)
%4 = load i32, ptr %2, align 4
%5 = icmp sgt i32 %4, 2
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = call i32 @ft_putchar(i8 noundef signext 45)
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sgt i32 %10, 2
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %1
%13 = load i32, ptr %2, align 4
%14 = icmp sgt i32 %13, 1
br i1 %14, label %15, label %17
15: ; preds = %12
%16 = call i32 @ft_putchar(i8 noundef signext 111)
br label %17
17: ; preds = %15, %12
%18 = call i32 @ft_putchar(i8 noundef signext 10)
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe7n2reng.c'
source_filename = "/tmp/tmpe7n2reng.c"
target datalayout = "e-m:e-p270: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 }
@disk_check_subchannel_set.sys_bus_ccw_dev_filename = internal constant [21 x i8] c"/sys/bus/ccw/devices\00", align 16
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"%s/0.0.%04x\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"block:\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%s/0.0.%04x/%s/dev\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%s/0.0.%04x/block\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"dasd\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"%s/0.0.%04x/block/%s/dev\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%i:%i\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Dump target '%s' must belong to subchannel set 0.\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [82 x i8] c"Warning: Could not determine whether dump target %s belongs to subchannel set 0.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @disk_check_subchannel_set(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %10, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %11, align 8
%20 = load i32, ptr @PATH_MAX, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %21)
%23 = call ptr @opendir(ptr noundef %19)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %27, label %26
26: ; preds = %3
br label %109
27: ; preds = %3
br label %28
28: ; preds = %39, %27
%29 = load ptr, ptr %9, align 8
%30 = call ptr @readdir(ptr noundef %29)
store ptr %30, ptr %8, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %40
32: ; preds = %28
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strncmp(ptr noundef %35, ptr noundef @.str.1, i32 noundef 6)
%37 = icmp eq i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %32
br label %40
39: ; preds = %32
br label %28, !llvm.loop !6
40: ; preds = %38, %28
%41 = load ptr, ptr %8, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = load i32, ptr @PATH_MAX, align 4
%45 = load i32, ptr %5, align 4
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds %struct.dirent, ptr %46, i32 0, i32 0
%48 = load ptr, ptr %47, align 8
%49 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %44, ptr noundef @.str.2, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %45, ptr noundef %48)
br label %84
50: ; preds = %40
%51 = load ptr, ptr %9, align 8
%52 = call i32 @closedir(ptr noundef %51)
%53 = load i32, ptr @PATH_MAX, align 4
%54 = load i32, ptr %5, align 4
%55 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %53, ptr noundef @.str.3, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %54)
%56 = call ptr @opendir(ptr noundef %19)
store ptr %56, ptr %9, align 8
%57 = load ptr, ptr %9, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %60, label %59
59: ; preds = %50
br label %109
60: ; preds = %50
br label %61
61: ; preds = %72, %60
%62 = load ptr, ptr %9, align 8
%63 = call ptr @readdir(ptr noundef %62)
store ptr %63, ptr %8, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %73
65: ; preds = %61
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds %struct.dirent, ptr %66, i32 0, i32 0
%68 = load ptr, ptr %67, align 8
%69 = call i64 @strncmp(ptr noundef %68, ptr noundef @.str.4, i32 noundef 4)
%70 = icmp eq i64 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %65
br label %73
72: ; preds = %65
br label %61, !llvm.loop !8
73: ; preds = %71, %61
%74 = load ptr, ptr %8, align 8
%75 = icmp eq ptr %74, null
br i1 %75, label %76, label %77
76: ; preds = %73
br label %109
77: ; preds = %73
%78 = load i32, ptr @PATH_MAX, align 4
%79 = load i32, ptr %5, align 4
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds %struct.dirent, ptr %80, i32 0, i32 0
%82 = load ptr, ptr %81, align 8
%83 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %78, ptr noundef @.str.5, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %79, ptr noundef %82)
br label %84
84: ; preds = %77, %43
%85 = load ptr, ptr %9, align 8
%86 = call i32 @closedir(ptr noundef %85)
%87 = call i64 @misc_read_special_file(ptr noundef %19, ptr noundef %12, ptr noundef null, i32 noundef 1)
%88 = icmp ne i64 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %84
br label %109
90: ; preds = %84
%91 = load ptr, ptr %12, align 8
%92 = call i32 @sscanf(ptr noundef %91, ptr noundef @.str.6, ptr noundef %14, ptr noundef %13)
%93 = icmp ne i32 %92, 2
br i1 %93, label %94, label %97
94: ; preds = %90
%95 = load ptr, ptr %12, align 8
%96 = call i32 @free(ptr noundef %95)
br label %109
97: ; preds = %90
%98 = load ptr, ptr %12, align 8
%99 = call i32 @free(ptr noundef %98)
%100 = load i32, ptr %14, align 4
%101 = load i32, ptr %13, align 4
%102 = call i64 @makedev(i32 noundef %100, i32 noundef %101)
%103 = load i64, ptr %6, align 8
%104 = icmp ne i64 %102, %103
br i1 %104, label %105, label %108
105: ; preds = %97
%106 = load ptr, ptr %7, align 8
%107 = call i32 @error_reason(ptr noundef @.str.7, ptr noundef %106)
store i32 -1, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %113
108: ; preds = %97
store i32 0, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %113
109: ; preds = %94, %89, %76, %59, %26
%110 = load i32, ptr @stderr, align 4
%111 = load ptr, ptr %7, align 8
%112 = call i32 @fprintf(i32 noundef %110, ptr noundef @.str.8, ptr noundef %111)
store i32 0, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %113
113: ; preds = %109, %108, %105
%114 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %114)
%115 = load i32, ptr %4, align 4
ret i32 %115
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #2
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
declare i64 @misc_read_special_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i64 @makedev(i32 noundef, i32 noundef) #2
declare i32 @error_reason(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7n2reng.c"
target datalayout = "e-m:e-p270: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 }
@disk_check_subchannel_set.sys_bus_ccw_dev_filename = internal constant [21 x i8] c"/sys/bus/ccw/devices\00", align 16
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"%s/0.0.%04x\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"block:\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"%s/0.0.%04x/%s/dev\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"%s/0.0.%04x/block\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"dasd\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"%s/0.0.%04x/block/%s/dev\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%i:%i\00", align 1
@.str.7 = private unnamed_addr constant [50 x i8] c"Dump target '%s' must belong to subchannel set 0.\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.8 = private unnamed_addr constant [82 x i8] c"Warning: Could not determine whether dump target %s belongs to subchannel set 0.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @disk_check_subchannel_set(i32 noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %10, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %11, align 8
%20 = load i32, ptr @PATH_MAX, align 4
%21 = load i32, ptr %5, align 4
%22 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %20, ptr noundef @.str, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %21)
%23 = call ptr @opendir(ptr noundef %19)
store ptr %23, ptr %9, align 8
%24 = load ptr, ptr %9, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %27, label %26
26: ; preds = %3
br label %113
27: ; preds = %3
%28 = load ptr, ptr %9, align 8
%29 = call ptr @readdir(ptr noundef %28)
store ptr %29, ptr %8, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %27
br label %35
31: ; preds = %35
%32 = load ptr, ptr %9, align 8
%33 = call ptr @readdir(ptr noundef %32)
store ptr %33, ptr %8, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %..loopexit1_crit_edge, !llvm.loop !6
35: ; preds = %.lr.ph, %31
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds %struct.dirent, ptr %36, i32 0, i32 0
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strncmp(ptr noundef %38, ptr noundef @.str.1, i32 noundef 6)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %31
41: ; preds = %35
br label %42
..loopexit1_crit_edge: ; preds = %31
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %27
br label %42
42: ; preds = %.loopexit1, %41
%43 = load ptr, ptr %8, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %52
45: ; preds = %42
%46 = load i32, ptr @PATH_MAX, align 4
%47 = load i32, ptr %5, align 4
%48 = load ptr, ptr %8, align 8
%49 = getelementptr inbounds %struct.dirent, ptr %48, i32 0, i32 0
%50 = load ptr, ptr %49, align 8
%51 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %46, ptr noundef @.str.2, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %47, ptr noundef %50)
br label %88
52: ; preds = %42
%53 = load ptr, ptr %9, align 8
%54 = call i32 @closedir(ptr noundef %53)
%55 = load i32, ptr @PATH_MAX, align 4
%56 = load i32, ptr %5, align 4
%57 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %55, ptr noundef @.str.3, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %56)
%58 = call ptr @opendir(ptr noundef %19)
store ptr %58, ptr %9, align 8
%59 = load ptr, ptr %9, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %62, label %61
61: ; preds = %52
br label %113
62: ; preds = %52
%63 = load ptr, ptr %9, align 8
%64 = call ptr @readdir(ptr noundef %63)
store ptr %64, ptr %8, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %62
br label %70
66: ; preds = %70
%67 = load ptr, ptr %9, align 8
%68 = call ptr @readdir(ptr noundef %67)
store ptr %68, ptr %8, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %..loopexit_crit_edge, !llvm.loop !8
70: ; preds = %.lr.ph2, %66
%71 = load ptr, ptr %8, align 8
%72 = getelementptr inbounds %struct.dirent, ptr %71, i32 0, i32 0
%73 = load ptr, ptr %72, align 8
%74 = call i64 @strncmp(ptr noundef %73, ptr noundef @.str.4, i32 noundef 4)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %66
76: ; preds = %70
br label %77
..loopexit_crit_edge: ; preds = %66
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %62
br label %77
77: ; preds = %.loopexit, %76
%78 = load ptr, ptr %8, align 8
%79 = icmp eq ptr %78, null
br i1 %79, label %80, label %81
80: ; preds = %77
br label %113
81: ; preds = %77
%82 = load i32, ptr @PATH_MAX, align 4
%83 = load i32, ptr %5, align 4
%84 = load ptr, ptr %8, align 8
%85 = getelementptr inbounds %struct.dirent, ptr %84, i32 0, i32 0
%86 = load ptr, ptr %85, align 8
%87 = call i32 (ptr, i32, ptr, ptr, i32, ...) @snprintf(ptr noundef %19, i32 noundef %82, ptr noundef @.str.5, ptr noundef @disk_check_subchannel_set.sys_bus_ccw_dev_filename, i32 noundef %83, ptr noundef %86)
br label %88
88: ; preds = %81, %45
%89 = load ptr, ptr %9, align 8
%90 = call i32 @closedir(ptr noundef %89)
%91 = call i64 @misc_read_special_file(ptr noundef %19, ptr noundef %12, ptr noundef null, i32 noundef 1)
%92 = icmp ne i64 %91, 0
br i1 %92, label %93, label %94
93: ; preds = %88
br label %113
94: ; preds = %88
%95 = load ptr, ptr %12, align 8
%96 = call i32 @sscanf(ptr noundef %95, ptr noundef @.str.6, ptr noundef %14, ptr noundef %13)
%97 = icmp ne i32 %96, 2
br i1 %97, label %98, label %101
98: ; preds = %94
%99 = load ptr, ptr %12, align 8
%100 = call i32 @free(ptr noundef %99)
br label %113
101: ; preds = %94
%102 = load ptr, ptr %12, align 8
%103 = call i32 @free(ptr noundef %102)
%104 = load i32, ptr %14, align 4
%105 = load i32, ptr %13, align 4
%106 = call i64 @makedev(i32 noundef %104, i32 noundef %105)
%107 = load i64, ptr %6, align 8
%108 = icmp ne i64 %106, %107
br i1 %108, label %109, label %112
109: ; preds = %101
%110 = load ptr, ptr %7, align 8
%111 = call i32 @error_reason(ptr noundef @.str.7, ptr noundef %110)
store i32 -1, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %117
112: ; preds = %101
store i32 0, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %117
113: ; preds = %98, %93, %80, %61, %26
%114 = load i32, ptr @stderr, align 4
%115 = load ptr, ptr %7, align 8
%116 = call i32 @fprintf(i32 noundef %114, ptr noundef @.str.8, ptr noundef %115)
store i32 0, ptr %4, align 4
store i32 1, ptr %15, align 4
br label %117
117: ; preds = %113, %112, %109
%118 = load ptr, ptr %10, align 8
call void @llvm.stackrestore(ptr %118)
%119 = load i32, ptr %4, align 4
ret i32 %119
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ...) #2
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
declare i64 @misc_read_special_file(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i64 @makedev(i32 noundef, i32 noundef) #2
declare i32 @error_reason(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa61tmrsz.c'
source_filename = "/tmp/tmpa61tmrsz.c"
target datalayout = "e-m:e-p270: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/tmpa61tmrsz.c"
target datalayout = "e-m:e-p270: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/tmpcu7z60ow.c'
source_filename = "/tmp/tmpcu7z60ow.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @loadTextFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @stat(ptr noundef %14, ptr noundef %6)
%16 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fread(ptr noundef %21, i32 noundef %22, i32 noundef 1, ptr noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %13, %12
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcu7z60ow.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @loadTextFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca %struct.stat, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str)
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %32
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call i32 @stat(ptr noundef %14, ptr noundef %6)
%16 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = call ptr @malloc(i32 noundef %19)
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fread(ptr noundef %21, i32 noundef %22, i32 noundef 1, ptr noundef %23)
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
store i8 0, ptr %28, align 1
%29 = load ptr, ptr %4, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %2, align 8
br label %32
32: ; preds = %13, %12
%33 = load ptr, ptr %2, align 8
ret ptr %33
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @stat(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 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"}
|
; ModuleID = '/tmp/tmpkti5nmee.c'
source_filename = "/tmp/tmpkti5nmee.c"
target datalayout = "e-m:e-p270: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 @utoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @ultoa(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @ultoa(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/tmpkti5nmee.c"
target datalayout = "e-m:e-p270: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 @utoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call ptr @ultoa(i32 noundef %7, ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare ptr @ultoa(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/tmpkm32hk5a.c'
source_filename = "/tmp/tmpkm32hk5a.c"
target datalayout = "e-m:e-p270: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"filename: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Can't open file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"text: \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 [256 x i8], align 16
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, i32 noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %24
19: ; preds = %0
%20 = load i32, ptr %2, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %22
store i8 0, ptr %23, align 1
br label %24
24: ; preds = %19, %0
%25 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %56
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%34 = load i32, ptr @stdin, align 4
%35 = call i32 @fgets(ptr noundef %33, i32 noundef 256, i32 noundef %34)
%36 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %50
45: ; preds = %31
%46 = load i32, ptr %2, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %45, %31
%51 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%52 = load ptr, ptr %5, align 8
%53 = call i32 @fputs(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = call i32 @fclose(ptr noundef %54)
store i32 0, ptr %1, align 4
br label %56
56: ; preds = %50, %29
%57 = load i32, ptr %1, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkm32hk5a.c"
target datalayout = "e-m:e-p270: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"filename: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Can't open file!\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"text: \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 [256 x i8], align 16
%4 = alloca [256 x i8], align 16
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i32 @fgets(ptr noundef %7, i32 noundef 256, i32 noundef %8)
%10 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %24
19: ; preds = %0
%20 = load i32, ptr %2, align 4
%21 = sub nsw i32 %20, 1
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 %22
store i8 0, ptr %23, align 1
br label %24
24: ; preds = %19, %0
%25 = getelementptr inbounds [256 x i8], ptr %3, i64 0, i64 0
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %5, align 8
%27 = load ptr, ptr %5, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = call i32 @printf(ptr noundef @.str.2)
store i32 -1, ptr %1, align 4
br label %56
31: ; preds = %24
%32 = call i32 @printf(ptr noundef @.str.3)
%33 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%34 = load i32, ptr @stdin, align 4
%35 = call i32 @fgets(ptr noundef %33, i32 noundef 256, i32 noundef %34)
%36 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%37 = call i32 @strlen(ptr noundef %36)
store i32 %37, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 10
br i1 %44, label %45, label %50
45: ; preds = %31
%46 = load i32, ptr %2, align 4
%47 = sub nsw i32 %46, 1
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 %48
store i8 0, ptr %49, align 1
br label %50
50: ; preds = %45, %31
%51 = getelementptr inbounds [256 x i8], ptr %4, i64 0, i64 0
%52 = load ptr, ptr %5, align 8
%53 = call i32 @fputs(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = call i32 @fclose(ptr noundef %54)
store i32 0, ptr %1, align 4
br label %56
56: ; preds = %50, %29
%57 = load i32, ptr %1, align 4
ret i32 %57
}
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fputs(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"}
|
; ModuleID = '/tmp/tmp8l8acm48.c'
source_filename = "/tmp/tmp8l8acm48.c"
target datalayout = "e-m:e-p270: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 [389 x i8] c"BGP routes can be filtered on :\0A -prefix\0A -mask\0A -gw\0A -LOCAL_PREF, MED, weight\0A -Valid, Best\0A -AS_PATH =, <, > and # compare AS_PATH length; to compare actual AS_PATH, use '~')\0A\0Aoperators are :\0A- '=' (EQUALS)\0A- '#' (DIFFERENT)\0A- '<' (numerically inferior)\0A- '>' (numerically superior)\0A- '{' (is included (for prefixes))\0A- '}' (includes (for prefixes))\0A- '~' (st_scanf regular expression)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fprint_bgpfilter_help(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @fprintf(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/tmp8l8acm48.c"
target datalayout = "e-m:e-p270: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 [389 x i8] c"BGP routes can be filtered on :\0A -prefix\0A -mask\0A -gw\0A -LOCAL_PREF, MED, weight\0A -Valid, Best\0A -AS_PATH =, <, > and # compare AS_PATH length; to compare actual AS_PATH, use '~')\0A\0Aoperators are :\0A- '=' (EQUALS)\0A- '#' (DIFFERENT)\0A- '<' (numerically inferior)\0A- '>' (numerically superior)\0A- '{' (is included (for prefixes))\0A- '}' (includes (for prefixes))\0A- '~' (st_scanf regular expression)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fprint_bgpfilter_help(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret i32 %4
}
declare i32 @fprintf(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/tmp4tpmcrkk.c'
source_filename = "/tmp/tmp4tpmcrkk.c"
target datalayout = "e-m:e-p270: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 @cosh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_cosh(double noundef %3)
ret double %4
}
declare double @__nv_cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp4tpmcrkk.c"
target datalayout = "e-m:e-p270: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 @cosh(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__nv_cosh(double noundef %3)
ret double %4
}
declare double @__nv_cosh(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmptv8_4qzx.c'
source_filename = "/tmp/tmptv8_4qzx.c"
target datalayout = "e-m:e-p270: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"call getobj\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CR_Get() #0 {
%1 = call i32 @WriteInstruction(ptr noundef @.str)
ret void
}
declare i32 @WriteInstruction(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/tmptv8_4qzx.c"
target datalayout = "e-m:e-p270: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"call getobj\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CR_Get() #0 {
%1 = call i32 @WriteInstruction(ptr noundef @.str)
ret void
}
declare i32 @WriteInstruction(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/tmpzrhwgscw.c'
source_filename = "/tmp/tmpzrhwgscw.c"
target datalayout = "e-m:e-p270: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"enter argument of the function cos: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"entered not correct symbol\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"cos(%lf) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_cos() #0 {
%1 = alloca double, align 8
%2 = alloca i32, align 4
%3 = alloca [16 x i8], align 16
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 16, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call ptr @fgets(ptr noundef %5, i32 noundef 16, i32 noundef %6)
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %0
br label %52
10: ; preds = %0
store i32 0, ptr %2, align 4
br label %11
11: ; preds = %42, %10
%12 = load i32, ptr %2, align 4
%13 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = sub nsw i32 %14, 1
%16 = icmp slt i32 %12, %15
br i1 %16, label %17, label %45
17: ; preds = %11
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp slt i32 %22, 48
br i1 %23, label %31, label %24
24: ; preds = %17
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp sgt i32 %29, 57
br i1 %30, label %31, label %41
31: ; preds = %24, %17
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 46
br i1 %37, label %38, label %40
38: ; preds = %31
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %52
40: ; preds = %31
br label %41
41: ; preds = %40, %24
br label %42
42: ; preds = %41
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %2, align 4
br label %11, !llvm.loop !6
45: ; preds = %11
%46 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%47 = call double @atof(ptr noundef %46)
store double %47, ptr %1, align 8
%48 = load double, ptr %1, align 8
%49 = load double, ptr %1, align 8
%50 = call i32 @cos(double noundef %49)
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %48, i32 noundef %50)
br label %52
52: ; preds = %45, %38, %9
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare double @atof(ptr noundef) #2
declare i32 @cos(double 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: write) }
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/tmpzrhwgscw.c"
target datalayout = "e-m:e-p270: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"enter argument of the function cos: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [28 x i8] c"entered not correct symbol\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"cos(%lf) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @my_cos() #0 {
%1 = alloca double, align 8
%2 = alloca i32, align 4
%3 = alloca [16 x i8], align 16
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 16, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr @stdin, align 4
%7 = call ptr @fgets(ptr noundef %5, i32 noundef 16, i32 noundef %6)
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %0
br label %55
10: ; preds = %0
store i32 0, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = sub nsw i32 %13, 1
%15 = icmp slt i32 %11, %14
br i1 %15, label %.lr.ph, label %48
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %41
%17 = load i32, ptr %2, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp slt i32 %21, 48
br i1 %22, label %30, label %23
23: ; preds = %16
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sgt i32 %28, 57
br i1 %29, label %30, label %40
30: ; preds = %23, %16
%31 = load i32, ptr %2, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 46
br i1 %36, label %37, label %39
37: ; preds = %30
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %55
39: ; preds = %30
br label %40
40: ; preds = %39, %23
br label %41
41: ; preds = %40
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
%44 = load i32, ptr %2, align 4
%45 = call i32 @strlen(ptr noundef %12)
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %48
48: ; preds = %._crit_edge, %10
%49 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 0
%50 = call double @atof(ptr noundef %49)
store double %50, ptr %1, align 8
%51 = load double, ptr %1, align 8
%52 = load double, ptr %1, align 8
%53 = call i32 @cos(double noundef %52)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %51, i32 noundef %53)
br label %55
55: ; preds = %48, %37, %9
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare double @atof(ptr noundef) #2
declare i32 @cos(double 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: write) }
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/tmpdc3eg5yv.c'
source_filename = "/tmp/tmpdc3eg5yv.c"
target datalayout = "e-m:e-p270: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 @htoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %40, %1
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %4, align 4
%8 = zext i32 %7 to i64
%9 = getelementptr inbounds i8, ptr %6, i64 %8
%10 = load i8, ptr %9, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %45
13: ; preds = %5
%14 = load i32, ptr %3, align 4
%15 = mul i32 16, %14
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i64 @isdigit(i8 noundef signext %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %31
23: ; preds = %13
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = zext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = sub nsw i32 %29, 48
br label %40
31: ; preds = %13
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %4, align 4
%34 = zext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = sub nsw i32 %37, 65
%39 = add nsw i32 %38, 10
br label %40
40: ; preds = %31, %23
%41 = phi i32 [ %30, %23 ], [ %39, %31 ]
%42 = add i32 %15, %41
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = add i32 %43, 1
store i32 %44, ptr %4, align 4
br label %5, !llvm.loop !6
45: ; preds = %5
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i64 @isdigit(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/tmpdc3eg5yv.c"
target datalayout = "e-m:e-p270: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 @htoi(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %4, align 4
%7 = zext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %51
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %39
%13 = load i32, ptr %3, align 4
%14 = mul i32 16, %13
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %4, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = call i64 @isdigit(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %12
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %4, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = sub nsw i32 %28, 48
br label %39
30: ; preds = %12
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = zext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = sub nsw i32 %36, 65
%38 = add nsw i32 %37, 10
br label %39
39: ; preds = %30, %22
%40 = phi i32 [ %29, %22 ], [ %38, %30 ]
%41 = add i32 %14, %40
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %4, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %4, align 4
%46 = zext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp ne i32 %49, 0
br i1 %50, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %51
51: ; preds = %._crit_edge, %1
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i64 @isdigit(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/tmpus5444ho.c'
source_filename = "/tmp/tmpus5444ho.c"
target datalayout = "e-m:e-p270: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 @CloseFile(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 i32 -1
}
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/tmpus5444ho.c"
target datalayout = "e-m:e-p270: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 @CloseFile(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 i32 -1
}
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/tmpu39na1_x.c'
source_filename = "/tmp/tmpu39na1_x.c"
target datalayout = "e-m:e-p270: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 i64 @hw_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @send(i32 noundef %7, ptr noundef %8, i64 noundef %9, i32 noundef 0)
ret i64 %10
}
declare i64 @send(i32 noundef, ptr noundef, i64 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/tmpu39na1_x.c"
target datalayout = "e-m:e-p270: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 i64 @hw_send(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i64 @send(i32 noundef %7, ptr noundef %8, i64 noundef %9, i32 noundef 0)
ret i64 %10
}
declare i64 @send(i32 noundef, ptr noundef, i64 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/tmpzbk5ulkp.c'
source_filename = "/tmp/tmpzbk5ulkp.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"Message wont fit\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Couldnt allocate memory, possibly out of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Could not copy memory\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Failed to embed\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Message has been coded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @embed(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i64 0, ptr %14, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %14, align 8
%18 = load i32, ptr %7, align 4
%19 = sdiv i32 %18, 8
%20 = load i64, ptr %14, align 8
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %92
25: ; preds = %4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 1, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %92
36: ; preds = %25
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 1, %40
%42 = trunc i64 %41 to i32
%43 = call ptr @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %42)
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %49
45: ; preds = %36
%46 = call i32 @printf(ptr noundef @.str.2)
%47 = load ptr, ptr %11, align 8
%48 = call i32 @free(ptr noundef %47)
store ptr null, ptr %11, align 8
store i32 -1, ptr %5, align 4
br label %92
49: ; preds = %36
%50 = load i32, ptr %12, align 4
br label %51
51: ; preds = %84, %49
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %89
55: ; preds = %51
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %13, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
store i8 %60, ptr %15, align 1
%61 = load ptr, ptr %6, align 8
%62 = load i32, ptr %12, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %61, i64 %63
store ptr %64, ptr %10, align 8
%65 = load ptr, ptr %11, align 8
%66 = load i8, ptr %15, align 1
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %12, align 4
%69 = sub nsw i32 %67, %68
%70 = call i64 @pixelMessage(ptr noundef %65, i8 noundef signext %66, i32 noundef %69)
%71 = icmp ne i64 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %55
%73 = call i32 @printf(ptr noundef @.str.3)
%74 = load ptr, ptr %11, align 8
%75 = call i32 @free(ptr noundef %74)
store i32 -1, ptr %5, align 4
br label %92
76: ; preds = %55
%77 = load i32, ptr %13, align 4
%78 = load i64, ptr %14, align 8
%79 = trunc i64 %78 to i32
%80 = icmp sge i32 %77, %79
br i1 %80, label %81, label %83
81: ; preds = %76
%82 = call i32 @printf(ptr noundef @.str.4)
br label %89
83: ; preds = %76
br label %84
84: ; preds = %83
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %85, 8
store i32 %86, ptr %12, align 4
%87 = load i32, ptr %13, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %13, align 4
br label %51, !llvm.loop !6
89: ; preds = %81, %51
%90 = load ptr, ptr %11, align 8
%91 = load ptr, ptr %9, align 8
store ptr %90, ptr %91, align 8
store i32 0, ptr %5, align 4
br label %92
92: ; preds = %89, %72, %45, %34, %23
%93 = load i32, ptr %5, align 4
ret i32 %93
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @pixelMessage(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzbk5ulkp.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"Message wont fit\0A\00", align 1
@.str.1 = private unnamed_addr constant [49 x i8] c"Couldnt allocate memory, possibly out of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"Could not copy memory\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Failed to embed\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Message has been coded\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @embed(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 0, ptr %13, align 4
store i64 0, ptr %14, align 8
%16 = load ptr, ptr %8, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %14, align 8
%18 = load i32, ptr %7, align 4
%19 = sdiv i32 %18, 8
%20 = load i64, ptr %14, align 8
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %4
%24 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %5, align 4
br label %94
25: ; preds = %4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 1, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %11, align 8
%32 = load ptr, ptr %11, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %36
34: ; preds = %25
%35 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %5, align 4
br label %94
36: ; preds = %25
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = mul i64 1, %40
%42 = trunc i64 %41 to i32
%43 = call ptr @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef %42)
%44 = icmp eq ptr %43, null
br i1 %44, label %45, label %49
45: ; preds = %36
%46 = call i32 @printf(ptr noundef @.str.2)
%47 = load ptr, ptr %11, align 8
%48 = call i32 @free(ptr noundef %47)
store ptr null, ptr %11, align 8
store i32 -1, ptr %5, align 4
br label %94
49: ; preds = %36
%50 = load i32, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %49
br label %54
54: ; preds = %.lr.ph, %83
%55 = load ptr, ptr %8, align 8
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
store i8 %59, ptr %15, align 1
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store ptr %63, ptr %10, align 8
%64 = load ptr, ptr %11, align 8
%65 = load i8, ptr %15, align 1
%66 = load i32, ptr %7, align 4
%67 = load i32, ptr %12, align 4
%68 = sub nsw i32 %66, %67
%69 = call i64 @pixelMessage(ptr noundef %64, i8 noundef signext %65, i32 noundef %68)
%70 = icmp ne i64 %69, 0
br i1 %70, label %71, label %75
71: ; preds = %54
%72 = call i32 @printf(ptr noundef @.str.3)
%73 = load ptr, ptr %11, align 8
%74 = call i32 @free(ptr noundef %73)
store i32 -1, ptr %5, align 4
br label %94
75: ; preds = %54
%76 = load i32, ptr %13, align 4
%77 = load i64, ptr %14, align 8
%78 = trunc i64 %77 to i32
%79 = icmp sge i32 %76, %78
br i1 %79, label %80, label %82
80: ; preds = %75
%81 = call i32 @printf(ptr noundef @.str.4)
br label %91
82: ; preds = %75
br label %83
83: ; preds = %82
%84 = load i32, ptr %12, align 4
%85 = add nsw i32 %84, 8
store i32 %85, ptr %12, align 4
%86 = load i32, ptr %13, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %13, align 4
%88 = load i32, ptr %12, align 4
%89 = load i32, ptr %7, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %54, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %83
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %49
br label %91
91: ; preds = %.loopexit, %80
%92 = load ptr, ptr %11, align 8
%93 = load ptr, ptr %9, align 8
store ptr %92, ptr %93, align 8
store i32 0, ptr %5, align 4
br label %94
94: ; preds = %91, %71, %45, %34, %23
%95 = load i32, ptr %5, align 4
ret i32 %95
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare ptr @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @pixelMessage(ptr noundef, i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpetb5hsmz.c'
source_filename = "/tmp/tmpetb5hsmz.c"
target datalayout = "e-m:e-p270: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"44ripd\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PERROR = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initlog() #0 {
%1 = load i32, ptr @LOG_CONS, align 4
%2 = load i32, ptr @LOG_PERROR, align 4
%3 = or i32 %1, %2
%4 = load i32, ptr @LOG_PID, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @LOG_LOCAL0, align 4
%7 = call i32 @openlog(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @openlog(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/tmpetb5hsmz.c"
target datalayout = "e-m:e-p270: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"44ripd\00", align 1
@LOG_CONS = dso_local global i32 0, align 4
@LOG_PERROR = dso_local global i32 0, align 4
@LOG_PID = dso_local global i32 0, align 4
@LOG_LOCAL0 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initlog() #0 {
%1 = load i32, ptr @LOG_CONS, align 4
%2 = load i32, ptr @LOG_PERROR, align 4
%3 = or i32 %1, %2
%4 = load i32, ptr @LOG_PID, align 4
%5 = or i32 %3, %4
%6 = load i32, ptr @LOG_LOCAL0, align 4
%7 = call i32 @openlog(ptr noundef @.str, i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @openlog(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/tmp3dsrl1px.c'
source_filename = "/tmp/tmp3dsrl1px.c"
target datalayout = "e-m:e-p270: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/tmp3dsrl1px.c"
target datalayout = "e-m:e-p270: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/tmp2z2t5eem.c'
source_filename = "/tmp/tmp2z2t5eem.c"
target datalayout = "e-m:e-p270: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/tmp2z2t5eem.c"
target datalayout = "e-m:e-p270: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/tmpl2kym0ri.c'
source_filename = "/tmp/tmpl2kym0ri.c"
target datalayout = "e-m:e-p270: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/tmpl2kym0ri.c"
target datalayout = "e-m:e-p270: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/tmphyjveyp3.c'
source_filename = "/tmp/tmphyjveyp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"memyselfi:129\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"zebra:321\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"apple:123\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"intheory:876\00", align 1
@__const.test_nodes.test_nodes = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [6 x i8] c"apple\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"intheory\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"memyselfi\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"zebra\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_nodes() #0 {
%1 = alloca [4 x ptr], align 16
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_nodes.test_nodes, i64 32, i1 false)
%3 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%4 = call i32 @init_network_nodes(i32 noundef 0, i32 noundef 4, ptr noundef %3)
%5 = call i32 (...) @my_id()
%6 = icmp eq i32 %5, 2
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = call i32 @get_port(i32 noundef 0)
%10 = icmp eq i32 %9, 123
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = call i32 @get_port(i32 noundef 1)
%14 = icmp eq i32 %13, 876
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = call i32 @get_port(i32 noundef 2)
%18 = icmp eq i32 %17, 129
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = call i32 @get_port(i32 noundef 3)
%22 = icmp eq i32 %21, 321
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = call ptr @get_address(i32 noundef 0)
store ptr %25, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.4)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call ptr @get_address(i32 noundef 1)
store ptr %33, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.5)
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = call ptr @get_address(i32 noundef 2)
store ptr %41, ptr %2, align 8
%42 = load ptr, ptr %2, align 8
%43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.6)
%44 = icmp eq i64 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = load ptr, ptr %2, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = call ptr @get_address(i32 noundef 3)
store ptr %49, ptr %2, align 8
%50 = load ptr, ptr %2, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.7)
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = call i32 (...) @destroy_network_nodes()
ret void
}
; 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 @init_network_nodes(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @my_id(...) #2
declare i32 @get_port(i32 noundef) #2
declare ptr @get_address(i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @destroy_network_nodes(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyjveyp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"memyselfi:129\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"zebra:321\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"apple:123\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"intheory:876\00", align 1
@__const.test_nodes.test_nodes = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [6 x i8] c"apple\00", align 1
@.str.5 = private unnamed_addr constant [9 x i8] c"intheory\00", align 1
@.str.6 = private unnamed_addr constant [10 x i8] c"memyselfi\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"zebra\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_nodes() #0 {
%1 = alloca [4 x ptr], align 16
%2 = alloca ptr, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.test_nodes.test_nodes, i64 32, i1 false)
%3 = getelementptr inbounds [4 x ptr], ptr %1, i64 0, i64 0
%4 = call i32 @init_network_nodes(i32 noundef 0, i32 noundef 4, ptr noundef %3)
%5 = call i32 (...) @my_id()
%6 = icmp eq i32 %5, 2
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = call i32 @get_port(i32 noundef 0)
%10 = icmp eq i32 %9, 123
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = call i32 @get_port(i32 noundef 1)
%14 = icmp eq i32 %13, 876
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = call i32 @get_port(i32 noundef 2)
%18 = icmp eq i32 %17, 129
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = call i32 @get_port(i32 noundef 3)
%22 = icmp eq i32 %21, 321
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = call ptr @get_address(i32 noundef 0)
store ptr %25, ptr %2, align 8
%26 = load ptr, ptr %2, align 8
%27 = call i64 @strcmp(ptr noundef %26, ptr noundef @.str.4)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
%33 = call ptr @get_address(i32 noundef 1)
store ptr %33, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.5)
%36 = icmp eq i64 %35, 0
%37 = zext i1 %36 to i32
%38 = call i32 @assert(i32 noundef %37)
%39 = load ptr, ptr %2, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = call ptr @get_address(i32 noundef 2)
store ptr %41, ptr %2, align 8
%42 = load ptr, ptr %2, align 8
%43 = call i64 @strcmp(ptr noundef %42, ptr noundef @.str.6)
%44 = icmp eq i64 %43, 0
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 noundef %45)
%47 = load ptr, ptr %2, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = call ptr @get_address(i32 noundef 3)
store ptr %49, ptr %2, align 8
%50 = load ptr, ptr %2, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.7)
%52 = icmp eq i64 %51, 0
%53 = zext i1 %52 to i32
%54 = call i32 @assert(i32 noundef %53)
%55 = load ptr, ptr %2, align 8
%56 = call i32 @free(ptr noundef %55)
%57 = call i32 (...) @destroy_network_nodes()
ret void
}
; 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 @init_network_nodes(i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @my_id(...) #2
declare i32 @get_port(i32 noundef) #2
declare ptr @get_address(i32 noundef) #2
declare i64 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @free(ptr noundef) #2
declare i32 @destroy_network_nodes(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4juwauf7.c'
source_filename = "/tmp/tmp4juwauf7.c"
target datalayout = "e-m:e-p270: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%ld\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"graph_args --base 1024 -l 0 --upper-limit \00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"graph_vlabel Bytes\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"graph_title Memory usage\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"graph_category system\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"graph_info This graph shows this machine memory.\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"graph_order used free\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"used.label used\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"used.draw STACK\00", align 1
@.str.9 = private unnamed_addr constant [23 x i8] c"used.info Used memory.\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"free.label free\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"free.draw STACK\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"free.info Free memory.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CONFIG_MEMORY(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x i32], align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @FETCH_MEMORY(ptr noundef %5)
%7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%8 = load i32, ptr %7, align 4
%9 = call i32 @asprintf(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
store ptr @.str.2, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
store ptr @.str.3, ptr %16, align 8
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 3
store ptr @.str.4, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 4
store ptr @.str.5, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 5
store ptr @.str.6, ptr %22, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 6
store ptr @.str.7, ptr %24, align 8
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 7
store ptr @.str.8, ptr %26, align 8
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 8
store ptr @.str.9, ptr %28, align 8
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 9
store ptr @.str.10, ptr %30, align 8
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 10
store ptr @.str.11, ptr %32, align 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 11
store ptr @.str.12, ptr %34, align 8
ret void
}
declare i32 @FETCH_MEMORY(ptr noundef) #1
declare i32 @asprintf(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/tmp4juwauf7.c"
target datalayout = "e-m:e-p270: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%ld\00", align 1
@.str.1 = private unnamed_addr constant [43 x i8] c"graph_args --base 1024 -l 0 --upper-limit \00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"graph_vlabel Bytes\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"graph_title Memory usage\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"graph_category system\00", align 1
@.str.5 = private unnamed_addr constant [49 x i8] c"graph_info This graph shows this machine memory.\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"graph_order used free\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"used.label used\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"used.draw STACK\00", align 1
@.str.9 = private unnamed_addr constant [23 x i8] c"used.info Used memory.\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"free.label free\00", align 1
@.str.11 = private unnamed_addr constant [16 x i8] c"free.draw STACK\00", align 1
@.str.12 = private unnamed_addr constant [23 x i8] c"free.info Free memory.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @CONFIG_MEMORY(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [3 x i32], align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @FETCH_MEMORY(ptr noundef %5)
%7 = getelementptr inbounds [3 x i32], ptr %3, i64 0, i64 0
%8 = load i32, ptr %7, align 4
%9 = call i32 @asprintf(ptr noundef %4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
store ptr %10, ptr %12, align 8
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
store ptr @.str.2, ptr %14, align 8
%15 = load ptr, ptr %2, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
store ptr @.str.3, ptr %16, align 8
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 3
store ptr @.str.4, ptr %18, align 8
%19 = load ptr, ptr %2, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 4
store ptr @.str.5, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 5
store ptr @.str.6, ptr %22, align 8
%23 = load ptr, ptr %2, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 6
store ptr @.str.7, ptr %24, align 8
%25 = load ptr, ptr %2, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 7
store ptr @.str.8, ptr %26, align 8
%27 = load ptr, ptr %2, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 8
store ptr @.str.9, ptr %28, align 8
%29 = load ptr, ptr %2, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 9
store ptr @.str.10, ptr %30, align 8
%31 = load ptr, ptr %2, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 10
store ptr @.str.11, ptr %32, align 8
%33 = load ptr, ptr %2, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 11
store ptr @.str.12, ptr %34, align 8
ret void
}
declare i32 @FETCH_MEMORY(ptr noundef) #1
declare i32 @asprintf(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/tmpe_oscay7.c'
source_filename = "/tmp/tmpe_oscay7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpe_oscay7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EAGAIN = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp6jmzieom.c'
source_filename = "/tmp/tmp6jmzieom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 4000)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %33
8: ; preds = %0
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %20, %8
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 1000
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 1000
%15 = add nsw i32 %14, 1
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, 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 %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
%24 = load ptr, ptr %2, align 8
%25 = call i32 @rand_select(ptr noundef %24, i32 noundef 0, i32 noundef 999, i32 noundef 999)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load ptr, ptr %2, align 8
%28 = call i32 @quicksort(ptr noundef %27, i32 noundef 0, i32 noundef 999)
%29 = load ptr, ptr %2, align 8
%30 = call i32 @printf_A(ptr noundef %29)
%31 = load ptr, ptr %2, align 8
%32 = call i32 @free(ptr noundef %31)
store i32 0, ptr %1, align 4
br label %33
33: ; preds = %23, %6
%34 = load i32, ptr %1, align 4
ret i32 %34
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
declare i32 @rand_select(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf_A(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jmzieom.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"malloc error\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"i = %d\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 i32, align 4
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 4000)
store ptr %4, ptr %2, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %34
8: ; preds = %0
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 1000
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %19
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 1000
%14 = add nsw i32 %13, 1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, 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 %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 1000
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %8
%25 = load ptr, ptr %2, align 8
%26 = call i32 @rand_select(ptr noundef %25, i32 noundef 0, i32 noundef 999, i32 noundef 999)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = call i32 @quicksort(ptr noundef %28, i32 noundef 0, i32 noundef 999)
%30 = load ptr, ptr %2, align 8
%31 = call i32 @printf_A(ptr noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = call i32 @free(ptr noundef %32)
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %24, %6
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
declare i32 @rand_select(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @quicksort(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf_A(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpruexuh67.c'
source_filename = "/tmp/tmpruexuh67.c"
target datalayout = "e-m:e-p270: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"'\\%c'\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"'\\''\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"'%c'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @quote_char(i8 noundef signext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 92
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = call ptr (ptr, ...) @format(ptr noundef @.str, i32 noundef %9)
store ptr %10, ptr %2, align 8
br label %21
11: ; preds = %1
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 39
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call ptr (ptr, ...) @format(ptr noundef @.str.1)
store ptr %16, ptr %2, align 8
br label %21
17: ; preds = %11
%18 = load i8, ptr %3, align 1
%19 = sext i8 %18 to i32
%20 = call ptr (ptr, ...) @format(ptr noundef @.str.2, i32 noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %17, %15, %7
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare ptr @format(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/tmpruexuh67.c"
target datalayout = "e-m:e-p270: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"'\\%c'\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"'\\''\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"'%c'\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @quote_char(i8 noundef signext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 92
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = call ptr (ptr, ...) @format(ptr noundef @.str, i32 noundef %9)
store ptr %10, ptr %2, align 8
br label %21
11: ; preds = %1
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 39
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = call ptr (ptr, ...) @format(ptr noundef @.str.1)
store ptr %16, ptr %2, align 8
br label %21
17: ; preds = %11
%18 = load i8, ptr %3, align 1
%19 = sext i8 %18 to i32
%20 = call ptr (ptr, ...) @format(ptr noundef @.str.2, i32 noundef %19)
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %17, %15, %7
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare ptr @format(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/tmpxo_1vr6x.c'
source_filename = "/tmp/tmpxo_1vr6x.c"
target datalayout = "e-m:e-p270: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/tmpxo_1vr6x.c"
target datalayout = "e-m:e-p270: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/tmpv97xs7ga.c'
source_filename = "/tmp/tmpv97xs7ga.c"
target datalayout = "e-m:e-p270: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 @pthread_attr_setschedparam(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpv97xs7ga.c"
target datalayout = "e-m:e-p270: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 @pthread_attr_setschedparam(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp1y34d4gl.c'
source_filename = "/tmp/tmp1y34d4gl.c"
target datalayout = "e-m:e-p270: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".android\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"adb_usb.ini\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @build_path(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i32 @snprintf(ptr noundef %10, i64 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef @.str, ptr noundef @.str.1)
%15 = load i64, ptr %7, align 8
%16 = trunc i64 %15 to i32
%17 = icmp sge i32 %14, %16
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 1, ptr %5, align 4
br label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1y34d4gl.c"
target datalayout = "e-m:e-p270: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".android\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"adb_usb.ini\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @build_path(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = load ptr, ptr %9, align 8
%14 = call i32 @snprintf(ptr noundef %10, i64 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef @.str, ptr noundef @.str.1)
%15 = load i64, ptr %7, align 8
%16 = trunc i64 %15 to i32
%17 = icmp sge i32 %14, %16
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 1, ptr %5, align 4
br label %20
19: ; preds = %4
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %19, %18
%21 = load i32, ptr %5, align 4
ret i32 %21
}
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9978__0m.c'
source_filename = "/tmp/tmp9978__0m.c"
target datalayout = "e-m:e-p270: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/tmp9978__0m.c"
target datalayout = "e-m:e-p270: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/tmpe_9u20pj.c'
source_filename = "/tmp/tmpe_9u20pj.c"
target datalayout = "e-m:e-p270: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 @sfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @dmem_release(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @dmem_release(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/tmpe_9u20pj.c"
target datalayout = "e-m:e-p270: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 @sfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @dmem_release(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @dmem_release(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/tmpqcfocyks.c'
source_filename = "/tmp/tmpqcfocyks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_modify_ldt = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqcfocyks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_modify_ldt = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4szzd9c0.c'
source_filename = "/tmp/tmp4szzd9c0.c"
target datalayout = "e-m:e-p270: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/tmp4szzd9c0.c"
target datalayout = "e-m:e-p270: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/tmp4rm_kfct.c'
source_filename = "/tmp/tmp4rm_kfct.c"
target datalayout = "e-m:e-p270: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 @mstring_get_sub(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
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %4, align 8
%11 = call i32 @mstring_get_length(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = mul i64 1, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @palloc(i32 noundef %16)
store ptr %17, ptr %8, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = icmp slt i32 %18, %21
br i1 %22, label %23, label %27
23: ; preds = %3
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %23, %3
store i32 0, ptr %9, align 4
br label %28
28: ; preds = %44, %27
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp ne i32 %29, %30
br i1 %31, label %32, label %47
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %33, i64 %37
%39 = load i8, ptr %38, align 1
%40 = load ptr, ptr %8, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 %39, ptr %43, align 1
br label %44
44: ; preds = %32
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %9, align 4
br label %28, !llvm.loop !6
47: ; preds = %28
%48 = load ptr, ptr %8, align 8
ret ptr %48
}
declare i32 @mstring_get_length(ptr noundef) #1
declare ptr @palloc(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/tmp4rm_kfct.c"
target datalayout = "e-m:e-p270: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 @mstring_get_sub(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
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %4, align 8
%11 = call i32 @mstring_get_length(ptr noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = mul i64 1, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @palloc(i32 noundef %16)
store ptr %17, ptr %8, align 8
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %19, %20
%22 = icmp slt i32 %18, %21
br i1 %22, label %23, label %27
23: ; preds = %3
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %5, align 4
%26 = sub nsw i32 %24, %25
store i32 %26, ptr %6, align 4
br label %27
27: ; preds = %23, %3
store i32 0, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %28, %29
br i1 %30, label %.lr.ph, label %49
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %43
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %33, %34
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %32, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
br label %43
43: ; preds = %31
%44 = load i32, ptr %9, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %9, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %6, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %27
%50 = load ptr, ptr %8, align 8
ret ptr %50
}
declare i32 @mstring_get_length(ptr noundef) #1
declare ptr @palloc(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/tmpi236j8_8.c'
source_filename = "/tmp/tmpi236j8_8.c"
target datalayout = "e-m:e-p270: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 @_gfks_call_update(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @update_func(float noundef %3)
ret void
}
declare i32 @update_func(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi236j8_8.c"
target datalayout = "e-m:e-p270: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 @_gfks_call_update(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @update_func(float noundef %3)
ret void
}
declare i32 @update_func(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpom73liqg.c'
source_filename = "/tmp/tmpom73liqg.c"
target datalayout = "e-m:e-p270: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 willreturn memory(none) uwtable
define dso_local double @ceil(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__ocml_ceil_f64(double noundef %3)
ret double %4
}
declare double @__ocml_ceil_f64(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpom73liqg.c"
target datalayout = "e-m:e-p270: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 willreturn memory(none) uwtable
define dso_local double @ceil(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @__ocml_ceil_f64(double noundef %3)
ret double %4
}
declare double @__ocml_ceil_f64(double noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpn8o4y0hu.c'
source_filename = "/tmp/tmpn8o4y0hu.c"
target datalayout = "e-m:e-p270: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 @swi_right_trim(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
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %22, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = call i64 @isspace(i32 noundef %17)
%19 = icmp ne i64 %18, 0
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
store i8 0, ptr %23, align 1
br label %10, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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/tmpn8o4y0hu.c"
target datalayout = "e-m:e-p270: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 @swi_right_trim(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
%9 = getelementptr inbounds i8, ptr %8, i64 -1
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %22, %1
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %2, align 8
%13 = icmp uge ptr %11, %12
br i1 %13, label %14, label %20
14: ; preds = %10
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = zext i8 %16 to i32
%18 = call i64 @isspace(i32 noundef %17)
%19 = icmp ne i64 %18, 0
br label %20
20: ; preds = %14, %10
%21 = phi i1 [ false, %10 ], [ %19, %14 ]
br i1 %21, label %22, label %25
22: ; preds = %20
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 -1
store ptr %24, ptr %3, align 8
store i8 0, ptr %23, align 1
br label %10, !llvm.loop !6
25: ; preds = %20
%26 = load ptr, ptr %2, align 8
ret ptr %26
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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/tmp1iw_hgdx.c'
source_filename = "/tmp/tmp1iw_hgdx.c"
target datalayout = "e-m:e-p270: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"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cas(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %8, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %32, %1
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 10000000
br i1 %18, label %19, label %35
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = call i64 @atomic_compare_exchange_strong(ptr noundef %20, ptr noundef %21, i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %31
28: ; preds = %19
%29 = load i32, ptr %7, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %28, %25
br label %32
32: ; preds = %31
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %16, !llvm.loop !6
35: ; preds = %16
%36 = load ptr, ptr %4, align 8
%37 = call i32 @mtx_lock(ptr noundef %36)
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %38, i32 noundef %39)
%41 = load ptr, ptr %4, align 8
%42 = call i32 @mtx_unlock(ptr noundef %41)
ret i32 0
}
declare i64 @atomic_compare_exchange_strong(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mtx_lock(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mtx_unlock(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/tmp1iw_hgdx.c"
target datalayout = "e-m:e-p270: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"%d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cas(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
store ptr %9, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 0
%12 = load ptr, ptr %11, align 8
store ptr %12, ptr %3, align 8
%13 = load ptr, ptr %8, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %4, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %16, 10000000
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %31
%19 = load ptr, ptr %3, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = call i64 @atomic_compare_exchange_strong(ptr noundef %19, ptr noundef %20, i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %18
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %30
27: ; preds = %18
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
br label %30
30: ; preds = %27, %24
br label %31
31: ; preds = %30
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %34, 10000000
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %1
%37 = load ptr, ptr %4, align 8
%38 = call i32 @mtx_lock(ptr noundef %37)
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %7, align 4
%41 = call i32 @printf(ptr noundef @.str, i32 noundef %39, i32 noundef %40)
%42 = load ptr, ptr %4, align 8
%43 = call i32 @mtx_unlock(ptr noundef %42)
ret i32 0
}
declare i64 @atomic_compare_exchange_strong(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @mtx_lock(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @mtx_unlock(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/tmpwb0jajqy.c'
source_filename = "/tmp/tmpwb0jajqy.c"
target datalayout = "e-m:e-p270: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/tmpwb0jajqy.c"
target datalayout = "e-m:e-p270: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/tmpcwhn2lxn.c'
source_filename = "/tmp/tmpcwhn2lxn.c"
target datalayout = "e-m:e-p270: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 @HO_deriv_4(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00)
%8 = fneg double %7
%9 = call double @sqrt(double noundef 6.000000e+00)
%10 = fmul double %8, %9
%11 = load double, ptr %3, align 8
%12 = load double, ptr %3, align 8
%13 = fmul double %11, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 4.000000e+00)
%16 = load double, ptr %3, align 8
%17 = fmul double 7.000000e+00, %16
%18 = load double, ptr %4, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = fmul double %19, %20
%22 = fneg double %21
%23 = call double @llvm.fmuladd.f64(double %13, double %15, double %22)
%24 = fadd double %23, 6.750000e+00
%25 = fmul double %10, %24
%26 = load double, ptr %3, align 8
%27 = fneg double %26
%28 = load double, ptr %4, align 8
%29 = fmul double %27, %28
%30 = load double, ptr %4, align 8
%31 = fmul double %29, %30
%32 = fdiv double %31, 2.000000e+00
%33 = call double @exp(double noundef %32)
%34 = fmul double %25, %33
%35 = load double, ptr %4, align 8
%36 = fmul double %34, %35
%37 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%38 = fmul double %36, %37
%39 = fdiv double %38, 3.000000e+00
store double %39, ptr %5, align 8
%40 = load double, ptr %5, align 8
ret double %40
}
declare double @pow(double noundef, double noundef) #1
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @exp(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcwhn2lxn.c"
target datalayout = "e-m:e-p270: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 @HO_deriv_4(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = call double @pow(double noundef %6, double noundef 1.250000e+00)
%8 = fneg double %7
%9 = call double @sqrt(double noundef 6.000000e+00)
%10 = fmul double %8, %9
%11 = load double, ptr %3, align 8
%12 = load double, ptr %3, align 8
%13 = fmul double %11, %12
%14 = load double, ptr %4, align 8
%15 = call double @pow(double noundef %14, double noundef 4.000000e+00)
%16 = load double, ptr %3, align 8
%17 = fmul double 7.000000e+00, %16
%18 = load double, ptr %4, align 8
%19 = fmul double %17, %18
%20 = load double, ptr %4, align 8
%21 = fmul double %19, %20
%22 = fneg double %21
%23 = call double @llvm.fmuladd.f64(double %13, double %15, double %22)
%24 = fadd double %23, 6.750000e+00
%25 = fmul double %10, %24
%26 = load double, ptr %3, align 8
%27 = fneg double %26
%28 = load double, ptr %4, align 8
%29 = fmul double %27, %28
%30 = load double, ptr %4, align 8
%31 = fmul double %29, %30
%32 = fdiv double %31, 2.000000e+00
%33 = call double @exp(double noundef %32)
%34 = fmul double %25, %33
%35 = load double, ptr %4, align 8
%36 = fmul double %34, %35
%37 = call double @pow(double noundef 0x400921FB54524550, double noundef -2.500000e-01)
%38 = fmul double %36, %37
%39 = fdiv double %38, 3.000000e+00
store double %39, ptr %5, align 8
%40 = load double, ptr %5, align 8
ret double %40
}
declare double @pow(double noundef, double noundef) #1
declare double @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @exp(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"}
|
; ModuleID = '/tmp/tmpwxzefk_7.c'
source_filename = "/tmp/tmpwxzefk_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"and you shake it all about.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shakeWheels() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %13, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %6, label %16
6: ; preds = %3
%7 = call i32 @motor(i32 noundef 3, i32 noundef 100)
%8 = call i32 @motor(i32 noundef 1, i32 noundef -100)
%9 = call i32 @msleep(i32 noundef 100)
%10 = call i32 @motor(i32 noundef 3, i32 noundef -100)
%11 = call i32 @motor(i32 noundef 1, i32 noundef 100)
%12 = call i32 @msleep(i32 noundef 100)
br label %13
13: ; preds = %6
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %3, !llvm.loop !6
16: ; preds = %3
%17 = call i32 @motor(i32 noundef 3, i32 noundef 100)
%18 = call i32 @motor(i32 noundef 1, i32 noundef -100)
%19 = call i32 @msleep(i32 noundef 100)
%20 = call i32 @off(i32 noundef 3)
%21 = call i32 @off(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @motor(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @off(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/tmpwxzefk_7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"and you shake it all about.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shakeWheels() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 5
br i1 %4, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %12
%6 = call i32 @motor(i32 noundef 3, i32 noundef 100)
%7 = call i32 @motor(i32 noundef 1, i32 noundef -100)
%8 = call i32 @msleep(i32 noundef 100)
%9 = call i32 @motor(i32 noundef 3, i32 noundef -100)
%10 = call i32 @motor(i32 noundef 1, i32 noundef 100)
%11 = call i32 @msleep(i32 noundef 100)
br label %12
12: ; preds = %5
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
%18 = call i32 @motor(i32 noundef 3, i32 noundef 100)
%19 = call i32 @motor(i32 noundef 1, i32 noundef -100)
%20 = call i32 @msleep(i32 noundef 100)
%21 = call i32 @off(i32 noundef 3)
%22 = call i32 @off(i32 noundef 1)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @motor(i32 noundef, i32 noundef) #1
declare i32 @msleep(i32 noundef) #1
declare i32 @off(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/tmp0y_tgre2.c'
source_filename = "/tmp/tmp0y_tgre2.c"
target datalayout = "e-m:e-p270: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/tmp0y_tgre2.c"
target datalayout = "e-m:e-p270: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/tmpexmd5wtb.c'
source_filename = "/tmp/tmpexmd5wtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @csla_dvdv(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 double @sla_dvdv(ptr noundef %5, ptr noundef %6)
ret double %7
}
declare double @sla_dvdv(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/tmpexmd5wtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @csla_dvdv(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 double @sla_dvdv(ptr noundef %5, ptr noundef %6)
ret double %7
}
declare double @sla_dvdv(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/tmpkmxs1re5.c'
source_filename = "/tmp/tmpkmxs1re5.c"
target datalayout = "e-m:e-p270: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.mntent = type { i32 }
@getmntent.buff = internal global ptr null, align 8
@getmntent.mnt = internal global %struct.mntent zeroinitializer, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getmntent(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 @getmntent.buff, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = load i32, ptr @BUFSIZ, align 4
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr @getmntent.buff, align 8
%9 = load ptr, ptr @getmntent.buff, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %6
%12 = call i32 (...) @abort() #3
unreachable
13: ; preds = %6
br label %14
14: ; preds = %13, %1
%15 = load ptr, ptr %2, align 8
%16 = load ptr, ptr @getmntent.buff, align 8
%17 = load i32, ptr @BUFSIZ, align 4
%18 = call ptr @getmntent_r(ptr noundef %15, ptr noundef @getmntent.mnt, ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @getmntent_r(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" }
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/tmpkmxs1re5.c"
target datalayout = "e-m:e-p270: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.mntent = type { i32 }
@getmntent.buff = internal global ptr null, align 8
@getmntent.mnt = internal global %struct.mntent zeroinitializer, align 4
@BUFSIZ = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @getmntent(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 @getmntent.buff, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %14, label %6
6: ; preds = %1
%7 = load i32, ptr @BUFSIZ, align 4
%8 = call ptr @malloc(i32 noundef %7)
store ptr %8, ptr @getmntent.buff, align 8
%9 = load ptr, ptr @getmntent.buff, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %13, label %11
11: ; preds = %6
%12 = call i32 (...) @abort() #3
unreachable
13: ; preds = %6
br label %14
14: ; preds = %13, %1
%15 = load ptr, ptr %2, align 8
%16 = load ptr, ptr @getmntent.buff, align 8
%17 = load i32, ptr @BUFSIZ, align 4
%18 = call ptr @getmntent_r(ptr noundef %15, ptr noundef @getmntent.mnt, ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
ret ptr %19
}
declare ptr @malloc(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
declare ptr @getmntent_r(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" }
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/tmpz0l3n52n.c'
source_filename = "/tmp/tmpz0l3n52n.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"\0AUsage: %s -l <port> -d <port> -i <can interface> - e <eth interface>\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" Version 0.1\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [80 x i8] c" -l <port> listening UDP port for the server - default 15731\0A\00", align 1
@.str.4 = private unnamed_addr constant [82 x i8] c" -d <port> destination UDP port for the server - default 15730\0A\00", align 1
@.str.5 = private unnamed_addr constant [72 x i8] c" -b <broadcast_addr> broadcast address - default 192.168.0.255\0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c" -i <can int> can interface - default can0\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" -e <Eth int> Ethernet interface - default eth0\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c" -f running in foreground\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmpz0l3n52n.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"\0AUsage: %s -l <port> -d <port> -i <can interface> - e <eth interface>\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c" Version 0.1\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [80 x i8] c" -l <port> listening UDP port for the server - default 15731\0A\00", align 1
@.str.4 = private unnamed_addr constant [82 x i8] c" -d <port> destination UDP port for the server - default 15730\0A\00", align 1
@.str.5 = private unnamed_addr constant [72 x i8] c" -b <broadcast_addr> broadcast address - default 192.168.0.255\0A\00", align 1
@.str.6 = private unnamed_addr constant [59 x i8] c" -i <can int> can interface - default can0\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c" -e <Eth int> Ethernet interface - default eth0\0A\00", align 1
@.str.8 = private unnamed_addr constant [52 x i8] c" -f running in foreground\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.4)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str.5)
%16 = load i32, ptr @stderr, align 4
%17 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.6)
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.7)
%20 = load i32, ptr @stderr, align 4
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str.8)
%22 = load i32, ptr @stderr, align 4
%23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmpoj0o2ez5.c'
source_filename = "/tmp/tmpoj0o2ez5.c"
target datalayout = "e-m:e-p270: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 @sfd_log_close() #0 {
%1 = call i32 (...) @closelog()
ret void
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpoj0o2ez5.c"
target datalayout = "e-m:e-p270: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 @sfd_log_close() #0 {
%1 = call i32 (...) @closelog()
ret void
}
declare i32 @closelog(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpo86ge3ev.c'
source_filename = "/tmp/tmpo86ge3ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @elapsed_ms(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = sub i64 %9, %12
store i64 %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
%16 = load i64, ptr %15, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = sub i64 %16, %19
store i64 %20, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = uitofp i64 %21 to double
%23 = load i64, ptr %6, align 8
%24 = uitofp i64 %23 to double
%25 = fdiv double %24, 1.000000e+03
%26 = call double @llvm.fmuladd.f64(double %22, double 1.000000e+03, double %25)
ret double %26
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpo86ge3ev.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @elapsed_ms(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
%9 = load i64, ptr %8, align 8
%10 = load ptr, ptr %3, align 8
%11 = getelementptr inbounds %struct.timeval, ptr %10, i32 0, i32 0
%12 = load i64, ptr %11, align 8
%13 = sub i64 %9, %12
store i64 %13, ptr %5, align 8
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds %struct.timeval, ptr %14, i32 0, i32 1
%16 = load i64, ptr %15, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.timeval, ptr %17, i32 0, i32 1
%19 = load i64, ptr %18, align 8
%20 = sub i64 %16, %19
store i64 %20, ptr %6, align 8
%21 = load i64, ptr %5, align 8
%22 = uitofp i64 %21 to double
%23 = load i64, ptr %6, align 8
%24 = uitofp i64 %23 to double
%25 = fdiv double %24, 1.000000e+03
%26 = call double @llvm.fmuladd.f64(double %22, double 1.000000e+03, double %25)
ret double %26
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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/tmpgnh6pyin.c'
source_filename = "/tmp/tmpgnh6pyin.c"
target datalayout = "e-m:e-p270: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 @Sys_EndStreamedFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
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/tmpgnh6pyin.c"
target datalayout = "e-m:e-p270: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 @Sys_EndStreamedFile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
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/tmpoc5_1cwe.c'
source_filename = "/tmp/tmpoc5_1cwe.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"32-bit paged copybox\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__svgalib_driver32p_copybox(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 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 i32, align 4
%12 = alloca i32, align 4
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 i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = call i32 @notimplemented(ptr noundef @.str)
ret void
}
declare i32 @notimplemented(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/tmpoc5_1cwe.c"
target datalayout = "e-m:e-p270: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 [21 x i8] c"32-bit paged copybox\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__svgalib_driver32p_copybox(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 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 i32, align 4
%12 = alloca i32, align 4
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 i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%13 = call i32 @notimplemented(ptr noundef @.str)
ret void
}
declare i32 @notimplemented(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/tmpr2qqu0sc.c'
source_filename = "/tmp/tmpr2qqu0sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %25, %2
%8 = load i32, ptr %6, align 4
%9 = icmp slt i32 %8, 400
br i1 %9, label %10, label %28
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load i8, ptr %5, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %16, %18
br i1 %19, label %20, label %24
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
store ptr %23, ptr %3, align 8
br label %30
24: ; preds = %10
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %7, !llvm.loop !6
28: ; preds = %7
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store ptr null, ptr %3, align 8
br label %30
30: ; preds = %28, %20
%31 = load ptr, ptr %3, align 8
ret ptr %31
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2qqu0sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 400
br i1 %8, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load i8, ptr %5, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %15, %17
br i1 %18, label %19, label %23
19: ; preds = %9
%20 = load i32, ptr %6, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
store ptr %22, ptr %3, align 8
br label %31
23: ; preds = %9
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 400
br i1 %28, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store ptr null, ptr %3, align 8
br label %31
31: ; preds = %29, %19
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
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"}
|
; ModuleID = '/tmp/tmpy8c_mnsf.c'
source_filename = "/tmp/tmpy8c_mnsf.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [15 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 7, i32 8, i32 9, i32 10, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [15 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 60, i1 false)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %40, %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 9
br i1 %9, label %10, label %43
10: ; preds = %7
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %13
%15 = load i32, ptr %14, align 4
%16 = icmp slt i32 %11, %15
br i1 %16, label %17, label %39
17: ; preds = %10
store i32 8, ptr %2, align 4
br label %18
18: ; preds = %31, %17
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %1, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %34
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %22
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %2, align 4
br label %18, !llvm.loop !6
34: ; preds = %18
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %1, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %37
store i32 %35, ptr %38, align 4
br label %43
39: ; preds = %10
br label %40
40: ; preds = %39
%41 = load i32, ptr %1, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %1, align 4
br label %7, !llvm.loop !8
43: ; preds = %34, %7
%44 = load i32, ptr %1, align 4
%45 = icmp eq i32 %44, 9
br i1 %45, label %46, label %51
46: ; preds = %43
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %1, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %49
store i32 %47, ptr %50, align 4
br label %51
51: ; preds = %46, %43
store i32 0, ptr %1, align 4
br label %52
52: ; preds = %61, %51
%53 = load i32, ptr %1, align 4
%54 = icmp slt i32 %53, 10
br i1 %54, label %55, label %64
55: ; preds = %52
%56 = load i32, ptr %1, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %57
%59 = load i32, ptr %58, align 4
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %59)
br label %61
61: ; preds = %55
%62 = load i32, ptr %1, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %1, align 4
br label %52, !llvm.loop !9
64: ; preds = %52
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy8c_mnsf.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [15 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 7, i32 8, i32 9, i32 10, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0], align 16
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [15 x i32], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a, i64 60, i1 false)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 9
br i1 %8, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %41
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %12
%14 = load i32, ptr %13, align 4
%15 = icmp slt i32 %10, %14
br i1 %15, label %16, label %40
16: ; preds = %9
store i32 8, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %1, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %.lr.ph1, label %35
.lr.ph1: ; preds = %16
br label %20
20: ; preds = %.lr.ph1, %29
%21 = load i32, ptr %2, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %27
store i32 %24, ptr %28, align 4
br label %29
29: ; preds = %20
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %30, -1
store i32 %31, ptr %2, align 4
%32 = load i32, ptr %2, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %16
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr %1, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %38
store i32 %36, ptr %39, align 4
br label %46
40: ; preds = %9
br label %41
41: ; preds = %40
%42 = load i32, ptr %1, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %1, align 4
%44 = load i32, ptr %1, align 4
%45 = icmp slt i32 %44, 9
br i1 %45, label %9, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %41
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %46
46: ; preds = %.loopexit, %35
%47 = load i32, ptr %1, align 4
%48 = icmp eq i32 %47, 9
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %1, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %52
store i32 %50, ptr %53, align 4
br label %54
54: ; preds = %49, %46
store i32 0, ptr %1, align 4
%55 = load i32, ptr %1, align 4
%56 = icmp slt i32 %55, 10
br i1 %56, label %.lr.ph3, label %68
.lr.ph3: ; preds = %54
br label %57
57: ; preds = %.lr.ph3, %63
%58 = load i32, ptr %1, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [15 x i32], ptr %4, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %61)
br label %63
63: ; preds = %57
%64 = load i32, ptr %1, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %1, align 4
%66 = load i32, ptr %1, align 4
%67 = icmp slt i32 %66, 10
br i1 %67, label %57, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %63
br label %68
68: ; preds = %._crit_edge4, %54
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
; 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 @scanf(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpnwdwkh4s.c'
source_filename = "/tmp/tmpnwdwkh4s.c"
target datalayout = "e-m:e-p270: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/tmpnwdwkh4s.c"
target datalayout = "e-m:e-p270: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/tmp46n20a5x.c'
source_filename = "/tmp/tmp46n20a5x.c"
target datalayout = "e-m:e-p270: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/tmp46n20a5x.c"
target datalayout = "e-m:e-p270: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/tmpya5vqg9t.c'
source_filename = "/tmp/tmpya5vqg9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stdin\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"two numbers expected\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [45 x i8] c"Cannot have tabs in starmap--please expand.\0A\00", align 1
@.str.5 = 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 [23 x [90 x i8]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %17, %0
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 79
br i1 %11, label %12, label %20
12: ; preds = %9
%13 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [90 x i8], ptr %13, i64 0, i64 %15
store i8 32, ptr %16, align 1
br label %17
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
%21 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%22 = getelementptr inbounds [90 x i8], ptr %21, i64 0, i64 79
store i8 0, ptr %22, align 1
%23 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds [90 x i8], ptr %23, i64 0, i64 0
%25 = load i32, ptr @stdin, align 4
%26 = call i64 @fgets(ptr noundef %24, i32 noundef 90, i32 noundef %25)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %20
%29 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %237
30: ; preds = %20
%31 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%32 = getelementptr inbounds [90 x i8], ptr %31, i64 0, i64 0
%33 = load i8, ptr %32, align 16
%34 = call i64 @isdigit(i8 noundef signext %33)
%35 = icmp ne i64 %34, 0
br i1 %35, label %36, label %102
36: ; preds = %30
%37 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%38 = getelementptr inbounds [90 x i8], ptr %37, i64 0, i64 0
%39 = call i32 @atoi(ptr noundef %38)
store i32 %39, ptr %7, align 4
store i32 0, ptr %3, align 4
br label %40
40: ; preds = %62, %36
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 23
br i1 %42, label %43, label %65
43: ; preds = %40
store i32 0, ptr %4, align 4
br label %44
44: ; preds = %54, %43
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %45, 79
br i1 %46, label %47, label %57
47: ; preds = %44
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %49
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [90 x i8], ptr %50, i64 0, i64 %52
store i8 32, ptr %53, align 1
br label %54
54: ; preds = %47
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %4, align 4
br label %44, !llvm.loop !8
57: ; preds = %44
%58 = load i32, ptr %3, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %59
%61 = getelementptr inbounds [90 x i8], ptr %60, i64 0, i64 79
store i8 0, ptr %61, align 1
br label %62
62: ; preds = %57
%63 = load i32, ptr %3, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %3, align 4
br label %40, !llvm.loop !9
65: ; preds = %40
br label %66
66: ; preds = %85, %65
%67 = load i32, ptr %7, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %88
69: ; preds = %66
%70 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6)
%71 = icmp ne i32 %70, 2
br i1 %71, label %72, label %74
72: ; preds = %69
%73 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %237
74: ; preds = %69
%75 = load i32, ptr %5, align 4
store i32 %75, ptr %3, align 4
%76 = load i32, ptr %6, align 4
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %3, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %78
%80 = load i32, ptr %4, align 4
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [90 x i8], ptr %79, i64 0, i64 %83
store i8 42, ptr %84, align 1
br label %85
85: ; preds = %74
%86 = load i32, ptr %7, align 4
%87 = add nsw i32 %86, -1
store i32 %87, ptr %7, align 4
br label %66, !llvm.loop !10
88: ; preds = %66
store i32 0, ptr %3, align 4
br label %89
89: ; preds = %98, %88
%90 = load i32, ptr %3, align 4
%91 = icmp slt i32 %90, 23
br i1 %91, label %92, label %101
92: ; preds = %89
%93 = load i32, ptr %3, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %94
%96 = getelementptr inbounds [90 x i8], ptr %95, i64 0, i64 0
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %96)
br label %98
98: ; preds = %92
%99 = load i32, ptr %3, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %3, align 4
br label %89, !llvm.loop !11
101: ; preds = %89
br label %235
102: ; preds = %30
store i32 0, ptr %8, align 4
store i32 1, ptr %3, align 4
br label %103
103: ; preds = %125, %102
%104 = load i32, ptr %3, align 4
%105 = icmp slt i32 %104, 23
br i1 %105, label %106, label %128
106: ; preds = %103
store i32 0, ptr %4, align 4
br label %107
107: ; preds = %117, %106
%108 = load i32, ptr %4, align 4
%109 = icmp slt i32 %108, 79
br i1 %109, label %110, label %120
110: ; preds = %107
%111 = load i32, ptr %3, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %112
%114 = load i32, ptr %4, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [90 x i8], ptr %113, i64 0, i64 %115
store i8 32, ptr %116, align 1
br label %117
117: ; preds = %110
%118 = load i32, ptr %4, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %4, align 4
br label %107, !llvm.loop !12
120: ; preds = %107
%121 = load i32, ptr %3, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %122
%124 = getelementptr inbounds [90 x i8], ptr %123, i64 0, i64 79
store i8 0, ptr %124, align 1
br label %125
125: ; preds = %120
%126 = load i32, ptr %3, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %3, align 4
br label %103, !llvm.loop !13
128: ; preds = %103
store i32 1, ptr %3, align 4
br label %129
129: ; preds = %143, %128
%130 = load i32, ptr %3, align 4
%131 = icmp slt i32 %130, 23
br i1 %131, label %132, label %146
132: ; preds = %129
%133 = load i32, ptr %3, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %134
%136 = getelementptr inbounds [90 x i8], ptr %135, i64 0, i64 0
%137 = load i32, ptr @stdin, align 4
%138 = call i64 @fgets(ptr noundef %136, i32 noundef 90, i32 noundef %137)
%139 = icmp eq i64 %138, 0
br i1 %139, label %140, label %142
140: ; preds = %132
%141 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %237
142: ; preds = %132
br label %143
143: ; preds = %142
%144 = load i32, ptr %3, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %3, align 4
br label %129, !llvm.loop !14
146: ; preds = %129
store i32 0, ptr %3, align 4
br label %147
147: ; preds = %198, %146
%148 = load i32, ptr %3, align 4
%149 = icmp slt i32 %148, 23
br i1 %149, label %150, label %201
150: ; preds = %147
store i32 0, ptr %4, align 4
br label %151
151: ; preds = %194, %150
%152 = load i32, ptr %4, align 4
%153 = icmp slt i32 %152, 80
br i1 %153, label %154, label %197
154: ; preds = %151
%155 = load i32, ptr %3, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %156
%158 = load i32, ptr %4, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds [90 x i8], ptr %157, i64 0, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp eq i32 %162, 42
br i1 %163, label %164, label %167
164: ; preds = %154
%165 = load i32, ptr %8, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %8, align 4
br label %193
167: ; preds = %154
%168 = load i32, ptr %3, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %169
%171 = load i32, ptr %4, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds [90 x i8], ptr %170, i64 0, i64 %172
%174 = load i8, ptr %173, align 1
%175 = sext i8 %174 to i32
%176 = icmp eq i32 %175, 9
br i1 %176, label %188, label %177
177: ; preds = %167
%178 = load i32, ptr %3, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %179
%181 = load i32, ptr %4, align 4
%182 = add nsw i32 %181, 1
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds [90 x i8], ptr %180, i64 0, i64 %183
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 9
br i1 %187, label %188, label %192
188: ; preds = %177, %167
%189 = load i32, ptr @stderr, align 4
%190 = call i32 @fprintf(i32 noundef %189, ptr noundef @.str.4)
%191 = call i32 @exit(i32 noundef 1) #3
unreachable
192: ; preds = %177
br label %193
193: ; preds = %192, %164
br label %194
194: ; preds = %193
%195 = load i32, ptr %4, align 4
%196 = add nsw i32 %195, 2
store i32 %196, ptr %4, align 4
br label %151, !llvm.loop !15
197: ; preds = %151
br label %198
198: ; preds = %197
%199 = load i32, ptr %3, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %3, align 4
br label %147, !llvm.loop !16
201: ; preds = %147
%202 = load i32, ptr %8, align 4
%203 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %202)
store i32 0, ptr %3, align 4
br label %204
204: ; preds = %231, %201
%205 = load i32, ptr %3, align 4
%206 = icmp slt i32 %205, 23
br i1 %206, label %207, label %234
207: ; preds = %204
store i32 0, ptr %4, align 4
br label %208
208: ; preds = %227, %207
%209 = load i32, ptr %4, align 4
%210 = icmp slt i32 %209, 80
br i1 %210, label %211, label %230
211: ; preds = %208
%212 = load i32, ptr %3, align 4
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %213
%215 = load i32, ptr %4, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [90 x i8], ptr %214, i64 0, i64 %216
%218 = load i8, ptr %217, align 1
%219 = sext i8 %218 to i32
%220 = icmp eq i32 %219, 42
br i1 %220, label %221, label %226
221: ; preds = %211
%222 = load i32, ptr %3, align 4
%223 = load i32, ptr %4, align 4
%224 = sdiv i32 %223, 2
%225 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %222, i32 noundef %224)
br label %226
226: ; preds = %221, %211
br label %227
227: ; preds = %226
%228 = load i32, ptr %4, align 4
%229 = add nsw i32 %228, 2
store i32 %229, ptr %4, align 4
br label %208, !llvm.loop !17
230: ; preds = %208
br label %231
231: ; preds = %230
%232 = load i32, ptr %3, align 4
%233 = add nsw i32 %232, 1
store i32 %233, ptr %3, align 4
br label %204, !llvm.loop !18
234: ; preds = %204
br label %235
235: ; preds = %234, %101
%236 = call i32 @exit(i32 noundef 0) #3
unreachable
237: ; preds = %140, %72, %28
%238 = load i32, ptr %1, align 4
ret i32 %238
}
declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
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"}
!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}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpya5vqg9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"stdin\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"two numbers expected\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [45 x i8] c"Cannot have tabs in starmap--please expand.\0A\00", align 1
@.str.5 = 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 [23 x [90 x i8]], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 79
br i1 %10, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [90 x i8], ptr %12, i64 0, i64 %14
store i8 32, ptr %15, align 1
br label %16
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 79
br i1 %20, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%23 = getelementptr inbounds [90 x i8], ptr %22, i64 0, i64 79
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds [90 x i8], ptr %24, i64 0, i64 0
%26 = load i32, ptr @stdin, align 4
%27 = call i64 @fgets(ptr noundef %25, i32 noundef 90, i32 noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %21
%30 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %249
31: ; preds = %21
%32 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%33 = getelementptr inbounds [90 x i8], ptr %32, i64 0, i64 0
%34 = load i8, ptr %33, align 16
%35 = call i64 @isdigit(i8 noundef signext %34)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %107
37: ; preds = %31
%38 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 0
%39 = getelementptr inbounds [90 x i8], ptr %38, i64 0, i64 0
%40 = call i32 @atoi(ptr noundef %39)
store i32 %40, ptr %7, align 4
store i32 0, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 23
br i1 %42, label %.lr.ph26, label %68
.lr.ph26: ; preds = %37
br label %43
43: ; preds = %.lr.ph26, %63
store i32 0, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 79
br i1 %45, label %.lr.ph23, label %58
.lr.ph23: ; preds = %43
br label %46
46: ; preds = %.lr.ph23, %53
%47 = load i32, ptr %3, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %48
%50 = load i32, ptr %4, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [90 x i8], ptr %49, i64 0, i64 %51
store i8 32, ptr %52, align 1
br label %53
53: ; preds = %46
%54 = load i32, ptr %4, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %4, align 4
%56 = load i32, ptr %4, align 4
%57 = icmp slt i32 %56, 79
br i1 %57, label %46, label %._crit_edge24, !llvm.loop !8
._crit_edge24: ; preds = %53
br label %58
58: ; preds = %._crit_edge24, %43
%59 = load i32, ptr %3, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %60
%62 = getelementptr inbounds [90 x i8], ptr %61, i64 0, i64 79
store i8 0, ptr %62, align 1
br label %63
63: ; preds = %58
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
%66 = load i32, ptr %3, align 4
%67 = icmp slt i32 %66, 23
br i1 %67, label %43, label %._crit_edge27, !llvm.loop !9
._crit_edge27: ; preds = %63
br label %68
68: ; preds = %._crit_edge27, %37
%69 = load i32, ptr %7, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %.lr.ph29, label %92
.lr.ph29: ; preds = %68
br label %71
71: ; preds = %.lr.ph29, %87
%72 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6)
%73 = icmp ne i32 %72, 2
br i1 %73, label %74, label %76
74: ; preds = %71
%75 = call i32 @perror(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %249
76: ; preds = %71
%77 = load i32, ptr %5, align 4
store i32 %77, ptr %3, align 4
%78 = load i32, ptr %6, align 4
store i32 %78, ptr %4, align 4
%79 = load i32, ptr %3, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %80
%82 = load i32, ptr %4, align 4
%83 = load i32, ptr %4, align 4
%84 = add nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [90 x i8], ptr %81, i64 0, i64 %85
store i8 42, ptr %86, align 1
br label %87
87: ; preds = %76
%88 = load i32, ptr %7, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %7, align 4
%90 = load i32, ptr %7, align 4
%91 = icmp ne i32 %90, 0
br i1 %91, label %71, label %._crit_edge30, !llvm.loop !10
._crit_edge30: ; preds = %87
br label %92
92: ; preds = %._crit_edge30, %68
store i32 0, ptr %3, align 4
%93 = load i32, ptr %3, align 4
%94 = icmp slt i32 %93, 23
br i1 %94, label %.lr.ph32, label %106
.lr.ph32: ; preds = %92
br label %95
95: ; preds = %.lr.ph32, %101
%96 = load i32, ptr %3, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %97
%99 = getelementptr inbounds [90 x i8], ptr %98, i64 0, i64 0
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %99)
br label %101
101: ; preds = %95
%102 = load i32, ptr %3, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %3, align 4
%104 = load i32, ptr %3, align 4
%105 = icmp slt i32 %104, 23
br i1 %105, label %95, label %._crit_edge33, !llvm.loop !11
._crit_edge33: ; preds = %101
br label %106
106: ; preds = %._crit_edge33, %92
br label %247
107: ; preds = %31
store i32 0, ptr %8, align 4
store i32 1, ptr %3, align 4
%108 = load i32, ptr %3, align 4
%109 = icmp slt i32 %108, 23
br i1 %109, label %.lr.ph5, label %135
.lr.ph5: ; preds = %107
br label %110
110: ; preds = %.lr.ph5, %130
store i32 0, ptr %4, align 4
%111 = load i32, ptr %4, align 4
%112 = icmp slt i32 %111, 79
br i1 %112, label %.lr.ph2, label %125
.lr.ph2: ; preds = %110
br label %113
113: ; preds = %.lr.ph2, %120
%114 = load i32, ptr %3, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %115
%117 = load i32, ptr %4, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [90 x i8], ptr %116, i64 0, i64 %118
store i8 32, ptr %119, align 1
br label %120
120: ; preds = %113
%121 = load i32, ptr %4, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %4, align 4
%123 = load i32, ptr %4, align 4
%124 = icmp slt i32 %123, 79
br i1 %124, label %113, label %._crit_edge3, !llvm.loop !12
._crit_edge3: ; preds = %120
br label %125
125: ; preds = %._crit_edge3, %110
%126 = load i32, ptr %3, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %127
%129 = getelementptr inbounds [90 x i8], ptr %128, i64 0, i64 79
store i8 0, ptr %129, align 1
br label %130
130: ; preds = %125
%131 = load i32, ptr %3, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %3, align 4
%133 = load i32, ptr %3, align 4
%134 = icmp slt i32 %133, 23
br i1 %134, label %110, label %._crit_edge6, !llvm.loop !13
._crit_edge6: ; preds = %130
br label %135
135: ; preds = %._crit_edge6, %107
store i32 1, ptr %3, align 4
%136 = load i32, ptr %3, align 4
%137 = icmp slt i32 %136, 23
br i1 %137, label %.lr.ph8, label %154
.lr.ph8: ; preds = %135
br label %138
138: ; preds = %.lr.ph8, %149
%139 = load i32, ptr %3, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %140
%142 = getelementptr inbounds [90 x i8], ptr %141, i64 0, i64 0
%143 = load i32, ptr @stdin, align 4
%144 = call i64 @fgets(ptr noundef %142, i32 noundef 90, i32 noundef %143)
%145 = icmp eq i64 %144, 0
br i1 %145, label %146, label %148
146: ; preds = %138
%147 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %249
148: ; preds = %138
br label %149
149: ; preds = %148
%150 = load i32, ptr %3, align 4
%151 = add nsw i32 %150, 1
store i32 %151, ptr %3, align 4
%152 = load i32, ptr %3, align 4
%153 = icmp slt i32 %152, 23
br i1 %153, label %138, label %._crit_edge9, !llvm.loop !14
._crit_edge9: ; preds = %149
br label %154
154: ; preds = %._crit_edge9, %135
store i32 0, ptr %3, align 4
%155 = load i32, ptr %3, align 4
%156 = icmp slt i32 %155, 23
br i1 %156, label %.lr.ph14, label %211
.lr.ph14: ; preds = %154
br label %157
157: ; preds = %.lr.ph14, %206
store i32 0, ptr %4, align 4
%158 = load i32, ptr %4, align 4
%159 = icmp slt i32 %158, 80
br i1 %159, label %.lr.ph11, label %205
.lr.ph11: ; preds = %157
br label %160
160: ; preds = %.lr.ph11, %200
%161 = load i32, ptr %3, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %162
%164 = load i32, ptr %4, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [90 x i8], ptr %163, i64 0, i64 %165
%167 = load i8, ptr %166, align 1
%168 = sext i8 %167 to i32
%169 = icmp eq i32 %168, 42
br i1 %169, label %170, label %173
170: ; preds = %160
%171 = load i32, ptr %8, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %8, align 4
br label %199
173: ; preds = %160
%174 = load i32, ptr %3, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %175
%177 = load i32, ptr %4, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [90 x i8], ptr %176, i64 0, i64 %178
%180 = load i8, ptr %179, align 1
%181 = sext i8 %180 to i32
%182 = icmp eq i32 %181, 9
br i1 %182, label %194, label %183
183: ; preds = %173
%184 = load i32, ptr %3, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %185
%187 = load i32, ptr %4, align 4
%188 = add nsw i32 %187, 1
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [90 x i8], ptr %186, i64 0, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp eq i32 %192, 9
br i1 %193, label %194, label %198
194: ; preds = %183, %173
%195 = load i32, ptr @stderr, align 4
%196 = call i32 @fprintf(i32 noundef %195, ptr noundef @.str.4)
%197 = call i32 @exit(i32 noundef 1) #3
unreachable
198: ; preds = %183
br label %199
199: ; preds = %198, %170
br label %200
200: ; preds = %199
%201 = load i32, ptr %4, align 4
%202 = add nsw i32 %201, 2
store i32 %202, ptr %4, align 4
%203 = load i32, ptr %4, align 4
%204 = icmp slt i32 %203, 80
br i1 %204, label %160, label %._crit_edge12, !llvm.loop !15
._crit_edge12: ; preds = %200
br label %205
205: ; preds = %._crit_edge12, %157
br label %206
206: ; preds = %205
%207 = load i32, ptr %3, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %3, align 4
%209 = load i32, ptr %3, align 4
%210 = icmp slt i32 %209, 23
br i1 %210, label %157, label %._crit_edge15, !llvm.loop !16
._crit_edge15: ; preds = %206
br label %211
211: ; preds = %._crit_edge15, %154
%212 = load i32, ptr %8, align 4
%213 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %212)
store i32 0, ptr %3, align 4
%214 = load i32, ptr %3, align 4
%215 = icmp slt i32 %214, 23
br i1 %215, label %.lr.ph20, label %246
.lr.ph20: ; preds = %211
br label %216
216: ; preds = %.lr.ph20, %241
store i32 0, ptr %4, align 4
%217 = load i32, ptr %4, align 4
%218 = icmp slt i32 %217, 80
br i1 %218, label %.lr.ph17, label %240
.lr.ph17: ; preds = %216
br label %219
219: ; preds = %.lr.ph17, %235
%220 = load i32, ptr %3, align 4
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds [23 x [90 x i8]], ptr %2, i64 0, i64 %221
%223 = load i32, ptr %4, align 4
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [90 x i8], ptr %222, i64 0, i64 %224
%226 = load i8, ptr %225, align 1
%227 = sext i8 %226 to i32
%228 = icmp eq i32 %227, 42
br i1 %228, label %229, label %234
229: ; preds = %219
%230 = load i32, ptr %3, align 4
%231 = load i32, ptr %4, align 4
%232 = sdiv i32 %231, 2
%233 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %230, i32 noundef %232)
br label %234
234: ; preds = %229, %219
br label %235
235: ; preds = %234
%236 = load i32, ptr %4, align 4
%237 = add nsw i32 %236, 2
store i32 %237, ptr %4, align 4
%238 = load i32, ptr %4, align 4
%239 = icmp slt i32 %238, 80
br i1 %239, label %219, label %._crit_edge18, !llvm.loop !17
._crit_edge18: ; preds = %235
br label %240
240: ; preds = %._crit_edge18, %216
br label %241
241: ; preds = %240
%242 = load i32, ptr %3, align 4
%243 = add nsw i32 %242, 1
store i32 %243, ptr %3, align 4
%244 = load i32, ptr %3, align 4
%245 = icmp slt i32 %244, 23
br i1 %245, label %216, label %._crit_edge21, !llvm.loop !18
._crit_edge21: ; preds = %241
br label %246
246: ; preds = %._crit_edge21, %211
br label %247
247: ; preds = %246, %106
%248 = call i32 @exit(i32 noundef 0) #3
unreachable
249: ; preds = %146, %74, %29
%250 = load i32, ptr %1, align 4
ret i32 %250
}
declare i64 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
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"}
!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}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
|
; ModuleID = '/tmp/tmpufkun_3p.c'
source_filename = "/tmp/tmpufkun_3p.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage : %s file.srt or .sub .sub2 .vtt\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Options :\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c" -s sec\09: skip the first x seconds\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c" -d sec\09: wait x seconds before starting (default : 5)\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c" -t x\09\09: time factor x1000\0A\00", align 1
@.str.5 = private unnamed_addr constant [57 x i8] c" -e x\09\09: input format (srt, sub, sub2 (MicroDVD), vtt)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -m px\09\09: margin with the bottom of the screen\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c" -p px\09\09: padding of the box\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -g px\09\09: gap between two lines\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c" -k px\09\09: gap between two subtitles\0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c" -f fontname\09: name of the font to use\0A\00", align 1
@.str.11 = private unnamed_addr constant [48 x i8] c" -i fontname\09: name of the italic font to use\0A\00", align 1
@.str.12 = private unnamed_addr constant [46 x i8] c" -b fontname\09: name of the bold font to use\0A\00", align 1
@.str.13 = private unnamed_addr constant [57 x i8] c" -j fontname\09: name of the bold and italic font to use\0A\00", align 1
@.str.14 = private unnamed_addr constant [36 x i8] c" -h\09\09: display this help and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayUsage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
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/tmpufkun_3p.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Usage : %s file.srt or .sub .sub2 .vtt\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Options :\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c" -s sec\09: skip the first x seconds\0A\00", align 1
@.str.3 = private unnamed_addr constant [57 x i8] c" -d sec\09: wait x seconds before starting (default : 5)\0A\00", align 1
@.str.4 = private unnamed_addr constant [29 x i8] c" -t x\09\09: time factor x1000\0A\00", align 1
@.str.5 = private unnamed_addr constant [57 x i8] c" -e x\09\09: input format (srt, sub, sub2 (MicroDVD), vtt)\0A\00", align 1
@.str.6 = private unnamed_addr constant [49 x i8] c" -m px\09\09: margin with the bottom of the screen\0A\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c" -p px\09\09: padding of the box\0A\00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c" -g px\09\09: gap between two lines\0A\00", align 1
@.str.9 = private unnamed_addr constant [38 x i8] c" -k px\09\09: gap between two subtitles\0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c" -f fontname\09: name of the font to use\0A\00", align 1
@.str.11 = private unnamed_addr constant [48 x i8] c" -i fontname\09: name of the italic font to use\0A\00", align 1
@.str.12 = private unnamed_addr constant [46 x i8] c" -b fontname\09: name of the bold font to use\0A\00", align 1
@.str.13 = private unnamed_addr constant [57 x i8] c" -j fontname\09: name of the bold and italic font to use\0A\00", align 1
@.str.14 = private unnamed_addr constant [36 x i8] c" -h\09\09: display this help and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayUsage(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
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/tmpiscq23a_.c'
source_filename = "/tmp/tmpiscq23a_.c"
target datalayout = "e-m:e-p270: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 @libc_strpstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @libc_strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @libc_strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call ptr @libc_strstr(ptr noundef %17, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %39
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %4, align 8
%24 = call ptr @libc_strstr(ptr noundef %22, ptr noundef %23)
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = call i32 @libc_strlen(ptr noundef %28)
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %10, align 4
%32 = sub nsw i32 %30, %31
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %7, align 4
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %7, align 4
%38 = call i32 @libc_strncat(ptr noundef %35, ptr noundef %36, i32 noundef %37)
br label %39
39: ; preds = %21, %2
%40 = load ptr, ptr %8, align 8
ret ptr %40
}
declare i32 @libc_strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @libc_strstr(ptr noundef, ptr noundef) #1
declare i32 @libc_strncat(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/tmpiscq23a_.c"
target datalayout = "e-m:e-p270: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 @libc_strpstr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @libc_strlen(ptr noundef %11)
store i32 %12, ptr %5, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @libc_strlen(ptr noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = call ptr @malloc(i32 noundef %15)
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = call ptr @libc_strstr(ptr noundef %17, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %39
21: ; preds = %2
%22 = load ptr, ptr %3, align 8
%23 = load ptr, ptr %4, align 8
%24 = call ptr @libc_strstr(ptr noundef %22, ptr noundef %23)
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = call i32 @libc_strlen(ptr noundef %28)
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %10, align 4
%32 = sub nsw i32 %30, %31
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %32, %33
store i32 %34, ptr %7, align 4
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %7, align 4
%38 = call i32 @libc_strncat(ptr noundef %35, ptr noundef %36, i32 noundef %37)
br label %39
39: ; preds = %21, %2
%40 = load ptr, ptr %8, align 8
ret ptr %40
}
declare i32 @libc_strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare ptr @libc_strstr(ptr noundef, ptr noundef) #1
declare i32 @libc_strncat(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/tmptct8firf.c'
source_filename = "/tmp/tmptct8firf.c"
target datalayout = "e-m:e-p270: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 { double, double }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time_sleep(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca %struct.timespec, align 8
%4 = alloca %struct.timespec, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ogt double %5, 0.000000e+00
br i1 %6, label %7, label %28
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store double %8, ptr %9, align 8
%10 = load double, ptr %2, align 8
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%12 = load double, ptr %11, align 8
%13 = fsub double %10, %12
%14 = fmul double %13, 1.000000e+09
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store double %14, ptr %15, align 8
br label %16
16: ; preds = %20, %7
%17 = load i32, ptr @CLOCK_REALTIME, align 4
%18 = call i64 @clock_nanosleep(i32 noundef %17, i32 noundef 0, ptr noundef %3, ptr noundef %4)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%22 = load double, ptr %21, align 8
%23 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store double %22, ptr %23, align 8
%24 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
%25 = load double, ptr %24, align 8
%26 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store double %25, ptr %26, align 8
br label %16, !llvm.loop !6
27: ; preds = %16
br label %28
28: ; preds = %27, %1
ret void
}
declare i64 @clock_nanosleep(i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptct8firf.c"
target datalayout = "e-m:e-p270: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 { double, double }
@CLOCK_REALTIME = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @time_sleep(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca %struct.timespec, align 8
%4 = alloca %struct.timespec, align 8
store double %0, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = fcmp ogt double %5, 0.000000e+00
br i1 %6, label %7, label %30
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store double %8, ptr %9, align 8
%10 = load double, ptr %2, align 8
%11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
%12 = load double, ptr %11, align 8
%13 = fsub double %10, %12
%14 = fmul double %13, 1.000000e+09
%15 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store double %14, ptr %15, align 8
%16 = load i32, ptr @CLOCK_REALTIME, align 4
%17 = call i64 @clock_nanosleep(i32 noundef %16, i32 noundef 0, ptr noundef %3, ptr noundef %4)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %29
.lr.ph: ; preds = %7
br label %19
19: ; preds = %.lr.ph, %19
%20 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%21 = load double, ptr %20, align 8
%22 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store double %21, ptr %22, align 8
%23 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 1
%24 = load double, ptr %23, align 8
%25 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store double %24, ptr %25, align 8
%26 = load i32, ptr @CLOCK_REALTIME, align 4
%27 = call i64 @clock_nanosleep(i32 noundef %26, i32 noundef 0, ptr noundef %3, ptr noundef %4)
%28 = icmp ne i64 %27, 0
br i1 %28, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %29
29: ; preds = %._crit_edge, %7
br label %30
30: ; preds = %29, %1
ret void
}
declare i64 @clock_nanosleep(i32 noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgnva3otf.c'
source_filename = "/tmp/tmpgnva3otf.c"
target datalayout = "e-m:e-p270: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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func_PrintIntList(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 i32, ptr %5, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret void
}
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/tmpgnva3otf.c"
target datalayout = "e-m:e-p270: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"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func_PrintIntList(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 i32, ptr %5, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret void
}
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/tmpjwps9e_u.c'
source_filename = "/tmp/tmpjwps9e_u.c"
target datalayout = "e-m:e-p270: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 [75 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BA\D0\BE\D0\BB\D0\B8\D1\87\D0\B5\D1\81\D1\82\D0\B2\D0\BE \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B5: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D1\8B: \00", align 1
@.str.3 = private unnamed_addr constant [4 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 i32, align 4
%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 i32 0, ptr %1, align 4
store i32 -1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 4, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %3, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %39, %0
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp ne i32 %31, 0
br i1 %32, label %38, label %33
33: ; preds = %21
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = load i32, ptr %5, align 4
store i32 %37, ptr %4, align 4
br label %38
38: ; preds = %36, %33, %21
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %17, !llvm.loop !6
42: ; preds = %17
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, -1
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load i32, ptr %2, align 4
store i32 %46, ptr %4, align 4
br label %47
47: ; preds = %45, %42
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %4, align 4
%50 = sub nsw i32 %49, 1
%51 = call i32 @quick_sort(ptr noundef %48, i32 noundef 0, i32 noundef %50)
%52 = load i32, ptr %4, align 4
store i32 %52, ptr %6, align 4
br label %53
53: ; preds = %62, %47
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %2, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %65
57: ; preds = %53
%58 = load ptr, ptr %3, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
store i32 0, ptr %61, align 4
br label %62
62: ; preds = %57
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %6, align 4
br label %53, !llvm.loop !8
65: ; preds = %53
store i32 0, ptr %7, align 4
br label %66
66: ; preds = %77, %65
%67 = load i32, ptr %7, align 4
%68 = load i32, ptr %2, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %80
70: ; preds = %66
%71 = load ptr, ptr %3, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %75)
br label %77
77: ; preds = %70
%78 = load i32, ptr %7, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %7, align 4
br label %66, !llvm.loop !9
80: ; preds = %66
%81 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @quick_sort(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjwps9e_u.c"
target datalayout = "e-m:e-p270: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 [75 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\BA\D0\BE\D0\BB\D0\B8\D1\87\D0\B5\D1\81\D1\82\D0\B2\D0\BE \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B5: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D1\8B: \00", align 1
@.str.3 = private unnamed_addr constant [4 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 i32, align 4
%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 i32 0, ptr %1, align 4
store i32 -1, ptr %4, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = mul i64 4, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %3, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %44
.lr.ph: ; preds = %0
br label %20
20: ; preds = %.lr.ph, %38
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24)
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %26, i64 %28
%30 = load i32, ptr %29, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %37, label %32
32: ; preds = %20
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %4, align 4
br label %37
37: ; preds = %35, %32, %20
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %2, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %0
%45 = load i32, ptr %4, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = load i32, ptr %2, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %47, %44
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %4, align 4
%52 = sub nsw i32 %51, 1
%53 = call i32 @quick_sort(ptr noundef %50, i32 noundef 0, i32 noundef %52)
%54 = load i32, ptr %4, align 4
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %6, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph2, label %69
.lr.ph2: ; preds = %49
br label %58
58: ; preds = %.lr.ph2, %63
%59 = load ptr, ptr %3, align 8
%60 = load i32, ptr %6, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
store i32 0, ptr %62, align 4
br label %63
63: ; preds = %58
%64 = load i32, ptr %6, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %6, align 4
%66 = load i32, ptr %6, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %58, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %49
store i32 0, ptr %7, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %2, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph5, label %86
.lr.ph5: ; preds = %69
br label %73
73: ; preds = %.lr.ph5, %80
%74 = load ptr, ptr %3, align 8
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %74, i64 %76
%78 = load i32, ptr %77, align 4
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %78)
br label %80
80: ; preds = %73
%81 = load i32, ptr %7, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %7, align 4
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %2, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %73, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %80
br label %86
86: ; preds = %._crit_edge6, %69
%87 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @quick_sort(ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpmp9z44hl.c'
source_filename = "/tmp/tmpmp9z44hl.c"
target datalayout = "e-m:e-p270: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
br label %5
5: ; preds = %24, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10000
br i1 %7, label %8, label %27
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = call i32 @d(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @d(i32 noundef %11)
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %23
15: ; preds = %8
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %19, label %23
19: ; preds = %15
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, %20
store i32 %22, ptr %4, align 4
br label %23
23: ; preds = %19, %15, %8
br label %24
24: ; preds = %23
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %5, !llvm.loop !6
27: ; preds = %5
%28 = load i32, ptr %4, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @d(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmp9z44hl.c"
target datalayout = "e-m:e-p270: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10000
br i1 %6, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %23
%8 = load i32, ptr %2, align 4
%9 = call i32 @d(i32 noundef %8)
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @d(i32 noundef %10)
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %22
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, %19
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %18, %14, %7
br label %23
23: ; preds = %22
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 10000
br i1 %27, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %0
%29 = load i32, ptr %4, align 4
%30 = call i32 @printf(ptr noundef @.str, i32 noundef %29)
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @d(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzodd17zx.c'
source_filename = "/tmp/tmpzodd17zx.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"mdadm: mdmon instance for %s cannot be disabled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_mdmon_version(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @devname2devnum(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @mdmon_running(i32 noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %1
br label %33
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @ping_monitor_version(ptr noundef %14)
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = call i32 @mdadm_version(ptr noundef %19)
br label %22
21: ; preds = %13
br label %22
22: ; preds = %21, %18
%23 = phi i32 [ %20, %18 ], [ -1, %21 ]
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 3002000
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %30)
store i32 -1, ptr %2, align 4
br label %34
32: ; preds = %22
br label %33
33: ; preds = %32, %12
store i32 0, ptr %2, align 4
br label %34
34: ; preds = %33, %28
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @devname2devnum(ptr noundef) #1
declare i32 @mdmon_running(i32 noundef) #1
declare ptr @ping_monitor_version(ptr noundef) #1
declare i32 @mdadm_version(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fprintf(i32 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/tmpzodd17zx.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"mdadm: mdmon instance for %s cannot be disabled\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_mdmon_version(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr null, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @devname2devnum(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @mdmon_running(i32 noundef %9)
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %1
br label %33
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @ping_monitor_version(ptr noundef %14)
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load ptr, ptr %4, align 8
%20 = call i32 @mdadm_version(ptr noundef %19)
br label %22
21: ; preds = %13
br label %22
22: ; preds = %21, %18
%23 = phi i32 [ %20, %18 ], [ -1, %21 ]
store i32 %23, ptr %6, align 4
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 3002000
br i1 %27, label %28, label %32
28: ; preds = %22
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %30)
store i32 -1, ptr %2, align 4
br label %34
32: ; preds = %22
br label %33
33: ; preds = %32, %12
store i32 0, ptr %2, align 4
br label %34
34: ; preds = %33, %28
%35 = load i32, ptr %2, align 4
ret i32 %35
}
declare i32 @devname2devnum(ptr noundef) #1
declare i32 @mdmon_running(i32 noundef) #1
declare ptr @ping_monitor_version(ptr noundef) #1
declare i32 @mdadm_version(ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @fprintf(i32 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/tmpijb2gy0p.c'
source_filename = "/tmp/tmpijb2gy0p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dlanor.coef = internal global [12 x double] [double -1.000000e+00, double 3.000000e+00, double -1.500000e+01, double 1.050000e+02, double -9.450000e+02, double 1.039500e+04, double -1.351350e+05, double 0x413EEE1100000000, double 0xC1806E7908000000, double 0x41C3832FB9800000, double 0xC2099C2EA3780000, double 0x42526841857E4000], align 16
@dlanor.K1 = internal global i32 12, align 4
@dlanor.dlanor = internal global double 0.000000e+00, align 8
@dlanor.approx = internal global double 0.000000e+00, align 8
@dlanor.correc = internal global double 0.000000e+00, align 8
@dlanor.xx = internal global double 0.000000e+00, align 8
@dlanor.xx2 = internal global double 0.000000e+00, align 8
@dlanor.T2 = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [30 x i8] c" Argument too small in DLANOR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dlanor(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 double, ptr %3, align 8
%5 = call double @llvm.fabs.f64(double %4)
store double %5, ptr @dlanor.xx, align 8
%6 = load double, ptr @dlanor.xx, align 8
%7 = fcmp olt double %6, 5.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @ftnstop(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load double, ptr @dlanor.xx, align 8
%12 = fmul double 5.000000e-01, %11
%13 = load double, ptr @dlanor.xx, align 8
%14 = fneg double %12
%15 = call double @llvm.fmuladd.f64(double %14, double %13, double 0xBFED67F1C864BEB5)
%16 = load double, ptr @dlanor.xx, align 8
%17 = call double @log(double noundef %16) #4
%18 = fsub double %15, %17
store double %18, ptr @dlanor.approx, align 8
%19 = load double, ptr @dlanor.xx, align 8
%20 = load double, ptr @dlanor.xx, align 8
%21 = fmul double %19, %20
store double %21, ptr @dlanor.xx2, align 8
%22 = load double, ptr @dlanor.xx2, align 8
%23 = fdiv double 1.000000e+00, %22
store double %23, ptr @dlanor.T2, align 8
%24 = call double @devlpl(ptr noundef @dlanor.coef, ptr noundef @dlanor.K1, ptr noundef @dlanor.T2)
%25 = load double, ptr @dlanor.xx2, align 8
%26 = fdiv double %24, %25
store double %26, ptr @dlanor.correc, align 8
%27 = call double @dln1px(ptr noundef @dlanor.correc)
store double %27, ptr @dlanor.correc, align 8
%28 = load double, ptr @dlanor.approx, align 8
%29 = load double, ptr @dlanor.correc, align 8
%30 = fadd double %28, %29
store double %30, ptr @dlanor.dlanor, align 8
%31 = load double, ptr @dlanor.dlanor, align 8
ret double %31
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @ftnstop(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @devlpl(ptr noundef, ptr noundef, ptr noundef) #2
declare double @dln1px(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijb2gy0p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dlanor.coef = internal global [12 x double] [double -1.000000e+00, double 3.000000e+00, double -1.500000e+01, double 1.050000e+02, double -9.450000e+02, double 1.039500e+04, double -1.351350e+05, double 0x413EEE1100000000, double 0xC1806E7908000000, double 0x41C3832FB9800000, double 0xC2099C2EA3780000, double 0x42526841857E4000], align 16
@dlanor.K1 = internal global i32 12, align 4
@dlanor.dlanor = internal global double 0.000000e+00, align 8
@dlanor.approx = internal global double 0.000000e+00, align 8
@dlanor.correc = internal global double 0.000000e+00, align 8
@dlanor.xx = internal global double 0.000000e+00, align 8
@dlanor.xx2 = internal global double 0.000000e+00, align 8
@dlanor.T2 = internal global double 0.000000e+00, align 8
@.str = private unnamed_addr constant [30 x i8] c" Argument too small in DLANOR\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dlanor(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 double, ptr %3, align 8
%5 = call double @llvm.fabs.f64(double %4)
store double %5, ptr @dlanor.xx, align 8
%6 = load double, ptr @dlanor.xx, align 8
%7 = fcmp olt double %6, 5.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @ftnstop(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load double, ptr @dlanor.xx, align 8
%12 = fmul double 5.000000e-01, %11
%13 = load double, ptr @dlanor.xx, align 8
%14 = fneg double %12
%15 = call double @llvm.fmuladd.f64(double %14, double %13, double 0xBFED67F1C864BEB5)
%16 = load double, ptr @dlanor.xx, align 8
%17 = call double @log(double noundef %16) #4
%18 = fsub double %15, %17
store double %18, ptr @dlanor.approx, align 8
%19 = load double, ptr @dlanor.xx, align 8
%20 = load double, ptr @dlanor.xx, align 8
%21 = fmul double %19, %20
store double %21, ptr @dlanor.xx2, align 8
%22 = load double, ptr @dlanor.xx2, align 8
%23 = fdiv double 1.000000e+00, %22
store double %23, ptr @dlanor.T2, align 8
%24 = call double @devlpl(ptr noundef @dlanor.coef, ptr noundef @dlanor.K1, ptr noundef @dlanor.T2)
%25 = load double, ptr @dlanor.xx2, align 8
%26 = fdiv double %24, %25
store double %26, ptr @dlanor.correc, align 8
%27 = call double @dln1px(ptr noundef @dlanor.correc)
store double %27, ptr @dlanor.correc, align 8
%28 = load double, ptr @dlanor.approx, align 8
%29 = load double, ptr @dlanor.correc, align 8
%30 = fadd double %28, %29
store double %30, ptr @dlanor.dlanor, align 8
%31 = load double, ptr @dlanor.dlanor, align 8
ret double %31
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare i32 @ftnstop(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @devlpl(ptr noundef, ptr noundef, ptr noundef) #2
declare double @dln1px(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpun9ntowu.c'
source_filename = "/tmp/tmpun9ntowu.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"hello,%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"hello, world\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
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 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
br label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
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/tmpun9ntowu.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"hello,%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"hello, world\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
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 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11)
br label %15
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %15
15: ; preds = %13, %8
%16 = load i32, ptr %3, align 4
ret i32 %16
}
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/tmp45o7fgna.c'
source_filename = "/tmp/tmp45o7fgna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter the no of elements to sort\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter the elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Given array is \0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"\0ASorted array is \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %8
8: ; preds = %17, %0
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %20
12: ; preds = %8
%13 = load i32, ptr %4, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %14
%16 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %15)
br label %17
17: ; preds = %12
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = call i32 @printf(ptr noundef @.str.3)
%22 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%23 = load i32, ptr %3, align 4
%24 = call i32 @printArray(ptr noundef %22, i32 noundef %23)
%25 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%26 = load i32, ptr %3, align 4
%27 = call i32 @heapSort(ptr noundef %25, i32 noundef %26)
%28 = call i32 @printf(ptr noundef @.str.4)
%29 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = call i32 @printArray(ptr noundef %29, i32 noundef %30)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @heapSort(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/tmp45o7fgna.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Enter the no of elements to sort\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Enter the elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Given array is \0A\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"\0ASorted array is \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %16
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 %13
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14)
br label %16
16: ; preds = %11
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @printf(ptr noundef @.str.3)
%24 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%25 = load i32, ptr %3, align 4
%26 = call i32 @printArray(ptr noundef %24, i32 noundef %25)
%27 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%28 = load i32, ptr %3, align 4
%29 = call i32 @heapSort(ptr noundef %27, i32 noundef %28)
%30 = call i32 @printf(ptr noundef @.str.4)
%31 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%32 = load i32, ptr %3, align 4
%33 = call i32 @printArray(ptr noundef %31, i32 noundef %32)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printArray(ptr noundef, i32 noundef) #1
declare i32 @heapSort(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/tmppd4mh7n4.c'
source_filename = "/tmp/tmppd4mh7n4.c"
target datalayout = "e-m:e-p270: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 @handle_put(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @send(i32 noundef %4, ptr noundef %3, i32 noundef 4, i32 noundef 0)
ret void
}
declare i32 @send(i32 noundef, 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/tmppd4mh7n4.c"
target datalayout = "e-m:e-p270: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 @handle_put(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 2, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @send(i32 noundef %4, ptr noundef %3, i32 noundef 4, i32 noundef 0)
ret void
}
declare i32 @send(i32 noundef, 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/tmp87je7625.c'
source_filename = "/tmp/tmp87je7625.c"
target datalayout = "e-m:e-p270: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 @fan_motor_set_pwm(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 2
store volatile i32 %5, ptr %7, align 4
%8 = call i32 @usleep(i32 noundef 50)
ret void
}
declare i32 @usleep(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/tmp87je7625.c"
target datalayout = "e-m:e-p270: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 @fan_motor_set_pwm(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 i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i32, ptr %6, i64 2
store volatile i32 %5, ptr %7, align 4
%8 = call i32 @usleep(i32 noundef 50)
ret void
}
declare i32 @usleep(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/tmprai8y1mw.c'
source_filename = "/tmp/tmprai8y1mw.c"
target datalayout = "e-m:e-p270: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 @unicode_write_utf32(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 @unicode_write_utf32be(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @unicode_write_utf32be(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/tmprai8y1mw.c"
target datalayout = "e-m:e-p270: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 @unicode_write_utf32(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 @unicode_write_utf32be(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @unicode_write_utf32be(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.