llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpydmwqnk2.c'
source_filename = "/tmp/tmpydmwqnk2.c"
target datalayout = "e-m:e-p270: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 @stdin_rx_chr() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
store i8 0, ptr %1, align 1
%3 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i8, ptr %1, align 1
%6 = zext i8 %5 to i32
ret i32 %6
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydmwqnk2.c"
target datalayout = "e-m:e-p270: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 @stdin_rx_chr() #0 {
%1 = alloca i8, align 1
%2 = alloca i32, align 4
store i8 0, ptr %1, align 1
%3 = call i32 @read(i32 noundef 0, ptr noundef %1, i32 noundef 1)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = load i8, ptr %1, align 1
%6 = zext i8 %5 to i32
ret i32 %6
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp521c1a65.c'
source_filename = "/tmp/tmp521c1a65.c"
target datalayout = "e-m:e-p270: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 @f_int32_t_64(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %10
10: ; preds = %25, %4
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %9, align 8
%17 = getelementptr inbounds i64, ptr %15, i64 %16
%18 = load i64, ptr %17, align 8
%19 = add nsw i64 %18, 1
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %9, align 8
%22 = load i64, ptr %7, align 8
%23 = mul i64 %21, %22
%24 = getelementptr inbounds i64, ptr %20, i64 %23
store i64 %19, ptr %24, align 8
br label %25
25: ; preds = %14
%26 = load i64, ptr %9, align 8
%27 = add i64 %26, 1
store i64 %27, ptr %9, align 8
br label %10, !llvm.loop !6
28: ; preds = %10
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/tmp521c1a65.c"
target datalayout = "e-m:e-p270: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 @f_int32_t_64(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%10 = load i64, ptr %9, align 8
%11 = load i64, ptr %8, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %24
%14 = load ptr, ptr %6, align 8
%15 = load i64, ptr %9, align 8
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8
%18 = add nsw i64 %17, 1
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %9, align 8
%21 = load i64, ptr %7, align 8
%22 = mul i64 %20, %21
%23 = getelementptr inbounds i64, ptr %19, i64 %22
store i64 %18, ptr %23, align 8
br label %24
24: ; preds = %13
%25 = load i64, ptr %9, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %9, align 8
%27 = load i64, ptr %9, align 8
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf3ylx8bz.c'
source_filename = "/tmp/tmpf3ylx8bz.c"
target datalayout = "e-m:e-p270: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 @sock_write_bytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %10
10: ; preds = %32, %3
%11 = load i32, ptr %7, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %39
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr i8, ptr %15, i64 %17
%19 = load i32, ptr %7, align 4
%20 = call i32 @send(i32 noundef %14, ptr noundef %18, i32 noundef %19, i32 noundef 0)
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %9, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %32
23: ; preds = %13
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %23
%27 = load i32, ptr %9, align 4
br label %30
28: ; preds = %23
%29 = load i32, ptr %8, align 4
br label %30
30: ; preds = %28, %26
%31 = phi i32 [ %27, %26 ], [ %29, %28 ]
store i32 %31, ptr %4, align 4
br label %41
32: ; preds = %13
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %37, %36
store i32 %38, ptr %7, align 4
br label %10, !llvm.loop !6
39: ; preds = %10
%40 = load i32, ptr %8, align 4
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %39, %30
%42 = load i32, ptr %4, align 4
ret i32 %42
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf3ylx8bz.c"
target datalayout = "e-m:e-p270: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 @sock_write_bytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sgt i32 %10, 0
br i1 %11, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %31
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %8, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr i8, ptr %14, i64 %16
%18 = load i32, ptr %7, align 4
%19 = call i32 @send(i32 noundef %13, ptr noundef %17, i32 noundef %18, i32 noundef 0)
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %31
22: ; preds = %12
%23 = load i32, ptr %8, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %25, label %27
25: ; preds = %22
%26 = load i32, ptr %9, align 4
br label %29
27: ; preds = %22
%28 = load i32, ptr %8, align 4
br label %29
29: ; preds = %27, %25
%30 = phi i32 [ %26, %25 ], [ %28, %27 ]
store i32 %30, ptr %4, align 4
br label %42
31: ; preds = %12
%32 = load i32, ptr %9, align 4
%33 = load i32, ptr %8, align 4
%34 = add nsw i32 %33, %32
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %36, %35
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp sgt i32 %38, 0
br i1 %39, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %40
40: ; preds = %._crit_edge, %3
%41 = load i32, ptr %8, align 4
store i32 %41, ptr %4, align 4
br label %42
42: ; preds = %40, %29
%43 = load i32, ptr %4, align 4
ret i32 %43
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp625ijpn2.c'
source_filename = "/tmp/tmp625ijpn2.c"
target datalayout = "e-m:e-p270: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/tmp625ijpn2.c"
target datalayout = "e-m:e-p270: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/tmpgmryhohl.c'
source_filename = "/tmp/tmpgmryhohl.c"
target datalayout = "e-m:e-p270: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 @checker_read_out_long_double(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @checker_read_long_double(i32 noundef 1, ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @checker_read_long_double(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgmryhohl.c"
target datalayout = "e-m:e-p270: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 @checker_read_out_long_double(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @checker_read_long_double(i32 noundef 1, ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @checker_read_long_double(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp76ks1uoh.c'
source_filename = "/tmp/tmp76ks1uoh.c"
target datalayout = "e-m:e-p270: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/tmp76ks1uoh.c"
target datalayout = "e-m:e-p270: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/tmp1e2w71jo.c'
source_filename = "/tmp/tmp1e2w71jo.c"
target datalayout = "e-m:e-p270: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 @shl_by_at(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 @by_at(i32 noundef %3)
%5 = call i32 (...) @shl()
ret void
}
declare i32 @by_at(i32 noundef) #1
declare i32 @shl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp1e2w71jo.c"
target datalayout = "e-m:e-p270: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 @shl_by_at(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 @by_at(i32 noundef %3)
%5 = call i32 (...) @shl()
ret void
}
declare i32 @by_at(i32 noundef) #1
declare i32 @shl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxmehc_z4.c'
source_filename = "/tmp/tmpxmehc_z4.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpxmehc_z4.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpbqup0n1u.c'
source_filename = "/tmp/tmpbqup0n1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Digite um n\C3\BAmero maior que zero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4
4: ; preds = %13, %0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ true, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = call i32 (...) @getchar()
br label %4, !llvm.loop !6
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbqup0n1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Digite um n\C3\BAmero maior que zero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %4
4: ; preds = %13, %0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %11
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %8, 0
%10 = xor i1 %9, true
br label %11
11: ; preds = %7, %4
%12 = phi i1 [ true, %4 ], [ %10, %7 ]
br i1 %12, label %13, label %16
13: ; preds = %11
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = call i32 (...) @getchar()
br label %4, !llvm.loop !6
16: ; preds = %11
%17 = load i32, ptr %2, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpe429babh.c'
source_filename = "/tmp/tmpe429babh.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_metadata_array_add() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpe429babh.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"Should never reach here\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @grpcsharp_metadata_array_add() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #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/tmpw8exzkb8.c'
source_filename = "/tmp/tmpw8exzkb8.c"
target datalayout = "e-m:e-p270: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"GET /\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Invalid request!, 'space' not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Filename:'%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef @.str)
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 32)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = load ptr, ptr %6, align 8
store i8 0, ptr %21, align 1
br label %25
22: ; preds = %11
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %30
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str.2, ptr noundef %26)
%28 = load ptr, ptr %5, align 8
store ptr %28, ptr %2, align 8
br label %30
29: ; preds = %1
store ptr null, ptr %2, align 8
br label %30
30: ; preds = %29, %25, %22
%31 = load ptr, ptr %2, align 8
ret ptr %31
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpw8exzkb8.c"
target datalayout = "e-m:e-p270: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"GET /\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"Invalid request!, 'space' not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Filename:'%s'\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %29
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strlen(ptr noundef @.str)
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store ptr %15, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 32)
store ptr %17, ptr %6, align 8
%18 = load ptr, ptr %6, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %22
20: ; preds = %11
%21 = load ptr, ptr %6, align 8
store i8 0, ptr %21, align 1
br label %25
22: ; preds = %11
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.1)
store ptr null, ptr %2, align 8
br label %30
25: ; preds = %20
%26 = load ptr, ptr %5, align 8
%27 = call i32 @printf(ptr noundef @.str.2, ptr noundef %26)
%28 = load ptr, ptr %5, align 8
store ptr %28, ptr %2, align 8
br label %30
29: ; preds = %1
store ptr null, ptr %2, align 8
br label %30
30: ; preds = %29, %25, %22
%31 = load ptr, ptr %2, align 8
ret ptr %31
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpf6vw4ext.c'
source_filename = "/tmp/tmpf6vw4ext.c"
target datalayout = "e-m:e-p270: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 @ft_postformat3(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 4
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %58
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 1
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %13, %16
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr %5, align 4
br label %24
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %19, %18 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %25, %28
br i1 %29, label %30, label %58
30: ; preds = %24
store i32 -1, ptr %6, align 4
br label %31
31: ; preds = %52, %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = load i32, ptr %5, align 4
br label %48
44: ; preds = %31
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 1
%47 = load i32, ptr %46, align 4
br label %48
48: ; preds = %44, %42
%49 = phi i32 [ %43, %42 ], [ %47, %44 ]
%50 = sub nsw i32 %36, %49
%51 = icmp slt i32 %33, %50
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = call i32 @ft_putchar(i8 noundef signext 32)
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
br label %31, !llvm.loop !6
56: ; preds = %48
%57 = load i32, ptr %7, align 4
store i32 %57, ptr %3, align 4
br label %59
58: ; preds = %24, %2
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %56
%60 = load i32, ptr %3, align 4
ret i32 %60
}
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/tmpf6vw4ext.c"
target datalayout = "e-m:e-p270: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 @ft_postformat3(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 4
%10 = load i32, ptr %9, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %58
12: ; preds = %2
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 1
%16 = load i32, ptr %15, align 4
%17 = icmp sgt i32 %13, %16
br i1 %17, label %18, label %20
18: ; preds = %12
%19 = load i32, ptr %5, align 4
br label %24
20: ; preds = %12
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 1
%23 = load i32, ptr %22, align 4
br label %24
24: ; preds = %20, %18
%25 = phi i32 [ %19, %18 ], [ %23, %20 ]
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i32, ptr %26, i64 0
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %25, %28
br i1 %29, label %30, label %58
30: ; preds = %24
store i32 -1, ptr %6, align 4
br label %31
31: ; preds = %52, %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i32, ptr %34, i64 0
%36 = load i32, ptr %35, align 4
%37 = load i32, ptr %5, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i32, ptr %38, i64 1
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %37, %40
br i1 %41, label %42, label %44
42: ; preds = %31
%43 = load i32, ptr %5, align 4
br label %48
44: ; preds = %31
%45 = load ptr, ptr %4, align 8
%46 = getelementptr inbounds i32, ptr %45, i64 1
%47 = load i32, ptr %46, align 4
br label %48
48: ; preds = %44, %42
%49 = phi i32 [ %43, %42 ], [ %47, %44 ]
%50 = sub nsw i32 %36, %49
%51 = icmp slt i32 %33, %50
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = call i32 @ft_putchar(i8 noundef signext 32)
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
br label %31, !llvm.loop !6
56: ; preds = %48
%57 = load i32, ptr %7, align 4
store i32 %57, ptr %3, align 4
br label %59
58: ; preds = %24, %2
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %56
%60 = load i32, ptr %3, align 4
ret i32 %60
}
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/tmpinq6dlb_.c'
source_filename = "/tmp/tmpinq6dlb_.c"
target datalayout = "e-m:e-p270: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 @checknullstring(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %7
7: ; preds = %20, %2
%8 = load i64, ptr %6, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %11, label %23
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i64, ptr %6, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %11
store i32 0, ptr %3, align 4
br label %28
19: ; preds = %11
br label %20
20: ; preds = %19
%21 = load i64, ptr %6, align 8
%22 = add i64 %21, 1
store i64 %22, ptr %6, align 8
br label %7, !llvm.loop !6
23: ; preds = %7
%24 = load ptr, ptr %4, align 8
%25 = load i64, ptr %5, align 8
%26 = sub i64 %25, 1
%27 = getelementptr inbounds i8, ptr %24, i64 %26
store i8 0, ptr %27, align 1
store i32 1, ptr %3, align 4
br label %28
28: ; preds = %23, %18
%29 = load i32, ptr %3, align 4
ret i32 %29
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpinq6dlb_.c"
target datalayout = "e-m:e-p270: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 @checknullstring(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%7 = load i64, ptr %6, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %10
store i32 0, ptr %3, align 4
br label %30
18: ; preds = %10
br label %19
19: ; preds = %18
%20 = load i64, ptr %6, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %6, align 8
%22 = load i64, ptr %6, align 8
%23 = load i64, ptr %5, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = load ptr, ptr %4, align 8
%27 = load i64, ptr %5, align 8
%28 = sub i64 %27, 1
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
store i32 1, ptr %3, align 4
br label %30
30: ; preds = %25, %17
%31 = load i32, ptr %3, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmplhxpmsm7.c'
source_filename = "/tmp/tmplhxpmsm7.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getdtablesize() #0 {
%1 = alloca %struct.rlimit, align 8
%2 = load i32, ptr @RLIMIT_NOFILE, align 4
%3 = call i32 @getrlimit(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr @INT_MAX, align 8
%7 = icmp slt i64 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%10 = load i64, ptr %9, align 8
br label %13
11: ; preds = %0
%12 = load i64, ptr @INT_MAX, align 8
br label %13
13: ; preds = %11, %8
%14 = phi i64 [ %10, %8 ], [ %12, %11 ]
%15 = trunc i64 %14 to i32
ret i32 %15
}
declare i32 @getrlimit(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/tmplhxpmsm7.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i64 }
@RLIMIT_NOFILE = dso_local global i32 0, align 4
@INT_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getdtablesize() #0 {
%1 = alloca %struct.rlimit, align 8
%2 = load i32, ptr @RLIMIT_NOFILE, align 4
%3 = call i32 @getrlimit(i32 noundef %2, ptr noundef %1)
%4 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = load i64, ptr @INT_MAX, align 8
%7 = icmp slt i64 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = getelementptr inbounds %struct.rlimit, ptr %1, i32 0, i32 0
%10 = load i64, ptr %9, align 8
br label %13
11: ; preds = %0
%12 = load i64, ptr @INT_MAX, align 8
br label %13
13: ; preds = %11, %8
%14 = phi i64 [ %10, %8 ], [ %12, %11 ]
%15 = trunc i64 %14 to i32
ret i32 %15
}
declare i32 @getrlimit(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/tmpoxp3fwmz.c'
source_filename = "/tmp/tmpoxp3fwmz.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %*d %d\00", align 1
@.str.2 = 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
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
br label %8
8: ; preds = %27, %0
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 0
br i1 %10, label %11, label %30
11: ; preds = %8
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %4, align 4
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %18, %11
%16 = load i32, ptr %5, align 4
%17 = icmp sgt i32 %16, 0
br i1 %17, label %18, label %27
18: ; preds = %15
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %5, align 4
%21 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %2)
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %6, align 4
br label %15, !llvm.loop !6
27: ; preds = %15
%28 = load i32, ptr %6, align 4
%29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28)
br label %8, !llvm.loop !8
30: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoxp3fwmz.c"
target datalayout = "e-m:e-p270: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 [10 x i8] c"%d %*d %d\00", align 1
@.str.2 = 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
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%8 = load i32, ptr %4, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %27
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %4, align 4
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %5)
store i32 0, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %5, align 4
%19 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %2)
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %20, %21
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, %22
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %27
27: ; preds = %._crit_edge, %10
%28 = load i32, ptr %6, align 4
%29 = call i32 @printf(ptr noundef @.str.2, i32 noundef %28)
%30 = load i32, ptr %4, align 4
%31 = icmp sgt i32 %30, 0
br i1 %31, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpunj4miko.c'
source_filename = "/tmp/tmpunj4miko.c"
target datalayout = "e-m:e-p270: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"ai\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Usage: %s [\E2\88\92ai] [file...]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@_IONBF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [4096 x i8], align 16
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %6, align 8
%17 = alloca ptr, i64 %15, align 16
store i64 %15, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
br label %18
18: ; preds = %38, %2
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = call i32 @getopt(i32 noundef %19, ptr noundef %20, ptr noundef @.str)
store i32 %21, ptr %10, align 4
%22 = icmp ne i32 %21, -1
br i1 %22, label %23, label %39
23: ; preds = %18
%24 = load i32, ptr %10, align 4
switch i32 %24, label %30 [
i32 97, label %25
i32 105, label %26
]
25: ; preds = %23
store i32 1, ptr %11, align 4
br label %38
26: ; preds = %23
%27 = load i32, ptr @SIGINT, align 4
%28 = load i32, ptr @SIG_IGN, align 4
%29 = call i32 @signal(i32 noundef %27, i32 noundef %28)
br label %38
30: ; preds = %23
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %34)
%36 = load i32, ptr @EXIT_FAILURE, align 4
%37 = call i32 @exit(i32 noundef %36) #4
unreachable
38: ; preds = %26, %25
br label %18, !llvm.loop !6
39: ; preds = %18
%40 = load i32, ptr @optind, align 4
store i32 %40, ptr %8, align 4
br label %41
41: ; preds = %88, %39
%42 = load i32, ptr %8, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %91
45: ; preds = %41
%46 = load i32, ptr %11, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %45
%49 = load ptr, ptr %5, align 8
%50 = load i32, ptr %8, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = call ptr @fopen(ptr noundef %53, ptr noundef @.str.2)
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %17, i64 %56
store ptr %54, ptr %57, align 8
br label %68
58: ; preds = %45
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %8, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = call ptr @fopen(ptr noundef %63, ptr noundef @.str.3)
%65 = load i32, ptr %8, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %17, i64 %66
store ptr %64, ptr %67, align 8
br label %68
68: ; preds = %58, %48
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %17, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %81
74: ; preds = %68
%75 = load i32, ptr %8, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds ptr, ptr %17, i64 %76
%78 = load ptr, ptr %77, align 8
%79 = load i32, ptr @_IONBF, align 4
%80 = call i32 @setvbuf(ptr noundef %78, ptr noundef null, i32 noundef %79, i32 noundef 0)
br label %87
81: ; preds = %68
%82 = load i32, ptr @stderr, align 4
%83 = load i32, ptr @errno, align 4
%84 = call ptr @strerror(i32 noundef %83)
%85 = call i32 @fprintf(i32 noundef %82, ptr noundef @.str.4, ptr noundef %84)
%86 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %86, ptr %9, align 4
br label %87
87: ; preds = %81, %74
br label %88
88: ; preds = %87
%89 = load i32, ptr %8, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %8, align 4
br label %41, !llvm.loop !8
91: ; preds = %41
br label %92
92: ; preds = %128, %91
br label %93
93: ; preds = %92
%94 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
%95 = load i32, ptr @stdin, align 4
%96 = call i64 @fread(ptr noundef %94, i32 noundef 1, i32 noundef 4096, i32 noundef %95)
store i64 %96, ptr %13, align 8
%97 = load i32, ptr @optind, align 4
store i32 %97, ptr %8, align 4
br label %98
98: ; preds = %117, %93
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %4, align 4
%101 = icmp slt i32 %99, %100
br i1 %101, label %102, label %120
102: ; preds = %98
%103 = load i32, ptr %8, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds ptr, ptr %17, i64 %104
%106 = load ptr, ptr %105, align 8
%107 = icmp ne ptr %106, null
br i1 %107, label %108, label %116
108: ; preds = %102
%109 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
%110 = load i64, ptr %13, align 8
%111 = load i32, ptr %8, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds ptr, ptr %17, i64 %112
%114 = load ptr, ptr %113, align 8
%115 = call i32 @fwrite(ptr noundef %109, i32 noundef 1, i64 noundef %110, ptr noundef %114)
br label %116
116: ; preds = %108, %102
br label %117
117: ; preds = %116
%118 = load i32, ptr %8, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %8, align 4
br label %98, !llvm.loop !9
120: ; preds = %98
%121 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
%122 = load i64, ptr %13, align 8
%123 = load ptr, ptr @stdout, align 8
%124 = call i32 @fwrite(ptr noundef %121, i32 noundef 1, i64 noundef %122, ptr noundef %123)
%125 = load i64, ptr %13, align 8
%126 = icmp ult i64 %125, 4096
br i1 %126, label %127, label %128
127: ; preds = %120
br label %129
128: ; preds = %120
br label %92
129: ; preds = %127
%130 = load i32, ptr @optind, align 4
store i32 %130, ptr %8, align 4
br label %131
131: ; preds = %148, %129
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %4, align 4
%134 = icmp slt i32 %132, %133
br i1 %134, label %135, label %151
135: ; preds = %131
%136 = load i32, ptr %8, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds ptr, ptr %17, i64 %137
%139 = load ptr, ptr %138, align 8
%140 = icmp ne ptr %139, null
br i1 %140, label %141, label %147
141: ; preds = %135
%142 = load i32, ptr %8, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %17, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = call i32 @fclose(ptr noundef %145)
br label %147
147: ; preds = %141, %135
br label %148
148: ; preds = %147
%149 = load i32, ptr %8, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %8, align 4
br label %131, !llvm.loop !10
151: ; preds = %131
%152 = load i32, ptr %9, align 4
store i32 %152, ptr %3, align 4
%153 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %153)
%154 = load i32, ptr %3, align 4
ret i32 %154
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @signal(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare ptr @strerror(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2
declare i32 @fclose(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" }
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpunj4miko.c"
target datalayout = "e-m:e-p270: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"ai\00", align 1
@SIGINT = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [29 x i8] c"Usage: %s [\E2\88\92ai] [file...]\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@_IONBF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [11 x i8] c"ERROR: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@stdin = dso_local global i32 0, align 4
@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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca [4096 x i8], align 16
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = zext i32 %14 to i64
%16 = call ptr @llvm.stacksave()
store ptr %16, ptr %6, align 8
%17 = alloca ptr, i64 %15, align 16
store i64 %15, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %11, align 4
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = call i32 @getopt(i32 noundef %18, ptr noundef %19, ptr noundef @.str)
store i32 %20, ptr %10, align 4
%21 = icmp ne i32 %20, -1
br i1 %21, label %.lr.ph, label %42
.lr.ph: ; preds = %2
br label %22
22: ; preds = %.lr.ph, %37
%23 = load i32, ptr %10, align 4
switch i32 %23, label %29 [
i32 97, label %24
i32 105, label %25
]
24: ; preds = %22
store i32 1, ptr %11, align 4
br label %37
25: ; preds = %22
%26 = load i32, ptr @SIGINT, align 4
%27 = load i32, ptr @SIG_IGN, align 4
%28 = call i32 @signal(i32 noundef %26, i32 noundef %27)
br label %37
29: ; preds = %22
%30 = load i32, ptr @stderr, align 4
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 0
%33 = load ptr, ptr %32, align 8
%34 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1, ptr noundef %33)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #4
unreachable
37: ; preds = %25, %24
%38 = load i32, ptr %4, align 4
%39 = load ptr, ptr %5, align 8
%40 = call i32 @getopt(i32 noundef %38, ptr noundef %39, ptr noundef @.str)
store i32 %40, ptr %10, align 4
%41 = icmp ne i32 %40, -1
br i1 %41, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %42
42: ; preds = %._crit_edge, %2
%43 = load i32, ptr @optind, align 4
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph2, label %96
.lr.ph2: ; preds = %42
br label %47
47: ; preds = %.lr.ph2, %90
%48 = load i32, ptr %11, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %60
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %8, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds ptr, ptr %51, i64 %53
%55 = load ptr, ptr %54, align 8
%56 = call ptr @fopen(ptr noundef %55, ptr noundef @.str.2)
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %17, i64 %58
store ptr %56, ptr %59, align 8
br label %70
60: ; preds = %47
%61 = load ptr, ptr %5, align 8
%62 = load i32, ptr %8, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = call ptr @fopen(ptr noundef %65, ptr noundef @.str.3)
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds ptr, ptr %17, i64 %68
store ptr %66, ptr %69, align 8
br label %70
70: ; preds = %60, %50
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %17, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = icmp ne ptr %74, null
br i1 %75, label %76, label %83
76: ; preds = %70
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %17, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = load i32, ptr @_IONBF, align 4
%82 = call i32 @setvbuf(ptr noundef %80, ptr noundef null, i32 noundef %81, i32 noundef 0)
br label %89
83: ; preds = %70
%84 = load i32, ptr @stderr, align 4
%85 = load i32, ptr @errno, align 4
%86 = call ptr @strerror(i32 noundef %85)
%87 = call i32 @fprintf(i32 noundef %84, ptr noundef @.str.4, ptr noundef %86)
%88 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %88, ptr %9, align 4
br label %89
89: ; preds = %83, %76
br label %90
90: ; preds = %89
%91 = load i32, ptr %8, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %8, align 4
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %4, align 4
%95 = icmp slt i32 %93, %94
br i1 %95, label %47, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %90
br label %96
96: ; preds = %._crit_edge3, %42
%97 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
br label %98
98: ; preds = %128, %96
br label %99
99: ; preds = %98
%100 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
%101 = load i32, ptr @stdin, align 4
%102 = call i64 @fread(ptr noundef %100, i32 noundef 1, i32 noundef 4096, i32 noundef %101)
store i64 %102, ptr %13, align 8
%103 = load i32, ptr @optind, align 4
store i32 %103, ptr %8, align 4
%104 = load i32, ptr %8, align 4
%105 = load i32, ptr %4, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %.lr.ph5, label %128
.lr.ph5: ; preds = %99
br label %107
107: ; preds = %.lr.ph5, %122
%108 = load i32, ptr %8, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds ptr, ptr %17, i64 %109
%111 = load ptr, ptr %110, align 8
%112 = icmp ne ptr %111, null
br i1 %112, label %113, label %121
113: ; preds = %107
%114 = getelementptr inbounds [4096 x i8], ptr %12, i64 0, i64 0
%115 = load i64, ptr %13, align 8
%116 = load i32, ptr %8, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds ptr, ptr %17, i64 %117
%119 = load ptr, ptr %118, align 8
%120 = call i32 @fwrite(ptr noundef %114, i32 noundef 1, i64 noundef %115, ptr noundef %119)
br label %121
121: ; preds = %113, %107
br label %122
122: ; preds = %121
%123 = load i32, ptr %8, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %8, align 4
%125 = load i32, ptr %8, align 4
%126 = load i32, ptr %4, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %107, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %122
br label %128
128: ; preds = %._crit_edge6, %99
%129 = load i64, ptr %13, align 8
%130 = load ptr, ptr @stdout, align 8
%131 = call i32 @fwrite(ptr noundef %97, i32 noundef 1, i64 noundef %129, ptr noundef %130)
%132 = load i64, ptr %13, align 8
%133 = icmp ult i64 %132, 4096
br i1 %133, label %134, label %98
134: ; preds = %128
br label %135
135: ; preds = %134
%136 = load i32, ptr @optind, align 4
store i32 %136, ptr %8, align 4
%137 = load i32, ptr %8, align 4
%138 = load i32, ptr %4, align 4
%139 = icmp slt i32 %137, %138
br i1 %139, label %.lr.ph8, label %159
.lr.ph8: ; preds = %135
br label %140
140: ; preds = %.lr.ph8, %153
%141 = load i32, ptr %8, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds ptr, ptr %17, i64 %142
%144 = load ptr, ptr %143, align 8
%145 = icmp ne ptr %144, null
br i1 %145, label %146, label %152
146: ; preds = %140
%147 = load i32, ptr %8, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds ptr, ptr %17, i64 %148
%150 = load ptr, ptr %149, align 8
%151 = call i32 @fclose(ptr noundef %150)
br label %152
152: ; preds = %146, %140
br label %153
153: ; preds = %152
%154 = load i32, ptr %8, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %8, align 4
%156 = load i32, ptr %8, align 4
%157 = load i32, ptr %4, align 4
%158 = icmp slt i32 %156, %157
br i1 %158, label %140, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %153
br label %159
159: ; preds = %._crit_edge9, %135
%160 = load i32, ptr %9, align 4
store i32 %160, ptr %3, align 4
%161 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %161)
%162 = load i32, ptr %3, align 4
ret i32 %162
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @signal(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @setvbuf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare ptr @strerror(i32 noundef) #2
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #2
declare i32 @fclose(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" }
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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmph65d4zku.c'
source_filename = "/tmp/tmph65d4zku.c"
target datalayout = "e-m:e-p270: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/tmph65d4zku.c"
target datalayout = "e-m:e-p270: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/tmp68nhr1ee.c'
source_filename = "/tmp/tmp68nhr1ee.c"
target datalayout = "e-m:e-p270: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %12, %1
%8 = load ptr, ptr %3, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 32
br i1 %11, label %12, label %15
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %3, align 8
br label %7, !llvm.loop !6
15: ; preds = %7
br label %16
16: ; preds = %20, %15
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = icmp ne i8 %18, 0
br i1 %19, label %20, label %26
20: ; preds = %16
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %3, align 8
%23 = load i8, ptr %21, align 1
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %4, align 8
store i8 %23, ptr %24, align 1
br label %16, !llvm.loop !8
26: ; preds = %16
%27 = load ptr, ptr %4, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %2, align 8
%29 = load ptr, ptr %2, align 8
%30 = call i64 @strlen(ptr noundef %29)
%31 = add nsw i64 %30, 1
%32 = call i64 @realloc(ptr noundef %28, i64 noundef %31)
%33 = inttoptr i64 %32 to ptr
ret ptr %33
}
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68nhr1ee.c"
target datalayout = "e-m:e-p270: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 32
br i1 %10, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %18
18: ; preds = %._crit_edge, %1
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %.lr.ph2, label %31
.lr.ph2: ; preds = %18
br label %22
22: ; preds = %.lr.ph2, %22
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
%25 = load i8, ptr %23, align 1
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
store i8 %25, ptr %26, align 1
%28 = load ptr, ptr %3, align 8
%29 = load i8, ptr %28, align 1
%30 = icmp ne i8 %29, 0
br i1 %30, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %31
31: ; preds = %._crit_edge3, %18
%32 = load ptr, ptr %4, align 8
store i8 0, ptr %32, align 1
%33 = load ptr, ptr %2, align 8
%34 = load ptr, ptr %2, align 8
%35 = call i64 @strlen(ptr noundef %34)
%36 = add nsw i64 %35, 1
%37 = call i64 @realloc(ptr noundef %33, i64 noundef %36)
%38 = inttoptr i64 %37 to ptr
ret ptr %38
}
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb3exv1vc.c'
source_filename = "/tmp/tmpb3exv1vc.c"
target datalayout = "e-m:e-p270: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 @call_access_index_1_on_local_array_Good() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @access_index_1(ptr noundef %2)
ret void
}
declare i32 @access_index_1(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/tmpb3exv1vc.c"
target datalayout = "e-m:e-p270: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 @call_access_index_1_on_local_array_Good() #0 {
%1 = alloca [4 x i32], align 16
%2 = getelementptr inbounds [4 x i32], ptr %1, i64 0, i64 0
%3 = call i32 @access_index_1(ptr noundef %2)
ret void
}
declare i32 @access_index_1(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/tmpq0zcqp6v.c'
source_filename = "/tmp/tmpq0zcqp6v.c"
target datalayout = "e-m:e-p270: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/tmpq0zcqp6v.c"
target datalayout = "e-m:e-p270: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/tmpibpowlwu.c'
source_filename = "/tmp/tmpibpowlwu.c"
target datalayout = "e-m:e-p270: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/tmpibpowlwu.c"
target datalayout = "e-m:e-p270: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/tmpja8cq3j8.c'
source_filename = "/tmp/tmpja8cq3j8.c"
target datalayout = "e-m:e-p270: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"C-\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"M-\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"<prior>\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"<next>\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"<home>\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"<end>\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"<delete>\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"<backspace>\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"<insert>\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"<left>\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"<right>\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"<up>\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"<down>\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"<RET>\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"<TAB>\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"<f1>\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"<f2>\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"<f3>\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"<f4>\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"<f5>\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"<f6>\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"<f7>\00", align 1
@.str.22 = private unnamed_addr constant [5 x i8] c"<f8>\00", align 1
@.str.23 = private unnamed_addr constant [5 x i8] c"<f9>\00", align 1
@.str.24 = private unnamed_addr constant [6 x i8] c"<f10>\00", align 1
@.str.25 = private unnamed_addr constant [6 x i8] c"<f11>\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"<f12>\00", align 1
@.str.27 = private unnamed_addr constant [4 x i8] c"SPC\00", align 1
@.str.28 = private unnamed_addr constant [5 x i8] c"<%x>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @deemacs_key_to_str_representation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 16)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store i8 0, ptr %6, align 1
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 512
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %1
%14 = load i32, ptr %2, align 4
%15 = and i32 %14, 1024
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.1)
br label %20
20: ; preds = %17, %13
%21 = load i32, ptr %2, align 4
%22 = and i32 %21, -1537
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
switch i32 %23, label %102 [
i32 260, label %24
i32 261, label %27
i32 262, label %30
i32 263, label %33
i32 264, label %36
i32 265, label %39
i32 266, label %42
i32 267, label %45
i32 268, label %48
i32 269, label %51
i32 270, label %54
i32 259, label %57
i32 258, label %60
i32 272, label %63
i32 273, label %66
i32 274, label %69
i32 275, label %72
i32 276, label %75
i32 277, label %78
i32 278, label %81
i32 279, label %84
i32 280, label %87
i32 281, label %90
i32 282, label %93
i32 283, label %96
i32 32, label %99
]
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.2)
br label %128
27: ; preds = %20
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcat(ptr noundef %28, ptr noundef @.str.3)
br label %128
30: ; preds = %20
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strcat(ptr noundef %31, ptr noundef @.str.4)
br label %128
33: ; preds = %20
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.5)
br label %128
36: ; preds = %20
%37 = load ptr, ptr %3, align 8
%38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.6)
br label %128
39: ; preds = %20
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strcat(ptr noundef %40, ptr noundef @.str.7)
br label %128
42: ; preds = %20
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strcat(ptr noundef %43, ptr noundef @.str.8)
br label %128
45: ; preds = %20
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.9)
br label %128
48: ; preds = %20
%49 = load ptr, ptr %3, align 8
%50 = call i32 @strcat(ptr noundef %49, ptr noundef @.str.10)
br label %128
51: ; preds = %20
%52 = load ptr, ptr %3, align 8
%53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str.11)
br label %128
54: ; preds = %20
%55 = load ptr, ptr %3, align 8
%56 = call i32 @strcat(ptr noundef %55, ptr noundef @.str.12)
br label %128
57: ; preds = %20
%58 = load ptr, ptr %3, align 8
%59 = call i32 @strcat(ptr noundef %58, ptr noundef @.str.13)
br label %128
60: ; preds = %20
%61 = load ptr, ptr %3, align 8
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.14)
br label %128
63: ; preds = %20
%64 = load ptr, ptr %3, align 8
%65 = call i32 @strcat(ptr noundef %64, ptr noundef @.str.15)
br label %128
66: ; preds = %20
%67 = load ptr, ptr %3, align 8
%68 = call i32 @strcat(ptr noundef %67, ptr noundef @.str.16)
br label %128
69: ; preds = %20
%70 = load ptr, ptr %3, align 8
%71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.17)
br label %128
72: ; preds = %20
%73 = load ptr, ptr %3, align 8
%74 = call i32 @strcat(ptr noundef %73, ptr noundef @.str.18)
br label %128
75: ; preds = %20
%76 = load ptr, ptr %3, align 8
%77 = call i32 @strcat(ptr noundef %76, ptr noundef @.str.19)
br label %128
78: ; preds = %20
%79 = load ptr, ptr %3, align 8
%80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.20)
br label %128
81: ; preds = %20
%82 = load ptr, ptr %3, align 8
%83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.21)
br label %128
84: ; preds = %20
%85 = load ptr, ptr %3, align 8
%86 = call i32 @strcat(ptr noundef %85, ptr noundef @.str.22)
br label %128
87: ; preds = %20
%88 = load ptr, ptr %3, align 8
%89 = call i32 @strcat(ptr noundef %88, ptr noundef @.str.23)
br label %128
90: ; preds = %20
%91 = load ptr, ptr %3, align 8
%92 = call i32 @strcat(ptr noundef %91, ptr noundef @.str.24)
br label %128
93: ; preds = %20
%94 = load ptr, ptr %3, align 8
%95 = call i32 @strcat(ptr noundef %94, ptr noundef @.str.25)
br label %128
96: ; preds = %20
%97 = load ptr, ptr %3, align 8
%98 = call i32 @strcat(ptr noundef %97, ptr noundef @.str.26)
br label %128
99: ; preds = %20
%100 = load ptr, ptr %3, align 8
%101 = call i32 @strcat(ptr noundef %100, ptr noundef @.str.27)
br label %128
102: ; preds = %20
%103 = load i32, ptr %2, align 4
%104 = icmp sle i32 %103, 255
br i1 %104, label %105, label %123
105: ; preds = %102
%106 = load i32, ptr %2, align 4
%107 = call i32 @isgraph(i32 noundef %106) #3
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %123
109: ; preds = %105
%110 = load ptr, ptr %3, align 8
%111 = call i32 @strlen(ptr noundef %110)
store i32 %111, ptr %4, align 4
%112 = load i32, ptr %2, align 4
%113 = trunc i32 %112 to i8
%114 = load ptr, ptr %3, align 8
%115 = load i32, ptr %4, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 %113, ptr %117, align 1
%118 = load ptr, ptr %3, align 8
%119 = load i32, ptr %4, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store i8 0, ptr %122, align 1
br label %127
123: ; preds = %105, %102
%124 = load ptr, ptr %3, align 8
%125 = load i32, ptr %2, align 4
%126 = call i32 @sprintf(ptr noundef %124, ptr noundef @.str.28, i32 noundef %125)
br label %127
127: ; preds = %123, %109
br label %128
128: ; preds = %127, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24
%129 = load ptr, ptr %3, align 8
ret ptr %129
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpja8cq3j8.c"
target datalayout = "e-m:e-p270: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"C-\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"M-\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"<prior>\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"<next>\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"<home>\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"<end>\00", align 1
@.str.6 = private unnamed_addr constant [9 x i8] c"<delete>\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"<backspace>\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c"<insert>\00", align 1
@.str.9 = private unnamed_addr constant [7 x i8] c"<left>\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"<right>\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c"<up>\00", align 1
@.str.12 = private unnamed_addr constant [7 x i8] c"<down>\00", align 1
@.str.13 = private unnamed_addr constant [6 x i8] c"<RET>\00", align 1
@.str.14 = private unnamed_addr constant [6 x i8] c"<TAB>\00", align 1
@.str.15 = private unnamed_addr constant [5 x i8] c"<f1>\00", align 1
@.str.16 = private unnamed_addr constant [5 x i8] c"<f2>\00", align 1
@.str.17 = private unnamed_addr constant [5 x i8] c"<f3>\00", align 1
@.str.18 = private unnamed_addr constant [5 x i8] c"<f4>\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"<f5>\00", align 1
@.str.20 = private unnamed_addr constant [5 x i8] c"<f6>\00", align 1
@.str.21 = private unnamed_addr constant [5 x i8] c"<f7>\00", align 1
@.str.22 = private unnamed_addr constant [5 x i8] c"<f8>\00", align 1
@.str.23 = private unnamed_addr constant [5 x i8] c"<f9>\00", align 1
@.str.24 = private unnamed_addr constant [6 x i8] c"<f10>\00", align 1
@.str.25 = private unnamed_addr constant [6 x i8] c"<f11>\00", align 1
@.str.26 = private unnamed_addr constant [6 x i8] c"<f12>\00", align 1
@.str.27 = private unnamed_addr constant [4 x i8] c"SPC\00", align 1
@.str.28 = private unnamed_addr constant [5 x i8] c"<%x>\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @deemacs_key_to_str_representation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef 16)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store i8 0, ptr %6, align 1
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 512
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strcat(ptr noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %1
%14 = load i32, ptr %2, align 4
%15 = and i32 %14, 1024
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = call i32 @strcat(ptr noundef %18, ptr noundef @.str.1)
br label %20
20: ; preds = %17, %13
%21 = load i32, ptr %2, align 4
%22 = and i32 %21, -1537
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
switch i32 %23, label %102 [
i32 260, label %24
i32 261, label %27
i32 262, label %30
i32 263, label %33
i32 264, label %36
i32 265, label %39
i32 266, label %42
i32 267, label %45
i32 268, label %48
i32 269, label %51
i32 270, label %54
i32 259, label %57
i32 258, label %60
i32 272, label %63
i32 273, label %66
i32 274, label %69
i32 275, label %72
i32 276, label %75
i32 277, label %78
i32 278, label %81
i32 279, label %84
i32 280, label %87
i32 281, label %90
i32 282, label %93
i32 283, label %96
i32 32, label %99
]
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = call i32 @strcat(ptr noundef %25, ptr noundef @.str.2)
br label %128
27: ; preds = %20
%28 = load ptr, ptr %3, align 8
%29 = call i32 @strcat(ptr noundef %28, ptr noundef @.str.3)
br label %128
30: ; preds = %20
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strcat(ptr noundef %31, ptr noundef @.str.4)
br label %128
33: ; preds = %20
%34 = load ptr, ptr %3, align 8
%35 = call i32 @strcat(ptr noundef %34, ptr noundef @.str.5)
br label %128
36: ; preds = %20
%37 = load ptr, ptr %3, align 8
%38 = call i32 @strcat(ptr noundef %37, ptr noundef @.str.6)
br label %128
39: ; preds = %20
%40 = load ptr, ptr %3, align 8
%41 = call i32 @strcat(ptr noundef %40, ptr noundef @.str.7)
br label %128
42: ; preds = %20
%43 = load ptr, ptr %3, align 8
%44 = call i32 @strcat(ptr noundef %43, ptr noundef @.str.8)
br label %128
45: ; preds = %20
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strcat(ptr noundef %46, ptr noundef @.str.9)
br label %128
48: ; preds = %20
%49 = load ptr, ptr %3, align 8
%50 = call i32 @strcat(ptr noundef %49, ptr noundef @.str.10)
br label %128
51: ; preds = %20
%52 = load ptr, ptr %3, align 8
%53 = call i32 @strcat(ptr noundef %52, ptr noundef @.str.11)
br label %128
54: ; preds = %20
%55 = load ptr, ptr %3, align 8
%56 = call i32 @strcat(ptr noundef %55, ptr noundef @.str.12)
br label %128
57: ; preds = %20
%58 = load ptr, ptr %3, align 8
%59 = call i32 @strcat(ptr noundef %58, ptr noundef @.str.13)
br label %128
60: ; preds = %20
%61 = load ptr, ptr %3, align 8
%62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.14)
br label %128
63: ; preds = %20
%64 = load ptr, ptr %3, align 8
%65 = call i32 @strcat(ptr noundef %64, ptr noundef @.str.15)
br label %128
66: ; preds = %20
%67 = load ptr, ptr %3, align 8
%68 = call i32 @strcat(ptr noundef %67, ptr noundef @.str.16)
br label %128
69: ; preds = %20
%70 = load ptr, ptr %3, align 8
%71 = call i32 @strcat(ptr noundef %70, ptr noundef @.str.17)
br label %128
72: ; preds = %20
%73 = load ptr, ptr %3, align 8
%74 = call i32 @strcat(ptr noundef %73, ptr noundef @.str.18)
br label %128
75: ; preds = %20
%76 = load ptr, ptr %3, align 8
%77 = call i32 @strcat(ptr noundef %76, ptr noundef @.str.19)
br label %128
78: ; preds = %20
%79 = load ptr, ptr %3, align 8
%80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.20)
br label %128
81: ; preds = %20
%82 = load ptr, ptr %3, align 8
%83 = call i32 @strcat(ptr noundef %82, ptr noundef @.str.21)
br label %128
84: ; preds = %20
%85 = load ptr, ptr %3, align 8
%86 = call i32 @strcat(ptr noundef %85, ptr noundef @.str.22)
br label %128
87: ; preds = %20
%88 = load ptr, ptr %3, align 8
%89 = call i32 @strcat(ptr noundef %88, ptr noundef @.str.23)
br label %128
90: ; preds = %20
%91 = load ptr, ptr %3, align 8
%92 = call i32 @strcat(ptr noundef %91, ptr noundef @.str.24)
br label %128
93: ; preds = %20
%94 = load ptr, ptr %3, align 8
%95 = call i32 @strcat(ptr noundef %94, ptr noundef @.str.25)
br label %128
96: ; preds = %20
%97 = load ptr, ptr %3, align 8
%98 = call i32 @strcat(ptr noundef %97, ptr noundef @.str.26)
br label %128
99: ; preds = %20
%100 = load ptr, ptr %3, align 8
%101 = call i32 @strcat(ptr noundef %100, ptr noundef @.str.27)
br label %128
102: ; preds = %20
%103 = load i32, ptr %2, align 4
%104 = icmp sle i32 %103, 255
br i1 %104, label %105, label %123
105: ; preds = %102
%106 = load i32, ptr %2, align 4
%107 = call i32 @isgraph(i32 noundef %106) #3
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %123
109: ; preds = %105
%110 = load ptr, ptr %3, align 8
%111 = call i32 @strlen(ptr noundef %110)
store i32 %111, ptr %4, align 4
%112 = load i32, ptr %2, align 4
%113 = trunc i32 %112 to i8
%114 = load ptr, ptr %3, align 8
%115 = load i32, ptr %4, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i8, ptr %114, i64 %116
store i8 %113, ptr %117, align 1
%118 = load ptr, ptr %3, align 8
%119 = load i32, ptr %4, align 4
%120 = add nsw i32 %119, 1
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds i8, ptr %118, i64 %121
store i8 0, ptr %122, align 1
br label %127
123: ; preds = %105, %102
%124 = load ptr, ptr %3, align 8
%125 = load i32, ptr %2, align 4
%126 = call i32 @sprintf(ptr noundef %124, ptr noundef @.str.28, i32 noundef %125)
br label %127
127: ; preds = %123, %109
br label %128
128: ; preds = %127, %99, %96, %93, %90, %87, %84, %81, %78, %75, %72, %69, %66, %63, %60, %57, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24
%129 = load ptr, ptr %3, align 8
ret ptr %129
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isgraph(i32 noundef) #2
declare i32 @strlen(ptr noundef) #1
declare i32 @sprintf(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpqtvs23nt.c'
source_filename = "/tmp/tmpqtvs23nt.c"
target datalayout = "e-m:e-p270: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 @Crispy_SubRandom() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Crispy_Random()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 (...) @Crispy_Random()
%5 = sub nsw i32 %3, %4
ret i32 %5
}
declare i32 @Crispy_Random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpqtvs23nt.c"
target datalayout = "e-m:e-p270: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 @Crispy_SubRandom() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Crispy_Random()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 (...) @Crispy_Random()
%5 = sub nsw i32 %3, %4
ret i32 %5
}
declare i32 @Crispy_Random(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpd5r1ysg7.c'
source_filename = "/tmp/tmpd5r1ysg7.c"
target datalayout = "e-m:e-p270: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/tmpd5r1ysg7.c"
target datalayout = "e-m:e-p270: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/tmpa2jlzsfx.c'
source_filename = "/tmp/tmpa2jlzsfx.c"
target datalayout = "e-m:e-p270: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 @USBIntDisableControl(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 %4, align 4
%6 = and i32 %5, 255
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 255
%11 = xor i32 %10, -1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 11
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to ptr
%16 = load volatile i32, ptr %15, align 4
%17 = and i32 %16, %11
store volatile i32 %17, ptr %15, align 4
br label %18
18: ; preds = %8, %2
%19 = load i32, ptr %4, align 4
%20 = and i32 %19, 256
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1032
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
store volatile i32 0, ptr %26, align 4
br label %27
27: ; preds = %22, %18
%28 = load i32, ptr %4, align 4
%29 = and i32 %28, 512
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store volatile i32 0, ptr inttoptr (i64 1074070600 to ptr), align 4
br label %32
32: ; preds = %31, %27
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/tmpa2jlzsfx.c"
target datalayout = "e-m:e-p270: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 @USBIntDisableControl(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 %4, align 4
%6 = and i32 %5, 255
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %18
8: ; preds = %2
%9 = load i32, ptr %4, align 4
%10 = and i32 %9, 255
%11 = xor i32 %10, -1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 11
%14 = sext i32 %13 to i64
%15 = inttoptr i64 %14 to ptr
%16 = load volatile i32, ptr %15, align 4
%17 = and i32 %16, %11
store volatile i32 %17, ptr %15, align 4
br label %18
18: ; preds = %8, %2
%19 = load i32, ptr %4, align 4
%20 = and i32 %19, 256
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1032
%25 = sext i32 %24 to i64
%26 = inttoptr i64 %25 to ptr
store volatile i32 0, ptr %26, align 4
br label %27
27: ; preds = %22, %18
%28 = load i32, ptr %4, align 4
%29 = and i32 %28, 512
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %27
store volatile i32 0, ptr inttoptr (i64 1074070600 to ptr), align 4
br label %32
32: ; preds = %31, %27
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/tmp9xryncnb.c'
source_filename = "/tmp/tmp9xryncnb.c"
target datalayout = "e-m:e-p270: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 @eeprom_write_word(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i32
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sge i32 %8, 2047
br i1 %9, label %10, label %11
10: ; preds = %2
br label %60
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = and i32 %12, 1
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %25
store i32 %23, ptr %26, align 4
%27 = call i32 (...) @flexram_wait()
br label %28
28: ; preds = %22, %15
br label %60
29: ; preds = %11
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %29
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %39
store i32 %37, ptr %40, align 4
%41 = call i32 (...) @flexram_wait()
br label %42
42: ; preds = %36, %29
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %4, align 4
%49 = ashr i32 %48, 8
%50 = icmp ne i32 %47, %49
br i1 %50, label %51, label %59
51: ; preds = %42
%52 = load i32, ptr %4, align 4
%53 = ashr i32 %52, 8
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %56
store i32 %53, ptr %57, align 4
%58 = call i32 (...) @flexram_wait()
br label %59
59: ; preds = %51, %42
br label %60
60: ; preds = %10, %59, %28
ret void
}
declare i32 @flexram_wait(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp9xryncnb.c"
target datalayout = "e-m:e-p270: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 @eeprom_write_word(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = ptrtoint ptr %6 to i32
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp sge i32 %8, 2047
br i1 %9, label %10, label %11
10: ; preds = %2
br label %60
11: ; preds = %2
%12 = load i32, ptr %5, align 4
%13 = and i32 %12, 1
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %29
15: ; preds = %11
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %28
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %25
store i32 %23, ptr %26, align 4
%27 = call i32 (...) @flexram_wait()
br label %28
28: ; preds = %22, %15
br label %60
29: ; preds = %11
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %42
36: ; preds = %29
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %5, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %39
store i32 %37, ptr %40, align 4
%41 = call i32 (...) @flexram_wait()
br label %42
42: ; preds = %36, %29
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %4, align 4
%49 = ashr i32 %48, 8
%50 = icmp ne i32 %47, %49
br i1 %50, label %51, label %59
51: ; preds = %42
%52 = load i32, ptr %4, align 4
%53 = ashr i32 %52, 8
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr inttoptr (i64 335544320 to ptr), i64 %56
store i32 %53, ptr %57, align 4
%58 = call i32 (...) @flexram_wait()
br label %59
59: ; preds = %51, %42
br label %60
60: ; preds = %59, %28, %10
ret void
}
declare i32 @flexram_wait(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp01no6bom.c'
source_filename = "/tmp/tmp01no6bom.c"
target datalayout = "e-m:e-p270: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 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @getopt_internal(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0)
ret i32 %10
}
declare i32 @getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp01no6bom.c"
target datalayout = "e-m:e-p270: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 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @getopt_internal(i32 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef null, ptr noundef null, i32 noundef 0)
ret i32 %10
}
declare i32 @getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpow70s6ek.c'
source_filename = "/tmp/tmpow70s6ek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpow70s6ek.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsivrhnv8.c'
source_filename = "/tmp/tmpsivrhnv8.c"
target datalayout = "e-m:e-p270: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/tmpsivrhnv8.c"
target datalayout = "e-m:e-p270: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/tmpvs6bm2ap.c'
source_filename = "/tmp/tmpvs6bm2ap.c"
target datalayout = "e-m:e-p270: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/tmpvs6bm2ap.c"
target datalayout = "e-m:e-p270: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/tmpvfgu6vtw.c'
source_filename = "/tmp/tmpvfgu6vtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca %union.anon, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 -5, ptr %5, align 8
store i64 0, ptr %2, align 8
br label %6
6: ; preds = %14, %0
%7 = load i64, ptr %2, align 8
%8 = icmp slt i64 %7, 12
br i1 %8, label %9, label %17
9: ; preds = %6
%10 = load i64, ptr %5, align 8
%11 = call i32 @test_value(i64 noundef %10)
%12 = load i64, ptr %5, align 8
%13 = add nsw i64 %12, 1
store i64 %13, ptr %5, align 8
br label %14
14: ; preds = %9
%15 = load i64, ptr %2, align 8
%16 = add nsw i64 %15, 1
store i64 %16, ptr %2, align 8
br label %6, !llvm.loop !6
17: ; preds = %6
store i64 0, ptr %2, align 8
br label %18
18: ; preds = %25, %17
%19 = load i64, ptr %2, align 8
%20 = icmp ult i64 %19, 64
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = load i64, ptr %2, align 8
%23 = shl i64 1, %22
%24 = call i32 @test_value(i64 noundef %23)
br label %25
25: ; preds = %21
%26 = load i64, ptr %2, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %2, align 8
br label %18, !llvm.loop !8
28: ; preds = %18
ret i32 0
}
declare i32 @test_value(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvfgu6vtw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%union.anon = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca %union.anon, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 -5, ptr %5, align 8
store i64 0, ptr %2, align 8
%6 = load i64, ptr %2, align 8
%7 = icmp slt i64 %6, 12
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = load i64, ptr %5, align 8
%10 = call i32 @test_value(i64 noundef %9)
%11 = load i64, ptr %5, align 8
%12 = add nsw i64 %11, 1
store i64 %12, ptr %5, align 8
br label %13
13: ; preds = %8
%14 = load i64, ptr %2, align 8
%15 = add nsw i64 %14, 1
store i64 %15, ptr %2, align 8
%16 = load i64, ptr %2, align 8
%17 = icmp slt i64 %16, 12
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
store i64 0, ptr %2, align 8
%19 = load i64, ptr %2, align 8
%20 = icmp ult i64 %19, 64
br i1 %20, label %.lr.ph2, label %30
.lr.ph2: ; preds = %18
br label %21
21: ; preds = %.lr.ph2, %25
%22 = load i64, ptr %2, align 8
%23 = shl i64 1, %22
%24 = call i32 @test_value(i64 noundef %23)
br label %25
25: ; preds = %21
%26 = load i64, ptr %2, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %2, align 8
%28 = load i64, ptr %2, align 8
%29 = icmp ult i64 %28, 64
br i1 %29, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %18
ret i32 0
}
declare i32 @test_value(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplko7l054.c'
source_filename = "/tmp/tmplko7l054.c"
target datalayout = "e-m:e-p270: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/tmplko7l054.c"
target datalayout = "e-m:e-p270: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/tmpspeqmdwo.c'
source_filename = "/tmp/tmpspeqmdwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NID_sha1 = dso_local global i32 0, align 4
@NID_undef = dso_local global i32 0, align 4
@V_ASN1_UNDEF = 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/tmpspeqmdwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NID_sha1 = dso_local global i32 0, align 4
@NID_undef = dso_local global i32 0, align 4
@V_ASN1_UNDEF = 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/tmpl8picwej.c'
source_filename = "/tmp/tmpl8picwej.c"
target datalayout = "e-m:e-p270: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 @Thread1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @usleep(i32 noundef 1000000)
%4 = call i32 (...) @bar1()
ret ptr null
}
declare i32 @usleep(i32 noundef) #1
declare i32 @bar1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpl8picwej.c"
target datalayout = "e-m:e-p270: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 @Thread1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @usleep(i32 noundef 1000000)
%4 = call i32 (...) @bar1()
ret ptr null
}
declare i32 @usleep(i32 noundef) #1
declare i32 @bar1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpqeexu3sv.c'
source_filename = "/tmp/tmpqeexu3sv.c"
target datalayout = "e-m:e-p270: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/tmpqeexu3sv.c"
target datalayout = "e-m:e-p270: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/tmpx0bvfx4p.c'
source_filename = "/tmp/tmpx0bvfx4p.c"
target datalayout = "e-m:e-p270: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 @ecitoecef(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
store double %0, ptr %14, align 8
store double %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store double %4, ptr %18, align 8
store double %5, ptr %19, align 8
store double %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store double 0x3F131DA8202B475A, ptr %27, align 8
%32 = load double, ptr %14, align 8
%33 = fmul double %32, 0x400921FB54442D18
%34 = fdiv double %33, 1.800000e+02
store double %34, ptr %28, align 8
%35 = load double, ptr %15, align 8
%36 = load double, ptr %15, align 8
%37 = load double, ptr %16, align 8
%38 = load double, ptr %16, align 8
%39 = fmul double %37, %38
%40 = call double @llvm.fmuladd.f64(double %35, double %36, double %39)
%41 = call double @sqrt(double noundef %40) #3
store double %41, ptr %31, align 8
%42 = load double, ptr %16, align 8
%43 = load double, ptr %15, align 8
%44 = call double @atan2(double noundef %42, double noundef %43) #3
store double %44, ptr %29, align 8
%45 = load double, ptr %28, align 8
%46 = load double, ptr %29, align 8
%47 = fsub double %46, %45
store double %47, ptr %29, align 8
%48 = load double, ptr %29, align 8
%49 = call double @cos(double noundef %48) #3
%50 = load double, ptr %31, align 8
%51 = fmul double %49, %50
%52 = load ptr, ptr %21, align 8
store double %51, ptr %52, align 8
%53 = load double, ptr %29, align 8
%54 = call double @sin(double noundef %53) #3
%55 = load double, ptr %31, align 8
%56 = fmul double %54, %55
%57 = load ptr, ptr %22, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %17, align 8
%59 = load ptr, ptr %23, align 8
store double %58, ptr %59, align 8
%60 = load double, ptr %18, align 8
%61 = load double, ptr %18, align 8
%62 = load double, ptr %19, align 8
%63 = load double, ptr %19, align 8
%64 = fmul double %62, %63
%65 = call double @llvm.fmuladd.f64(double %60, double %61, double %64)
%66 = call double @sqrt(double noundef %65) #3
store double %66, ptr %31, align 8
%67 = load double, ptr %19, align 8
%68 = load double, ptr %18, align 8
%69 = call double @atan2(double noundef %67, double noundef %68) #3
store double %69, ptr %30, align 8
%70 = load double, ptr %28, align 8
%71 = load double, ptr %30, align 8
%72 = fsub double %71, %70
store double %72, ptr %30, align 8
%73 = load double, ptr %30, align 8
%74 = call double @cos(double noundef %73) #3
%75 = load double, ptr %31, align 8
%76 = load double, ptr %27, align 8
%77 = load ptr, ptr %22, align 8
%78 = load double, ptr %77, align 8
%79 = fmul double %76, %78
%80 = call double @llvm.fmuladd.f64(double %74, double %75, double %79)
%81 = load ptr, ptr %24, align 8
store double %80, ptr %81, align 8
%82 = load double, ptr %30, align 8
%83 = call double @sin(double noundef %82) #3
%84 = load double, ptr %31, align 8
%85 = load double, ptr %27, align 8
%86 = load ptr, ptr %21, align 8
%87 = load double, ptr %86, align 8
%88 = fmul double %85, %87
%89 = fneg double %88
%90 = call double @llvm.fmuladd.f64(double %83, double %84, double %89)
%91 = load ptr, ptr %25, align 8
store double %90, ptr %91, align 8
%92 = load double, ptr %20, align 8
%93 = load ptr, ptr %26, align 8
store double %92, ptr %93, align 8
ret void
}
; Function Attrs: nounwind
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
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0bvfx4p.c"
target datalayout = "e-m:e-p270: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 @ecitoecef(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12) #0 {
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca ptr, align 8
%26 = alloca ptr, align 8
%27 = alloca double, align 8
%28 = alloca double, align 8
%29 = alloca double, align 8
%30 = alloca double, align 8
%31 = alloca double, align 8
store double %0, ptr %14, align 8
store double %1, ptr %15, align 8
store double %2, ptr %16, align 8
store double %3, ptr %17, align 8
store double %4, ptr %18, align 8
store double %5, ptr %19, align 8
store double %6, ptr %20, align 8
store ptr %7, ptr %21, align 8
store ptr %8, ptr %22, align 8
store ptr %9, ptr %23, align 8
store ptr %10, ptr %24, align 8
store ptr %11, ptr %25, align 8
store ptr %12, ptr %26, align 8
store double 0x3F131DA8202B475A, ptr %27, align 8
%32 = load double, ptr %14, align 8
%33 = fmul double %32, 0x400921FB54442D18
%34 = fdiv double %33, 1.800000e+02
store double %34, ptr %28, align 8
%35 = load double, ptr %15, align 8
%36 = load double, ptr %15, align 8
%37 = load double, ptr %16, align 8
%38 = load double, ptr %16, align 8
%39 = fmul double %37, %38
%40 = call double @llvm.fmuladd.f64(double %35, double %36, double %39)
%41 = call double @sqrt(double noundef %40) #3
store double %41, ptr %31, align 8
%42 = load double, ptr %16, align 8
%43 = load double, ptr %15, align 8
%44 = call double @atan2(double noundef %42, double noundef %43) #3
store double %44, ptr %29, align 8
%45 = load double, ptr %28, align 8
%46 = load double, ptr %29, align 8
%47 = fsub double %46, %45
store double %47, ptr %29, align 8
%48 = load double, ptr %29, align 8
%49 = call double @cos(double noundef %48) #3
%50 = load double, ptr %31, align 8
%51 = fmul double %49, %50
%52 = load ptr, ptr %21, align 8
store double %51, ptr %52, align 8
%53 = load double, ptr %29, align 8
%54 = call double @sin(double noundef %53) #3
%55 = load double, ptr %31, align 8
%56 = fmul double %54, %55
%57 = load ptr, ptr %22, align 8
store double %56, ptr %57, align 8
%58 = load double, ptr %17, align 8
%59 = load ptr, ptr %23, align 8
store double %58, ptr %59, align 8
%60 = load double, ptr %18, align 8
%61 = load double, ptr %18, align 8
%62 = load double, ptr %19, align 8
%63 = load double, ptr %19, align 8
%64 = fmul double %62, %63
%65 = call double @llvm.fmuladd.f64(double %60, double %61, double %64)
%66 = call double @sqrt(double noundef %65) #3
store double %66, ptr %31, align 8
%67 = load double, ptr %19, align 8
%68 = load double, ptr %18, align 8
%69 = call double @atan2(double noundef %67, double noundef %68) #3
store double %69, ptr %30, align 8
%70 = load double, ptr %28, align 8
%71 = load double, ptr %30, align 8
%72 = fsub double %71, %70
store double %72, ptr %30, align 8
%73 = load double, ptr %30, align 8
%74 = call double @cos(double noundef %73) #3
%75 = load double, ptr %31, align 8
%76 = load double, ptr %27, align 8
%77 = load ptr, ptr %22, align 8
%78 = load double, ptr %77, align 8
%79 = fmul double %76, %78
%80 = call double @llvm.fmuladd.f64(double %74, double %75, double %79)
%81 = load ptr, ptr %24, align 8
store double %80, ptr %81, align 8
%82 = load double, ptr %30, align 8
%83 = call double @sin(double noundef %82) #3
%84 = load double, ptr %31, align 8
%85 = load double, ptr %27, align 8
%86 = load ptr, ptr %21, align 8
%87 = load double, ptr %86, align 8
%88 = fmul double %85, %87
%89 = fneg double %88
%90 = call double @llvm.fmuladd.f64(double %83, double %84, double %89)
%91 = load ptr, ptr %25, align 8
store double %90, ptr %91, align 8
%92 = load double, ptr %20, align 8
%93 = load ptr, ptr %26, align 8
store double %92, ptr %93, align 8
ret void
}
; Function Attrs: nounwind
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
; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_bwn0lof.c'
source_filename = "/tmp/tmp_bwn0lof.c"
target datalayout = "e-m:e-p270: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 @processStringVar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, 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 ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = call i64 @strncmp(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %105
18: ; preds = %3
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %9, align 4
store i32 0, ptr %10, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %18
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %30
30: ; preds = %27, %18
br label %31
31: ; preds = %52, %30
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %9, align 4
%34 = sext 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 = icmp eq i32 %37, 32
br i1 %38, label %47, label %39
39: ; preds = %31
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 9
br i1 %46, label %47, label %50
47: ; preds = %39, %31
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 1000
br label %50
50: ; preds = %47, %39
%51 = phi i1 [ false, %39 ], [ %49, %47 ]
br i1 %51, label %52, label %55
52: ; preds = %50
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %31, !llvm.loop !6
55: ; preds = %50
br label %56
56: ; preds = %88, %55
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %86
64: ; preds = %56
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 13
br i1 %71, label %72, label %86
72: ; preds = %64
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 10
br i1 %79, label %80, label %86
80: ; preds = %72
%81 = load i32, ptr %9, align 4
%82 = icmp slt i32 %81, 1000
br i1 %82, label %83, label %86
83: ; preds = %80
%84 = load i32, ptr %10, align 4
%85 = icmp slt i32 %84, 499
br label %86
86: ; preds = %83, %80, %72, %64, %56
%87 = phi i1 [ false, %80 ], [ false, %72 ], [ false, %64 ], [ false, %56 ], [ %85, %83 ]
br i1 %87, label %88, label %100
88: ; preds = %86
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %9, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %9, align 4
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = load i8, ptr %93, align 1
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
store i8 %94, ptr %99, align 1
br label %56, !llvm.loop !8
100: ; preds = %86
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %10, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
store i8 0, ptr %104, align 1
store i32 1, ptr %7, align 4
br label %105
105: ; preds = %100, %3
%106 = load i32, ptr %7, align 4
ret i32 %106
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_bwn0lof.c"
target datalayout = "e-m:e-p270: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 @processStringVar(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, 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 ptr %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @strlen(ptr noundef %11)
store i32 %12, ptr %8, align 4
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %8, align 4
%16 = call i64 @strncmp(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %105
18: ; preds = %3
%19 = load i32, ptr %8, align 4
store i32 %19, ptr %9, align 4
store i32 0, ptr %10, align 4
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %18
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
br label %30
30: ; preds = %27, %18
br label %31
31: ; preds = %52, %30
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %9, align 4
%34 = sext 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 = icmp eq i32 %37, 32
br i1 %38, label %47, label %39
39: ; preds = %31
%40 = load ptr, ptr %4, align 8
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 9
br i1 %46, label %47, label %50
47: ; preds = %39, %31
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %48, 1000
br label %50
50: ; preds = %47, %39
%51 = phi i1 [ false, %39 ], [ %49, %47 ]
br i1 %51, label %52, label %55
52: ; preds = %50
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
br label %31, !llvm.loop !6
55: ; preds = %50
br label %56
56: ; preds = %88, %55
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i8, ptr %57, i64 %59
%61 = load i8, ptr %60, align 1
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 0
br i1 %63, label %64, label %86
64: ; preds = %56
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 13
br i1 %71, label %72, label %86
72: ; preds = %64
%73 = load ptr, ptr %4, align 8
%74 = load i32, ptr %9, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp ne i32 %78, 10
br i1 %79, label %80, label %86
80: ; preds = %72
%81 = load i32, ptr %9, align 4
%82 = icmp slt i32 %81, 1000
br i1 %82, label %83, label %86
83: ; preds = %80
%84 = load i32, ptr %10, align 4
%85 = icmp slt i32 %84, 499
br label %86
86: ; preds = %83, %80, %72, %64, %56
%87 = phi i1 [ false, %80 ], [ false, %72 ], [ false, %64 ], [ false, %56 ], [ %85, %83 ]
br i1 %87, label %88, label %100
88: ; preds = %86
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %9, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %9, align 4
%92 = sext i32 %90 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
%94 = load i8, ptr %93, align 1
%95 = load ptr, ptr %6, align 8
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
%98 = sext i32 %96 to i64
%99 = getelementptr inbounds i8, ptr %95, i64 %98
store i8 %94, ptr %99, align 1
br label %56, !llvm.loop !8
100: ; preds = %86
%101 = load ptr, ptr %6, align 8
%102 = load i32, ptr %10, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
store i8 0, ptr %104, align 1
store i32 1, ptr %7, align 4
br label %105
105: ; preds = %100, %3
%106 = load i32, ptr %7, align 4
ret i32 %106
}
declare i32 @strlen(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpeytkcsn_.c'
source_filename = "/tmp/tmpeytkcsn_.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"Usage: %s <wordlist file> <password hash>\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Salt value is '%s'\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Fatal: couldn't open the file '%s'.\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"trying word: %-30s ==> %15s\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"The hash \22%s\22 is from the \00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"plaintext password \22%s\22.\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c"Couldn't find the plaintext password in the supplied wordlist.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [30 x i8], align 16
%9 = alloca [3 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @barf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strncpy(ptr noundef %18, ptr noundef %21, i32 noundef 2)
%23 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.2)
store ptr %29, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @barf(ptr noundef @.str.3, ptr noundef %34)
br label %36
36: ; preds = %31, %17
br label %37
37: ; preds = %70, %36
%38 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%39 = load ptr, ptr %6, align 8
%40 = call ptr @fgets(ptr noundef %38, i32 noundef 30, ptr noundef %39)
%41 = icmp ne ptr %40, null
br i1 %41, label %42, label %71
42: ; preds = %37
%43 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%44 = call i32 @strlen(ptr noundef %43)
%45 = sub nsw i32 %44, 1
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %46
store i8 0, ptr %47, align 1
%48 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%49 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%50 = call ptr @crypt(ptr noundef %48, ptr noundef %49)
store ptr %50, ptr %7, align 8
%51 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%52 = load ptr, ptr %7, align 8
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %7, align 8
%55 = load ptr, ptr %5, align 8
%56 = getelementptr inbounds ptr, ptr %55, i64 2
%57 = load ptr, ptr %56, align 8
%58 = call i64 @strcmp(ptr noundef %54, ptr noundef %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %70
60: ; preds = %42
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 2
%63 = load ptr, ptr %62, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %63)
%65 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %65)
%67 = load ptr, ptr %6, align 8
%68 = call i32 @fclose(ptr noundef %67)
%69 = call i32 @exit(i32 noundef 0) #3
unreachable
70: ; preds = %42
br label %37, !llvm.loop !6
71: ; preds = %37
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%73 = load ptr, ptr %6, align 8
%74 = call i32 @fclose(ptr noundef %73)
%75 = load i32, ptr %3, align 4
ret i32 %75
}
declare i32 @barf(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @crypt(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fclose(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeytkcsn_.c"
target datalayout = "e-m:e-p270: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 [43 x i8] c"Usage: %s <wordlist file> <password hash>\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Salt value is '%s'\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [37 x i8] c"Fatal: couldn't open the file '%s'.\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"trying word: %-30s ==> %15s\0A\00", align 1
@.str.5 = private unnamed_addr constant [27 x i8] c"The hash \22%s\22 is from the \00", align 1
@.str.6 = private unnamed_addr constant [26 x i8] c"plaintext password \22%s\22.\0A\00", align 1
@.str.7 = private unnamed_addr constant [64 x i8] c"Couldn't find the plaintext password in the supplied wordlist.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [30 x i8], align 16
%9 = alloca [3 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %17
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 @barf(ptr noundef @.str, ptr noundef %15)
br label %17
17: ; preds = %12, %2
%18 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = call i32 @strncpy(ptr noundef %18, ptr noundef %21, i32 noundef 2)
%23 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 2
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %24)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = call ptr @fopen(ptr noundef %28, ptr noundef @.str.2)
store ptr %29, ptr %6, align 8
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %36
31: ; preds = %17
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @barf(ptr noundef @.str.3, ptr noundef %34)
br label %36
36: ; preds = %31, %17
%37 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%38 = load ptr, ptr %6, align 8
%39 = call ptr @fgets(ptr noundef %37, i32 noundef 30, ptr noundef %38)
%40 = icmp ne ptr %39, null
br i1 %40, label %.lr.ph, label %73
.lr.ph: ; preds = %36
br label %45
41: ; preds = %45
%42 = load ptr, ptr %6, align 8
%43 = call ptr @fgets(ptr noundef %37, i32 noundef 30, ptr noundef %42)
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %._crit_edge, !llvm.loop !6
45: ; preds = %.lr.ph, %41
%46 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%47 = call i32 @strlen(ptr noundef %46)
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 %49
store i8 0, ptr %50, align 1
%51 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%52 = getelementptr inbounds [3 x i8], ptr %9, i64 0, i64 0
%53 = call ptr @crypt(ptr noundef %51, ptr noundef %52)
store ptr %53, ptr %7, align 8
%54 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%55 = load ptr, ptr %7, align 8
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %7, align 8
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds ptr, ptr %58, i64 2
%60 = load ptr, ptr %59, align 8
%61 = call i64 @strcmp(ptr noundef %57, ptr noundef %60)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %41
63: ; preds = %45
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds ptr, ptr %64, i64 2
%66 = load ptr, ptr %65, align 8
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %66)
%68 = getelementptr inbounds [30 x i8], ptr %8, i64 0, i64 0
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %68)
%70 = load ptr, ptr %6, align 8
%71 = call i32 @fclose(ptr noundef %70)
%72 = call i32 @exit(i32 noundef 0) #3
unreachable
._crit_edge: ; preds = %41
br label %73
73: ; preds = %._crit_edge, %36
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%75 = load ptr, ptr %6, align 8
%76 = call i32 @fclose(ptr noundef %75)
%77 = load i32, ptr %3, align 4
ret i32 %77
}
declare i32 @barf(ptr noundef, ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @crypt(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fclose(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"}
|
; ModuleID = '/tmp/tmpuad5ejko.c'
source_filename = "/tmp/tmpuad5ejko.c"
target datalayout = "e-m:e-p270: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
@stdout = 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/tmpuad5ejko.c"
target datalayout = "e-m:e-p270: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
@stdout = 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/tmpjkl1uu_x.c'
source_filename = "/tmp/tmpjkl1uu_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"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"valida\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"invalida\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = load i32, ptr %8, align 4
%11 = icmp sle i32 1900, %10
br i1 %11, label %12, label %167
12: ; preds = %2
%13 = load i32, ptr %8, align 4
%14 = icmp sle i32 %13, 2100
br i1 %14, label %15, label %167
15: ; preds = %12
%16 = load i32, ptr %7, align 4
switch i32 %16, label %164 [
i32 1, label %17
i32 2, label %28
i32 3, label %54
i32 4, label %65
i32 5, label %76
i32 6, label %87
i32 7, label %98
i32 8, label %109
i32 9, label %120
i32 10, label %131
i32 11, label %142
i32 12, label %153
]
17: ; preds = %15
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 1, %18
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %21, 31
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @printf(ptr noundef @.str.1)
br label %27
25: ; preds = %20, %17
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %25, %23
br label %166
28: ; preds = %15
%29 = load i32, ptr %8, align 4
%30 = call i32 @bissexto(i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %43
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 1, %33
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %36, 29
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 @printf(ptr noundef @.str.1)
br label %42
40: ; preds = %35, %32
%41 = call i32 @printf(ptr noundef @.str.2)
br label %42
42: ; preds = %40, %38
br label %166
43: ; preds = %28
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 1, %44
br i1 %45, label %46, label %51
46: ; preds = %43
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %47, 28
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.1)
br label %53
51: ; preds = %46, %43
%52 = call i32 @printf(ptr noundef @.str.2)
br label %53
53: ; preds = %51, %49
br label %166
54: ; preds = %15
%55 = load i32, ptr %6, align 4
%56 = icmp sle i32 1, %55
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %58, 31
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(ptr noundef @.str.1)
br label %64
62: ; preds = %57, %54
%63 = call i32 @printf(ptr noundef @.str.2)
br label %64
64: ; preds = %62, %60
br label %166
65: ; preds = %15
%66 = load i32, ptr %6, align 4
%67 = icmp sle i32 1, %66
br i1 %67, label %68, label %73
68: ; preds = %65
%69 = load i32, ptr %6, align 4
%70 = icmp sle i32 %69, 30
br i1 %70, label %71, label %73
71: ; preds = %68
%72 = call i32 @printf(ptr noundef @.str.1)
br label %75
73: ; preds = %68, %65
%74 = call i32 @printf(ptr noundef @.str.2)
br label %75
75: ; preds = %73, %71
br label %166
76: ; preds = %15
%77 = load i32, ptr %6, align 4
%78 = icmp sle i32 1, %77
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %80, 31
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = call i32 @printf(ptr noundef @.str.1)
br label %86
84: ; preds = %79, %76
%85 = call i32 @printf(ptr noundef @.str.2)
br label %86
86: ; preds = %84, %82
br label %166
87: ; preds = %15
%88 = load i32, ptr %6, align 4
%89 = icmp sle i32 1, %88
br i1 %89, label %90, label %95
90: ; preds = %87
%91 = load i32, ptr %6, align 4
%92 = icmp sle i32 %91, 30
br i1 %92, label %93, label %95
93: ; preds = %90
%94 = call i32 @printf(ptr noundef @.str.1)
br label %97
95: ; preds = %90, %87
%96 = call i32 @printf(ptr noundef @.str.2)
br label %97
97: ; preds = %95, %93
br label %166
98: ; preds = %15
%99 = load i32, ptr %6, align 4
%100 = icmp sle i32 1, %99
br i1 %100, label %101, label %106
101: ; preds = %98
%102 = load i32, ptr %6, align 4
%103 = icmp sle i32 %102, 31
br i1 %103, label %104, label %106
104: ; preds = %101
%105 = call i32 @printf(ptr noundef @.str.1)
br label %108
106: ; preds = %101, %98
%107 = call i32 @printf(ptr noundef @.str.2)
br label %108
108: ; preds = %106, %104
br label %166
109: ; preds = %15
%110 = load i32, ptr %6, align 4
%111 = icmp sle i32 1, %110
br i1 %111, label %112, label %117
112: ; preds = %109
%113 = load i32, ptr %6, align 4
%114 = icmp sle i32 %113, 31
br i1 %114, label %115, label %117
115: ; preds = %112
%116 = call i32 @printf(ptr noundef @.str.1)
br label %119
117: ; preds = %112, %109
%118 = call i32 @printf(ptr noundef @.str.2)
br label %119
119: ; preds = %117, %115
br label %166
120: ; preds = %15
%121 = load i32, ptr %6, align 4
%122 = icmp sle i32 1, %121
br i1 %122, label %123, label %128
123: ; preds = %120
%124 = load i32, ptr %6, align 4
%125 = icmp sle i32 %124, 30
br i1 %125, label %126, label %128
126: ; preds = %123
%127 = call i32 @printf(ptr noundef @.str.1)
br label %130
128: ; preds = %123, %120
%129 = call i32 @printf(ptr noundef @.str.2)
br label %130
130: ; preds = %128, %126
br label %166
131: ; preds = %15
%132 = load i32, ptr %6, align 4
%133 = icmp sle i32 1, %132
br i1 %133, label %134, label %139
134: ; preds = %131
%135 = load i32, ptr %6, align 4
%136 = icmp sle i32 %135, 31
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 @printf(ptr noundef @.str.1)
br label %141
139: ; preds = %134, %131
%140 = call i32 @printf(ptr noundef @.str.2)
br label %141
141: ; preds = %139, %137
br label %166
142: ; preds = %15
%143 = load i32, ptr %6, align 4
%144 = icmp sle i32 1, %143
br i1 %144, label %145, label %150
145: ; preds = %142
%146 = load i32, ptr %6, align 4
%147 = icmp sle i32 %146, 30
br i1 %147, label %148, label %150
148: ; preds = %145
%149 = call i32 @printf(ptr noundef @.str.1)
br label %152
150: ; preds = %145, %142
%151 = call i32 @printf(ptr noundef @.str.2)
br label %152
152: ; preds = %150, %148
br label %166
153: ; preds = %15
%154 = load i32, ptr %6, align 4
%155 = icmp sle i32 1, %154
br i1 %155, label %156, label %161
156: ; preds = %153
%157 = load i32, ptr %6, align 4
%158 = icmp sle i32 %157, 31
br i1 %158, label %159, label %161
159: ; preds = %156
%160 = call i32 @printf(ptr noundef @.str.1)
br label %163
161: ; preds = %156, %153
%162 = call i32 @printf(ptr noundef @.str.2)
br label %163
163: ; preds = %161, %159
br label %166
164: ; preds = %15
%165 = call i32 @printf(ptr noundef @.str.2)
br label %166
166: ; preds = %164, %163, %152, %141, %130, %119, %108, %97, %86, %75, %64, %53, %42, %27
br label %169
167: ; preds = %12, %2
%168 = call i32 @printf(ptr noundef @.str.2)
br label %169
169: ; preds = %167, %166
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @bissexto(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/tmpjkl1uu_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"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"valida\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"invalida\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8)
%10 = load i32, ptr %8, align 4
%11 = icmp sle i32 1900, %10
br i1 %11, label %12, label %167
12: ; preds = %2
%13 = load i32, ptr %8, align 4
%14 = icmp sle i32 %13, 2100
br i1 %14, label %15, label %167
15: ; preds = %12
%16 = load i32, ptr %7, align 4
switch i32 %16, label %164 [
i32 1, label %17
i32 2, label %28
i32 3, label %54
i32 4, label %65
i32 5, label %76
i32 6, label %87
i32 7, label %98
i32 8, label %109
i32 9, label %120
i32 10, label %131
i32 11, label %142
i32 12, label %153
]
17: ; preds = %15
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 1, %18
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = icmp sle i32 %21, 31
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @printf(ptr noundef @.str.1)
br label %27
25: ; preds = %20, %17
%26 = call i32 @printf(ptr noundef @.str.2)
br label %27
27: ; preds = %25, %23
br label %166
28: ; preds = %15
%29 = load i32, ptr %8, align 4
%30 = call i32 @bissexto(i32 noundef %29)
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %43
32: ; preds = %28
%33 = load i32, ptr %6, align 4
%34 = icmp sle i32 1, %33
br i1 %34, label %35, label %40
35: ; preds = %32
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %36, 29
br i1 %37, label %38, label %40
38: ; preds = %35
%39 = call i32 @printf(ptr noundef @.str.1)
br label %42
40: ; preds = %35, %32
%41 = call i32 @printf(ptr noundef @.str.2)
br label %42
42: ; preds = %40, %38
br label %166
43: ; preds = %28
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 1, %44
br i1 %45, label %46, label %51
46: ; preds = %43
%47 = load i32, ptr %6, align 4
%48 = icmp sle i32 %47, 28
br i1 %48, label %49, label %51
49: ; preds = %46
%50 = call i32 @printf(ptr noundef @.str.1)
br label %53
51: ; preds = %46, %43
%52 = call i32 @printf(ptr noundef @.str.2)
br label %53
53: ; preds = %51, %49
br label %166
54: ; preds = %15
%55 = load i32, ptr %6, align 4
%56 = icmp sle i32 1, %55
br i1 %56, label %57, label %62
57: ; preds = %54
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %58, 31
br i1 %59, label %60, label %62
60: ; preds = %57
%61 = call i32 @printf(ptr noundef @.str.1)
br label %64
62: ; preds = %57, %54
%63 = call i32 @printf(ptr noundef @.str.2)
br label %64
64: ; preds = %62, %60
br label %166
65: ; preds = %15
%66 = load i32, ptr %6, align 4
%67 = icmp sle i32 1, %66
br i1 %67, label %68, label %73
68: ; preds = %65
%69 = load i32, ptr %6, align 4
%70 = icmp sle i32 %69, 30
br i1 %70, label %71, label %73
71: ; preds = %68
%72 = call i32 @printf(ptr noundef @.str.1)
br label %75
73: ; preds = %68, %65
%74 = call i32 @printf(ptr noundef @.str.2)
br label %75
75: ; preds = %73, %71
br label %166
76: ; preds = %15
%77 = load i32, ptr %6, align 4
%78 = icmp sle i32 1, %77
br i1 %78, label %79, label %84
79: ; preds = %76
%80 = load i32, ptr %6, align 4
%81 = icmp sle i32 %80, 31
br i1 %81, label %82, label %84
82: ; preds = %79
%83 = call i32 @printf(ptr noundef @.str.1)
br label %86
84: ; preds = %79, %76
%85 = call i32 @printf(ptr noundef @.str.2)
br label %86
86: ; preds = %84, %82
br label %166
87: ; preds = %15
%88 = load i32, ptr %6, align 4
%89 = icmp sle i32 1, %88
br i1 %89, label %90, label %95
90: ; preds = %87
%91 = load i32, ptr %6, align 4
%92 = icmp sle i32 %91, 30
br i1 %92, label %93, label %95
93: ; preds = %90
%94 = call i32 @printf(ptr noundef @.str.1)
br label %97
95: ; preds = %90, %87
%96 = call i32 @printf(ptr noundef @.str.2)
br label %97
97: ; preds = %95, %93
br label %166
98: ; preds = %15
%99 = load i32, ptr %6, align 4
%100 = icmp sle i32 1, %99
br i1 %100, label %101, label %106
101: ; preds = %98
%102 = load i32, ptr %6, align 4
%103 = icmp sle i32 %102, 31
br i1 %103, label %104, label %106
104: ; preds = %101
%105 = call i32 @printf(ptr noundef @.str.1)
br label %108
106: ; preds = %101, %98
%107 = call i32 @printf(ptr noundef @.str.2)
br label %108
108: ; preds = %106, %104
br label %166
109: ; preds = %15
%110 = load i32, ptr %6, align 4
%111 = icmp sle i32 1, %110
br i1 %111, label %112, label %117
112: ; preds = %109
%113 = load i32, ptr %6, align 4
%114 = icmp sle i32 %113, 31
br i1 %114, label %115, label %117
115: ; preds = %112
%116 = call i32 @printf(ptr noundef @.str.1)
br label %119
117: ; preds = %112, %109
%118 = call i32 @printf(ptr noundef @.str.2)
br label %119
119: ; preds = %117, %115
br label %166
120: ; preds = %15
%121 = load i32, ptr %6, align 4
%122 = icmp sle i32 1, %121
br i1 %122, label %123, label %128
123: ; preds = %120
%124 = load i32, ptr %6, align 4
%125 = icmp sle i32 %124, 30
br i1 %125, label %126, label %128
126: ; preds = %123
%127 = call i32 @printf(ptr noundef @.str.1)
br label %130
128: ; preds = %123, %120
%129 = call i32 @printf(ptr noundef @.str.2)
br label %130
130: ; preds = %128, %126
br label %166
131: ; preds = %15
%132 = load i32, ptr %6, align 4
%133 = icmp sle i32 1, %132
br i1 %133, label %134, label %139
134: ; preds = %131
%135 = load i32, ptr %6, align 4
%136 = icmp sle i32 %135, 31
br i1 %136, label %137, label %139
137: ; preds = %134
%138 = call i32 @printf(ptr noundef @.str.1)
br label %141
139: ; preds = %134, %131
%140 = call i32 @printf(ptr noundef @.str.2)
br label %141
141: ; preds = %139, %137
br label %166
142: ; preds = %15
%143 = load i32, ptr %6, align 4
%144 = icmp sle i32 1, %143
br i1 %144, label %145, label %150
145: ; preds = %142
%146 = load i32, ptr %6, align 4
%147 = icmp sle i32 %146, 30
br i1 %147, label %148, label %150
148: ; preds = %145
%149 = call i32 @printf(ptr noundef @.str.1)
br label %152
150: ; preds = %145, %142
%151 = call i32 @printf(ptr noundef @.str.2)
br label %152
152: ; preds = %150, %148
br label %166
153: ; preds = %15
%154 = load i32, ptr %6, align 4
%155 = icmp sle i32 1, %154
br i1 %155, label %156, label %161
156: ; preds = %153
%157 = load i32, ptr %6, align 4
%158 = icmp sle i32 %157, 31
br i1 %158, label %159, label %161
159: ; preds = %156
%160 = call i32 @printf(ptr noundef @.str.1)
br label %163
161: ; preds = %156, %153
%162 = call i32 @printf(ptr noundef @.str.2)
br label %163
163: ; preds = %161, %159
br label %166
164: ; preds = %15
%165 = call i32 @printf(ptr noundef @.str.2)
br label %166
166: ; preds = %164, %163, %152, %141, %130, %119, %108, %97, %86, %75, %64, %53, %42, %27
br label %169
167: ; preds = %12, %2
%168 = call i32 @printf(ptr noundef @.str.2)
br label %169
169: ; preds = %167, %166
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @bissexto(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/tmpqdnop_eo.c'
source_filename = "/tmp/tmpqdnop_eo.c"
target datalayout = "e-m:e-p270: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 @CMGR_simple_invalidate() #0 {
%1 = call i32 (...) @CMGRINT_simple_invalidate()
ret void
}
declare i32 @CMGRINT_simple_invalidate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpqdnop_eo.c"
target datalayout = "e-m:e-p270: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 @CMGR_simple_invalidate() #0 {
%1 = call i32 (...) @CMGRINT_simple_invalidate()
ret void
}
declare i32 @CMGRINT_simple_invalidate(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpz8a5fr23.c'
source_filename = "/tmp/tmpz8a5fr23.c"
target datalayout = "e-m:e-p270: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 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @g(i32 noundef %7, i32 noundef 3)
br label %13
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @g(i32 noundef %11, i32 noundef 5)
br label %13
13: ; preds = %9, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @g(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/tmpz8a5fr23.c"
target datalayout = "e-m:e-p270: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 @f(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sgt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = load i32, ptr %3, align 4
%8 = call i32 @g(i32 noundef %7, i32 noundef 3)
br label %13
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @g(i32 noundef %11, i32 noundef 5)
br label %13
13: ; preds = %9, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @g(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/tmp6j58ub13.c'
source_filename = "/tmp/tmp6j58ub13.c"
target datalayout = "e-m:e-p270: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.players = private unnamed_addr constant [3 x i32] [i32 1, i32 1, i32 1], align 4
@.str = private unnamed_addr constant [17 x i8] c"Player %d wins!\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.players, i64 12, i1 false)
%5 = call i32 (...) @init()
br label %6
6: ; preds = %0, %34
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %31, %6
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = icmp ult i64 %9, 3
br i1 %10, label %11, label %34
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @turn(i32 noundef %13, i32 noundef %17)
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp eq i32 %19, 100
br i1 %20, label %21, label %25
21: ; preds = %11
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23)
br label %35
25: ; preds = %11
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %28
store i32 %26, ptr %29, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %31
31: ; preds = %25
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
br label %6
35: ; preds = %21
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @init(...) #2
declare i32 @turn(i32 noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6j58ub13.c"
target datalayout = "e-m:e-p270: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.players = private unnamed_addr constant [3 x i32] [i32 1, i32 1, i32 1], align 4
@.str = private unnamed_addr constant [17 x i8] c"Player %d wins!\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.players, i64 12, i1 false)
%5 = call i32 (...) @init()
br label %6
6: ; preds = %36, %0
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 3
br i1 %9, label %.lr.ph, label %36
.lr.ph: ; preds = %6
br label %10
10: ; preds = %.lr.ph, %30
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @turn(i32 noundef %12, i32 noundef %16)
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp eq i32 %18, 100
br i1 %19, label %20, label %24
20: ; preds = %10
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %22)
br label %37
24: ; preds = %10
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %27
store i32 %25, ptr %28, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %30
30: ; preds = %24
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = icmp ult i64 %34, 3
br i1 %35, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %6
br label %6
37: ; preds = %20
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @init(...) #2
declare i32 @turn(i32 noundef, i32 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"}
|
; ModuleID = '/tmp/tmp288jjs3o.c'
source_filename = "/tmp/tmp288jjs3o.c"
target datalayout = "e-m:e-p270: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/tmp288jjs3o.c"
target datalayout = "e-m:e-p270: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/tmplw4dtoox.c'
source_filename = "/tmp/tmplw4dtoox.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"poles for Pade approximant %d :\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c" %d : %.14e %.14e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_standard_poles(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %2, align 4
%10 = call i32 @padcon_get_homotopy_continuation_parameter(i32 noundef 3, ptr noundef %7)
store i32 %10, ptr %3, align 4
%11 = load double, ptr %7, align 8
%12 = fptosi double %11 to i32
store i32 %12, ptr %4, align 4
store i32 1, ptr %5, align 4
br label %13
13: ; preds = %36, %1
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %39
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %18)
store i32 1, ptr %6, align 4
br label %20
20: ; preds = %32, %17
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @padcon_get_standard_pole(i32 noundef %25, i32 noundef %26, i32 noundef 0, ptr noundef %8, ptr noundef %9)
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %6, align 4
%29 = load double, ptr %8, align 8
%30 = load double, ptr %9, align 8
%31 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %28, double noundef %29, double noundef %30)
br label %32
32: ; preds = %24
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %20, !llvm.loop !6
35: ; preds = %20
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %13, !llvm.loop !8
39: ; preds = %13
ret void
}
declare i32 @padcon_get_homotopy_continuation_parameter(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @padcon_get_standard_pole(i32 noundef, 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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplw4dtoox.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"poles for Pade approximant %d :\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c" %d : %.14e %.14e\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @show_standard_poles(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store i32 %0, ptr %2, align 4
%10 = call i32 @padcon_get_homotopy_continuation_parameter(i32 noundef 3, ptr noundef %7)
store i32 %10, ptr %3, align 4
%11 = load double, ptr %7, align 8
%12 = fptosi double %11 to i32
store i32 %12, ptr %4, align 4
store i32 1, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph2, label %43
.lr.ph2: ; preds = %1
br label %16
16: ; preds = %.lr.ph2, %37
%17 = load i32, ptr %5, align 4
%18 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %17)
store i32 1, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %.lr.ph, label %36
.lr.ph: ; preds = %16
br label %22
22: ; preds = %.lr.ph, %30
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %6, align 4
%25 = call i32 @padcon_get_standard_pole(i32 noundef %23, i32 noundef %24, i32 noundef 0, ptr noundef %8, ptr noundef %9)
store i32 %25, ptr %3, align 4
%26 = load i32, ptr %6, align 4
%27 = load double, ptr %8, align 8
%28 = load double, ptr %9, align 8
%29 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %26, double noundef %27, double noundef %28)
br label %30
30: ; preds = %22
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %16
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
%40 = load i32, ptr %5, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @padcon_get_homotopy_continuation_parameter(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @padcon_get_standard_pole(i32 noundef, 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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyvux6so1.c'
source_filename = "/tmp/tmpyvux6so1.c"
target datalayout = "e-m:e-p270: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 0, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %77
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @ft_strtrim(ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 45
br i1 %17, label %23, label %18
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 43
br i1 %22, label %23, label %35
23: ; preds = %18, %10
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 -1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 45
br i1 %32, label %33, label %34
33: ; preds = %27
store i8 1, ptr %6, align 1
br label %34
34: ; preds = %33, %27
br label %35
35: ; preds = %34, %23, %18
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %54, %35
%37 = load ptr, ptr %3, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %52
39: ; preds = %36
%40 = load ptr, ptr %3, align 8
%41 = load i8, ptr %40, align 1
store i8 %41, ptr %5, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %52
44: ; preds = %39
%45 = load i8, ptr %5, align 1
%46 = sext i8 %45 to i32
%47 = icmp sge i32 %46, 48
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = load i8, ptr %5, align 1
%50 = sext i8 %49 to i32
%51 = icmp sle i32 %50, 57
br label %52
52: ; preds = %48, %44, %39, %36
%53 = phi i1 [ false, %44 ], [ false, %39 ], [ false, %36 ], [ %51, %48 ]
br i1 %53, label %54, label %64
54: ; preds = %52
%55 = load i32, ptr %4, align 4
%56 = mul nsw i32 %55, 10
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 48
%61 = add nsw i32 %56, %60
store i32 %61, ptr %4, align 4
%62 = load ptr, ptr %3, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %3, align 8
br label %36, !llvm.loop !6
64: ; preds = %52
%65 = load ptr, ptr %7, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load i8, ptr %6, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %64
%71 = load i32, ptr %4, align 4
%72 = mul nsw i32 %71, -1
br label %75
73: ; preds = %64
%74 = load i32, ptr %4, align 4
br label %75
75: ; preds = %73, %70
%76 = phi i32 [ %72, %70 ], [ %74, %73 ]
store i32 %76, ptr %2, align 4
br label %78
77: ; preds = %1
store i32 0, ptr %2, align 4
br label %78
78: ; preds = %77, %75
%79 = load i32, ptr %2, align 4
ret i32 %79
}
declare ptr @ft_strtrim(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/tmpyvux6so1.c"
target datalayout = "e-m:e-p270: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 @ft_atoi(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i8, align 1
%6 = alloca i8, align 1
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i8 0, ptr %6, align 1
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %77
10: ; preds = %1
%11 = load ptr, ptr %3, align 8
%12 = call ptr @ft_strtrim(ptr noundef %11)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
store ptr %13, ptr %3, align 8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 45
br i1 %17, label %23, label %18
18: ; preds = %10
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 43
br i1 %22, label %23, label %35
23: ; preds = %18, %10
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %3, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %35
27: ; preds = %23
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 -1
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 45
br i1 %32, label %33, label %34
33: ; preds = %27
store i8 1, ptr %6, align 1
br label %34
34: ; preds = %33, %27
br label %35
35: ; preds = %34, %23, %18
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %54, %35
%37 = load ptr, ptr %3, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %52
39: ; preds = %36
%40 = load ptr, ptr %3, align 8
%41 = load i8, ptr %40, align 1
store i8 %41, ptr %5, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %52
44: ; preds = %39
%45 = load i8, ptr %5, align 1
%46 = sext i8 %45 to i32
%47 = icmp sge i32 %46, 48
br i1 %47, label %48, label %52
48: ; preds = %44
%49 = load i8, ptr %5, align 1
%50 = sext i8 %49 to i32
%51 = icmp sle i32 %50, 57
br label %52
52: ; preds = %48, %44, %39, %36
%53 = phi i1 [ false, %44 ], [ false, %39 ], [ false, %36 ], [ %51, %48 ]
br i1 %53, label %54, label %64
54: ; preds = %52
%55 = load i32, ptr %4, align 4
%56 = mul nsw i32 %55, 10
%57 = load ptr, ptr %3, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = sub nsw i32 %59, 48
%61 = add nsw i32 %56, %60
store i32 %61, ptr %4, align 4
%62 = load ptr, ptr %3, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %3, align 8
br label %36, !llvm.loop !6
64: ; preds = %52
%65 = load ptr, ptr %7, align 8
%66 = call i32 @free(ptr noundef %65)
%67 = load i8, ptr %6, align 1
%68 = sext i8 %67 to i32
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %64
%71 = load i32, ptr %4, align 4
%72 = mul nsw i32 %71, -1
br label %75
73: ; preds = %64
%74 = load i32, ptr %4, align 4
br label %75
75: ; preds = %73, %70
%76 = phi i32 [ %72, %70 ], [ %74, %73 ]
store i32 %76, ptr %2, align 4
br label %78
77: ; preds = %1
store i32 0, ptr %2, align 4
br label %78
78: ; preds = %77, %75
%79 = load i32, ptr %2, align 4
ret i32 %79
}
declare ptr @ft_strtrim(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/tmp858d8q7a.c'
source_filename = "/tmp/tmp858d8q7a.c"
target datalayout = "e-m:e-p270: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/tmp858d8q7a.c"
target datalayout = "e-m:e-p270: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/tmp88f_ib9q.c'
source_filename = "/tmp/tmp88f_ib9q.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"%s %s %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_getline(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [12291 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 12291, i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store i8 0, ptr %13, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
store i8 0, ptr %15, align 1
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @sscanf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp sge i32 %23, 1
br i1 %24, label %25, label %29
25: ; preds = %3
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @urldecode(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %25, %3
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 2
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr %5, align 8
%35 = call i32 @urldecode(ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %32, %29
%37 = load i32, ptr %8, align 4
%38 = icmp sge i32 %37, 3
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @urldecode(ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %39, %36
%44 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%45 = call i32 @strlen(ptr noundef %44)
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 %47
store i8 0, ptr %48, align 1
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @urldecode(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp88f_ib9q.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"%s %s %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_getline(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [12291 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%10 = load i32, ptr @stdin, align 4
%11 = call i32 @fgets(ptr noundef %9, i32 noundef 12291, i32 noundef %10)
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 2
store i8 0, ptr %13, align 1
%14 = load ptr, ptr %4, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 1
store i8 0, ptr %15, align 1
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @sscanf(ptr noundef %18, ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21)
store i32 %22, ptr %8, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp sge i32 %23, 1
br i1 %24, label %25, label %29
25: ; preds = %3
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i32 @urldecode(ptr noundef %26, ptr noundef %27)
br label %29
29: ; preds = %25, %3
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 2
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = load ptr, ptr %5, align 8
%34 = load ptr, ptr %5, align 8
%35 = call i32 @urldecode(ptr noundef %33, ptr noundef %34)
br label %36
36: ; preds = %32, %29
%37 = load i32, ptr %8, align 4
%38 = icmp sge i32 %37, 3
br i1 %38, label %39, label %43
39: ; preds = %36
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %6, align 8
%42 = call i32 @urldecode(ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %39, %36
%44 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 0
%45 = call i32 @strlen(ptr noundef %44)
%46 = sub nsw i32 %45, 1
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [12291 x i8], ptr %7, i64 0, i64 %47
store i8 0, ptr %48, align 1
ret void
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @urldecode(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvti7zens.c'
source_filename = "/tmp/tmpvti7zens.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s <srv PORT>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvti7zens.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Usage: %s <srv PORT>\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi3ygn0uc.c'
source_filename = "/tmp/tmpi3ygn0uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_random() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null)
%7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%10 = load i32, ptr %9, align 4
%11 = add i32 %8, %10
store i32 %11, ptr %1, align 4
%12 = load i32, ptr @O_RDONLY, align 4
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %36
16: ; preds = %0
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %30, %16
%18 = load i32, ptr %5, align 4
%19 = icmp slt i32 %18, 512
br i1 %19, label %20, label %33
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = call i32 @read(i32 noundef %21, ptr noundef %4, i32 noundef 4)
%23 = sext i32 %22 to i64
%24 = icmp eq i64 %23, 4
br i1 %24, label %25, label %29
25: ; preds = %20
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %1, align 4
%28 = add i32 %27, %26
store i32 %28, ptr %1, align 4
br label %29
29: ; preds = %25, %20
br label %30
30: ; preds = %29
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %17, !llvm.loop !6
33: ; preds = %17
%34 = load i32, ptr %3, align 4
%35 = call i32 @close(i32 noundef %34)
br label %36
36: ; preds = %33, %0
%37 = load i32, ptr %1, align 4
%38 = call i32 @srand(i32 noundef %37)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @srand(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/tmpi3ygn0uc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_random() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.timeval, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null)
%7 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0
%8 = load i32, ptr %7, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1
%10 = load i32, ptr %9, align 4
%11 = add i32 %8, %10
store i32 %11, ptr %1, align 4
%12 = load i32, ptr @O_RDONLY, align 4
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %16, label %37
16: ; preds = %0
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 512
br i1 %18, label %.lr.ph, label %34
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %29
%20 = load i32, ptr %3, align 4
%21 = call i32 @read(i32 noundef %20, ptr noundef %4, i32 noundef 4)
%22 = sext i32 %21 to i64
%23 = icmp eq i64 %22, 4
br i1 %23, label %24, label %28
24: ; preds = %19
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %1, align 4
%27 = add i32 %26, %25
store i32 %27, ptr %1, align 4
br label %28
28: ; preds = %24, %19
br label %29
29: ; preds = %28
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %32, 512
br i1 %33, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %16
%35 = load i32, ptr %3, align 4
%36 = call i32 @close(i32 noundef %35)
br label %37
37: ; preds = %34, %0
%38 = load i32, ptr %1, align 4
%39 = call i32 @srand(i32 noundef %38)
ret void
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @srand(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/tmp7eg78u_r.c'
source_filename = "/tmp/tmp7eg78u_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_lyapunov(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load double, ptr %6, align 8
%12 = load double, ptr %7, align 8
%13 = fadd double %11, %12
store double %13, ptr %10, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp ogt double %14, 0.000000e+00
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %29, %4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = call double @iter_fcn(double noundef %23, double noundef %24)
store double %25, ptr %6, align 8
%26 = load double, ptr %5, align 8
%27 = load double, ptr %10, align 8
%28 = call double @iter_fcn(double noundef %26, double noundef %27)
store double %28, ptr %10, align 8
br label %29
29: ; preds = %22
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %9, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
%33 = load double, ptr %10, align 8
%34 = load double, ptr %6, align 8
%35 = fsub double %33, %34
%36 = call double @llvm.fabs.f64(double %35)
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
%39 = call i32 @log(double noundef %38)
%40 = load i32, ptr %8, align 4
%41 = sdiv i32 %39, %40
%42 = sitofp i32 %41 to double
ret double %42
}
declare i32 @assert(i32 noundef) #1
declare double @iter_fcn(double noundef, double noundef) #1
declare i32 @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7eg78u_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @get_lyapunov(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%11 = load double, ptr %6, align 8
%12 = load double, ptr %7, align 8
%13 = fadd double %11, %12
store double %13, ptr %10, align 8
%14 = load double, ptr %7, align 8
%15 = fcmp ogt double %14, 0.000000e+00
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %4
br label %21
21: ; preds = %.lr.ph, %28
%22 = load double, ptr %5, align 8
%23 = load double, ptr %6, align 8
%24 = call double @iter_fcn(double noundef %22, double noundef %23)
store double %24, ptr %6, align 8
%25 = load double, ptr %5, align 8
%26 = load double, ptr %10, align 8
%27 = call double @iter_fcn(double noundef %25, double noundef %26)
store double %27, ptr %10, align 8
br label %28
28: ; preds = %21
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %4
%35 = load double, ptr %10, align 8
%36 = load double, ptr %6, align 8
%37 = fsub double %35, %36
%38 = call double @llvm.fabs.f64(double %37)
%39 = load double, ptr %7, align 8
%40 = fdiv double %38, %39
%41 = call i32 @log(double noundef %40)
%42 = load i32, ptr %8, align 4
%43 = sdiv i32 %41, %42
%44 = sitofp i32 %43 to double
ret double %44
}
declare i32 @assert(i32 noundef) #1
declare double @iter_fcn(double noundef, double noundef) #1
declare i32 @log(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4mepwdbl.c'
source_filename = "/tmp/tmp4mepwdbl.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"/tmp/usercache/user/appcache/app_200906101234_0001/launch_container.sh\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"user\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"app_200906101234_0001\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"failure to match expected container file %s vs %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_get_container_launcher_file() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%4 = call ptr @get_app_directory(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @get_container_launcher_file(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %1, align 8
%9 = call i64 @strcmp(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %1, align 8
%14 = call i32 @printf(ptr noundef @.str.4, ptr noundef %12, ptr noundef %13)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load ptr, ptr %2, align 8
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
ret void
}
declare ptr @get_app_directory(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @get_container_launcher_file(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmp4mepwdbl.c"
target datalayout = "e-m:e-p270: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 [71 x i8] c"/tmp/usercache/user/appcache/app_200906101234_0001/launch_container.sh\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"user\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"app_200906101234_0001\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"failure to match expected container file %s vs %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_get_container_launcher_file() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%4 = call ptr @get_app_directory(ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @get_container_launcher_file(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %1, align 8
%9 = call i64 @strcmp(ptr noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %0
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %1, align 8
%14 = call i32 @printf(ptr noundef @.str.4, ptr noundef %12, ptr noundef %13)
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
%17 = load ptr, ptr %2, align 8
%18 = call i32 @free(ptr noundef %17)
%19 = load ptr, ptr %3, align 8
%20 = call i32 @free(ptr noundef %19)
ret void
}
declare ptr @get_app_directory(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @get_container_launcher_file(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpzkm4qjxr.c'
source_filename = "/tmp/tmpzkm4qjxr.c"
target datalayout = "e-m:e-p270: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 @accum() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float 0.000000e+00, ptr %3, align 4
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %26, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 10000
br i1 %7, label %8, label %29
8: ; preds = %5
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %19, %8
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 1024
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, ptr %1, align 4
%14 = load i32, ptr %2, align 4
%15 = call i64 @Pfun(i32 noundef %13, i32 noundef %14)
%16 = sitofp i64 %15 to float
%17 = load float, ptr %4, align 4
%18 = fadd float %17, %16
store float %18, ptr %4, align 4
br label %19
19: ; preds = %12
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load float, ptr %4, align 4
%24 = load float, ptr %3, align 4
%25 = fadd float %24, %23
store float %25, ptr %3, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %1, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %1, align 4
br label %5, !llvm.loop !8
29: ; preds = %5
%30 = load float, ptr %3, align 4
ret float %30
}
declare i64 @Pfun(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/tmpzkm4qjxr.c"
target datalayout = "e-m:e-p270: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 @accum() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store float 0.000000e+00, ptr %3, align 4
store i32 0, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 10000
br i1 %6, label %.lr.ph2, label %31
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %26
store float 0.000000e+00, ptr %4, align 4
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 1024
br i1 %9, label %.lr.ph, label %22
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %17
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i64 @Pfun(i32 noundef %11, i32 noundef %12)
%14 = sitofp i64 %13 to float
%15 = load float, ptr %4, align 4
%16 = fadd float %15, %14
store float %16, ptr %4, align 4
br label %17
17: ; preds = %10
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 1024
br i1 %21, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %7
%23 = load float, ptr %4, align 4
%24 = load float, ptr %3, align 4
%25 = fadd float %24, %23
store float %25, ptr %3, align 4
br label %26
26: ; preds = %22
%27 = load i32, ptr %1, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %1, align 4
%29 = load i32, ptr %1, align 4
%30 = icmp slt i32 %29, 10000
br i1 %30, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %26
br label %31
31: ; preds = %._crit_edge3, %0
%32 = load float, ptr %3, align 4
ret float %32
}
declare i64 @Pfun(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/tmphk4ikgkl.c'
source_filename = "/tmp/tmphk4ikgkl.c"
target datalayout = "e-m:e-p270: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 @getwc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmphk4ikgkl.c"
target datalayout = "e-m:e-p270: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 @getwc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 (...) @__infer_nondet_int()
ret i32 %3
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmprnppb_zw.c'
source_filename = "/tmp/tmprnppb_zw.c"
target datalayout = "e-m:e-p270: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 @strlcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %20, %3
%10 = load i32, ptr %6, align 4
%11 = icmp ugt i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load ptr, ptr %7, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %12, %9
%18 = phi i1 [ false, %9 ], [ %16, %12 ]
br i1 %18, label %19, label %25
19: ; preds = %17
br label %20
20: ; preds = %19
%21 = load i32, ptr %6, align 4
%22 = add i32 %21, -1
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %7, align 8
br label %9, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %4, align 8
%28 = ptrtoint ptr %26 to i64
%29 = ptrtoint ptr %27 to i64
%30 = sub i64 %28, %29
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @strlcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33)
%35 = zext i32 %34 to i64
%36 = add nsw i64 %30, %35
%37 = trunc i64 %36 to i32
ret i32 %37
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprnppb_zw.c"
target datalayout = "e-m:e-p270: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 @strlcat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %20, %3
%10 = load i32, ptr %6, align 4
%11 = icmp ugt i32 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load ptr, ptr %7, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %12, %9
%18 = phi i1 [ false, %9 ], [ %16, %12 ]
br i1 %18, label %19, label %25
19: ; preds = %17
br label %20
20: ; preds = %19
%21 = load i32, ptr %6, align 4
%22 = add i32 %21, -1
store i32 %22, ptr %6, align 4
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %7, align 8
br label %9, !llvm.loop !6
25: ; preds = %17
%26 = load ptr, ptr %7, align 8
%27 = load ptr, ptr %4, align 8
%28 = ptrtoint ptr %26 to i64
%29 = ptrtoint ptr %27 to i64
%30 = sub i64 %28, %29
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @strlcpy(ptr noundef %31, ptr noundef %32, i32 noundef %33)
%35 = zext i32 %34 to i64
%36 = add nsw i64 %30, %35
%37 = trunc i64 %36 to i32
ret i32 %37
}
declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprfjcd_vt.c'
source_filename = "/tmp/tmprfjcd_vt.c"
target datalayout = "e-m:e-p270: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/tmprfjcd_vt.c"
target datalayout = "e-m:e-p270: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/tmpxy3vwap5.c'
source_filename = "/tmp/tmpxy3vwap5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @O_CREAT, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @O_TRUNC, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr %4, align 4
%13 = call i32 @open(ptr noundef %6, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @open(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/tmpxy3vwap5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @creat(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr @O_CREAT, align 4
%8 = load i32, ptr @O_WRONLY, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @O_TRUNC, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr %4, align 4
%13 = call i32 @open(ptr noundef %6, i32 noundef %11, i32 noundef %12)
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %5, align 4
ret i32 %14
}
declare i32 @open(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/tmpfjun0tp7.c'
source_filename = "/tmp/tmpfjun0tp7.c"
target datalayout = "e-m:e-p270: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/tmpfjun0tp7.c"
target datalayout = "e-m:e-p270: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/tmpxq2godla.c'
source_filename = "/tmp/tmpxq2godla.c"
target datalayout = "e-m:e-p270: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 @logisticRegression(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %6, align 8
%9 = load double, ptr %5, align 8
%10 = fneg double %9
%11 = call double @llvm.fmuladd.f64(double %7, double %8, double %10)
%12 = fneg double %11
%13 = call i32 @exp(double noundef %12)
%14 = add nsw i32 1, %13
%15 = sdiv i32 1, %14
%16 = sitofp i32 %15 to double
ret double %16
}
declare i32 @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxq2godla.c"
target datalayout = "e-m:e-p270: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 @logisticRegression(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %6, align 8
%9 = load double, ptr %5, align 8
%10 = fneg double %9
%11 = call double @llvm.fmuladd.f64(double %7, double %8, double %10)
%12 = fneg double %11
%13 = call i32 @exp(double noundef %12)
%14 = add nsw i32 1, %13
%15 = sdiv i32 1, %14
%16 = sitofp i32 %15 to double
ret double %16
}
declare i32 @exp(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoqgea7vw.c'
source_filename = "/tmp/tmpoqgea7vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64, i32 }
@__const.fnet_set_send_timeout.timeo = private unnamed_addr constant %struct.timeval { i32 2, i64 0, i32 0 }, align 8
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_SNDTIMEO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fnet_set_send_timeout(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.fnet_set_send_timeout.timeo, i64 24, i1 false)
store i32 24, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 2
store i32 %7, ptr %8, align 8
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SOL_SOCKET, align 4
%11 = load i32, ptr @SO_SNDTIMEO, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef %12)
ret i32 %13
}
; 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqgea7vw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64, i32 }
@__const.fnet_set_send_timeout.timeo = private unnamed_addr constant %struct.timeval { i32 2, i64 0, i32 0 }, align 8
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_SNDTIMEO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fnet_set_send_timeout(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.timeval, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 @__const.fnet_set_send_timeout.timeo, i64 24, i1 false)
store i32 24, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 2
store i32 %7, ptr %8, align 8
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SOL_SOCKET, align 4
%11 = load i32, ptr @SO_SNDTIMEO, align 4
%12 = load i32, ptr %6, align 4
%13 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %5, i32 noundef %12)
ret i32 %13
}
; 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 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4day51f3.c'
source_filename = "/tmp/tmp4day51f3.c"
target datalayout = "e-m:e-p270: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 @sk_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @cw_write(i32 noundef %8, ptr noundef %9, i32 noundef %11, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %17
16: ; preds = %3
store i32 1, ptr %4, align 4
br label %17
17: ; preds = %16, %15
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @cw_write(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4day51f3.c"
target datalayout = "e-m:e-p270: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 @sk_send(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %6, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = load i32, ptr %7, align 4
%13 = call i32 @cw_write(i32 noundef %8, ptr noundef %9, i32 noundef %11, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %16
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %17
16: ; preds = %3
store i32 1, ptr %4, align 4
br label %17
17: ; preds = %16, %15
%18 = load i32, ptr %4, align 4
ret i32 %18
}
declare i32 @cw_write(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptng1s0d4.c'
source_filename = "/tmp/tmptng1s0d4.c"
target datalayout = "e-m:e-p270: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 @ft_strsub(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = add i64 %10, 1
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %3
store ptr null, ptr %4, align 8
br label %41
18: ; preds = %3
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 0, ptr %21, align 1
store i64 0, ptr %9, align 8
br label %22
22: ; preds = %26, %18
%23 = load i64, ptr %9, align 8
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %23, %24
br i1 %25, label %26, label %39
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %6, align 4
%29 = zext i32 %28 to i64
%30 = load i64, ptr %9, align 8
%31 = add i64 %29, %30
%32 = getelementptr inbounds i8, ptr %27, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %8, align 8
%35 = load i64, ptr %9, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 %35
store i8 %33, ptr %36, align 1
%37 = load i64, ptr %9, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %9, align 8
br label %22, !llvm.loop !6
39: ; preds = %22
%40 = load ptr, ptr %8, align 8
store ptr %40, ptr %4, align 8
br label %41
41: ; preds = %39, %17
%42 = load ptr, ptr %4, align 8
ret ptr %42
}
declare i64 @malloc(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/tmptng1s0d4.c"
target datalayout = "e-m:e-p270: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 @ft_strsub(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = add i64 %10, 1
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %8, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %3
store ptr null, ptr %4, align 8
br label %43
18: ; preds = %3
%19 = load ptr, ptr %8, align 8
%20 = load i64, ptr %7, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 0, ptr %21, align 1
store i64 0, ptr %9, align 8
%22 = load i64, ptr %9, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %.lr.ph, label %41
.lr.ph: ; preds = %18
br label %25
25: ; preds = %.lr.ph, %25
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %6, align 4
%28 = zext i32 %27 to i64
%29 = load i64, ptr %9, align 8
%30 = add i64 %28, %29
%31 = getelementptr inbounds i8, ptr %26, i64 %30
%32 = load i8, ptr %31, align 1
%33 = load ptr, ptr %8, align 8
%34 = load i64, ptr %9, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
store i8 %32, ptr %35, align 1
%36 = load i64, ptr %9, align 8
%37 = add i64 %36, 1
store i64 %37, ptr %9, align 8
%38 = load i64, ptr %9, align 8
%39 = load i64, ptr %7, align 8
%40 = icmp ult i64 %38, %39
br i1 %40, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %41
41: ; preds = %._crit_edge, %18
%42 = load ptr, ptr %8, align 8
store ptr %42, ptr %4, align 8
br label %43
43: ; preds = %41, %17
%44 = load ptr, ptr %4, align 8
ret ptr %44
}
declare i64 @malloc(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/tmp2ti4hhnq.c'
source_filename = "/tmp/tmp2ti4hhnq.c"
target datalayout = "e-m:e-p270: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"How old are you?\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"You're %d old?\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"How's your retirement going?\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c" Baga mare!\0A Traieste-ti viata!\0A MAXIM !!! \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 64
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %7
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/tmp2ti4hhnq.c"
target datalayout = "e-m:e-p270: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"How old are you?\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"You're %d old?\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"How's your retirement going?\0A\00", align 1
@.str.4 = private unnamed_addr constant [66 x i8] c" Baga mare!\0A Traieste-ti viata!\0A MAXIM !!! \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 64
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %13
13: ; preds = %11, %7
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/tmpygs0w1z5.c'
source_filename = "/tmp/tmpygs0w1z5.c"
target datalayout = "e-m:e-p270: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"\0ASTart(): \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpygs0w1z5.c"
target datalayout = "e-m:e-p270: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"\0ASTart(): \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnul76pxj.c'
source_filename = "/tmp/tmpnul76pxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"CRITICAL\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"getcwd failed: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/UNKNOWN\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_wd() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 1024, ptr %2, align 8
br label %4
4: ; preds = %29, %0
%5 = load i64, ptr %2, align 8
%6 = call ptr @malloc(i64 noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %2, align 8
%9 = call ptr @getcwd(ptr noundef %7, i64 noundef %8)
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %4
%12 = load ptr, ptr %3, align 8
store ptr %12, ptr %1, align 8
br label %30
13: ; preds = %4
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @ERANGE, align 8
%16 = icmp ne i64 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load i64, ptr @errno, align 8
%21 = call i32 @strerror(i64 noundef %20)
%22 = call i32 @log_real_(i32 noundef 0, ptr noundef @.str, i32 noundef 0, ptr noundef @.str.1, i32 noundef %21)
%23 = call ptr @strdup(ptr noundef @.str.2)
store ptr %23, ptr %1, align 8
br label %30
24: ; preds = %13
%25 = load ptr, ptr %3, align 8
%26 = call i32 @free(ptr noundef %25)
%27 = load i64, ptr %2, align 8
%28 = shl i64 %27, 1
store i64 %28, ptr %2, align 8
br label %29
29: ; preds = %24
br label %4
30: ; preds = %17, %11
%31 = load ptr, ptr %1, align 8
ret ptr %31
}
declare ptr @malloc(i64 noundef) #1
declare ptr @getcwd(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @log_real_(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare ptr @strdup(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/tmpnul76pxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [9 x i8] c"CRITICAL\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"getcwd failed: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"/UNKNOWN\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_wd() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 1024, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %2, align 8
%8 = call ptr @getcwd(ptr noundef %6, i64 noundef %7)
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %.lr.ph
.lr.ph: ; preds = %0
br label %12
._crit_edge: ; preds = %28
br label %10
10: ; preds = %._crit_edge, %0
%11 = load ptr, ptr %3, align 8
store ptr %11, ptr %1, align 8
br label %35
12: ; preds = %.lr.ph, %28
%13 = load i64, ptr @errno, align 8
%14 = load i64, ptr @ERANGE, align 8
%15 = icmp ne i64 %13, %14
br i1 %15, label %16, label %23
16: ; preds = %12
%17 = load ptr, ptr %3, align 8
%18 = call i32 @free(ptr noundef %17)
%19 = load i64, ptr @errno, align 8
%20 = call i32 @strerror(i64 noundef %19)
%21 = call i32 @log_real_(i32 noundef 0, ptr noundef @.str, i32 noundef 0, ptr noundef @.str.1, i32 noundef %20)
%22 = call ptr @strdup(ptr noundef @.str.2)
store ptr %22, ptr %1, align 8
br label %35
23: ; preds = %12
%24 = load ptr, ptr %3, align 8
%25 = call i32 @free(ptr noundef %24)
%26 = load i64, ptr %2, align 8
%27 = shl i64 %26, 1
store i64 %27, ptr %2, align 8
br label %28
28: ; preds = %23
%29 = load i64, ptr %2, align 8
%30 = call ptr @malloc(i64 noundef %29)
store ptr %30, ptr %3, align 8
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr %2, align 8
%33 = call ptr @getcwd(ptr noundef %31, i64 noundef %32)
%34 = icmp ne ptr %33, null
br i1 %34, label %._crit_edge, label %12
35: ; preds = %16, %10
%36 = load ptr, ptr %1, align 8
ret ptr %36
}
declare ptr @malloc(i64 noundef) #1
declare ptr @getcwd(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @log_real_(i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strerror(i64 noundef) #1
declare ptr @strdup(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/tmpeoq73il2.c'
source_filename = "/tmp/tmpeoq73il2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %123, %0
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr @EOF, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %7, %9
br i1 %10, label %11, label %124
11: ; preds = %5
%12 = load i32, ptr %4, align 4
switch i32 %12, label %123 [
i32 0, label %13
i32 1, label %46
i32 6, label %50
i32 7, label %65
i32 2, label %68
i32 4, label %84
i32 5, label %90
i32 3, label %98
i32 8, label %105
]
13: ; preds = %11
store i32 0, ptr %3, align 4
%14 = load i8, ptr %2, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 47
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 2, ptr %4, align 4
br label %45
18: ; preds = %13
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 92
br i1 %21, label %22, label %25
22: ; preds = %18
store i32 1, ptr %4, align 4
%23 = load i8, ptr %2, align 1
%24 = call i32 @putchar(i8 noundef signext %23)
br label %44
25: ; preds = %18
%26 = load i8, ptr %2, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 39
br i1 %28, label %29, label %32
29: ; preds = %25
store i32 6, ptr %4, align 4
%30 = load i8, ptr %2, align 1
%31 = call i32 @putchar(i8 noundef signext %30)
br label %43
32: ; preds = %25
%33 = load i8, ptr %2, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 34
br i1 %35, label %36, label %39
36: ; preds = %32
store i32 8, ptr %4, align 4
%37 = load i8, ptr %2, align 1
%38 = call i32 @putchar(i8 noundef signext %37)
br label %42
39: ; preds = %32
%40 = load i8, ptr %2, align 1
%41 = call i32 @putchar(i8 noundef signext %40)
br label %42
42: ; preds = %39, %36
br label %43
43: ; preds = %42, %29
br label %44
44: ; preds = %43, %22
br label %45
45: ; preds = %44, %17
br label %123
46: ; preds = %11
%47 = load i32, ptr %3, align 4
store i32 %47, ptr %4, align 4
%48 = load i8, ptr %2, align 1
%49 = call i32 @putchar(i8 noundef signext %48)
br label %123
50: ; preds = %11
store i32 6, ptr %3, align 4
%51 = load i8, ptr %2, align 1
%52 = call i32 @putchar(i8 noundef signext %51)
%53 = load i8, ptr %2, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 39
br i1 %55, label %56, label %57
56: ; preds = %50
store i32 0, ptr %4, align 4
br label %64
57: ; preds = %50
%58 = load i8, ptr %2, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 92
br i1 %60, label %61, label %62
61: ; preds = %57
store i32 1, ptr %4, align 4
br label %63
62: ; preds = %57
store i32 7, ptr %4, align 4
br label %63
63: ; preds = %62, %61
br label %64
64: ; preds = %63, %56
br label %123
65: ; preds = %11
store i32 0, ptr %4, align 4
%66 = load i8, ptr %2, align 1
%67 = call i32 @putchar(i8 noundef signext %66)
br label %123
68: ; preds = %11
%69 = load i8, ptr %2, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 42
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 4, ptr %4, align 4
br label %83
73: ; preds = %68
%74 = load i8, ptr %2, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 47
br i1 %76, label %77, label %78
77: ; preds = %73
store i32 5, ptr %4, align 4
br label %82
78: ; preds = %73
store i32 0, ptr %4, align 4
%79 = call i32 @putchar(i8 noundef signext 47)
%80 = load i8, ptr %2, align 1
%81 = call i32 @putchar(i8 noundef signext %80)
br label %82
82: ; preds = %78, %77
br label %83
83: ; preds = %82, %72
br label %123
84: ; preds = %11
%85 = load i8, ptr %2, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 42
br i1 %87, label %88, label %89
88: ; preds = %84
store i32 3, ptr %4, align 4
br label %89
89: ; preds = %88, %84
br label %123
90: ; preds = %11
%91 = load i8, ptr %2, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 10
br i1 %93, label %94, label %97
94: ; preds = %90
store i32 0, ptr %4, align 4
%95 = load i8, ptr %2, align 1
%96 = call i32 @putchar(i8 noundef signext %95)
br label %97
97: ; preds = %94, %90
br label %123
98: ; preds = %11
%99 = load i8, ptr %2, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 47
br i1 %101, label %102, label %103
102: ; preds = %98
store i32 0, ptr %4, align 4
br label %104
103: ; preds = %98
store i32 4, ptr %4, align 4
br label %104
104: ; preds = %103, %102
br label %123
105: ; preds = %11
store i32 8, ptr %3, align 4
%106 = load i8, ptr %2, align 1
%107 = call i32 @putchar(i8 noundef signext %106)
%108 = load i8, ptr %2, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 92
br i1 %110, label %111, label %112
111: ; preds = %105
store i32 1, ptr %4, align 4
br label %122
112: ; preds = %105
%113 = load i8, ptr %2, align 1
%114 = sext i8 %113 to i32
%115 = icmp eq i32 %114, 34
br i1 %115, label %120, label %116
116: ; preds = %112
%117 = load i8, ptr %2, align 1
%118 = sext i8 %117 to i32
%119 = icmp eq i32 %118, 10
br i1 %119, label %120, label %121
120: ; preds = %116, %112
store i32 0, ptr %4, align 4
br label %121
121: ; preds = %120, %116
br label %122
122: ; preds = %121, %111
br label %123
123: ; preds = %11, %122, %104, %97, %89, %83, %65, %64, %46, %45
br label %5, !llvm.loop !6
124: ; preds = %5
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeoq73il2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = load i8, ptr @EOF, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %6, %8
br i1 %9, label %.lr.ph, label %128
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %122
%11 = load i32, ptr %4, align 4
switch i32 %11, label %122 [
i32 0, label %12
i32 1, label %45
i32 6, label %49
i32 7, label %64
i32 2, label %67
i32 4, label %83
i32 5, label %89
i32 3, label %97
i32 8, label %104
]
12: ; preds = %10
store i32 0, ptr %3, align 4
%13 = load i8, ptr %2, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 47
br i1 %15, label %16, label %17
16: ; preds = %12
store i32 2, ptr %4, align 4
br label %44
17: ; preds = %12
%18 = load i8, ptr %2, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 92
br i1 %20, label %21, label %24
21: ; preds = %17
store i32 1, ptr %4, align 4
%22 = load i8, ptr %2, align 1
%23 = call i32 @putchar(i8 noundef signext %22)
br label %43
24: ; preds = %17
%25 = load i8, ptr %2, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 39
br i1 %27, label %28, label %31
28: ; preds = %24
store i32 6, ptr %4, align 4
%29 = load i8, ptr %2, align 1
%30 = call i32 @putchar(i8 noundef signext %29)
br label %42
31: ; preds = %24
%32 = load i8, ptr %2, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 34
br i1 %34, label %35, label %38
35: ; preds = %31
store i32 8, ptr %4, align 4
%36 = load i8, ptr %2, align 1
%37 = call i32 @putchar(i8 noundef signext %36)
br label %41
38: ; preds = %31
%39 = load i8, ptr %2, align 1
%40 = call i32 @putchar(i8 noundef signext %39)
br label %41
41: ; preds = %38, %35
br label %42
42: ; preds = %41, %28
br label %43
43: ; preds = %42, %21
br label %44
44: ; preds = %43, %16
br label %122
45: ; preds = %10
%46 = load i32, ptr %3, align 4
store i32 %46, ptr %4, align 4
%47 = load i8, ptr %2, align 1
%48 = call i32 @putchar(i8 noundef signext %47)
br label %122
49: ; preds = %10
store i32 6, ptr %3, align 4
%50 = load i8, ptr %2, align 1
%51 = call i32 @putchar(i8 noundef signext %50)
%52 = load i8, ptr %2, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 39
br i1 %54, label %55, label %56
55: ; preds = %49
store i32 0, ptr %4, align 4
br label %63
56: ; preds = %49
%57 = load i8, ptr %2, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 92
br i1 %59, label %60, label %61
60: ; preds = %56
store i32 1, ptr %4, align 4
br label %62
61: ; preds = %56
store i32 7, ptr %4, align 4
br label %62
62: ; preds = %61, %60
br label %63
63: ; preds = %62, %55
br label %122
64: ; preds = %10
store i32 0, ptr %4, align 4
%65 = load i8, ptr %2, align 1
%66 = call i32 @putchar(i8 noundef signext %65)
br label %122
67: ; preds = %10
%68 = load i8, ptr %2, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %69, 42
br i1 %70, label %71, label %72
71: ; preds = %67
store i32 4, ptr %4, align 4
br label %82
72: ; preds = %67
%73 = load i8, ptr %2, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 47
br i1 %75, label %76, label %77
76: ; preds = %72
store i32 5, ptr %4, align 4
br label %81
77: ; preds = %72
store i32 0, ptr %4, align 4
%78 = call i32 @putchar(i8 noundef signext 47)
%79 = load i8, ptr %2, align 1
%80 = call i32 @putchar(i8 noundef signext %79)
br label %81
81: ; preds = %77, %76
br label %82
82: ; preds = %81, %71
br label %122
83: ; preds = %10
%84 = load i8, ptr %2, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 42
br i1 %86, label %87, label %88
87: ; preds = %83
store i32 3, ptr %4, align 4
br label %88
88: ; preds = %87, %83
br label %122
89: ; preds = %10
%90 = load i8, ptr %2, align 1
%91 = sext i8 %90 to i32
%92 = icmp eq i32 %91, 10
br i1 %92, label %93, label %96
93: ; preds = %89
store i32 0, ptr %4, align 4
%94 = load i8, ptr %2, align 1
%95 = call i32 @putchar(i8 noundef signext %94)
br label %96
96: ; preds = %93, %89
br label %122
97: ; preds = %10
%98 = load i8, ptr %2, align 1
%99 = sext i8 %98 to i32
%100 = icmp eq i32 %99, 47
br i1 %100, label %101, label %102
101: ; preds = %97
store i32 0, ptr %4, align 4
br label %103
102: ; preds = %97
store i32 4, ptr %4, align 4
br label %103
103: ; preds = %102, %101
br label %122
104: ; preds = %10
store i32 8, ptr %3, align 4
%105 = load i8, ptr %2, align 1
%106 = call i32 @putchar(i8 noundef signext %105)
%107 = load i8, ptr %2, align 1
%108 = sext i8 %107 to i32
%109 = icmp eq i32 %108, 92
br i1 %109, label %110, label %111
110: ; preds = %104
store i32 1, ptr %4, align 4
br label %121
111: ; preds = %104
%112 = load i8, ptr %2, align 1
%113 = sext i8 %112 to i32
%114 = icmp eq i32 %113, 34
br i1 %114, label %119, label %115
115: ; preds = %111
%116 = load i8, ptr %2, align 1
%117 = sext i8 %116 to i32
%118 = icmp eq i32 %117, 10
br i1 %118, label %119, label %120
119: ; preds = %115, %111
store i32 0, ptr %4, align 4
br label %120
120: ; preds = %119, %115
br label %121
121: ; preds = %120, %110
br label %122
122: ; preds = %121, %103, %96, %88, %82, %64, %63, %45, %44, %10
%123 = call signext i8 (...) @getchar()
store i8 %123, ptr %2, align 1
%124 = sext i8 %123 to i32
%125 = load i8, ptr @EOF, align 1
%126 = sext i8 %125 to i32
%127 = icmp ne i32 %124, %126
br i1 %127, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %122
br label %128
128: ; preds = %._crit_edge, %0
ret i32 0
}
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe_p4ah8r.c'
source_filename = "/tmp/tmpe_p4ah8r.c"
target datalayout = "e-m:e-p270: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/tmpe_p4ah8r.c"
target datalayout = "e-m:e-p270: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/tmp2wq_bt4v.c'
source_filename = "/tmp/tmp2wq_bt4v.c"
target datalayout = "e-m:e-p270: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 @lcd_init() #0 {
store volatile i32 33539, ptr inttoptr (i64 3212865536 to ptr), align 4
store volatile i32 828, ptr inttoptr (i64 3212865552 to ptr), align 4
store volatile i32 1, ptr inttoptr (i64 3212865616 to ptr), align 4
%1 = call i32 @udelay(i32 noundef 30000)
%2 = call i32 @pmp_set_address(i32 noundef 0)
%3 = call i32 @pmp_master_write(i32 noundef 56)
%4 = call i32 @udelay(i32 noundef 50)
%5 = call i32 @pmp_master_write(i32 noundef 12)
%6 = call i32 @udelay(i32 noundef 50)
%7 = call i32 @pmp_master_write(i32 noundef 1)
%8 = call i32 @udelay(i32 noundef 2000)
%9 = call i32 @pmp_master_write(i32 noundef 6)
%10 = call i32 @udelay(i32 noundef 2000)
ret void
}
declare i32 @udelay(i32 noundef) #1
declare i32 @pmp_set_address(i32 noundef) #1
declare i32 @pmp_master_write(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/tmp2wq_bt4v.c"
target datalayout = "e-m:e-p270: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 @lcd_init() #0 {
store volatile i32 33539, ptr inttoptr (i64 3212865536 to ptr), align 4
store volatile i32 828, ptr inttoptr (i64 3212865552 to ptr), align 4
store volatile i32 1, ptr inttoptr (i64 3212865616 to ptr), align 4
%1 = call i32 @udelay(i32 noundef 30000)
%2 = call i32 @pmp_set_address(i32 noundef 0)
%3 = call i32 @pmp_master_write(i32 noundef 56)
%4 = call i32 @udelay(i32 noundef 50)
%5 = call i32 @pmp_master_write(i32 noundef 12)
%6 = call i32 @udelay(i32 noundef 50)
%7 = call i32 @pmp_master_write(i32 noundef 1)
%8 = call i32 @udelay(i32 noundef 2000)
%9 = call i32 @pmp_master_write(i32 noundef 6)
%10 = call i32 @udelay(i32 noundef 2000)
ret void
}
declare i32 @udelay(i32 noundef) #1
declare i32 @pmp_set_address(i32 noundef) #1
declare i32 @pmp_master_write(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/tmprgkx9hha.c'
source_filename = "/tmp/tmprgkx9hha.c"
target datalayout = "e-m:e-p270: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 @get_kappa(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = fpext float %7 to double
%9 = fadd double %8, 1.000000e+00
%10 = fptrunc double %9 to float
%11 = call float @sqr(float noundef %10)
%12 = load float, ptr %4, align 4
%13 = fpext float %12 to double
%14 = fsub double %13, 1.000000e+00
%15 = fptrunc double %14 to float
%16 = call float @sqr(float noundef %15)
%17 = fneg float %16
%18 = call float @llvm.fmuladd.f32(float %6, float %11, float %17)
store float %18, ptr %5, align 4
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = fsub double 1.000000e+00, %22
%24 = fdiv double %20, %23
%25 = fptrunc double %24 to float
%26 = call float @sqrt(float noundef %25)
ret float %26
}
declare float @sqr(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(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" }
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/tmprgkx9hha.c"
target datalayout = "e-m:e-p270: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 @get_kappa(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = fpext float %7 to double
%9 = fadd double %8, 1.000000e+00
%10 = fptrunc double %9 to float
%11 = call float @sqr(float noundef %10)
%12 = load float, ptr %4, align 4
%13 = fpext float %12 to double
%14 = fsub double %13, 1.000000e+00
%15 = fptrunc double %14 to float
%16 = call float @sqr(float noundef %15)
%17 = fneg float %16
%18 = call float @llvm.fmuladd.f32(float %6, float %11, float %17)
store float %18, ptr %5, align 4
%19 = load float, ptr %5, align 4
%20 = fpext float %19 to double
%21 = load float, ptr %3, align 4
%22 = fpext float %21 to double
%23 = fsub double 1.000000e+00, %22
%24 = fdiv double %20, %23
%25 = fptrunc double %24 to float
%26 = call float @sqrt(float noundef %25)
ret float %26
}
declare float @sqr(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @sqrt(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" }
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/tmpju5kspik.c'
source_filename = "/tmp/tmpju5kspik.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"sample: out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"sample: nsamples must be <= n\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"sample: free_ivector error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sample(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%15 = load i32, ptr %10, align 4
%16 = call ptr @ivector(i32 noundef %15)
%17 = load ptr, ptr %11, align 8
store ptr %16, ptr %17, align 8
%18 = icmp ne ptr %16, null
br i1 %18, label %22, label %19
19: ; preds = %6
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
22: ; preds = %6
%23 = load ptr, ptr %9, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %65, label %25
25: ; preds = %22
%26 = load i32, ptr %12, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %13, align 4
%34 = call i32 @SampleReplace(i32 noundef %29, i32 noundef %30, ptr noundef %32, i32 noundef %33)
br label %64
35: ; preds = %25
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1)
store i32 1, ptr %7, align 4
br label %109
42: ; preds = %35
%43 = load i32, ptr %8, align 4
%44 = call ptr @ivector(i32 noundef %43)
store ptr %44, ptr %14, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %42
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
49: ; preds = %42
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %8, align 4
%52 = load ptr, ptr %11, align 8
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %14, align 8
%55 = load i32, ptr %13, align 4
%56 = call i32 @SampleNoReplace(i32 noundef %50, i32 noundef %51, ptr noundef %53, ptr noundef %54, i32 noundef %55)
%57 = load ptr, ptr %14, align 8
%58 = call i64 @free_ivector(ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %49
%61 = load i32, ptr @stderr, align 4
%62 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %109
63: ; preds = %49
br label %64
64: ; preds = %63, %28
br label %108
65: ; preds = %22
%66 = load i32, ptr %8, align 4
%67 = call ptr @ivector(i32 noundef %66)
store ptr %67, ptr %14, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %72, label %69
69: ; preds = %65
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
72: ; preds = %65
%73 = load i32, ptr %12, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %84
75: ; preds = %72
%76 = load i32, ptr %8, align 4
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %14, align 8
%79 = load i32, ptr %10, align 4
%80 = load ptr, ptr %11, align 8
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %13, align 4
%83 = call i32 @ProbSampleReplace(i32 noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %81, i32 noundef %82)
br label %100
84: ; preds = %72
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp sgt i32 %85, %86
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = load i32, ptr @stderr, align 4
%90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.1)
store i32 1, ptr %7, align 4
br label %109
91: ; preds = %84
%92 = load i32, ptr %8, align 4
%93 = load ptr, ptr %9, align 8
%94 = load ptr, ptr %14, align 8
%95 = load i32, ptr %10, align 4
%96 = load ptr, ptr %11, align 8
%97 = load ptr, ptr %96, align 8
%98 = load i32, ptr %13, align 4
%99 = call i32 @ProbSampleNoReplace(i32 noundef %92, ptr noundef %93, ptr noundef %94, i32 noundef %95, ptr noundef %97, i32 noundef %98)
br label %100
100: ; preds = %91, %75
%101 = load ptr, ptr %14, align 8
%102 = call i64 @free_ivector(ptr noundef %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %100
%105 = load i32, ptr @stderr, align 4
%106 = call i32 @fprintf(i32 noundef %105, ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %109
107: ; preds = %100
br label %108
108: ; preds = %107, %64
store i32 0, ptr %7, align 4
br label %109
109: ; preds = %108, %104, %88, %69, %60, %46, %39, %19
%110 = load i32, ptr %7, align 4
ret i32 %110
}
declare ptr @ivector(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @SampleReplace(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @SampleNoReplace(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @free_ivector(ptr noundef) #1
declare i32 @ProbSampleReplace(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ProbSampleNoReplace(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpju5kspik.c"
target datalayout = "e-m:e-p270: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 [23 x i8] c"sample: out of memory\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"sample: nsamples must be <= n\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"sample: free_ivector error\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sample(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
%15 = load i32, ptr %10, align 4
%16 = call ptr @ivector(i32 noundef %15)
%17 = load ptr, ptr %11, align 8
store ptr %16, ptr %17, align 8
%18 = icmp ne ptr %16, null
br i1 %18, label %22, label %19
19: ; preds = %6
%20 = load i32, ptr @stderr, align 4
%21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
22: ; preds = %6
%23 = load ptr, ptr %9, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %65, label %25
25: ; preds = %22
%26 = load i32, ptr %12, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %35
28: ; preds = %25
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %8, align 4
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %13, align 4
%34 = call i32 @SampleReplace(i32 noundef %29, i32 noundef %30, ptr noundef %32, i32 noundef %33)
br label %64
35: ; preds = %25
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %39, label %42
39: ; preds = %35
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.1)
store i32 1, ptr %7, align 4
br label %109
42: ; preds = %35
%43 = load i32, ptr %8, align 4
%44 = call ptr @ivector(i32 noundef %43)
store ptr %44, ptr %14, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %42
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
49: ; preds = %42
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %8, align 4
%52 = load ptr, ptr %11, align 8
%53 = load ptr, ptr %52, align 8
%54 = load ptr, ptr %14, align 8
%55 = load i32, ptr %13, align 4
%56 = call i32 @SampleNoReplace(i32 noundef %50, i32 noundef %51, ptr noundef %53, ptr noundef %54, i32 noundef %55)
%57 = load ptr, ptr %14, align 8
%58 = call i64 @free_ivector(ptr noundef %57)
%59 = icmp ne i64 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %49
%61 = load i32, ptr @stderr, align 4
%62 = call i32 @fprintf(i32 noundef %61, ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %109
63: ; preds = %49
br label %64
64: ; preds = %63, %28
br label %108
65: ; preds = %22
%66 = load i32, ptr %8, align 4
%67 = call ptr @ivector(i32 noundef %66)
store ptr %67, ptr %14, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %72, label %69
69: ; preds = %65
%70 = load i32, ptr @stderr, align 4
%71 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str)
store i32 1, ptr %7, align 4
br label %109
72: ; preds = %65
%73 = load i32, ptr %12, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %84
75: ; preds = %72
%76 = load i32, ptr %8, align 4
%77 = load ptr, ptr %9, align 8
%78 = load ptr, ptr %14, align 8
%79 = load i32, ptr %10, align 4
%80 = load ptr, ptr %11, align 8
%81 = load ptr, ptr %80, align 8
%82 = load i32, ptr %13, align 4
%83 = call i32 @ProbSampleReplace(i32 noundef %76, ptr noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %81, i32 noundef %82)
br label %100
84: ; preds = %72
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp sgt i32 %85, %86
br i1 %87, label %88, label %91
88: ; preds = %84
%89 = load i32, ptr @stderr, align 4
%90 = call i32 @fprintf(i32 noundef %89, ptr noundef @.str.1)
store i32 1, ptr %7, align 4
br label %109
91: ; preds = %84
%92 = load i32, ptr %8, align 4
%93 = load ptr, ptr %9, align 8
%94 = load ptr, ptr %14, align 8
%95 = load i32, ptr %10, align 4
%96 = load ptr, ptr %11, align 8
%97 = load ptr, ptr %96, align 8
%98 = load i32, ptr %13, align 4
%99 = call i32 @ProbSampleNoReplace(i32 noundef %92, ptr noundef %93, ptr noundef %94, i32 noundef %95, ptr noundef %97, i32 noundef %98)
br label %100
100: ; preds = %91, %75
%101 = load ptr, ptr %14, align 8
%102 = call i64 @free_ivector(ptr noundef %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %100
%105 = load i32, ptr @stderr, align 4
%106 = call i32 @fprintf(i32 noundef %105, ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %109
107: ; preds = %100
br label %108
108: ; preds = %107, %64
store i32 0, ptr %7, align 4
br label %109
109: ; preds = %108, %104, %88, %69, %60, %46, %39, %19
%110 = load i32, ptr %7, align 4
ret i32 %110
}
declare ptr @ivector(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @SampleReplace(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @SampleNoReplace(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @free_ivector(ptr noundef) #1
declare i32 @ProbSampleReplace(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @ProbSampleNoReplace(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpierpnhk_.c'
source_filename = "/tmp/tmpierpnhk_.c"
target datalayout = "e-m:e-p270: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 @rv(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 %4, align 4
%6 = load i32, ptr %3, align 4
%7 = sub nsw i32 %5, %6
%8 = mul nsw i32 4, %7
%9 = add nsw i32 1, %8
%10 = call i32 @sqrt(i32 noundef %9)
%11 = add nsw i32 -1, %10
%12 = sdiv i32 %11, 4
ret i32 %12
}
declare i32 @sqrt(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/tmpierpnhk_.c"
target datalayout = "e-m:e-p270: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 @rv(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 %4, align 4
%6 = load i32, ptr %3, align 4
%7 = sub nsw i32 %5, %6
%8 = mul nsw i32 4, %7
%9 = add nsw i32 1, %8
%10 = call i32 @sqrt(i32 noundef %9)
%11 = add nsw i32 -1, %10
%12 = sdiv i32 %11, 4
ret i32 %12
}
declare i32 @sqrt(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/tmp2hu25dm3.c'
source_filename = "/tmp/tmp2hu25dm3.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Libreforge Version: 0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Copyright 2015, Michael B. Eichorn\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Simplified BSD License\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2hu25dm3.c"
target datalayout = "e-m:e-p270: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"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"Libreforge Version: 0.0.1\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Copyright 2015, Michael B. Eichorn\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Simplified BSD License\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.2)
%3 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.3)
%4 = load i32, ptr @EXIT_SUCCESS, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg9qxf05a.c'
source_filename = "/tmp/tmpg9qxf05a.c"
target datalayout = "e-m:e-p270: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 @feof(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
%6 = call i32 (...) @__infer_nondet_int()
ret i32 %6
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpg9qxf05a.c"
target datalayout = "e-m:e-p270: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 @feof(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %4, align 4
store i32 %5, ptr %3, align 4
%6 = call i32 (...) @__infer_nondet_int()
ret i32 %6
}
declare i32 @__infer_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmp67ze2fbv.c'
source_filename = "/tmp/tmp67ze2fbv.c"
target datalayout = "e-m:e-p270: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/tmp67ze2fbv.c"
target datalayout = "e-m:e-p270: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/tmpl3sl7xkp.c'
source_filename = "/tmp/tmpl3sl7xkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finalize_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @ftell(ptr noundef %5)
store i64 %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i32 @fseek(ptr noundef %7, i32 noundef 4, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fwrite(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr @SEEK_SET, align 4
%14 = call i32 @fseek(ptr noundef %12, i32 noundef 40, i32 noundef %13)
%15 = load i64, ptr %3, align 8
%16 = sub i64 %15, 44
store i64 %16, ptr %4, align 8
%17 = load ptr, ptr %2, align 8
%18 = call i32 @fwrite(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %17)
ret void
}
declare i64 @ftell(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3sl7xkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @finalize_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @ftell(ptr noundef %5)
store i64 %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i32, ptr @SEEK_SET, align 4
%9 = call i32 @fseek(ptr noundef %7, i32 noundef 4, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fwrite(ptr noundef %3, i32 noundef 4, i32 noundef 1, ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr @SEEK_SET, align 4
%14 = call i32 @fseek(ptr noundef %12, i32 noundef 40, i32 noundef %13)
%15 = load i64, ptr %3, align 8
%16 = sub i64 %15, 44
store i64 %16, ptr %4, align 8
%17 = load ptr, ptr %2, align 8
%18 = call i32 @fwrite(ptr noundef %4, i32 noundef 4, i32 noundef 1, ptr noundef %17)
ret void
}
declare i64 @ftell(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9n5fr6zf.c'
source_filename = "/tmp/tmp9n5fr6zf.c"
target datalayout = "e-m:e-p270: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 @factorialof(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
br label %4
4: ; preds = %11, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %8, label %14
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = call i32 @multiply(i32 noundef %9)
br label %11
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
ret void
}
declare i32 @multiply(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/tmp9n5fr6zf.c"
target datalayout = "e-m:e-p270: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 @factorialof(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 %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %4, %5
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %10
%8 = load i32, ptr %3, align 4
%9 = call i32 @multiply(i32 noundef %8)
br label %10
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %16
16: ; preds = %._crit_edge, %1
ret void
}
declare i32 @multiply(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/tmpmwe1x0r8.c'
source_filename = "/tmp/tmpmwe1x0r8.c"
target datalayout = "e-m:e-p270: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/tmpmwe1x0r8.c"
target datalayout = "e-m:e-p270: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/tmp596cu1ko.c'
source_filename = "/tmp/tmp596cu1ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"================ Resources\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dumprsrc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @dump(ptr noundef %8, i32 noundef %9, ptr noundef @.str.1, i32 noundef 3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @dump(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp596cu1ko.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"================ Resources\0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dumprsrc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %5, align 4
%10 = call i32 @dump(ptr noundef %8, i32 noundef %9, ptr noundef @.str.1, i32 noundef 3)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @dump(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7z7wvtra.c'
source_filename = "/tmp/tmp7z7wvtra.c"
target datalayout = "e-m:e-p270: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/tmp7z7wvtra.c"
target datalayout = "e-m:e-p270: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/tmpykqi7v7p.c'
source_filename = "/tmp/tmpykqi7v7p.c"
target datalayout = "e-m:e-p270: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 @gte_int8_t(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 = icmp sge i32 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpykqi7v7p.c"
target datalayout = "e-m:e-p270: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 @gte_int8_t(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 = icmp sge i32 %5, %6
%8 = zext i1 %7 to i32
ret i32 %8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpbpntf219.c'
source_filename = "/tmp/tmpbpntf219.c"
target datalayout = "e-m:e-p270: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 [76 x i8] c" is not an integer.\0APlease enter an integer value, such as 25, -178, or 3: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
br label %3
3: ; preds = %14, %0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%5 = icmp ne i32 %4, 1
br i1 %5, label %6, label %16
6: ; preds = %3
br label %7
7: ; preds = %11, %6
%8 = call signext i8 (...) @getchar()
store i8 %8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 10
br i1 %10, label %11, label %14
11: ; preds = %7
%12 = load i8, ptr %2, align 1
%13 = call i32 @putchar(i8 noundef signext %12)
br label %7, !llvm.loop !6
14: ; preds = %7
%15 = call i32 @printf(ptr noundef @.str.1)
br label %3, !llvm.loop !8
16: ; preds = %3
%17 = load i32, ptr %1, align 4
ret i32 %17
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbpntf219.c"
target datalayout = "e-m:e-p270: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 [76 x i8] c" is not an integer.\0APlease enter an integer value, such as 25, -178, or 3: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%4 = icmp ne i32 %3, 1
br i1 %4, label %.lr.ph2, label %19
.lr.ph2: ; preds = %0
br label %5
5: ; preds = %.lr.ph2, %15
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %2, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 10
br i1 %8, label %.lr.ph, label %15
.lr.ph: ; preds = %5
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i8, ptr %2, align 1
%11 = call i32 @putchar(i8 noundef signext %10)
%12 = call signext i8 (...) @getchar()
store i8 %12, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 10
br i1 %14, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %5
%16 = call i32 @printf(ptr noundef @.str.1)
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%18 = icmp ne i32 %17, 1
br i1 %18, label %5, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %15
br label %19
19: ; preds = %._crit_edge3, %0
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare signext i8 @getchar(...) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp45mpie83.c'
source_filename = "/tmp/tmp45mpie83.c"
target datalayout = "e-m:e-p270: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/tmp45mpie83.c"
target datalayout = "e-m:e-p270: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/tmpcvoezbdi.c'
source_filename = "/tmp/tmpcvoezbdi.c"
target datalayout = "e-m:e-p270: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/tmpcvoezbdi.c"
target datalayout = "e-m:e-p270: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/tmpz3otdxvf.c'
source_filename = "/tmp/tmpz3otdxvf.c"
target datalayout = "e-m:e-p270: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/tmpz3otdxvf.c"
target datalayout = "e-m:e-p270: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/tmpf2931765.c'
source_filename = "/tmp/tmpf2931765.c"
target datalayout = "e-m:e-p270: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 @mergesort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %12, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
call void @mergesort(ptr noundef %16, i32 noundef %17, i32 noundef %18)
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
%22 = load i32, ptr %6, align 4
call void @mergesort(ptr noundef %19, i32 noundef %21, i32 noundef %22)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %11, %3
ret void
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf2931765.c"
target datalayout = "e-m:e-p270: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 @mergesort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %28
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %12, %13
%15 = sdiv i32 %14, 2
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
call void @mergesort(ptr noundef %16, i32 noundef %17, i32 noundef %18)
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
%22 = load i32, ptr %6, align 4
call void @mergesort(ptr noundef %19, i32 noundef %21, i32 noundef %22)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %6, align 4
%27 = call i32 @merge(ptr noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26)
br label %28
28: ; preds = %11, %3
ret void
}
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2fjf_xyo.c'
source_filename = "/tmp/tmp2fjf_xyo.c"
target datalayout = "e-m:e-p270: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 @freedv_data_channel_destroy(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2fjf_xyo.c"
target datalayout = "e-m:e-p270: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 @freedv_data_channel_destroy(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 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4osyweiz.c'
source_filename = "/tmp/tmp4osyweiz.c"
target datalayout = "e-m:e-p270: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 @prussdrv_exec_code(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 i32 @prussdrv_exec_code_at(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @prussdrv_exec_code_at(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/tmp4osyweiz.c"
target datalayout = "e-m:e-p270: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 @prussdrv_exec_code(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 i32 @prussdrv_exec_code_at(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @prussdrv_exec_code_at(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/tmp_d_dgpwb.c'
source_filename = "/tmp/tmp_d_dgpwb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_d_dgpwb.c"
target datalayout = "e-m:e-p270: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/tmponoy13fn.c'
source_filename = "/tmp/tmponoy13fn.c"
target datalayout = "e-m:e-p270: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/tmponoy13fn.c"
target datalayout = "e-m:e-p270: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/tmpha7zn9v6.c'
source_filename = "/tmp/tmpha7zn9v6.c"
target datalayout = "e-m:e-p270: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/tmpha7zn9v6.c"
target datalayout = "e-m:e-p270: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/tmpc9b7ec1o.c'
source_filename = "/tmp/tmpc9b7ec1o.c"
target datalayout = "e-m:e-p270: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/tmpc9b7ec1o.c"
target datalayout = "e-m:e-p270: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/tmp2cbl33sg.c'
source_filename = "/tmp/tmp2cbl33sg.c"
target datalayout = "e-m:e-p270: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/tmp2cbl33sg.c"
target datalayout = "e-m:e-p270: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/tmpns9bc0z9.c'
source_filename = "/tmp/tmpns9bc0z9.c"
target datalayout = "e-m:e-p270: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"\1B[B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isdown(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 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpns9bc0z9.c"
target datalayout = "e-m:e-p270: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"\1B[B\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isdown(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 @strcmp(ptr noundef %3, ptr noundef @.str)
%5 = icmp ne i32 %4, 0
%6 = xor i1 %5, true
%7 = zext i1 %6 to i32
ret i32 %7
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2g3u0606.c'
source_filename = "/tmp/tmp2g3u0606.c"
target datalayout = "e-m:e-p270: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/tmp2g3u0606.c"
target datalayout = "e-m:e-p270: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/tmpyadg3hy9.c'
source_filename = "/tmp/tmpyadg3hy9.c"
target datalayout = "e-m:e-p270: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %33
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load i32, ptr %6, align 4
%15 = trunc i32 %14 to i8
store i8 %15, ptr %9, align 1
br label %16
16: ; preds = %28, %12
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %9, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
store ptr %24, ptr %4, align 8
br label %34
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
br label %28
28: ; preds = %25
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %16, label %32, !llvm.loop !6
32: ; preds = %28
br label %33
33: ; preds = %32, %3
store ptr null, ptr %4, align 8
br label %34
34: ; preds = %33, %23
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpyadg3hy9.c"
target datalayout = "e-m:e-p270: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 @memchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%10 = load i64, ptr %7, align 8
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %33
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %8, align 8
%14 = load i32, ptr %6, align 4
%15 = trunc i32 %14 to i8
store i8 %15, ptr %9, align 1
br label %16
16: ; preds = %28, %12
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %9, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %8, align 8
store ptr %24, ptr %4, align 8
br label %34
25: ; preds = %16
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %8, align 8
br label %28
28: ; preds = %25
%29 = load i64, ptr %7, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %16, label %32, !llvm.loop !6
32: ; preds = %28
br label %33
33: ; preds = %32, %3
store ptr null, ptr %4, align 8
br label %34
34: ; preds = %33, %23
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpd9modfgq.c'
source_filename = "/tmp/tmpd9modfgq.c"
target datalayout = "e-m:e-p270: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/tmpd9modfgq.c"
target datalayout = "e-m:e-p270: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/tmp4nr0g6tm.c'
source_filename = "/tmp/tmp4nr0g6tm.c"
target datalayout = "e-m:e-p270: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"cant init socket\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @retry_connect(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %9, align 4
%18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %12, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %5
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %5
store i32 0, ptr %13, align 4
br label %24
24: ; preds = %44, %23
%25 = load i32, ptr %13, align 4
%26 = icmp slt i32 %25, 4
br i1 %26, label %27, label %47
27: ; preds = %24
%28 = load i32, ptr %12, align 4
%29 = load ptr, ptr %10, align 8
%30 = load i32, ptr %11, align 4
%31 = call i64 @connect(i32 noundef %28, ptr noundef %29, i32 noundef %30)
%32 = icmp ne i64 0, %31
br i1 %32, label %33, label %41
33: ; preds = %27
%34 = load i32, ptr @errno, align 4
store i32 %34, ptr %14, align 4
%35 = load i32, ptr %12, align 4
%36 = call i32 @close(i32 noundef %35)
%37 = load i32, ptr %14, align 4
store i32 %37, ptr @errno, align 4
%38 = load i32, ptr %13, align 4
%39 = shl i32 1, %38
%40 = call i32 @sleep(i32 noundef %39)
br label %43
41: ; preds = %27
%42 = load i32, ptr %12, align 4
store i32 %42, ptr %6, align 4
br label %48
43: ; preds = %33
br label %44
44: ; preds = %43
%45 = load i32, ptr %13, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %13, align 4
br label %24, !llvm.loop !6
47: ; preds = %24
store i32 -1, ptr %6, align 4
br label %48
48: ; preds = %47, %41
%49 = load i32, ptr %6, align 4
ret i32 %49
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4nr0g6tm.c"
target datalayout = "e-m:e-p270: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"cant init socket\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @retry_connect(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %9, align 4
%18 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef %17)
store i32 %18, ptr %12, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %5
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %5
store i32 0, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp slt i32 %24, 4
br i1 %25, label %.lr.ph, label %48
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %43
%27 = load i32, ptr %12, align 4
%28 = load ptr, ptr %10, align 8
%29 = load i32, ptr %11, align 4
%30 = call i64 @connect(i32 noundef %27, ptr noundef %28, i32 noundef %29)
%31 = icmp ne i64 0, %30
br i1 %31, label %32, label %40
32: ; preds = %26
%33 = load i32, ptr @errno, align 4
store i32 %33, ptr %14, align 4
%34 = load i32, ptr %12, align 4
%35 = call i32 @close(i32 noundef %34)
%36 = load i32, ptr %14, align 4
store i32 %36, ptr @errno, align 4
%37 = load i32, ptr %13, align 4
%38 = shl i32 1, %37
%39 = call i32 @sleep(i32 noundef %38)
br label %42
40: ; preds = %26
%41 = load i32, ptr %12, align 4
store i32 %41, ptr %6, align 4
br label %49
42: ; preds = %32
br label %43
43: ; preds = %42
%44 = load i32, ptr %13, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %13, align 4
%47 = icmp slt i32 %46, 4
br i1 %47, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %48
48: ; preds = %._crit_edge, %23
store i32 -1, ptr %6, align 4
br label %49
49: ; preds = %48, %40
%50 = load i32, ptr %6, align 4
ret i32 %50
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi_d25lfu.c'
source_filename = "/tmp/tmpi_d25lfu.c"
target datalayout = "e-m:e-p270: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 [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/split_ext.c\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"test_empty_string\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"test_empty_extension\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"test_empty_root\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"test_filename_no_extension\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"test_filename_unary_extension\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"test_filename_binary_extensions\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"test_path_no_extension\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"test_path_unary_extension\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"test_path_binary_extensions\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_ext_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_empty_string()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_empty_extension()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_empty_root()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_filename_no_extension()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_filename_unary_extension()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.6)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 (...) @seatest_suite_setup()
%69 = call i32 (...) @seatest_setup()
%70 = call i32 (...) @test_filename_binary_extensions()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.6)
br label %74
74: ; preds = %67, %64
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.7)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = call i32 (...) @seatest_suite_setup()
%81 = call i32 (...) @seatest_setup()
%82 = call i32 (...) @test_path_no_extension()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.7)
br label %86
86: ; preds = %79, %76
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.8)
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %88
%92 = call i32 (...) @seatest_suite_setup()
%93 = call i32 (...) @seatest_setup()
%94 = call i32 (...) @test_path_unary_extension()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.8)
br label %98
98: ; preds = %91, %88
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.9)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = call i32 (...) @seatest_suite_setup()
%105 = call i32 (...) @seatest_setup()
%106 = call i32 (...) @test_path_binary_extensions()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.9)
br label %110
110: ; preds = %103, %100
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
%113 = call i32 (...) @seatest_test_fixture_end()
br label %114
114: ; preds = %112
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_empty_string(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_empty_extension(...) #1
declare i32 @test_empty_root(...) #1
declare i32 @test_filename_no_extension(...) #1
declare i32 @test_filename_unary_extension(...) #1
declare i32 @test_filename_binary_extensions(...) #1
declare i32 @test_path_no_extension(...) #1
declare i32 @test_path_unary_extension(...) #1
declare i32 @test_path_binary_extensions(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"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/tmpi_d25lfu.c"
target datalayout = "e-m:e-p270: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 [147 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/sshilovsky/vifm/refs/heads/master/tests/misc/split_ext.c\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"test_empty_string\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"test_empty_extension\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"test_empty_root\00", align 1
@.str.4 = private unnamed_addr constant [27 x i8] c"test_filename_no_extension\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"test_filename_unary_extension\00", align 1
@.str.6 = private unnamed_addr constant [32 x i8] c"test_filename_binary_extensions\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"test_path_no_extension\00", align 1
@.str.8 = private unnamed_addr constant [26 x i8] c"test_path_unary_extension\00", align 1
@.str.9 = private unnamed_addr constant [28 x i8] c"test_path_binary_extensions\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @split_ext_tests() #0 {
br label %1
1: ; preds = %0
%2 = call i32 @seatest_test_fixture_start(ptr noundef @.str)
br label %3
3: ; preds = %1
br label %4
4: ; preds = %3
%5 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.1)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = call i32 (...) @seatest_suite_setup()
%9 = call i32 (...) @seatest_setup()
%10 = call i32 (...) @test_empty_string()
%11 = call i32 (...) @seatest_teardown()
%12 = call i32 (...) @seatest_suite_teardown()
%13 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.1)
br label %14
14: ; preds = %7, %4
br label %15
15: ; preds = %14
br label %16
16: ; preds = %15
%17 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %26
19: ; preds = %16
%20 = call i32 (...) @seatest_suite_setup()
%21 = call i32 (...) @seatest_setup()
%22 = call i32 (...) @test_empty_extension()
%23 = call i32 (...) @seatest_teardown()
%24 = call i32 (...) @seatest_suite_teardown()
%25 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.2)
br label %26
26: ; preds = %19, %16
br label %27
27: ; preds = %26
br label %28
28: ; preds = %27
%29 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.3)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %38
31: ; preds = %28
%32 = call i32 (...) @seatest_suite_setup()
%33 = call i32 (...) @seatest_setup()
%34 = call i32 (...) @test_empty_root()
%35 = call i32 (...) @seatest_teardown()
%36 = call i32 (...) @seatest_suite_teardown()
%37 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.3)
br label %38
38: ; preds = %31, %28
br label %39
39: ; preds = %38
br label %40
40: ; preds = %39
%41 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.4)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %40
%44 = call i32 (...) @seatest_suite_setup()
%45 = call i32 (...) @seatest_setup()
%46 = call i32 (...) @test_filename_no_extension()
%47 = call i32 (...) @seatest_teardown()
%48 = call i32 (...) @seatest_suite_teardown()
%49 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.4)
br label %50
50: ; preds = %43, %40
br label %51
51: ; preds = %50
br label %52
52: ; preds = %51
%53 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.5)
%54 = icmp ne i64 %53, 0
br i1 %54, label %55, label %62
55: ; preds = %52
%56 = call i32 (...) @seatest_suite_setup()
%57 = call i32 (...) @seatest_setup()
%58 = call i32 (...) @test_filename_unary_extension()
%59 = call i32 (...) @seatest_teardown()
%60 = call i32 (...) @seatest_suite_teardown()
%61 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.5)
br label %62
62: ; preds = %55, %52
br label %63
63: ; preds = %62
br label %64
64: ; preds = %63
%65 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.6)
%66 = icmp ne i64 %65, 0
br i1 %66, label %67, label %74
67: ; preds = %64
%68 = call i32 (...) @seatest_suite_setup()
%69 = call i32 (...) @seatest_setup()
%70 = call i32 (...) @test_filename_binary_extensions()
%71 = call i32 (...) @seatest_teardown()
%72 = call i32 (...) @seatest_suite_teardown()
%73 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.6)
br label %74
74: ; preds = %67, %64
br label %75
75: ; preds = %74
br label %76
76: ; preds = %75
%77 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.7)
%78 = icmp ne i64 %77, 0
br i1 %78, label %79, label %86
79: ; preds = %76
%80 = call i32 (...) @seatest_suite_setup()
%81 = call i32 (...) @seatest_setup()
%82 = call i32 (...) @test_path_no_extension()
%83 = call i32 (...) @seatest_teardown()
%84 = call i32 (...) @seatest_suite_teardown()
%85 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.7)
br label %86
86: ; preds = %79, %76
br label %87
87: ; preds = %86
br label %88
88: ; preds = %87
%89 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.8)
%90 = icmp ne i64 %89, 0
br i1 %90, label %91, label %98
91: ; preds = %88
%92 = call i32 (...) @seatest_suite_setup()
%93 = call i32 (...) @seatest_setup()
%94 = call i32 (...) @test_path_unary_extension()
%95 = call i32 (...) @seatest_teardown()
%96 = call i32 (...) @seatest_suite_teardown()
%97 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.8)
br label %98
98: ; preds = %91, %88
br label %99
99: ; preds = %98
br label %100
100: ; preds = %99
%101 = call i64 @seatest_should_run(ptr noundef @.str, ptr noundef @.str.9)
%102 = icmp ne i64 %101, 0
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = call i32 (...) @seatest_suite_setup()
%105 = call i32 (...) @seatest_setup()
%106 = call i32 (...) @test_path_binary_extensions()
%107 = call i32 (...) @seatest_teardown()
%108 = call i32 (...) @seatest_suite_teardown()
%109 = call i32 @seatest_run_test(ptr noundef @.str, ptr noundef @.str.9)
br label %110
110: ; preds = %103, %100
br label %111
111: ; preds = %110
br label %112
112: ; preds = %111
%113 = call i32 (...) @seatest_test_fixture_end()
br label %114
114: ; preds = %112
ret void
}
declare i32 @seatest_test_fixture_start(ptr noundef) #1
declare i64 @seatest_should_run(ptr noundef, ptr noundef) #1
declare i32 @seatest_suite_setup(...) #1
declare i32 @seatest_setup(...) #1
declare i32 @test_empty_string(...) #1
declare i32 @seatest_teardown(...) #1
declare i32 @seatest_suite_teardown(...) #1
declare i32 @seatest_run_test(ptr noundef, ptr noundef) #1
declare i32 @test_empty_extension(...) #1
declare i32 @test_empty_root(...) #1
declare i32 @test_filename_no_extension(...) #1
declare i32 @test_filename_unary_extension(...) #1
declare i32 @test_filename_binary_extensions(...) #1
declare i32 @test_path_no_extension(...) #1
declare i32 @test_path_unary_extension(...) #1
declare i32 @test_path_binary_extensions(...) #1
declare i32 @seatest_test_fixture_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_5joy4gm.c'
source_filename = "/tmp/tmp_5joy4gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_hashmap_isempty\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_hashmap_isempty() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmp_5joy4gm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"NOT IMPLEMENTED:pa_hashmap_isempty\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_hashmap_isempty() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpo7ptoaff.c'
source_filename = "/tmp/tmpo7ptoaff.c"
target datalayout = "e-m:e-p270: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"/proc/u2mfn\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @u2mfn_get_fd() #0 {
%1 = load i32, ptr @O_RDWR, align 4
%2 = call i32 @open(ptr noundef @.str, i32 noundef %1)
ret i32 %2
}
declare i32 @open(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/tmpo7ptoaff.c"
target datalayout = "e-m:e-p270: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"/proc/u2mfn\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @u2mfn_get_fd() #0 {
%1 = load i32, ptr @O_RDWR, align 4
%2 = call i32 @open(ptr noundef @.str, i32 noundef %1)
ret i32 %2
}
declare i32 @open(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.