llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp3kdpab_x.c'
source_filename = "/tmp/tmp3kdpab_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"
@__const.main.a = private unnamed_addr constant [4 x i8] c"hehe", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [4 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.a, i64 4, i1 false)
%7 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3kdpab_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"
@__const.main.a = private unnamed_addr constant [4 x i8] c"hehe", align 1
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [4 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.a, i64 4, i1 false)
%7 = getelementptr inbounds [4 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @printf(ptr noundef @.str, ptr noundef %7)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2sffb5s0.c'
source_filename = "/tmp/tmp2sffb5s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_encode_data_avx2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
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 ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 32
br i1 %14, label %15, label %23
15: ; preds = %6
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = call i32 @ec_encode_data_base(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
br label %69
23: ; preds = %6
br label %24
24: ; preds = %27, %23
%25 = load i32, ptr %9, align 4
%26 = icmp sge i32 %25, 4
br i1 %26, label %27, label %44
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %10, align 8
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %12, align 8
%33 = call i32 @gf_4vect_dot_prod_avx2(i32 noundef %28, i32 noundef %29, ptr noundef %30, ptr noundef %31, ptr noundef %32)
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 4, %34
%36 = mul nsw i32 %35, 32
%37 = load ptr, ptr %10, align 8
%38 = sext i32 %36 to i64
%39 = getelementptr inbounds i32, ptr %37, i64 %38
store ptr %39, ptr %10, align 8
%40 = load ptr, ptr %12, align 8
%41 = getelementptr inbounds ptr, ptr %40, i64 4
store ptr %41, ptr %12, align 8
%42 = load i32, ptr %9, align 4
%43 = sub nsw i32 %42, 4
store i32 %43, ptr %9, align 4
br label %24, !llvm.loop !6
44: ; preds = %24
%45 = load i32, ptr %9, align 4
switch i32 %45, label %69 [
i32 3, label %46
i32 2, label %53
i32 1, label %60
i32 0, label %68
]
46: ; preds = %44
%47 = load i32, ptr %7, align 4
%48 = load i32, ptr %8, align 4
%49 = load ptr, ptr %10, align 8
%50 = load ptr, ptr %11, align 8
%51 = load ptr, ptr %12, align 8
%52 = call i32 @gf_3vect_dot_prod_avx2(i32 noundef %47, i32 noundef %48, ptr noundef %49, ptr noundef %50, ptr noundef %51)
br label %69
53: ; preds = %44
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %8, align 4
%56 = load ptr, ptr %10, align 8
%57 = load ptr, ptr %11, align 8
%58 = load ptr, ptr %12, align 8
%59 = call i32 @gf_2vect_dot_prod_avx2(i32 noundef %54, i32 noundef %55, ptr noundef %56, ptr noundef %57, ptr noundef %58)
br label %69
60: ; preds = %44
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %8, align 4
%63 = load ptr, ptr %10, align 8
%64 = load ptr, ptr %11, align 8
%65 = load ptr, ptr %12, align 8
%66 = load ptr, ptr %65, align 8
%67 = call i32 @gf_vect_dot_prod_avx2(i32 noundef %61, i32 noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef %66)
br label %69
68: ; preds = %44
br label %69
69: ; preds = %15, %44, %68, %60, %53, %46
ret void
}
declare i32 @ec_encode_data_base(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_4vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_3vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_2vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2sffb5s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ec_encode_data_avx2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
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 ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 32
br i1 %14, label %15, label %23
15: ; preds = %6
%16 = load i32, ptr %7, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = load ptr, ptr %10, align 8
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %12, align 8
%22 = call i32 @ec_encode_data_base(i32 noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21)
br label %70
23: ; preds = %6
%24 = load i32, ptr %9, align 4
%25 = icmp sge i32 %24, 4
br i1 %25, label %.lr.ph, label %45
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %26
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %11, align 8
%31 = load ptr, ptr %12, align 8
%32 = call i32 @gf_4vect_dot_prod_avx2(i32 noundef %27, i32 noundef %28, ptr noundef %29, ptr noundef %30, ptr noundef %31)
%33 = load i32, ptr %8, align 4
%34 = mul nsw i32 4, %33
%35 = mul nsw i32 %34, 32
%36 = load ptr, ptr %10, align 8
%37 = sext i32 %35 to i64
%38 = getelementptr inbounds i32, ptr %36, i64 %37
store ptr %38, ptr %10, align 8
%39 = load ptr, ptr %12, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 4
store ptr %40, ptr %12, align 8
%41 = load i32, ptr %9, align 4
%42 = sub nsw i32 %41, 4
store i32 %42, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = icmp sge i32 %43, 4
br i1 %44, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %45
45: ; preds = %._crit_edge, %23
%46 = load i32, ptr %9, align 4
switch i32 %46, label %70 [
i32 3, label %47
i32 2, label %54
i32 1, label %61
i32 0, label %69
]
47: ; preds = %45
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %10, align 8
%51 = load ptr, ptr %11, align 8
%52 = load ptr, ptr %12, align 8
%53 = call i32 @gf_3vect_dot_prod_avx2(i32 noundef %48, i32 noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52)
br label %70
54: ; preds = %45
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %8, align 4
%57 = load ptr, ptr %10, align 8
%58 = load ptr, ptr %11, align 8
%59 = load ptr, ptr %12, align 8
%60 = call i32 @gf_2vect_dot_prod_avx2(i32 noundef %55, i32 noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59)
br label %70
61: ; preds = %45
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %8, align 4
%64 = load ptr, ptr %10, align 8
%65 = load ptr, ptr %11, align 8
%66 = load ptr, ptr %12, align 8
%67 = load ptr, ptr %66, align 8
%68 = call i32 @gf_vect_dot_prod_avx2(i32 noundef %62, i32 noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %67)
br label %70
69: ; preds = %45
br label %70
70: ; preds = %69, %61, %54, %47, %45, %15
ret void
}
declare i32 @ec_encode_data_base(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_4vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_3vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_2vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @gf_vect_dot_prod_avx2(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8_47kk9q.c'
source_filename = "/tmp/tmp8_47kk9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"getsockopt\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getbuffsize(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 4, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @SOL_SOCKET, align 4
%9 = load i32, ptr %4, align 4
%10 = call i64 @getsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %5, ptr noundef %6)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8_47kk9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOL_SOCKET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"getsockopt\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getbuffsize(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 4, ptr %6, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr @SOL_SOCKET, align 4
%9 = load i32, ptr %4, align 4
%10 = call i64 @getsockopt(i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %5, ptr noundef %6)
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %2
%13 = call i32 @perror(ptr noundef @.str)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %2
%17 = load i32, ptr %5, align 4
ret i32 %17
}
declare i64 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dq_ln7i.c'
source_filename = "/tmp/tmp9dq_ln7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"error setsockopt: %s\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Setsockopt(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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = call i32 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %26
20: ; preds = %5
%21 = load i32, ptr @errno, align 4
%22 = call i32 @strerror(i32 noundef %21)
%23 = call i32 @err_msg(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %5
%27 = load i32, ptr %11, align 4
ret i32 %27
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @err_msg(ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9dq_ln7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"error setsockopt: %s\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Setsockopt(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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = load i32, ptr %10, align 4
%17 = call i32 @setsockopt(i32 noundef %12, i32 noundef %13, i32 noundef %14, ptr noundef %15, i32 noundef %16)
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %26
20: ; preds = %5
%21 = load i32, ptr @errno, align 4
%22 = call i32 @strerror(i32 noundef %21)
%23 = call i32 @err_msg(ptr noundef @.str, i32 noundef %22)
%24 = load i32, ptr @EXIT_FAILURE, align 4
%25 = call i32 @exit(i32 noundef %24) #3
unreachable
26: ; preds = %5
%27 = load i32, ptr %11, align 4
ret i32 %27
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @err_msg(ptr noundef, i32 noundef) #1
declare i32 @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt6qe73f4.c'
source_filename = "/tmp/tmpt6qe73f4.c"
target datalayout = "e-m:e-p270: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/tmpt6qe73f4.c"
target datalayout = "e-m:e-p270: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/tmpw310p215.c'
source_filename = "/tmp/tmpw310p215.c"
target datalayout = "e-m:e-p270: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/tmpw310p215.c"
target datalayout = "e-m:e-p270: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/tmpis75vdjb.c'
source_filename = "/tmp/tmpis75vdjb.c"
target datalayout = "e-m:e-p270: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/tmpis75vdjb.c"
target datalayout = "e-m:e-p270: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/tmpf23pfjb7.c'
source_filename = "/tmp/tmpf23pfjb7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetWordStartingWith(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @GetWordTypeFromChar(i8 noundef signext %3)
%5 = call ptr @GetWord(i32 noundef %4)
ret ptr %5
}
declare ptr @GetWord(i32 noundef) #1
declare i32 @GetWordTypeFromChar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf23pfjb7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetWordStartingWith(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @GetWordTypeFromChar(i8 noundef signext %3)
%5 = call ptr @GetWord(i32 noundef %4)
ret ptr %5
}
declare ptr @GetWord(i32 noundef) #1
declare i32 @GetWordTypeFromChar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4h70ga0h.c'
source_filename = "/tmp/tmp4h70ga0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csc2_cb(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %13, align 8
%25 = fadd double %23, %24
store double %25, ptr %18, align 8
%26 = load double, ptr %11, align 8
%27 = load double, ptr %14, align 8
%28 = fsub double %26, %27
store double %28, ptr %19, align 8
%29 = load double, ptr %18, align 8
%30 = load double, ptr %18, align 8
%31 = load double, ptr %19, align 8
%32 = load double, ptr %19, align 8
%33 = fmul double %31, %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
%35 = call double @sqrt(double noundef %34) #4
store double %35, ptr %20, align 8
%36 = load double, ptr %20, align 8
%37 = fcmp olt double %36, 2.000000e+00
br i1 %37, label %38, label %39
38: ; preds = %8
store double 1.000000e+04, ptr %9, align 8
br label %67
39: ; preds = %8
%40 = load double, ptr %19, align 8
%41 = load double, ptr %18, align 8
%42 = call double @my_atan2(double noundef %40, double noundef %41)
store double %42, ptr %21, align 8
%43 = load double, ptr %21, align 8
%44 = call double @mod2pi(double noundef %43)
%45 = load ptr, ptr %15, align 8
store double %44, ptr %45, align 8
%46 = load double, ptr %20, align 8
%47 = fsub double %46, 2.000000e+00
%48 = load ptr, ptr %16, align 8
store double %47, ptr %48, align 8
%49 = load ptr, ptr %15, align 8
%50 = load double, ptr %49, align 8
%51 = fneg double %50
%52 = fsub double %51, 0x3FF921FB544486E0
%53 = load double, ptr %12, align 8
%54 = fadd double %52, %53
%55 = call double @mod2pi(double noundef %54)
%56 = load ptr, ptr %17, align 8
store double %55, ptr %56, align 8
%57 = load ptr, ptr %15, align 8
%58 = load double, ptr %57, align 8
%59 = fadd double %58, 0x3FF921FB544486E0
%60 = load ptr, ptr %17, align 8
%61 = load double, ptr %60, align 8
%62 = fadd double %59, %61
%63 = load ptr, ptr %16, align 8
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %62, double %64)
store double %65, ptr %22, align 8
%66 = load double, ptr %22, align 8
store double %66, ptr %9, align 8
br label %67
67: ; preds = %39, %38
%68 = load double, ptr %9, align 8
ret double %68
}
; 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
declare double @my_atan2(double noundef, double noundef) #3
declare double @mod2pi(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4h70ga0h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @csc2_cb(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
%23 = load double, ptr %10, align 8
%24 = load double, ptr %13, align 8
%25 = fadd double %23, %24
store double %25, ptr %18, align 8
%26 = load double, ptr %11, align 8
%27 = load double, ptr %14, align 8
%28 = fsub double %26, %27
store double %28, ptr %19, align 8
%29 = load double, ptr %18, align 8
%30 = load double, ptr %18, align 8
%31 = load double, ptr %19, align 8
%32 = load double, ptr %19, align 8
%33 = fmul double %31, %32
%34 = call double @llvm.fmuladd.f64(double %29, double %30, double %33)
%35 = call double @sqrt(double noundef %34) #4
store double %35, ptr %20, align 8
%36 = load double, ptr %20, align 8
%37 = fcmp olt double %36, 2.000000e+00
br i1 %37, label %38, label %39
38: ; preds = %8
store double 1.000000e+04, ptr %9, align 8
br label %67
39: ; preds = %8
%40 = load double, ptr %19, align 8
%41 = load double, ptr %18, align 8
%42 = call double @my_atan2(double noundef %40, double noundef %41)
store double %42, ptr %21, align 8
%43 = load double, ptr %21, align 8
%44 = call double @mod2pi(double noundef %43)
%45 = load ptr, ptr %15, align 8
store double %44, ptr %45, align 8
%46 = load double, ptr %20, align 8
%47 = fsub double %46, 2.000000e+00
%48 = load ptr, ptr %16, align 8
store double %47, ptr %48, align 8
%49 = load ptr, ptr %15, align 8
%50 = load double, ptr %49, align 8
%51 = fneg double %50
%52 = fsub double %51, 0x3FF921FB544486E0
%53 = load double, ptr %12, align 8
%54 = fadd double %52, %53
%55 = call double @mod2pi(double noundef %54)
%56 = load ptr, ptr %17, align 8
store double %55, ptr %56, align 8
%57 = load ptr, ptr %15, align 8
%58 = load double, ptr %57, align 8
%59 = fadd double %58, 0x3FF921FB544486E0
%60 = load ptr, ptr %17, align 8
%61 = load double, ptr %60, align 8
%62 = fadd double %59, %61
%63 = load ptr, ptr %16, align 8
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fmuladd.f64(double 1.000000e+00, double %62, double %64)
store double %65, ptr %22, align 8
%66 = load double, ptr %22, align 8
store double %66, ptr %9, align 8
br label %67
67: ; preds = %39, %38
%68 = load double, ptr %9, align 8
ret double %68
}
; 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
declare double @my_atan2(double noundef, double noundef) #3
declare double @mod2pi(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8h_f7usk.c'
source_filename = "/tmp/tmp8h_f7usk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Humans!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
br label %7
7: ; preds = %2, %7
%8 = call i32 @sleep(i32 noundef 10)
br label %7
}
declare i32 @puts(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8h_f7usk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Humans!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @puts(ptr noundef @.str)
br label %7
7: ; preds = %7, %2
%8 = call i32 @sleep(i32 noundef 10)
br label %7
}
declare i32 @puts(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcjjjuwin.c'
source_filename = "/tmp/tmpcjjjuwin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i16 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XIMText_length(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i16 %5, ptr %7, align 2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcjjjuwin.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i16 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XIMText_length(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
%5 = load i16, ptr %4, align 2
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i16 %5, ptr %7, align 2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdnbgg7n0.c'
source_filename = "/tmp/tmpdnbgg7n0.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Case %d: %lld.25\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 i64, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %21, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %24
12: ; preds = %8
%13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = load i64, ptr %4, align 8
%15 = mul nsw i64 %14, 2
store i64 %15, ptr %4, align 8
%16 = load i32, ptr %3, align 4
%17 = load i64, ptr %4, align 8
%18 = load i64, ptr %4, align 8
%19 = mul nsw i64 %17, %18
%20 = call i32 @printf(ptr noundef @.str.2, i32 noundef %16, i64 noundef %19)
br label %21
21: ; preds = %12
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %8, !llvm.loop !6
24: ; preds = %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdnbgg7n0.c"
target datalayout = "e-m:e-p270: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 [5 x i8] c"%lld\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Case %d: %lld.25\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 i64, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %20
%12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%13 = load i64, ptr %4, align 8
%14 = mul nsw i64 %13, 2
store i64 %14, ptr %4, align 8
%15 = load i32, ptr %3, align 4
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %4, align 8
%18 = mul nsw i64 %16, %17
%19 = call i32 @printf(ptr noundef @.str.2, i32 noundef %15, i64 noundef %18)
br label %20
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpze2vpxmg.c'
source_filename = "/tmp/tmpze2vpxmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %1, %15
%6 = call signext i8 (...) @getchar()
store i8 %6, ptr %4, align 1
%7 = load i8, ptr %4, align 1
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 10
br i1 %9, label %14, label %10
10: ; preds = %5
%11 = load i8, ptr %4, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 13
br i1 %13, label %14, label %15
14: ; preds = %10, %5
br label %22
15: ; preds = %10
%16 = load i8, ptr %4, align 1
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = sext i32 %18 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
store i8 %16, ptr %21, align 1
br label %5
22: ; preds = %14
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 0, ptr %26, align 1
ret void
}
declare signext i8 @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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpze2vpxmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readline(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%5 = call signext i8 (...) @getchar()
store i8 %5, ptr %4, align 1
%6 = load i8, ptr %4, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 %7, 10
br i1 %8, label %13, label %.lr.ph
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i8, ptr %4, align 1
%11 = sext i8 %10 to i32
%12 = icmp eq i32 %11, 13
br i1 %12, label %._crit_edge, label %14
._crit_edge: ; preds = %9
br label %13
._crit_edge1: ; preds = %14
br label %13
13: ; preds = %._crit_edge1, %._crit_edge, %1
br label %25
14: ; preds = %9
%15 = load i8, ptr %4, align 1
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = sext i32 %17 to i64
%20 = getelementptr inbounds i8, ptr %16, i64 %19
store i8 %15, ptr %20, align 1
%21 = call signext i8 (...) @getchar()
store i8 %21, ptr %4, align 1
%22 = load i8, ptr %4, align 1
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 10
br i1 %24, label %._crit_edge1, label %9
25: ; preds = %13
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
ret void
}
declare signext i8 @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"}
|
; ModuleID = '/tmp/tmp33ca5sm6.c'
source_filename = "/tmp/tmp33ca5sm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getpid() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp33ca5sm6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_getpid() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpamo1jbit.c'
source_filename = "/tmp/tmpamo1jbit.c"
target datalayout = "e-m:e-p270: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"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_long(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpamo1jbit.c"
target datalayout = "e-m:e-p270: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"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_long(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, i64 noundef %3)
ret void
}
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp73s41xe7.c'
source_filename = "/tmp/tmp73s41xe7.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"No line read...\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"read %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"a_num %d, c_num %d g_num %d t_num %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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @getline(ptr noundef %6, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 -1, %11
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load ptr, ptr %6, align 8
%15 = call i32 @puts(ptr noundef %14)
br label %18
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @get_specific_char(i8 noundef signext 65, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %2, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %7, align 4
%26 = call i32 @get_specific_char(i8 noundef signext 67, ptr noundef %24, i32 noundef %25)
store i32 %26, ptr %3, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = call i32 @get_specific_char(i8 noundef signext 71, ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %4, align 4
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = call i32 @get_specific_char(i8 noundef signext 84, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %18
%41 = load ptr, ptr %6, align 8
%42 = call i32 @free(ptr noundef %41)
br label %43
43: ; preds = %40, %18
ret i32 0
}
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_specific_char(i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp73s41xe7.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"No line read...\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"read %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"a_num %d, c_num %d g_num %d t_num %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 ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store ptr null, ptr %6, align 8
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @getline(ptr noundef %6, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 -1, %11
br i1 %12, label %13, label %16
13: ; preds = %0
%14 = load ptr, ptr %6, align 8
%15 = call i32 @puts(ptr noundef %14)
br label %18
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %18
18: ; preds = %16, %13
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = call i32 @get_specific_char(i8 noundef signext 65, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %2, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %7, align 4
%26 = call i32 @get_specific_char(i8 noundef signext 67, ptr noundef %24, i32 noundef %25)
store i32 %26, ptr %3, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %7, align 4
%29 = call i32 @get_specific_char(i8 noundef signext 71, ptr noundef %27, i32 noundef %28)
store i32 %29, ptr %4, align 4
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %7, align 4
%32 = call i32 @get_specific_char(i8 noundef signext 84, ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33, i32 noundef %34, i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %43
40: ; preds = %18
%41 = load ptr, ptr %6, align 8
%42 = call i32 @free(ptr noundef %41)
br label %43
43: ; preds = %40, %18
ret i32 0
}
declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_specific_char(i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkxztvb7h.c'
source_filename = "/tmp/tmpkxztvb7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call ptr @fib(i32 noundef 7)
%6 = call i32 @printf(ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare ptr @fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkxztvb7h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call ptr @fib(i32 noundef 7)
%6 = call i32 @printf(ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare ptr @fib(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmg2kpl19.c'
source_filename = "/tmp/tmpmg2kpl19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1081802750)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775802)
%5 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 8)
%6 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098906876)
%7 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 12)
%8 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098448128)
%9 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 16)
%10 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098513655)
%11 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 20)
%12 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775799)
%13 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 24)
%14 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%15 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 28)
%16 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098513657)
%17 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098644729)
%19 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 36)
%20 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775806)
%21 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 40)
%22 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098841339)
%23 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 44)
%24 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098579197)
%25 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%26 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 46)
%27 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 42)
%28 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 8)
%29 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 21)
%30 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%31 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%32 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 15)
%33 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 7)
%34 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 43)
%35 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 32)
%36 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%37 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%38 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 16)
%39 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 17)
%40 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%41 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%42 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmpmg2kpl19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stage_cu() #0 {
%1 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 0)
%2 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1081802750)
%3 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 4)
%4 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775802)
%5 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 8)
%6 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098906876)
%7 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 12)
%8 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098448128)
%9 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 16)
%10 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098513655)
%11 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 20)
%12 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775799)
%13 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 24)
%14 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1082064896)
%15 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 28)
%16 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098513657)
%17 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 32)
%18 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098644729)
%19 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 36)
%20 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098775806)
%21 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 40)
%22 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098841339)
%23 = call i32 @Xil_Out32(i32 noundef 1342181380, i32 noundef 44)
%24 = call i32 @Xil_Out32(i32 noundef 1342181376, i32 noundef -1098579197)
%25 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 0)
%26 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 46)
%27 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 42)
%28 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 8)
%29 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 21)
%30 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%31 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 16)
%32 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 15)
%33 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 7)
%34 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 43)
%35 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 32)
%36 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
%37 = call i32 @Xil_Out32(i32 noundef 1342185476, i32 noundef 32)
%38 = call i32 @Xil_Out32(i32 noundef 1342185480, i32 noundef 16)
%39 = call i32 @Xil_Out32(i32 noundef 1342185484, i32 noundef 17)
%40 = call i32 @Xil_Out32(i32 noundef 1342185488, i32 noundef 0)
%41 = call i32 @Xil_Out32(i32 noundef 1342185492, i32 noundef 0)
%42 = call i32 @Xil_Out32(i32 noundef 1342185472, i32 noundef 1)
ret void
}
declare i32 @Xil_Out32(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/tmprtmuvc53.c'
source_filename = "/tmp/tmprtmuvc53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color3f(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call i32 @glColor3f(float noundef %7, float noundef %8, float noundef %9)
ret void
}
declare i32 @glColor3f(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprtmuvc53.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Color3f(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %4, align 4
%8 = load float, ptr %5, align 4
%9 = load float, ptr %6, align 4
%10 = call i32 @glColor3f(float noundef %7, float noundef %8, float noundef %9)
ret void
}
declare i32 @glColor3f(float noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2o8o8f00.c'
source_filename = "/tmp/tmp2o8o8f00.c"
target datalayout = "e-m:e-p270: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/tmp2o8o8f00.c"
target datalayout = "e-m:e-p270: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/tmp270fjjon.c'
source_filename = "/tmp/tmp270fjjon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quitCommand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @interrupt(i32 noundef 33, i32 noundef 5, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @interrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp270fjjon.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quitCommand(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @interrupt(i32 noundef 33, i32 noundef 5, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @interrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8f1wofml.c'
source_filename = "/tmp/tmp8f1wofml.c"
target datalayout = "e-m:e-p270: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/tmp8f1wofml.c"
target datalayout = "e-m:e-p270: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/tmpsbd2d46a.c'
source_filename = "/tmp/tmpsbd2d46a.c"
target datalayout = "e-m:e-p270: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/tmpsbd2d46a.c"
target datalayout = "e-m:e-p270: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/tmpdqh2pznp.c'
source_filename = "/tmp/tmpdqh2pznp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/tmpdqh2pznp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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/tmpoj914wt_.c'
source_filename = "/tmp/tmpoj914wt_.c"
target datalayout = "e-m:e-p270: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/tmpoj914wt_.c"
target datalayout = "e-m:e-p270: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/tmp6lhse84_.c'
source_filename = "/tmp/tmp6lhse84_.c"
target datalayout = "e-m:e-p270: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/tmp6lhse84_.c"
target datalayout = "e-m:e-p270: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/tmpiwix3189.c'
source_filename = "/tmp/tmpiwix3189.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"received %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"sent %d bytes to target\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"got %d bytes from target\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"ERROR: unable to connect to target\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"sent %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [4096 x i8], align 16
%14 = alloca [4096 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @listen_on_port(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %67
21: ; preds = %2
%22 = load i32, ptr %6, align 4
%23 = call i32 @accept_connection(i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, -1
br i1 %25, label %26, label %66
26: ; preds = %21
%27 = load i32, ptr %7, align 4
%28 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%29 = call i32 @recv(i32 noundef %27, ptr noundef %28, i32 noundef 4096, i32 noundef 0)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @connect_to(ptr noundef %34, ptr noundef %37)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp ne i32 %39, -1
br i1 %40, label %41, label %53
41: ; preds = %26
%42 = load i32, ptr %8, align 4
%43 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%44 = load i32, ptr %9, align 4
%45 = call i32 @send(i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef 0)
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46)
%48 = load i32, ptr %8, align 4
%49 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%50 = call i32 @recv(i32 noundef %48, ptr noundef %49, i32 noundef 4096, i32 noundef 0)
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %51)
br label %55
53: ; preds = %26
%54 = call i32 @perror(ptr noundef @.str.3)
br label %55
55: ; preds = %53, %41
%56 = load i32, ptr %7, align 4
%57 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%58 = load i32, ptr %12, align 4
%59 = call i32 @send(i32 noundef %56, ptr noundef %57, i32 noundef %58, i32 noundef 0)
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @printf(ptr noundef @.str.4, i32 noundef %60)
%62 = load i32, ptr %7, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load i32, ptr %6, align 4
%65 = call i32 @close(i32 noundef %64)
br label %66
66: ; preds = %55, %21
br label %67
67: ; preds = %66, %2
ret i32 0
}
declare i32 @listen_on_port(ptr noundef) #1
declare i32 @accept_connection(i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @connect_to(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiwix3189.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"received %d bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"sent %d bytes to target\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"got %d bytes from target\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"ERROR: unable to connect to target\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"sent %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [4096 x i8], align 16
%14 = alloca [4096 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @listen_on_port(ptr noundef %17)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp ne i32 %19, -1
br i1 %20, label %21, label %67
21: ; preds = %2
%22 = load i32, ptr %6, align 4
%23 = call i32 @accept_connection(i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 %24, -1
br i1 %25, label %26, label %66
26: ; preds = %21
%27 = load i32, ptr %7, align 4
%28 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%29 = call i32 @recv(i32 noundef %27, ptr noundef %28, i32 noundef 4096, i32 noundef 0)
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = call i32 @printf(ptr noundef @.str, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 2
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @connect_to(ptr noundef %34, ptr noundef %37)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp ne i32 %39, -1
br i1 %40, label %41, label %53
41: ; preds = %26
%42 = load i32, ptr %8, align 4
%43 = getelementptr inbounds [4096 x i8], ptr %13, i64 0, i64 0
%44 = load i32, ptr %9, align 4
%45 = call i32 @send(i32 noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef 0)
store i32 %45, ptr %11, align 4
%46 = load i32, ptr %11, align 4
%47 = call i32 @printf(ptr noundef @.str.1, i32 noundef %46)
%48 = load i32, ptr %8, align 4
%49 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%50 = call i32 @recv(i32 noundef %48, ptr noundef %49, i32 noundef 4096, i32 noundef 0)
store i32 %50, ptr %12, align 4
%51 = load i32, ptr %12, align 4
%52 = call i32 @printf(ptr noundef @.str.2, i32 noundef %51)
br label %55
53: ; preds = %26
%54 = call i32 @perror(ptr noundef @.str.3)
br label %55
55: ; preds = %53, %41
%56 = load i32, ptr %7, align 4
%57 = getelementptr inbounds [4096 x i8], ptr %14, i64 0, i64 0
%58 = load i32, ptr %12, align 4
%59 = call i32 @send(i32 noundef %56, ptr noundef %57, i32 noundef %58, i32 noundef 0)
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = call i32 @printf(ptr noundef @.str.4, i32 noundef %60)
%62 = load i32, ptr %7, align 4
%63 = call i32 @close(i32 noundef %62)
%64 = load i32, ptr %6, align 4
%65 = call i32 @close(i32 noundef %64)
br label %66
66: ; preds = %55, %21
br label %67
67: ; preds = %66, %2
ret i32 0
}
declare i32 @listen_on_port(ptr noundef) #1
declare i32 @accept_connection(i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @connect_to(ptr noundef, ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1v973zrk.c'
source_filename = "/tmp/tmp1v973zrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcnt(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %31
10: ; preds = %2
br label %11
11: ; preds = %26, %10
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 0, %14
br i1 %15, label %16, label %29
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %5, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
br label %26
26: ; preds = %23, %16
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
br label %11, !llvm.loop !6
29: ; preds = %11
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %29, %9
%32 = load i32, ptr %3, align 4
ret i32 %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1v973zrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strcnt(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 0, ptr %3, align 4
br label %34
10: ; preds = %2
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 0, %13
br i1 %14, label %.lr.ph, label %32
.lr.ph: ; preds = %10
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %4, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load i8, ptr %5, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %18, %20
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %25
25: ; preds = %22, %15
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 0, %30
br i1 %31, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %32
32: ; preds = %._crit_edge, %10
%33 = load i32, ptr %6, align 4
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %32, %9
%35 = load i32, ptr %3, align 4
ret i32 %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/tmp1mhkd5qs.c'
source_filename = "/tmp/tmp1mhkd5qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %31, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %32
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 9
br i1 %10, label %11, label %20
11: ; preds = %8
br label %12
12: ; preds = %15, %11
%13 = load i32, ptr %3, align 4
%14 = icmp sle i32 %13, 4
br i1 %14, label %15, label %19
15: ; preds = %12
%16 = call i32 @putchar(i32 noundef 32)
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %12, !llvm.loop !6
19: ; preds = %12
store i32 0, ptr %3, align 4
br label %31
20: ; preds = %8
%21 = load i32, ptr %2, align 4
%22 = call i32 @putchar(i32 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %26
25: ; preds = %20
store i32 0, ptr %3, align 4
br label %30
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
%29 = srem i32 %28, 5
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %26, %25
br label %31
31: ; preds = %30, %19
br label %4, !llvm.loop !8
32: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmp1mhkd5qs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph2, label %35
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %31
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 9
br i1 %9, label %10, label %20
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp sle i32 %11, 4
br i1 %12, label %.lr.ph, label %19
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %13
%14 = call i32 @putchar(i32 noundef 32)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp sle i32 %17, 4
br i1 %18, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %10
store i32 0, ptr %3, align 4
br label %31
20: ; preds = %7
%21 = load i32, ptr %2, align 4
%22 = call i32 @putchar(i32 noundef %21)
%23 = load i32, ptr %2, align 4
%24 = icmp eq i32 %23, 10
br i1 %24, label %25, label %26
25: ; preds = %20
store i32 0, ptr %3, align 4
br label %30
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
%29 = srem i32 %28, 5
store i32 %29, ptr %3, align 4
br label %30
30: ; preds = %26, %25
br label %31
31: ; preds = %30, %19
%32 = call i32 (...) @getchar()
store i32 %32, ptr %2, align 4
%33 = load i32, ptr @EOF, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %31
br label %35
35: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(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/tmpaetubhg8.c'
source_filename = "/tmp/tmpaetubhg8.c"
target datalayout = "e-m:e-p270: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/tmpaetubhg8.c"
target datalayout = "e-m:e-p270: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/tmp4s5p3ygo.c'
source_filename = "/tmp/tmp4s5p3ygo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = 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/tmp4s5p3ygo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = 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/tmpj7cyqgzp.c'
source_filename = "/tmp/tmpj7cyqgzp.c"
target datalayout = "e-m:e-p270: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/tmpj7cyqgzp.c"
target datalayout = "e-m:e-p270: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/tmpp5jnpmf2.c'
source_filename = "/tmp/tmpp5jnpmf2.c"
target datalayout = "e-m:e-p270: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/tmpp5jnpmf2.c"
target datalayout = "e-m:e-p270: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/tmpwj9vrz2c.c'
source_filename = "/tmp/tmpwj9vrz2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__VERIFIER_nondet_signed_int() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i64 (...) @rand()
%4 = trunc i64 %3 to i32
ret i32 %4
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwj9vrz2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__VERIFIER_nondet_signed_int() #0 {
%1 = call i32 @time(ptr noundef null)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i64 (...) @rand()
%4 = trunc i64 %3 to i32
ret i32 %4
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk3vg5ord.c'
source_filename = "/tmp/tmpk3vg5ord.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"ic_decl_type_union_equal: a was null\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"ic_decl_type_union_equal: b was null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ic_decl_type_union_equal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %20
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %20
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %16, %17
%19 = zext i1 %18 to i32
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %15, %13, %8
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk3vg5ord.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"ic_decl_type_union_equal: a was null\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"ic_decl_type_union_equal: b was null\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ic_decl_type_union_equal(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %2
%9 = call i32 @puts(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %20
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %10
%14 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %20
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %16, %17
%19 = zext i1 %18 to i32
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %15, %13, %8
%21 = load i32, ptr %3, align 4
ret i32 %21
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbohav2u8.c'
source_filename = "/tmp/tmpbohav2u8.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbohav2u8.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzvst9fzm.c'
source_filename = "/tmp/tmpzvst9fzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"World\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %2, align 4
br label %6
6: ; preds = %33, %0
%7 = load float, ptr %2, align 4
%8 = fcmp olt float %7, 4.000000e+01
br i1 %8, label %9, label %38
9: ; preds = %6
%10 = load float, ptr %2, align 4
%11 = call i32 @sin(float noundef %10)
%12 = mul nsw i32 25, %11
%13 = add nsw i32 26, %12
%14 = sitofp i32 %13 to float
store float %14, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %22, %9
%16 = load i32, ptr %4, align 4
%17 = sitofp i32 %16 to float
%18 = load float, ptr %3, align 4
%19 = fcmp olt float %17, %18
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = call i32 @printf(ptr noundef @.str)
br label %22
22: ; preds = %20
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %15, !llvm.loop !6
25: ; preds = %15
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
br label %32
30: ; preds = %25
%31 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %32
32: ; preds = %30, %28
br label %33
33: ; preds = %32
%34 = load float, ptr %2, align 4
%35 = fpext float %34 to double
%36 = fadd double %35, 2.500000e-01
%37 = fptrunc double %36 to float
store float %37, ptr %2, align 4
br label %6, !llvm.loop !8
38: ; preds = %6
ret i32 0
}
declare i32 @sin(float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzvst9fzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"World\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
store float 0.000000e+00, ptr %2, align 4
%6 = load float, ptr %2, align 4
%7 = fcmp olt float %6, 4.000000e+01
br i1 %7, label %.lr.ph2, label %42
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %35
%9 = load float, ptr %2, align 4
%10 = call i32 @sin(float noundef %9)
%11 = mul nsw i32 25, %10
%12 = add nsw i32 26, %11
%13 = sitofp i32 %12 to float
store float %13, ptr %3, align 4
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = sitofp i32 %14 to float
%16 = load float, ptr %3, align 4
%17 = fcmp olt float %15, %16
br i1 %17, label %.lr.ph, label %27
.lr.ph: ; preds = %8
br label %18
18: ; preds = %.lr.ph, %20
%19 = call i32 @printf(ptr noundef @.str)
br label %20
20: ; preds = %18
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %4, align 4
%24 = sitofp i32 %23 to float
%25 = load float, ptr %3, align 4
%26 = fcmp olt float %24, %25
br i1 %26, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %8
%28 = load i32, ptr %5, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %27
%31 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %5, align 4
br label %34
32: ; preds = %27
%33 = call i32 @printf(ptr noundef @.str.2)
store i32 0, ptr %5, align 4
br label %34
34: ; preds = %32, %30
br label %35
35: ; preds = %34
%36 = load float, ptr %2, align 4
%37 = fpext float %36 to double
%38 = fadd double %37, 2.500000e-01
%39 = fptrunc double %38 to float
store float %39, ptr %2, align 4
%40 = load float, ptr %2, align 4
%41 = fcmp olt float %40, 4.000000e+01
br i1 %41, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %42
42: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @sin(float noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpp3rxrqr5.c'
source_filename = "/tmp/tmpp3rxrqr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fps_estimate_simple(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
%7 = 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
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = fmul double %8, %9
store double %10, ptr %7, align 8
%11 = load double, ptr %7, align 8
%12 = call double @MINN(double noundef %11, i32 noundef 1)
store double %12, ptr %7, align 8
%13 = load double, ptr %5, align 8
%14 = load double, ptr %7, align 8
%15 = load double, ptr %4, align 8
%16 = load double, ptr %7, align 8
%17 = fsub double 1.000000e+00, %16
%18 = fmul double %15, %17
%19 = call double @llvm.fmuladd.f64(double %13, double %14, double %18)
store double %19, ptr %4, align 8
%20 = load double, ptr %4, align 8
ret double %20
}
declare double @MINN(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3rxrqr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fps_estimate_simple(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
%7 = 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
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = fmul double %8, %9
store double %10, ptr %7, align 8
%11 = load double, ptr %7, align 8
%12 = call double @MINN(double noundef %11, i32 noundef 1)
store double %12, ptr %7, align 8
%13 = load double, ptr %5, align 8
%14 = load double, ptr %7, align 8
%15 = load double, ptr %4, align 8
%16 = load double, ptr %7, align 8
%17 = fsub double 1.000000e+00, %16
%18 = fmul double %15, %17
%19 = call double @llvm.fmuladd.f64(double %13, double %14, double %18)
store double %19, ptr %4, align 8
%20 = load double, ptr %4, align 8
ret double %20
}
declare double @MINN(double noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxg9h2hl0.c'
source_filename = "/tmp/tmpxg9h2hl0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = fneg double %7
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = call double @llvm.fmuladd.f64(double %8, double %11, double 1.000000e+01)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
%16 = fsub double %12, %15
ret double %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxg9h2hl0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = fneg double %7
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds double, ptr %9, i64 0
%11 = load double, ptr %10, align 8
%12 = call double @llvm.fmuladd.f64(double %8, double %11, double 1.000000e+01)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds double, ptr %13, i64 1
%15 = load double, ptr %14, align 8
%16 = fsub double %12, %15
ret double %16
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprh5izfd4.c'
source_filename = "/tmp/tmprh5izfd4.c"
target datalayout = "e-m:e-p270: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/tmprh5izfd4.c"
target datalayout = "e-m:e-p270: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/tmp2iw4i394.c'
source_filename = "/tmp/tmp2iw4i394.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DSA_verify(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr 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 ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
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 ptr %5, ptr %13, align 8
store ptr null, ptr %15, align 8
%19 = load ptr, ptr %11, align 8
store ptr %19, ptr %16, align 8
store i32 -1, ptr %17, align 4
store i32 -1, ptr %18, align 4
%20 = call ptr (...) @DSA_SIG_new()
store ptr %20, ptr %14, align 8
%21 = load ptr, ptr %14, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %6
%24 = load i32, ptr %18, align 4
store i32 %24, ptr %7, align 4
br label %56
25: ; preds = %6
%26 = load i32, ptr %12, align 4
%27 = call ptr @d2i_DSA_SIG(ptr noundef %14, ptr noundef %16, i32 noundef %26)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %25
br label %49
30: ; preds = %25
%31 = load ptr, ptr %14, align 8
%32 = call i32 @i2d_DSA_SIG(ptr noundef %31, ptr noundef %15)
store i32 %32, ptr %17, align 4
%33 = load i32, ptr %17, align 4
%34 = load i32, ptr %12, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %15, align 8
%39 = load i32, ptr %17, align 4
%40 = call i64 @memcmp(ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %36, %30
br label %49
43: ; preds = %36
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %10, align 4
%46 = load ptr, ptr %14, align 8
%47 = load ptr, ptr %13, align 8
%48 = call i32 @DSA_do_verify(ptr noundef %44, i32 noundef %45, ptr noundef %46, ptr noundef %47)
store i32 %48, ptr %18, align 4
br label %49
49: ; preds = %43, %42, %29
%50 = load ptr, ptr %15, align 8
%51 = load i32, ptr %17, align 4
%52 = call i32 @freezero(ptr noundef %50, i32 noundef %51)
%53 = load ptr, ptr %14, align 8
%54 = call i32 @DSA_SIG_free(ptr noundef %53)
%55 = load i32, ptr %18, align 4
store i32 %55, ptr %7, align 4
br label %56
56: ; preds = %49, %23
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare ptr @DSA_SIG_new(...) #1
declare ptr @d2i_DSA_SIG(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @i2d_DSA_SIG(ptr noundef, ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @DSA_do_verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @freezero(ptr noundef, i32 noundef) #1
declare i32 @DSA_SIG_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/tmp2iw4i394.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DSA_verify(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr 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 ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca i32, align 4
%18 = alloca i32, align 4
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 ptr %5, ptr %13, align 8
store ptr null, ptr %15, align 8
%19 = load ptr, ptr %11, align 8
store ptr %19, ptr %16, align 8
store i32 -1, ptr %17, align 4
store i32 -1, ptr %18, align 4
%20 = call ptr (...) @DSA_SIG_new()
store ptr %20, ptr %14, align 8
%21 = load ptr, ptr %14, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %6
%24 = load i32, ptr %18, align 4
store i32 %24, ptr %7, align 4
br label %56
25: ; preds = %6
%26 = load i32, ptr %12, align 4
%27 = call ptr @d2i_DSA_SIG(ptr noundef %14, ptr noundef %16, i32 noundef %26)
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %30
29: ; preds = %25
br label %49
30: ; preds = %25
%31 = load ptr, ptr %14, align 8
%32 = call i32 @i2d_DSA_SIG(ptr noundef %31, ptr noundef %15)
store i32 %32, ptr %17, align 4
%33 = load i32, ptr %17, align 4
%34 = load i32, ptr %12, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = load ptr, ptr %11, align 8
%38 = load ptr, ptr %15, align 8
%39 = load i32, ptr %17, align 4
%40 = call i64 @memcmp(ptr noundef %37, ptr noundef %38, i32 noundef %39)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %43
42: ; preds = %36, %30
br label %49
43: ; preds = %36
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %10, align 4
%46 = load ptr, ptr %14, align 8
%47 = load ptr, ptr %13, align 8
%48 = call i32 @DSA_do_verify(ptr noundef %44, i32 noundef %45, ptr noundef %46, ptr noundef %47)
store i32 %48, ptr %18, align 4
br label %49
49: ; preds = %43, %42, %29
%50 = load ptr, ptr %15, align 8
%51 = load i32, ptr %17, align 4
%52 = call i32 @freezero(ptr noundef %50, i32 noundef %51)
%53 = load ptr, ptr %14, align 8
%54 = call i32 @DSA_SIG_free(ptr noundef %53)
%55 = load i32, ptr %18, align 4
store i32 %55, ptr %7, align 4
br label %56
56: ; preds = %49, %23
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare ptr @DSA_SIG_new(...) #1
declare ptr @d2i_DSA_SIG(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @i2d_DSA_SIG(ptr noundef, ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @DSA_do_verify(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @freezero(ptr noundef, i32 noundef) #1
declare i32 @DSA_SIG_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/tmp54lxhlh4.c'
source_filename = "/tmp/tmp54lxhlh4.c"
target datalayout = "e-m:e-p270: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/tmp54lxhlh4.c"
target datalayout = "e-m:e-p270: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/tmpydm3b93e.c'
source_filename = "/tmp/tmpydm3b93e.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"dident manage to send all the data as %s:%d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bowlofstew/enterprise-search/refs/heads/master/src/boithoadClientLib/daemon.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendall(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
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %9, align 4
br label %13
13: ; preds = %38, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %45
17: ; preds = %13
%18 = load i32, ptr %9, align 4
%19 = icmp sgt i32 %18, 16392
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 16392, ptr %11, align 4
br label %23
21: ; preds = %17
%22 = load i32, ptr %9, align 4
store i32 %22, ptr %11, align 4
br label %23
23: ; preds = %21, %20
%24 = load i32, ptr %5, align 4
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr i8, ptr %25, i64 %27
%29 = load i32, ptr %11, align 4
%30 = call i32 @send(i32 noundef %24, ptr noundef %28, i32 noundef %29, i32 noundef 0)
store i32 %30, ptr %10, align 4
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %33
32: ; preds = %23
store i32 0, ptr %4, align 4
br label %47
33: ; preds = %23
%34 = load i32, ptr %10, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 154)
store i32 0, ptr %4, align 4
br label %47
38: ; preds = %33
%39 = load i32, ptr %10, align 4
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %8, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %9, align 4
%44 = sub nsw i32 %43, %42
store i32 %44, ptr %9, align 4
br label %13, !llvm.loop !6
45: ; preds = %13
%46 = load i32, ptr %8, align 4
store i32 %46, ptr %4, align 4
br label %47
47: ; preds = %45, %36, %32
%48 = load i32, ptr %4, align 4
ret i32 %48
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(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/tmpydm3b93e.c"
target datalayout = "e-m:e-p270: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 [46 x i8] c"dident manage to send all the data as %s:%d.\0A\00", align 1
@.str.1 = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bowlofstew/enterprise-search/refs/heads/master/src/boithoadClientLib/daemon.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sendall(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
%10 = alloca i32, align 4
%11 = 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
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %47
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %37
%17 = load i32, ptr %9, align 4
%18 = icmp sgt i32 %17, 16392
br i1 %18, label %19, label %20
19: ; preds = %16
store i32 16392, ptr %11, align 4
br label %22
20: ; preds = %16
%21 = load i32, ptr %9, align 4
store i32 %21, ptr %11, align 4
br label %22
22: ; preds = %20, %19
%23 = load i32, ptr %5, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr i8, ptr %24, i64 %26
%28 = load i32, ptr %11, align 4
%29 = call i32 @send(i32 noundef %23, ptr noundef %27, i32 noundef %28, i32 noundef 0)
store i32 %29, ptr %10, align 4
%30 = icmp eq i32 %29, -1
br i1 %30, label %31, label %32
31: ; preds = %22
store i32 0, ptr %4, align 4
br label %49
32: ; preds = %22
%33 = load i32, ptr %10, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %32
%36 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 154)
store i32 0, ptr %4, align 4
br label %49
37: ; preds = %32
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %9, align 4
%43 = sub nsw i32 %42, %41
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %47
47: ; preds = %._crit_edge, %3
%48 = load i32, ptr %8, align 4
store i32 %48, ptr %4, align 4
br label %49
49: ; preds = %47, %35, %31
%50 = load i32, ptr %4, align 4
ret i32 %50
}
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(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/tmp9za3fm_m.c'
source_filename = "/tmp/tmp9za3fm_m.c"
target datalayout = "e-m:e-p270: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/tmp9za3fm_m.c"
target datalayout = "e-m:e-p270: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/tmp7dpj4hof.c'
source_filename = "/tmp/tmp7dpj4hof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qe_malloc_bytes(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7dpj4hof.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qe_malloc_bytes(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb5w8uaj4.c'
source_filename = "/tmp/tmpb5w8uaj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @terminal_readkey() #0 {
%1 = alloca i8, align 1
%2 = call signext i8 (...) @readKey()
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = call i32 @terminal_putchar(i8 noundef signext %3)
%5 = load i8, ptr %1, align 1
ret i8 %5
}
declare signext i8 @readKey(...) #1
declare i32 @terminal_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb5w8uaj4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @terminal_readkey() #0 {
%1 = alloca i8, align 1
%2 = call signext i8 (...) @readKey()
store i8 %2, ptr %1, align 1
%3 = load i8, ptr %1, align 1
%4 = call i32 @terminal_putchar(i8 noundef signext %3)
%5 = load i8, ptr %1, align 1
ret i8 %5
}
declare signext i8 @readKey(...) #1
declare i32 @terminal_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr6mk0nmn.c'
source_filename = "/tmp/tmpr6mk0nmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"jsr ,x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callstk() #0 {
%1 = call i32 (...) @gen_pop()
%2 = call i32 @output_line(ptr noundef @.str)
ret void
}
declare i32 @gen_pop(...) #1
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr6mk0nmn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"jsr ,x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @callstk() #0 {
%1 = call i32 (...) @gen_pop()
%2 = call i32 @output_line(ptr noundef @.str)
ret void
}
declare i32 @gen_pop(...) #1
declare i32 @output_line(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl2wz_l_j.c'
source_filename = "/tmp/tmpl2wz_l_j.c"
target datalayout = "e-m:e-p270: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"Rotating from %.2f to %.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\09%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vps_rotate(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
store float %0, ptr %2, align 4
%4 = call double (...) @get_vps_theta()
%5 = load float, ptr %2, align 4
%6 = fpext float %5 to double
%7 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %4, double noundef %6)
br label %8
8: ; preds = %14, %1
%9 = load float, ptr %2, align 4
%10 = call double (...) @get_vps_theta()
%11 = call i64 @ang_diff(float noundef %9, double noundef %10)
%12 = call i32 @fabs(i64 noundef %11)
%13 = icmp sgt i32 %12, 5
br i1 %13, label %14, label %33
14: ; preds = %8
%15 = call double (...) @get_vps_theta()
%16 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %15)
%17 = load float, ptr %2, align 4
%18 = call double (...) @get_vps_theta()
%19 = call i64 @ang_diff(float noundef %17, double noundef %18)
%20 = icmp sgt i64 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i32 1, i32 -1
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = sub nsw i32 0, %23
%25 = sitofp i32 %24 to double
%26 = fmul double %25, 3.000000e-01
%27 = fptosi double %26 to i32
%28 = load i32, ptr %3, align 4
%29 = sitofp i32 %28 to double
%30 = fmul double %29, 3.000000e-01
%31 = fptosi double %30 to i32
%32 = call i32 @set_wheel_pows(i32 noundef %27, i32 noundef %31)
br label %8, !llvm.loop !6
33: ; preds = %8
%34 = call i32 @set_wheel_pows(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @printf(ptr noundef, double noundef, ...) #1
declare double @get_vps_theta(...) #1
declare i32 @fabs(i64 noundef) #1
declare i64 @ang_diff(float noundef, double noundef) #1
declare i32 @set_wheel_pows(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/tmpl2wz_l_j.c"
target datalayout = "e-m:e-p270: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"Rotating from %.2f to %.2f\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"\09%.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vps_rotate(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca i32, align 4
store float %0, ptr %2, align 4
%4 = call double (...) @get_vps_theta()
%5 = load float, ptr %2, align 4
%6 = fpext float %5 to double
%7 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %4, double noundef %6)
%8 = load float, ptr %2, align 4
%9 = call double (...) @get_vps_theta()
%10 = call i64 @ang_diff(float noundef %8, double noundef %9)
%11 = call i32 @fabs(i64 noundef %10)
%12 = icmp sgt i32 %11, 5
br i1 %12, label %.lr.ph, label %37
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %13
%14 = call double (...) @get_vps_theta()
%15 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %14)
%16 = load float, ptr %2, align 4
%17 = call double (...) @get_vps_theta()
%18 = call i64 @ang_diff(float noundef %16, double noundef %17)
%19 = icmp sgt i64 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, i32 1, i32 -1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 0, %22
%24 = sitofp i32 %23 to double
%25 = fmul double %24, 3.000000e-01
%26 = fptosi double %25 to i32
%27 = load i32, ptr %3, align 4
%28 = sitofp i32 %27 to double
%29 = fmul double %28, 3.000000e-01
%30 = fptosi double %29 to i32
%31 = call i32 @set_wheel_pows(i32 noundef %26, i32 noundef %30)
%32 = load float, ptr %2, align 4
%33 = call double (...) @get_vps_theta()
%34 = call i64 @ang_diff(float noundef %32, double noundef %33)
%35 = call i32 @fabs(i64 noundef %34)
%36 = icmp sgt i32 %35, 5
br i1 %36, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %37
37: ; preds = %._crit_edge, %1
%38 = call i32 @set_wheel_pows(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @printf(ptr noundef, double noundef, ...) #1
declare double @get_vps_theta(...) #1
declare i32 @fabs(i64 noundef) #1
declare i64 @ang_diff(float noundef, double noundef) #1
declare i32 @set_wheel_pows(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/tmpe_kmv2x0.c'
source_filename = "/tmp/tmpe_kmv2x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"dddd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Task_App1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %1, %3
%4 = call i32 @Tos_TaskDelay(i32 noundef 1000)
%5 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 0)
%6 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 0)
%7 = call i32 @Tos_TaskDelay(i32 noundef 10)
%8 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 1)
%9 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 1)
%10 = call i32 @Tos_TaskDelay(i32 noundef 100)
%11 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 0)
%12 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 0)
%13 = call i32 @Tos_TaskDelay(i32 noundef 10)
%14 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 1)
%15 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 1)
%16 = call i32 @DeBug(ptr noundef @.str, i32 noundef 4)
br label %3
}
declare i32 @Tos_TaskDelay(i32 noundef) #1
declare i32 @GPIO_SetIndex(i32 noundef, i32 noundef) #1
declare i32 @DeBug(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/tmpe_kmv2x0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"dddd\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Task_App1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %3, %1
%4 = call i32 @Tos_TaskDelay(i32 noundef 1000)
%5 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 0)
%6 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 0)
%7 = call i32 @Tos_TaskDelay(i32 noundef 10)
%8 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 1)
%9 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 1)
%10 = call i32 @Tos_TaskDelay(i32 noundef 100)
%11 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 0)
%12 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 0)
%13 = call i32 @Tos_TaskDelay(i32 noundef 10)
%14 = call i32 @GPIO_SetIndex(i32 noundef 0, i32 noundef 1)
%15 = call i32 @GPIO_SetIndex(i32 noundef 1, i32 noundef 1)
%16 = call i32 @DeBug(ptr noundef @.str, i32 noundef 4)
br label %3
}
declare i32 @Tos_TaskDelay(i32 noundef) #1
declare i32 @GPIO_SetIndex(i32 noundef, i32 noundef) #1
declare i32 @DeBug(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/tmpzdbpsu7u.c'
source_filename = "/tmp/tmpzdbpsu7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1
@program_invocation_name = external global ptr, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @success_message(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 @program_invocation_name, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzdbpsu7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%s: %s\0A\00", align 1
@program_invocation_name = external global ptr, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @success_message(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 @program_invocation_name, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %4, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdv0zta2q.c'
source_filename = "/tmp/tmpdv0zta2q.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, i32 }
@__const.main.foo = private unnamed_addr constant [2 x %struct.anon] [%struct.anon { i32 1, i32 2 }, %struct.anon { i32 3, i32 4 }], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x %struct.anon], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.foo, i64 16, i1 false)
%3 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds %struct.anon, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 16
%6 = icmp eq i32 %5, 1
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = icmp eq i32 %11, 2
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 1
%16 = getelementptr inbounds %struct.anon, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 8
%18 = icmp eq i32 %17, 3
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 1
%22 = getelementptr inbounds %struct.anon, ptr %21, i32 0, i32 1
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 4
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(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/tmpdv0zta2q.c"
target datalayout = "e-m:e-p270: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.anon = type { i32, i32 }
@__const.main.foo = private unnamed_addr constant [2 x %struct.anon] [%struct.anon { i32 1, i32 2 }, %struct.anon { i32 3, i32 4 }], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x %struct.anon], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.foo, i64 16, i1 false)
%3 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 0
%4 = getelementptr inbounds %struct.anon, ptr %3, i32 0, i32 0
%5 = load i32, ptr %4, align 16
%6 = icmp eq i32 %5, 1
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 0
%10 = getelementptr inbounds %struct.anon, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = icmp eq i32 %11, 2
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 1
%16 = getelementptr inbounds %struct.anon, ptr %15, i32 0, i32 0
%17 = load i32, ptr %16, align 8
%18 = icmp eq i32 %17, 3
%19 = zext i1 %18 to i32
%20 = call i32 @assert(i32 noundef %19)
%21 = getelementptr inbounds [2 x %struct.anon], ptr %2, i64 0, i64 1
%22 = getelementptr inbounds %struct.anon, ptr %21, i32 0, i32 1
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 4
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @assert(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/tmp206268p3.c'
source_filename = "/tmp/tmp206268p3.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [8 x i8] c"aBcDefg\00", align 1
@.str = private unnamed_addr constant [21 x i8] c"before tolower():%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"after tolower():%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 8, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %19, %0
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 8
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call signext i8 @tolower(i8 noundef signext %14)
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 %17
store i8 %15, ptr %18, align 1
br label %19
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %6, !llvm.loop !6
22: ; preds = %6
%23 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
declare signext i8 @tolower(i8 noundef signext) #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/tmp206268p3.c"
target datalayout = "e-m:e-p270: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.s = private unnamed_addr constant [8 x i8] c"aBcDefg\00", align 1
@.str = private unnamed_addr constant [21 x i8] c"before tolower():%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"after tolower():%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.s, i64 8, i1 false)
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = icmp ult i64 %7, 8
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %18
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call signext i8 @tolower(i8 noundef signext %13)
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 %16
store i8 %14, ptr %17, align 1
br label %18
18: ; preds = %9
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = icmp ult i64 %22, 8
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %0
%25 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str.1, ptr noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
declare signext i8 @tolower(i8 noundef signext) #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/tmpxed34dzz.c'
source_filename = "/tmp/tmpxed34dzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_i32_i32_i16_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %33, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %15, i64 %17
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = mul nsw i32 %23, 2
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %21, %14
br label %33
33: ; preds = %32
%34 = load i32, ptr %9, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %9, align 4
br label %10, !llvm.loop !6
36: ; 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/tmpxed34dzz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_i32_i32_i16_2(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i64, ptr %14, i64 %16
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %31
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = mul nsw i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %20, %13
br label %32
32: ; preds = %31
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; 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/tmp_ynim10b.c'
source_filename = "/tmp/tmp_ynim10b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @div_test() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %13, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 2
br i1 %4, label %5, label %16
5: ; preds = %2
%6 = load i32, ptr %1, align 4
%7 = mul nsw i32 2, %6
%8 = load i32, ptr %1, align 4
%9 = call i32 @div(i32 noundef %7, i32 noundef %8)
%10 = icmp eq i32 %9, 2
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
br label %13
13: ; preds = %5
%14 = load i32, ptr %1, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %1, align 4
br label %2, !llvm.loop !6
16: ; preds = %2
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @div(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/tmp_ynim10b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @div_test() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 2
br i1 %3, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %12
%5 = load i32, ptr %1, align 4
%6 = mul nsw i32 2, %5
%7 = load i32, ptr %1, align 4
%8 = call i32 @div(i32 noundef %6, i32 noundef %7)
%9 = icmp eq i32 %8, 2
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
br label %12
12: ; preds = %4
%13 = load i32, ptr %1, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
ret void
}
declare i32 @assert(i32 noundef) #1
declare i32 @div(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/tmprqxi5y70.c'
source_filename = "/tmp/tmprqxi5y70.c"
target datalayout = "e-m:e-p270: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"r+\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Can't open file.\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"Wrong size of file... Not integer count of records\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Error during work with file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lib_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %216
23: ; preds = %2
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr @SEEK_END, align 4
%26 = call i32 @fseek(ptr noundef %24, i64 noundef 0, i32 noundef %25)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %23
br label %196
29: ; preds = %23
%30 = load ptr, ptr %6, align 8
%31 = call i64 @ftell(ptr noundef %30)
store i64 %31, ptr %9, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr @SEEK_SET, align 4
%34 = call i32 @fseek(ptr noundef %32, i64 noundef 0, i32 noundef %33)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %29
br label %196
37: ; preds = %29
%38 = load ptr, ptr %6, align 8
%39 = call i64 @ftell(ptr noundef %38)
store i64 %39, ptr %10, align 8
%40 = load i64, ptr %9, align 8
%41 = load i64, ptr %10, align 8
%42 = sub nsw i64 %40, %41
store i64 %42, ptr %11, align 8
%43 = load i64, ptr %11, align 8
%44 = load i64, ptr %5, align 8
%45 = sdiv i64 %43, %44
store i64 %45, ptr %12, align 8
%46 = load i64, ptr %11, align 8
%47 = load i64, ptr %5, align 8
%48 = srem i64 %46, %47
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %37
%51 = call i32 @perror(ptr noundef @.str.2)
br label %52
52: ; preds = %50, %37
store i64 1, ptr %13, align 8
br label %53
53: ; preds = %170, %52
%54 = load i64, ptr %13, align 8
%55 = load i64, ptr %12, align 8
%56 = icmp slt i64 %54, %55
br i1 %56, label %57, label %173
57: ; preds = %53
%58 = load i64, ptr %13, align 8
%59 = load i64, ptr %5, align 8
%60 = mul nsw i64 %58, %59
%61 = load i64, ptr %10, align 8
%62 = add nsw i64 %60, %61
store i64 %62, ptr %14, align 8
%63 = load ptr, ptr %6, align 8
%64 = load i64, ptr %14, align 8
%65 = load i32, ptr @SEEK_SET, align 4
%66 = call i32 @fseek(ptr noundef %63, i64 noundef %64, i32 noundef %65)
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %69
68: ; preds = %57
br label %196
69: ; preds = %57
%70 = load i64, ptr %5, align 8
%71 = call ptr @calloc(i64 noundef %70, i32 noundef 1)
store ptr %71, ptr %8, align 8
%72 = load ptr, ptr %8, align 8
%73 = load i64, ptr %5, align 8
%74 = load ptr, ptr %6, align 8
%75 = call i64 @fread(ptr noundef %72, i32 noundef 1, i64 noundef %73, ptr noundef %74)
%76 = load i64, ptr %5, align 8
%77 = icmp ne i64 %75, %76
br i1 %77, label %78, label %79
78: ; preds = %69
br label %196
79: ; preds = %69
store i32 1, ptr %15, align 4
%80 = load i64, ptr %14, align 8
%81 = load i64, ptr %5, align 8
%82 = sub nsw i64 %80, %81
store i64 %82, ptr %16, align 8
br label %83
83: ; preds = %159, %79
%84 = load i64, ptr %16, align 8
%85 = load i64, ptr %10, align 8
%86 = icmp sge i64 %84, %85
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = load i32, ptr %15, align 4
%89 = icmp ne i32 %88, 0
br label %90
90: ; preds = %87, %83
%91 = phi i1 [ false, %83 ], [ %89, %87 ]
br i1 %91, label %92, label %163
92: ; preds = %90
%93 = load ptr, ptr %6, align 8
%94 = load i64, ptr %16, align 8
%95 = load i32, ptr @SEEK_SET, align 4
%96 = call i32 @fseek(ptr noundef %93, i64 noundef %94, i32 noundef %95)
%97 = icmp eq i32 %96, -1
br i1 %97, label %98, label %99
98: ; preds = %92
br label %196
99: ; preds = %92
%100 = load i64, ptr %5, align 8
%101 = call ptr @calloc(i64 noundef %100, i32 noundef 1)
store ptr %101, ptr %7, align 8
%102 = load ptr, ptr %7, align 8
%103 = load i64, ptr %5, align 8
%104 = load ptr, ptr %6, align 8
%105 = call i64 @fread(ptr noundef %102, i32 noundef 1, i64 noundef %103, ptr noundef %104)
%106 = load i64, ptr %5, align 8
%107 = icmp ne i64 %105, %106
br i1 %107, label %108, label %109
108: ; preds = %99
br label %196
109: ; preds = %99
%110 = load ptr, ptr %8, align 8
%111 = load ptr, ptr %7, align 8
%112 = call i32 @compare_records(ptr noundef %110, ptr noundef %111)
%113 = icmp slt i32 %112, 1
br i1 %113, label %114, label %143
114: ; preds = %109
%115 = load ptr, ptr %7, align 8
%116 = load i64, ptr %5, align 8
%117 = load ptr, ptr %6, align 8
%118 = call i64 @fwrite(ptr noundef %115, i32 noundef 1, i64 noundef %116, ptr noundef %117)
%119 = load i64, ptr %5, align 8
%120 = icmp ne i64 %118, %119
br i1 %120, label %121, label %122
121: ; preds = %114
br label %196
122: ; preds = %114
%123 = load i64, ptr %16, align 8
%124 = load i64, ptr %10, align 8
%125 = icmp eq i64 %123, %124
br i1 %125, label %126, label %142
126: ; preds = %122
%127 = load ptr, ptr %6, align 8
%128 = load i64, ptr %16, align 8
%129 = load i32, ptr @SEEK_SET, align 4
%130 = call i32 @fseek(ptr noundef %127, i64 noundef %128, i32 noundef %129)
%131 = icmp eq i32 %130, -1
br i1 %131, label %132, label %133
132: ; preds = %126
br label %196
133: ; preds = %126
%134 = load ptr, ptr %8, align 8
%135 = load i64, ptr %5, align 8
%136 = load ptr, ptr %6, align 8
%137 = call i64 @fwrite(ptr noundef %134, i32 noundef 1, i64 noundef %135, ptr noundef %136)
%138 = load i64, ptr %5, align 8
%139 = icmp ne i64 %137, %138
br i1 %139, label %140, label %141
140: ; preds = %133
br label %196
141: ; preds = %133
br label %142
142: ; preds = %141, %122
br label %152
143: ; preds = %109
%144 = load ptr, ptr %8, align 8
%145 = load i64, ptr %5, align 8
%146 = load ptr, ptr %6, align 8
%147 = call i64 @fwrite(ptr noundef %144, i32 noundef 1, i64 noundef %145, ptr noundef %146)
%148 = load i64, ptr %5, align 8
%149 = icmp ne i64 %147, %148
br i1 %149, label %150, label %151
150: ; preds = %143
br label %196
151: ; preds = %143
store i32 0, ptr %15, align 4
br label %152
152: ; preds = %151, %142
%153 = load ptr, ptr %7, align 8
%154 = icmp ne ptr %153, null
br i1 %154, label %155, label %158
155: ; preds = %152
%156 = load ptr, ptr %7, align 8
%157 = call i32 @free(ptr noundef %156)
store ptr null, ptr %7, align 8
br label %158
158: ; preds = %155, %152
br label %159
159: ; preds = %158
%160 = load i64, ptr %5, align 8
%161 = load i64, ptr %16, align 8
%162 = sub nsw i64 %161, %160
store i64 %162, ptr %16, align 8
br label %83, !llvm.loop !6
163: ; preds = %90
%164 = load ptr, ptr %8, align 8
%165 = icmp ne ptr %164, null
br i1 %165, label %166, label %169
166: ; preds = %163
%167 = load ptr, ptr %8, align 8
%168 = call i32 @free(ptr noundef %167)
store ptr null, ptr %8, align 8
br label %169
169: ; preds = %166, %163
br label %170
170: ; preds = %169
%171 = load i64, ptr %13, align 8
%172 = add nsw i64 %171, 1
store i64 %172, ptr %13, align 8
br label %53, !llvm.loop !8
173: ; preds = %53
br label %174
174: ; preds = %173
%175 = load ptr, ptr %6, align 8
%176 = icmp ne ptr %175, null
br i1 %176, label %177, label %183
177: ; preds = %174
%178 = load ptr, ptr %6, align 8
%179 = call i64 @fclose(ptr noundef %178)
%180 = icmp ne i64 %179, 0
br i1 %180, label %181, label %182
181: ; preds = %177
br label %196
182: ; preds = %177
store ptr null, ptr %6, align 8
br label %183
183: ; preds = %182, %174
%184 = load ptr, ptr %7, align 8
%185 = icmp ne ptr %184, null
br i1 %185, label %186, label %189
186: ; preds = %183
%187 = load ptr, ptr %7, align 8
%188 = call i32 @free(ptr noundef %187)
br label %189
189: ; preds = %186, %183
%190 = load ptr, ptr %8, align 8
%191 = icmp ne ptr %190, null
br i1 %191, label %192, label %195
192: ; preds = %189
%193 = load ptr, ptr %8, align 8
%194 = call i32 @free(ptr noundef %193)
br label %195
195: ; preds = %192, %189
store i32 0, ptr %3, align 4
br label %216
196: ; preds = %181, %150, %140, %132, %121, %108, %98, %78, %68, %36, %28
%197 = call i32 @perror(ptr noundef @.str.3)
%198 = load ptr, ptr %6, align 8
%199 = icmp ne ptr %198, null
br i1 %199, label %200, label %203
200: ; preds = %196
%201 = load ptr, ptr %6, align 8
%202 = call i64 @fclose(ptr noundef %201)
store ptr null, ptr %6, align 8
br label %203
203: ; preds = %200, %196
%204 = load ptr, ptr %7, align 8
%205 = icmp ne ptr %204, null
br i1 %205, label %206, label %209
206: ; preds = %203
%207 = load ptr, ptr %7, align 8
%208 = call i32 @free(ptr noundef %207)
br label %209
209: ; preds = %206, %203
%210 = load ptr, ptr %8, align 8
%211 = icmp ne ptr %210, null
br i1 %211, label %212, label %215
212: ; preds = %209
%213 = load ptr, ptr %8, align 8
%214 = call i32 @free(ptr noundef %213)
br label %215
215: ; preds = %212, %209
store i32 -1, ptr %3, align 4
br label %216
216: ; preds = %215, %195, %21
%217 = load i32, ptr %3, align 4
ret i32 %217
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @compare_records(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprqxi5y70.c"
target datalayout = "e-m:e-p270: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"r+\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"Can't open file.\0A\00", align 1
@SEEK_END = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [51 x i8] c"Wrong size of file... Not integer count of records\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"Error during work with file.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @lib_sort(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %6, align 8
store ptr null, ptr %7, align 8
store ptr null, ptr %8, align 8
%19 = load ptr, ptr %6, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %2
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 -2, ptr %3, align 4
br label %218
23: ; preds = %2
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr @SEEK_END, align 4
%26 = call i32 @fseek(ptr noundef %24, i64 noundef 0, i32 noundef %25)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %23
br label %198
29: ; preds = %23
%30 = load ptr, ptr %6, align 8
%31 = call i64 @ftell(ptr noundef %30)
store i64 %31, ptr %9, align 8
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr @SEEK_SET, align 4
%34 = call i32 @fseek(ptr noundef %32, i64 noundef 0, i32 noundef %33)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %29
br label %198
37: ; preds = %29
%38 = load ptr, ptr %6, align 8
%39 = call i64 @ftell(ptr noundef %38)
store i64 %39, ptr %10, align 8
%40 = load i64, ptr %9, align 8
%41 = load i64, ptr %10, align 8
%42 = sub nsw i64 %40, %41
store i64 %42, ptr %11, align 8
%43 = load i64, ptr %11, align 8
%44 = load i64, ptr %5, align 8
%45 = sdiv i64 %43, %44
store i64 %45, ptr %12, align 8
%46 = load i64, ptr %11, align 8
%47 = load i64, ptr %5, align 8
%48 = srem i64 %46, %47
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %52
50: ; preds = %37
%51 = call i32 @perror(ptr noundef @.str.2)
br label %52
52: ; preds = %50, %37
store i64 1, ptr %13, align 8
%53 = load i64, ptr %13, align 8
%54 = load i64, ptr %12, align 8
%55 = icmp slt i64 %53, %54
br i1 %55, label %.lr.ph, label %175
.lr.ph: ; preds = %52
br label %56
56: ; preds = %.lr.ph, %169
%57 = load i64, ptr %13, align 8
%58 = load i64, ptr %5, align 8
%59 = mul nsw i64 %57, %58
%60 = load i64, ptr %10, align 8
%61 = add nsw i64 %59, %60
store i64 %61, ptr %14, align 8
%62 = load ptr, ptr %6, align 8
%63 = load i64, ptr %14, align 8
%64 = load i32, ptr @SEEK_SET, align 4
%65 = call i32 @fseek(ptr noundef %62, i64 noundef %63, i32 noundef %64)
%66 = icmp eq i32 %65, -1
br i1 %66, label %67, label %68
67: ; preds = %56
br label %198
68: ; preds = %56
%69 = load i64, ptr %5, align 8
%70 = call ptr @calloc(i64 noundef %69, i32 noundef 1)
store ptr %70, ptr %8, align 8
%71 = load ptr, ptr %8, align 8
%72 = load i64, ptr %5, align 8
%73 = load ptr, ptr %6, align 8
%74 = call i64 @fread(ptr noundef %71, i32 noundef 1, i64 noundef %72, ptr noundef %73)
%75 = load i64, ptr %5, align 8
%76 = icmp ne i64 %74, %75
br i1 %76, label %77, label %78
77: ; preds = %68
br label %198
78: ; preds = %68
store i32 1, ptr %15, align 4
%79 = load i64, ptr %14, align 8
%80 = load i64, ptr %5, align 8
%81 = sub nsw i64 %79, %80
store i64 %81, ptr %16, align 8
br label %82
82: ; preds = %158, %78
%83 = load i64, ptr %16, align 8
%84 = load i64, ptr %10, align 8
%85 = icmp sge i64 %83, %84
br i1 %85, label %86, label %89
86: ; preds = %82
%87 = load i32, ptr %15, align 4
%88 = icmp ne i32 %87, 0
br label %89
89: ; preds = %86, %82
%90 = phi i1 [ false, %82 ], [ %88, %86 ]
br i1 %90, label %91, label %162
91: ; preds = %89
%92 = load ptr, ptr %6, align 8
%93 = load i64, ptr %16, align 8
%94 = load i32, ptr @SEEK_SET, align 4
%95 = call i32 @fseek(ptr noundef %92, i64 noundef %93, i32 noundef %94)
%96 = icmp eq i32 %95, -1
br i1 %96, label %97, label %98
97: ; preds = %91
br label %198
98: ; preds = %91
%99 = load i64, ptr %5, align 8
%100 = call ptr @calloc(i64 noundef %99, i32 noundef 1)
store ptr %100, ptr %7, align 8
%101 = load ptr, ptr %7, align 8
%102 = load i64, ptr %5, align 8
%103 = load ptr, ptr %6, align 8
%104 = call i64 @fread(ptr noundef %101, i32 noundef 1, i64 noundef %102, ptr noundef %103)
%105 = load i64, ptr %5, align 8
%106 = icmp ne i64 %104, %105
br i1 %106, label %107, label %108
107: ; preds = %98
br label %198
108: ; preds = %98
%109 = load ptr, ptr %8, align 8
%110 = load ptr, ptr %7, align 8
%111 = call i32 @compare_records(ptr noundef %109, ptr noundef %110)
%112 = icmp slt i32 %111, 1
br i1 %112, label %113, label %142
113: ; preds = %108
%114 = load ptr, ptr %7, align 8
%115 = load i64, ptr %5, align 8
%116 = load ptr, ptr %6, align 8
%117 = call i64 @fwrite(ptr noundef %114, i32 noundef 1, i64 noundef %115, ptr noundef %116)
%118 = load i64, ptr %5, align 8
%119 = icmp ne i64 %117, %118
br i1 %119, label %120, label %121
120: ; preds = %113
br label %198
121: ; preds = %113
%122 = load i64, ptr %16, align 8
%123 = load i64, ptr %10, align 8
%124 = icmp eq i64 %122, %123
br i1 %124, label %125, label %141
125: ; preds = %121
%126 = load ptr, ptr %6, align 8
%127 = load i64, ptr %16, align 8
%128 = load i32, ptr @SEEK_SET, align 4
%129 = call i32 @fseek(ptr noundef %126, i64 noundef %127, i32 noundef %128)
%130 = icmp eq i32 %129, -1
br i1 %130, label %131, label %132
131: ; preds = %125
br label %198
132: ; preds = %125
%133 = load ptr, ptr %8, align 8
%134 = load i64, ptr %5, align 8
%135 = load ptr, ptr %6, align 8
%136 = call i64 @fwrite(ptr noundef %133, i32 noundef 1, i64 noundef %134, ptr noundef %135)
%137 = load i64, ptr %5, align 8
%138 = icmp ne i64 %136, %137
br i1 %138, label %139, label %140
139: ; preds = %132
br label %198
140: ; preds = %132
br label %141
141: ; preds = %140, %121
br label %151
142: ; preds = %108
%143 = load ptr, ptr %8, align 8
%144 = load i64, ptr %5, align 8
%145 = load ptr, ptr %6, align 8
%146 = call i64 @fwrite(ptr noundef %143, i32 noundef 1, i64 noundef %144, ptr noundef %145)
%147 = load i64, ptr %5, align 8
%148 = icmp ne i64 %146, %147
br i1 %148, label %149, label %150
149: ; preds = %142
br label %198
150: ; preds = %142
store i32 0, ptr %15, align 4
br label %151
151: ; preds = %150, %141
%152 = load ptr, ptr %7, align 8
%153 = icmp ne ptr %152, null
br i1 %153, label %154, label %157
154: ; preds = %151
%155 = load ptr, ptr %7, align 8
%156 = call i32 @free(ptr noundef %155)
store ptr null, ptr %7, align 8
br label %157
157: ; preds = %154, %151
br label %158
158: ; preds = %157
%159 = load i64, ptr %5, align 8
%160 = load i64, ptr %16, align 8
%161 = sub nsw i64 %160, %159
store i64 %161, ptr %16, align 8
br label %82, !llvm.loop !6
162: ; preds = %89
%163 = load ptr, ptr %8, align 8
%164 = icmp ne ptr %163, null
br i1 %164, label %165, label %168
165: ; preds = %162
%166 = load ptr, ptr %8, align 8
%167 = call i32 @free(ptr noundef %166)
store ptr null, ptr %8, align 8
br label %168
168: ; preds = %165, %162
br label %169
169: ; preds = %168
%170 = load i64, ptr %13, align 8
%171 = add nsw i64 %170, 1
store i64 %171, ptr %13, align 8
%172 = load i64, ptr %13, align 8
%173 = load i64, ptr %12, align 8
%174 = icmp slt i64 %172, %173
br i1 %174, label %56, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %169
br label %175
175: ; preds = %._crit_edge, %52
br label %176
176: ; preds = %175
%177 = load ptr, ptr %6, align 8
%178 = icmp ne ptr %177, null
br i1 %178, label %179, label %185
179: ; preds = %176
%180 = load ptr, ptr %6, align 8
%181 = call i64 @fclose(ptr noundef %180)
%182 = icmp ne i64 %181, 0
br i1 %182, label %183, label %184
183: ; preds = %179
br label %198
184: ; preds = %179
store ptr null, ptr %6, align 8
br label %185
185: ; preds = %184, %176
%186 = load ptr, ptr %7, align 8
%187 = icmp ne ptr %186, null
br i1 %187, label %188, label %191
188: ; preds = %185
%189 = load ptr, ptr %7, align 8
%190 = call i32 @free(ptr noundef %189)
br label %191
191: ; preds = %188, %185
%192 = load ptr, ptr %8, align 8
%193 = icmp ne ptr %192, null
br i1 %193, label %194, label %197
194: ; preds = %191
%195 = load ptr, ptr %8, align 8
%196 = call i32 @free(ptr noundef %195)
br label %197
197: ; preds = %194, %191
store i32 0, ptr %3, align 4
br label %218
198: ; preds = %183, %149, %139, %131, %120, %107, %97, %77, %67, %36, %28
%199 = call i32 @perror(ptr noundef @.str.3)
%200 = load ptr, ptr %6, align 8
%201 = icmp ne ptr %200, null
br i1 %201, label %202, label %205
202: ; preds = %198
%203 = load ptr, ptr %6, align 8
%204 = call i64 @fclose(ptr noundef %203)
store ptr null, ptr %6, align 8
br label %205
205: ; preds = %202, %198
%206 = load ptr, ptr %7, align 8
%207 = icmp ne ptr %206, null
br i1 %207, label %208, label %211
208: ; preds = %205
%209 = load ptr, ptr %7, align 8
%210 = call i32 @free(ptr noundef %209)
br label %211
211: ; preds = %208, %205
%212 = load ptr, ptr %8, align 8
%213 = icmp ne ptr %212, null
br i1 %213, label %214, label %217
214: ; preds = %211
%215 = load ptr, ptr %8, align 8
%216 = call i32 @free(ptr noundef %215)
br label %217
217: ; preds = %214, %211
store i32 -1, ptr %3, align 4
br label %218
218: ; preds = %217, %197, %21
%219 = load i32, ptr %3, align 4
ret i32 %219
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @compare_records(ptr noundef, ptr noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprzryz8fz.c'
source_filename = "/tmp/tmprzryz8fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"tidyNumbers.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Case #%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @FLineStdin()
%8 = call i32 @strtoi(i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
store i32 0, ptr %3, align 4
br label %10
10: ; preds = %38, %0
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %41
14: ; preds = %10
%15 = call i32 (...) @FLineStdin()
%16 = call i32 @strtoi(i32 noundef %15)
store i32 %16, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %17
17: ; preds = %27, %14
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %18, %19
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = sub nsw i32 %21, %22
%24 = call i32 @numDigits(i32 noundef %23)
%25 = call i32 @isTidy(i32 noundef %20, i32 noundef %24)
%26 = icmp ne i32 %25, 1
br i1 %26, label %27, label %30
27: ; preds = %17
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
br label %17, !llvm.loop !6
30: ; preds = %17
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %34, %35
%37 = call i32 @fprintf(ptr noundef %31, ptr noundef @.str.2, i32 noundef %33, i32 noundef %36)
br label %38
38: ; preds = %30
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %10, !llvm.loop !8
41: ; preds = %10
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @strtoi(i32 noundef) #1
declare i32 @FLineStdin(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @isTidy(i32 noundef, i32 noundef) #1
declare i32 @numDigits(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprzryz8fz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"tidyNumbers.out\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"Case #%d: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (...) @FLineStdin()
%8 = call i32 @strtoi(i32 noundef %7)
store i32 %8, ptr %2, align 4
%9 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %9, ptr %4, align 8
store i32 0, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph2, label %51
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %45
%14 = call i32 (...) @FLineStdin()
%15 = call i32 @strtoi(i32 noundef %14)
store i32 %15, ptr %5, align 4
store i32 0, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %16, %17
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = sub nsw i32 %19, %20
%22 = call i32 @numDigits(i32 noundef %21)
%23 = call i32 @isTidy(i32 noundef %18, i32 noundef %22)
%24 = icmp ne i32 %23, 1
br i1 %24, label %.lr.ph, label %37
.lr.ph: ; preds = %13
br label %25
25: ; preds = %.lr.ph, %25
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %28, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %6, align 4
%33 = sub nsw i32 %31, %32
%34 = call i32 @numDigits(i32 noundef %33)
%35 = call i32 @isTidy(i32 noundef %30, i32 noundef %34)
%36 = icmp ne i32 %35, 1
br i1 %36, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %37
37: ; preds = %._crit_edge, %13
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
%41 = load i32, ptr %5, align 4
%42 = load i32, ptr %6, align 4
%43 = sub nsw i32 %41, %42
%44 = call i32 @fprintf(ptr noundef %38, ptr noundef @.str.2, i32 noundef %40, i32 noundef %43)
br label %45
45: ; preds = %37
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %0
%52 = load i32, ptr %1, align 4
ret i32 %52
}
declare i32 @strtoi(i32 noundef) #1
declare i32 @FLineStdin(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @isTidy(i32 noundef, i32 noundef) #1
declare i32 @numDigits(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6ziobirq.c'
source_filename = "/tmp/tmp6ziobirq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imaxabs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
br label %10
8: ; preds = %1
%9 = load i32, ptr %2, align 4
br label %10
10: ; preds = %8, %5
%11 = phi i32 [ %7, %5 ], [ %9, %8 ]
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ziobirq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imaxabs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = sub nsw i32 0, %6
br label %10
8: ; preds = %1
%9 = load i32, ptr %2, align 4
br label %10
10: ; preds = %8, %5
%11 = phi i32 [ %7, %5 ], [ %9, %8 ]
ret i32 %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpig27o1vl.c'
source_filename = "/tmp/tmpig27o1vl.c"
target datalayout = "e-m:e-p270: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.vec = private unnamed_addr constant [3 x float] [float 0x40091EB860000000, float 0x4016A3D700000000, float 0x40233851E0000000], align 4
@.str = private unnamed_addr constant [12 x i8] c"%f, %f, %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
%4 = alloca [3 x float], align 4
store i32 0, ptr %1, align 4
store float 0x40091EB860000000, ptr %2, align 4
store double 2.710000e+00, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.vec, i64 12, i1 false)
%5 = call i32 @foo(ptr noundef %2)
%6 = call i32 @bar(ptr noundef %3)
%7 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%8 = call i32 @sseround(ptr noundef %7)
%9 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%10 = load float, ptr %9, align 4
%11 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%12 = load float, ptr %11, align 4
%13 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%14 = load float, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, float noundef %10, float noundef %12, float noundef %14)
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 @foo(ptr noundef) #2
declare i32 @bar(ptr noundef) #2
declare i32 @sseround(ptr noundef) #2
declare i32 @printf(ptr noundef, float noundef, float noundef, float 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/tmpig27o1vl.c"
target datalayout = "e-m:e-p270: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.vec = private unnamed_addr constant [3 x float] [float 0x40091EB860000000, float 0x4016A3D700000000, float 0x40233851E0000000], align 4
@.str = private unnamed_addr constant [12 x i8] c"%f, %f, %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca double, align 8
%4 = alloca [3 x float], align 4
store i32 0, ptr %1, align 4
store float 0x40091EB860000000, ptr %2, align 4
store double 2.710000e+00, ptr %3, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %4, ptr align 4 @__const.main.vec, i64 12, i1 false)
%5 = call i32 @foo(ptr noundef %2)
%6 = call i32 @bar(ptr noundef %3)
%7 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%8 = call i32 @sseround(ptr noundef %7)
%9 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 0
%10 = load float, ptr %9, align 4
%11 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 1
%12 = load float, ptr %11, align 4
%13 = getelementptr inbounds [3 x float], ptr %4, i64 0, i64 2
%14 = load float, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, float noundef %10, float noundef %12, float noundef %14)
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 @foo(ptr noundef) #2
declare i32 @bar(ptr noundef) #2
declare i32 @sseround(ptr noundef) #2
declare i32 @printf(ptr noundef, float noundef, float noundef, float 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/tmpjnqou_34.c'
source_filename = "/tmp/tmpjnqou_34.c"
target datalayout = "e-m:e-p270: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/tmpjnqou_34.c"
target datalayout = "e-m:e-p270: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/tmp0mgnk_zt.c'
source_filename = "/tmp/tmp0mgnk_zt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_distance(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
switch i32 %9, label %32 [
i32 1, label %10
i32 2, label %15
i32 3, label %19
i32 4, label %23
i32 5, label %27
]
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %11, %12
%14 = call i32 @abs(i32 noundef %13) #2
store i32 %14, ptr %7, align 4
br label %32
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %16, %17
store i32 %18, ptr %7, align 4
br label %32
19: ; preds = %3
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %20, %21
store i32 %22, ptr %7, align 4
br label %32
23: ; preds = %3
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %7, align 4
br label %32
27: ; preds = %3
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %3, %27, %23, %19, %15, %10
%33 = load i32, ptr %7, align 4
ret i32 %33
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0mgnk_zt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @R_distance(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
switch i32 %9, label %32 [
i32 1, label %10
i32 2, label %15
i32 3, label %19
i32 4, label %23
i32 5, label %27
]
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %11, %12
%14 = call i32 @abs(i32 noundef %13) #2
store i32 %14, ptr %7, align 4
br label %32
15: ; preds = %3
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %16, %17
store i32 %18, ptr %7, align 4
br label %32
19: ; preds = %3
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = mul nsw i32 %20, %21
store i32 %22, ptr %7, align 4
br label %32
23: ; preds = %3
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %24, %25
store i32 %26, ptr %7, align 4
br label %32
27: ; preds = %3
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp eq i32 %28, %29
%31 = zext i1 %30 to i32
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %27, %23, %19, %15, %10, %3
%33 = load i32, ptr %7, align 4
ret i32 %33
}
; Function Attrs: nounwind willreturn memory(none)
declare i32 @abs(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt1mkn9n9.c'
source_filename = "/tmp/tmpt1mkn9n9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @translateint32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr %2, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 3
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = shl i32 %8, 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 2
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %9, %12
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = shl i32 %14, 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 1
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %15, %18
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = shl i32 %20, 8
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %21, %23
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt1mkn9n9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @translateint32_t(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr %2, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 3
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = shl i32 %8, 8
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 2
%12 = load i32, ptr %11, align 4
%13 = add nsw i32 %9, %12
store i32 %13, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = shl i32 %14, 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 1
%18 = load i32, ptr %17, align 4
%19 = add nsw i32 %15, %18
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = shl i32 %20, 8
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %22, align 4
%24 = add nsw i32 %21, %23
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp9grkhyh.c'
source_filename = "/tmp/tmpp9grkhyh.c"
target datalayout = "e-m:e-p270: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/tmpp9grkhyh.c"
target datalayout = "e-m:e-p270: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/tmpcysd_lun.c'
source_filename = "/tmp/tmpcysd_lun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glutVideoResizeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcysd_lun.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glutVideoResizeGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8qdx2wcz.c'
source_filename = "/tmp/tmp8qdx2wcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ieee754_scalb(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = call i64 @__isnan(double noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %2
%10 = load double, ptr %5, align 8
%11 = call i64 @__isnan(double noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9, %2
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = fmul double %14, %15
store double %16, ptr %3, align 8
br label %63
17: ; preds = %9
%18 = load double, ptr %5, align 8
%19 = call i1 @llvm.is.fpclass.f64(double %18, i32 504)
br i1 %19, label %32, label %20
20: ; preds = %17
%21 = load double, ptr %5, align 8
%22 = fcmp ogt double %21, 0.000000e+00
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load double, ptr %4, align 8
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
store double %26, ptr %3, align 8
br label %63
27: ; preds = %20
%28 = load double, ptr %4, align 8
%29 = load double, ptr %5, align 8
%30 = fneg double %29
%31 = fdiv double %28, %30
store double %31, ptr %3, align 8
br label %63
32: ; preds = %17
%33 = load double, ptr %5, align 8
%34 = call double @__rint(double noundef %33)
%35 = load double, ptr %5, align 8
%36 = fcmp une double %34, %35
br i1 %36, label %37, label %45
37: ; preds = %32
%38 = load double, ptr %5, align 8
%39 = load double, ptr %5, align 8
%40 = fsub double %38, %39
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = fsub double %41, %42
%44 = fdiv double %40, %43
store double %44, ptr %3, align 8
br label %63
45: ; preds = %32
%46 = load double, ptr %5, align 8
%47 = fcmp ogt double %46, 6.500000e+04
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load double, ptr %4, align 8
%50 = call double @jumpto__scalbn(double noundef %49, i32 noundef 65000)
store double %50, ptr %3, align 8
br label %63
51: ; preds = %45
%52 = load double, ptr %5, align 8
%53 = fneg double %52
%54 = fcmp ogt double %53, 6.500000e+04
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = load double, ptr %4, align 8
%57 = call double @jumpto__scalbn(double noundef %56, i32 noundef -65000)
store double %57, ptr %3, align 8
br label %63
58: ; preds = %51
%59 = load double, ptr %4, align 8
%60 = load double, ptr %5, align 8
%61 = fptosi double %60 to i32
%62 = call double @jumpto__scalbn(double noundef %59, i32 noundef %61)
store double %62, ptr %3, align 8
br label %63
63: ; preds = %58, %55, %48, %37, %27, %23, %13
%64 = load double, ptr %3, align 8
ret double %64
}
declare i64 @__isnan(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f64(double, i32 immarg) #2
declare double @__rint(double noundef) #1
declare double @jumpto__scalbn(double 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 = { 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/tmp8qdx2wcz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__ieee754_scalb(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load double, ptr %4, align 8
%7 = call i64 @__isnan(double noundef %6)
%8 = icmp ne i64 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %2
%10 = load double, ptr %5, align 8
%11 = call i64 @__isnan(double noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %9, %2
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = fmul double %14, %15
store double %16, ptr %3, align 8
br label %63
17: ; preds = %9
%18 = load double, ptr %5, align 8
%19 = call i1 @llvm.is.fpclass.f64(double %18, i32 504)
br i1 %19, label %32, label %20
20: ; preds = %17
%21 = load double, ptr %5, align 8
%22 = fcmp ogt double %21, 0.000000e+00
br i1 %22, label %23, label %27
23: ; preds = %20
%24 = load double, ptr %4, align 8
%25 = load double, ptr %5, align 8
%26 = fmul double %24, %25
store double %26, ptr %3, align 8
br label %63
27: ; preds = %20
%28 = load double, ptr %4, align 8
%29 = load double, ptr %5, align 8
%30 = fneg double %29
%31 = fdiv double %28, %30
store double %31, ptr %3, align 8
br label %63
32: ; preds = %17
%33 = load double, ptr %5, align 8
%34 = call double @__rint(double noundef %33)
%35 = load double, ptr %5, align 8
%36 = fcmp une double %34, %35
br i1 %36, label %37, label %45
37: ; preds = %32
%38 = load double, ptr %5, align 8
%39 = load double, ptr %5, align 8
%40 = fsub double %38, %39
%41 = load double, ptr %5, align 8
%42 = load double, ptr %5, align 8
%43 = fsub double %41, %42
%44 = fdiv double %40, %43
store double %44, ptr %3, align 8
br label %63
45: ; preds = %32
%46 = load double, ptr %5, align 8
%47 = fcmp ogt double %46, 6.500000e+04
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = load double, ptr %4, align 8
%50 = call double @jumpto__scalbn(double noundef %49, i32 noundef 65000)
store double %50, ptr %3, align 8
br label %63
51: ; preds = %45
%52 = load double, ptr %5, align 8
%53 = fneg double %52
%54 = fcmp ogt double %53, 6.500000e+04
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = load double, ptr %4, align 8
%57 = call double @jumpto__scalbn(double noundef %56, i32 noundef -65000)
store double %57, ptr %3, align 8
br label %63
58: ; preds = %51
%59 = load double, ptr %4, align 8
%60 = load double, ptr %5, align 8
%61 = fptosi double %60 to i32
%62 = call double @jumpto__scalbn(double noundef %59, i32 noundef %61)
store double %62, ptr %3, align 8
br label %63
63: ; preds = %58, %55, %48, %37, %27, %23, %13
%64 = load double, ptr %3, align 8
ret double %64
}
declare i64 @__isnan(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f64(double, i32 immarg) #2
declare double @__rint(double noundef) #1
declare double @jumpto__scalbn(double 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 = { 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/tmpxzxz2hhd.c'
source_filename = "/tmp/tmpxzxz2hhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSTATPROG = dso_local global i32 0, align 4
@RSTATVERS_TIME = dso_local global i32 0, align 4
@RSTATPROC_STATS = dso_local global i32 0, align 4
@xdr_void = dso_local global i64 0, align 8
@xdr_statstime = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rstat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @RSTATPROG, align 4
%7 = load i32, ptr @RSTATVERS_TIME, align 4
%8 = load i32, ptr @RSTATPROC_STATS, align 4
%9 = load i64, ptr @xdr_void, align 8
%10 = trunc i64 %9 to i32
%11 = load i64, ptr @xdr_statstime, align 8
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %4, align 8
%14 = call i32 @callrpc(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %10, ptr noundef null, i32 noundef %12, ptr noundef %13)
ret i32 %14
}
declare i32 @callrpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpxzxz2hhd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSTATPROG = dso_local global i32 0, align 4
@RSTATVERS_TIME = dso_local global i32 0, align 4
@RSTATPROC_STATS = dso_local global i32 0, align 4
@xdr_void = dso_local global i64 0, align 8
@xdr_statstime = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rstat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @RSTATPROG, align 4
%7 = load i32, ptr @RSTATVERS_TIME, align 4
%8 = load i32, ptr @RSTATPROC_STATS, align 4
%9 = load i64, ptr @xdr_void, align 8
%10 = trunc i64 %9 to i32
%11 = load i64, ptr @xdr_statstime, align 8
%12 = trunc i64 %11 to i32
%13 = load ptr, ptr %4, align 8
%14 = call i32 @callrpc(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %10, ptr noundef null, i32 noundef %12, ptr noundef %13)
ret i32 %14
}
declare i32 @callrpc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmpidydrqmw.c'
source_filename = "/tmp/tmpidydrqmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reference_new(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2048 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = call ptr @getenv(ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @snprintf(ptr noundef %11, i32 noundef 2048, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %30, label %19
19: ; preds = %1
%20 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.3)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %19
store i32 0, ptr %2, align 4
br label %49
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.4)
%28 = load ptr, ptr %4, align 8
%29 = call i32 @fclose(ptr noundef %28)
store i32 1, ptr %2, align 4
br label %49
30: ; preds = %1
%31 = load ptr, ptr %4, align 8
%32 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %7)
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3)
store ptr %38, ptr %4, align 8
%39 = load ptr, ptr %4, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %47
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.6, i32 noundef %43)
%45 = load ptr, ptr %4, align 8
%46 = call i32 @fclose(ptr noundef %45)
br label %47
47: ; preds = %41, %30
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %2, align 4
br label %49
49: ; preds = %47, %25, %24
%50 = load i32, ptr %2, align 4
ret i32 %50
}
declare i32 @assert(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpidydrqmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"1\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @reference_new(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [2048 x i8], align 16
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = call ptr @getenv(ptr noundef @.str)
store ptr %10, ptr %5, align 8
%11 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %3, align 8
%14 = call i32 @snprintf(ptr noundef %11, i32 noundef 2048, ptr noundef @.str.1, ptr noundef %12, ptr noundef %13)
%15 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.2)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %30, label %19
19: ; preds = %1
%20 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%21 = call ptr @fopen(ptr noundef %20, ptr noundef @.str.3)
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %25, label %24
24: ; preds = %19
store i32 0, ptr %2, align 4
br label %49
25: ; preds = %19
%26 = load ptr, ptr %4, align 8
%27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef @.str.4)
%28 = load ptr, ptr %4, align 8
%29 = call i32 @fclose(ptr noundef %28)
store i32 1, ptr %2, align 4
br label %49
30: ; preds = %1
%31 = load ptr, ptr %4, align 8
%32 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str.5, ptr noundef %7)
%33 = load ptr, ptr %4, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0
%38 = call ptr @fopen(ptr noundef %37, ptr noundef @.str.3)
store ptr %38, ptr %4, align 8
%39 = load ptr, ptr %4, align 8
%40 = icmp ne ptr %39, null
br i1 %40, label %41, label %47
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str.6, i32 noundef %43)
%45 = load ptr, ptr %4, align 8
%46 = call i32 @fclose(ptr noundef %45)
br label %47
47: ; preds = %41, %30
%48 = load i32, ptr %7, align 4
store i32 %48, ptr %2, align 4
br label %49
49: ; preds = %47, %25, %24
%50 = load i32, ptr %2, align 4
ret i32 %50
}
declare i32 @assert(ptr noundef) #1
declare ptr @getenv(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi2d5sxqe.c'
source_filename = "/tmp/tmpi2d5sxqe.c"
target datalayout = "e-m:e-p270: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/tmpi2d5sxqe.c"
target datalayout = "e-m:e-p270: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/tmpbzjfjgqg.c'
source_filename = "/tmp/tmpbzjfjgqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 }
@OSD_FillBlock = dso_local global i32 0, align 4
@OSD_SEND_CMD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @OSDFillBlock(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.TYPE_3__, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr @OSD_FillBlock, align 4
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 5
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %8, align 4
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %9, align 4
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = load i32, ptr %10, align 4
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %11, align 4
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 3
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %12, align 4
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 4
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr @OSD_SEND_CMD, align 4
%28 = call i32 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %13)
ret i32 %28
}
declare i32 @ioctl(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/tmpbzjfjgqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 }
@OSD_FillBlock = dso_local global i32 0, align 4
@OSD_SEND_CMD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @OSDFillBlock(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca %struct.TYPE_3__, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr @OSD_FillBlock, align 4
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 5
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %8, align 4
%17 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 0
store i32 %16, ptr %17, align 4
%18 = load i32, ptr %9, align 4
%19 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = load i32, ptr %10, align 4
%21 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr %11, align 4
%23 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 3
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %12, align 4
%25 = getelementptr inbounds %struct.TYPE_3__, ptr %13, i32 0, i32 4
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr @OSD_SEND_CMD, align 4
%28 = call i32 @ioctl(i32 noundef %26, i32 noundef %27, ptr noundef %13)
ret i32 %28
}
declare i32 @ioctl(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/tmpdst9pp6u.c'
source_filename = "/tmp/tmpdst9pp6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = call i32 (...) @__infer_nondet_int()
store i32 %10, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @__get_array_size(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @__get_array_size(ptr noundef %13)
store i32 %14, ptr %8, align 4
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = icmp ugt i64 %15, %17
br i1 %18, label %19, label %21
19: ; preds = %3
br label %20
20: ; preds = %19, %20
br label %20
21: ; preds = %3
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %6, align 8
%25 = icmp ugt i64 %23, %24
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26, %21
br label %30
30: ; preds = %29, %30
br label %30
31: ; preds = %26
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
ret i64 %33
}
declare i32 @__infer_nondet_int(...) #1
declare i32 @__get_array_size(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/tmpdst9pp6u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%10 = call i32 (...) @__infer_nondet_int()
store i32 %10, ptr %9, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @__get_array_size(ptr noundef %11)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @__get_array_size(ptr noundef %13)
store i32 %14, ptr %8, align 4
%15 = load i64, ptr %6, align 8
%16 = load i32, ptr %8, align 4
%17 = sext i32 %16 to i64
%18 = icmp ugt i64 %15, %17
br i1 %18, label %19, label %21
19: ; preds = %3
br label %20
20: ; preds = %20, %19
br label %20
21: ; preds = %3
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %6, align 8
%25 = icmp ugt i64 %23, %24
br i1 %25, label %29, label %26
26: ; preds = %21
%27 = load i32, ptr %9, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26, %21
br label %30
30: ; preds = %30, %29
br label %30
31: ; preds = %26
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
ret i64 %33
}
declare i32 @__infer_nondet_int(...) #1
declare i32 @__get_array_size(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/tmpq2tc3r4h.c'
source_filename = "/tmp/tmpq2tc3r4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"bad domain url: \22%s\22, nr %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_domains_subname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = call i32 @find_domain(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %3
store i32 0, ptr %4, align 4
br label %72
18: ; preds = %3
%19 = load ptr, ptr %6, align 8
%20 = call i32 @split(ptr noundef %19, ptr noundef @.str, ptr noundef %8)
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 0, ptr %22, align 1
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @isSecondLevelDomain(ptr noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %18
store i32 3, ptr %11, align 4
br label %33
32: ; preds = %18
store i32 2, ptr %11, align 4
br label %33
33: ; preds = %32, %31
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38, i32 noundef %39)
store i32 0, ptr %4, align 4
br label %72
41: ; preds = %33
store i32 0, ptr %10, align 4
br label %42
42: ; preds = %60, %41
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %11, align 4
%46 = sub nsw i32 %44, %45
%47 = icmp slt i32 %43, %46
br i1 %47, label %48, label %63
48: ; preds = %42
%49 = load ptr, ptr %6, align 8
%50 = load ptr, ptr %8, align 8
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %7, align 4
%56 = call i32 @strlcat(ptr noundef %49, ptr noundef %54, i32 noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = load i32, ptr %7, align 4
%59 = call i32 @strlcat(ptr noundef %57, ptr noundef @.str, i32 noundef %58)
br label %60
60: ; preds = %48
%61 = load i32, ptr %10, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %10, align 4
br label %42, !llvm.loop !6
63: ; preds = %42
%64 = load ptr, ptr %6, align 8
%65 = load ptr, ptr %6, align 8
%66 = call i32 @strlen(ptr noundef %65)
%67 = sub nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %64, i64 %68
store i8 0, ptr %69, align 1
%70 = load ptr, ptr %8, align 8
%71 = call i32 @FreeSplitList(ptr noundef %70)
store i32 1, ptr %4, align 4
br label %72
72: ; preds = %63, %37, %17
%73 = load i32, ptr %4, align 4
ret i32 %73
}
declare i32 @find_domain(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @split(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @isSecondLevelDomain(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @FreeSplitList(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/tmpq2tc3r4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"bad domain url: \22%s\22, nr %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @find_domains_subname(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%12 = load ptr, ptr %5, align 8
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %7, align 4
%15 = call i32 @find_domain(ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = icmp ne i32 %15, 0
br i1 %16, label %18, label %17
17: ; preds = %3
store i32 0, ptr %4, align 4
br label %76
18: ; preds = %3
%19 = load ptr, ptr %6, align 8
%20 = call i32 @split(ptr noundef %19, ptr noundef @.str, ptr noundef %8)
store i32 %20, ptr %9, align 4
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 0, ptr %22, align 1
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @isSecondLevelDomain(ptr noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %18
store i32 3, ptr %11, align 4
br label %33
32: ; preds = %18
store i32 2, ptr %11, align 4
br label %33
33: ; preds = %32, %31
%34 = load i32, ptr %9, align 4
%35 = load i32, ptr %11, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %41
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = call i32 @printf(ptr noundef @.str.1, ptr noundef %38, i32 noundef %39)
store i32 0, ptr %4, align 4
br label %76
41: ; preds = %33
store i32 0, ptr %10, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %11, align 4
%45 = sub nsw i32 %43, %44
%46 = icmp slt i32 %42, %45
br i1 %46, label %.lr.ph, label %67
.lr.ph: ; preds = %41
br label %47
47: ; preds = %.lr.ph, %59
%48 = load ptr, ptr %6, align 8
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds ptr, ptr %49, i64 %51
%53 = load ptr, ptr %52, align 8
%54 = load i32, ptr %7, align 4
%55 = call i32 @strlcat(ptr noundef %48, ptr noundef %53, i32 noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %7, align 4
%58 = call i32 @strlcat(ptr noundef %56, ptr noundef @.str, i32 noundef %57)
br label %59
59: ; preds = %47
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %11, align 4
%65 = sub nsw i32 %63, %64
%66 = icmp slt i32 %62, %65
br i1 %66, label %47, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %67
67: ; preds = %._crit_edge, %41
%68 = load ptr, ptr %6, align 8
%69 = load ptr, ptr %6, align 8
%70 = call i32 @strlen(ptr noundef %69)
%71 = sub nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %68, i64 %72
store i8 0, ptr %73, align 1
%74 = load ptr, ptr %8, align 8
%75 = call i32 @FreeSplitList(ptr noundef %74)
store i32 1, ptr %4, align 4
br label %76
76: ; preds = %67, %37, %17
%77 = load i32, ptr %4, align 4
ret i32 %77
}
declare i32 @find_domain(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @split(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @isSecondLevelDomain(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @FreeSplitList(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/tmp9mskwsbn.c'
source_filename = "/tmp/tmp9mskwsbn.c"
target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [18 x i8] c"War and Peace.txt\00", align 16
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"File not found!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [18 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.name, i64 18, i1 false)
%4 = getelementptr inbounds [18 x i8], ptr %3, i64 0, i64 0
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @Execute(ptr noundef %8, i32 noundef 100000000)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fclose(ptr noundef %10)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %7
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 ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @Execute(ptr noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9mskwsbn.c"
target datalayout = "e-m:e-p270: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.name = private unnamed_addr constant [18 x i8] c"War and Peace.txt\00", align 16
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"File not found!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [18 x i8], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.name, i64 18, i1 false)
%4 = getelementptr inbounds [18 x i8], ptr %3, i64 0, i64 0
%5 = call ptr @fopen(ptr noundef %4, ptr noundef @.str)
store ptr %5, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %12
7: ; preds = %0
%8 = load ptr, ptr %2, align 8
%9 = call i32 @Execute(ptr noundef %8, i32 noundef 100000000)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fclose(ptr noundef %10)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %7
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 ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @Execute(ptr noundef, i32 noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpluh64day.c'
source_filename = "/tmp/tmpluh64day.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"Memory allocation error, terminating\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @callocate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef %4, i32 noundef 1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpluh64day.c"
target datalayout = "e-m:e-p270: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 [38 x i8] c"Memory allocation error, terminating\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @callocate(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @calloc(i32 noundef %4, i32 noundef 1)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %1
%14 = load ptr, ptr %3, align 8
ret ptr %14
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3xy05fnc.c'
source_filename = "/tmp/tmp3xy05fnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_standard_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 301, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xy05fnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @syspool_standard_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = load ptr, ptr %5, align 8
%9 = call i32 @_ada_use_c2phc4c(i32 noundef 301, ptr noundef %6, ptr noundef %7, ptr noundef %8, i32 noundef 0)
store i32 %9, ptr %4, align 4
%10 = load i32, ptr %4, align 4
ret i32 %10
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2k08705s.c'
source_filename = "/tmp/tmp2k08705s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @defaults_add(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_defaults_set(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @_defaults_set(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/tmp2k08705s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @defaults_add(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @_defaults_set(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @_defaults_set(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/tmpy7z3678w.c'
source_filename = "/tmp/tmpy7z3678w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addr_split_iface(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 @nepim_str_split_at(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @nepim_str_split_at(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/tmpy7z3678w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addr_split_iface(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 @nepim_str_split_at(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @nepim_str_split_at(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/tmppxmj7qwe.c'
source_filename = "/tmp/tmppxmj7qwe.c"
target datalayout = "e-m:e-p270: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/tmppxmj7qwe.c"
target datalayout = "e-m:e-p270: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/tmpiaxed8kj.c'
source_filename = "/tmp/tmpiaxed8kj.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"_XVIDtoVisual called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_XVIDtoVisual() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiaxed8kj.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"_XVIDtoVisual called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_XVIDtoVisual() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi5vctnv5.c'
source_filename = "/tmp/tmpi5vctnv5.c"
target datalayout = "e-m:e-p270: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.whitespace = private unnamed_addr constant [20 x i8] c" lots of space \00", align 16
@__const.main.cool_nick = private unnamed_addr constant [18 x i8] c"xxxxTheDude99xxxx\00", align 16
@.str = private unnamed_addr constant [26 x i8] c"Original: %s\0AStriped: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Striped: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [18 x i8], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.whitespace, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.cool_nick, i64 18, i1 false)
store ptr null, ptr %4, align 8
%5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%6 = call ptr @pl_strip(ptr noundef %5, ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %0
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %9, %0
%16 = getelementptr inbounds [18 x i8], ptr %3, i64 0, i64 0
%17 = call ptr @pl_strip(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @free(ptr noundef %23)
br label %25
25: ; preds = %20, %15
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 ptr @pl_strip(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi5vctnv5.c"
target datalayout = "e-m:e-p270: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.whitespace = private unnamed_addr constant [20 x i8] c" lots of space \00", align 16
@__const.main.cool_nick = private unnamed_addr constant [18 x i8] c"xxxxTheDude99xxxx\00", align 16
@.str = private unnamed_addr constant [26 x i8] c"Original: %s\0AStriped: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Striped: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
%3 = alloca [18 x i8], align 16
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.whitespace, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.cool_nick, i64 18, i1 false)
store ptr null, ptr %4, align 8
%5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%6 = call ptr @pl_strip(ptr noundef %5, ptr noundef null)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %15
9: ; preds = %0
%10 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%11 = load ptr, ptr %4, align 8
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %4, align 8
%14 = call i32 @free(ptr noundef %13)
br label %15
15: ; preds = %9, %0
%16 = getelementptr inbounds [18 x i8], ptr %3, i64 0, i64 0
%17 = call ptr @pl_strip(ptr noundef %16, ptr noundef @.str.1)
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %25
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = call i32 @free(ptr noundef %23)
br label %25
25: ; preds = %20, %15
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 ptr @pl_strip(ptr noundef, ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare i32 @free(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2pgs73hg.c'
source_filename = "/tmp/tmp2pgs73hg.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MapIPv4ToIPv6(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%7 = load i32, ptr %3, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.in6_addr, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 5
store i32 65535, ptr %12, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.in6_addr, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 12
%17 = call i32 @memcpy(ptr noundef %16, ptr noundef %3, i32 noundef 4)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(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/tmp2pgs73hg.c"
target datalayout = "e-m:e-p270: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.in6_addr = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @MapIPv4ToIPv6(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 8)
%7 = load i32, ptr %3, align 4
%8 = call i32 @htonl(i32 noundef %7)
store i32 %8, ptr %3, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.in6_addr, ptr %9, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = getelementptr inbounds i32, ptr %11, i64 5
store i32 65535, ptr %12, align 4
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.in6_addr, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 12
%17 = call i32 @memcpy(ptr noundef %16, ptr noundef %3, i32 noundef 4)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htonl(i32 noundef) #1
declare i32 @memcpy(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/tmpvt70vr9h.c'
source_filename = "/tmp/tmpvt70vr9h.c"
target datalayout = "e-m:e-p270: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/tmpvt70vr9h.c"
target datalayout = "e-m:e-p270: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/tmpfb14hgyd.c'
source_filename = "/tmp/tmpfb14hgyd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cpuDigamma.Kncoe = internal global [29 x x86_fp80] [x86_fp80 0xK3FFD9BF37B1170E7E799, x86_fp80 0xK3FFEB86ACF13B677811D, x86_fp80 0xKBFFBFF13DB520823DA05, x86_fp80 0xK3FF9E37CC5E22F7E1978, x86_fp80 0xKBFF7DE0B3276302471BD, x86_fp80 0xK3FF5E1F3A9E974F98EE9, x86_fp80 0xKBFF3EAF94C241ADCD977, x86_fp80 0xK3FF1F754BAE158B30031, x86_fp80 0xKBFF083169D0B36CBC927, x86_fp80 0xK3FEE8B8AF5AF318058CA, x86_fp80 0xKBFEC94EC9517AF058C77, x86_fp80 0xK3FEA9F30351771BFE097, x86_fp80 0xKBFE8AA5405E9650808FE, x86_fp80 0xK3FE6B65C6373CB66CE8A, x86_fp80 0xKBFE4C351F5FA02EA3345, x86_fp80 0xK3FE2D14098B9359F9676, x86_fp80 0xKBFE0E036B28E68046BEA, x86_fp80 0xK3FDEF044D374C8AB3C88, x86_fp80 0xKBFDD80BEBEA013B2BD8B, x86_fp80 0xK3FDB89FA843A98111EBF, x86_fp80 0xKBFD993E0CE0426FEFC8F, x86_fp80 0xK3FD79E7D99217B7D4C0C, x86_fp80 0xKBFD5A9DDD39523A8DC0A, x86_fp80 0xK3FD3B60F6709AFA6BF35, x86_fp80 0xKBFD1C321467541C5FEB2, x86_fp80 0xK3FCFD1237E1FE890DF69, x86_fp80 0xKBFCDE02745C575FD0332, x86_fp80 0xK3FCBF03F14AB9E6882AF, x86_fp80 0xKBFCA80BF5BCDAC2E6FEF], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @cpuDigamma(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
%9 = load x86_fp80, ptr %3, align 16
%10 = fcmp olt x86_fp80 %9, 0xK00000000000000000000
br i1 %10, label %11, label %21
11: ; preds = %1
%12 = load x86_fp80, ptr %3, align 16
%13 = fsub x86_fp80 0xK3FFF8000000000000000, %12
%14 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %13)
%15 = load x86_fp80, ptr %3, align 16
%16 = fsub x86_fp80 0xK3FFF8000000000000000, %15
%17 = fmul x86_fp80 0xK4000C90FDAA22168C235, %16
%18 = call x86_fp80 @tanl(x86_fp80 noundef %17) #3
%19 = fdiv x86_fp80 0xK4000C90FDAA22168C235, %18
%20 = fadd x86_fp80 %14, %19
store x86_fp80 %20, ptr %2, align 16
br label %90
21: ; preds = %1
%22 = load x86_fp80, ptr %3, align 16
%23 = fcmp olt x86_fp80 %22, 0xK3FFF8000000000000000
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load x86_fp80, ptr %3, align 16
%26 = fadd x86_fp80 0xK3FFF8000000000000000, %25
%27 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %26)
%28 = load x86_fp80, ptr %3, align 16
%29 = fdiv x86_fp80 0xK3FFF8000000000000000, %28
%30 = fsub x86_fp80 %27, %29
store x86_fp80 %30, ptr %2, align 16
br label %90
31: ; preds = %21
%32 = load x86_fp80, ptr %3, align 16
%33 = fcmp oeq x86_fp80 %32, 0xK3FFF8000000000000000
br i1 %33, label %34, label %35
34: ; preds = %31
store x86_fp80 0xKBFFE93C467E37DB0C7A5, ptr %2, align 16
br label %90
35: ; preds = %31
%36 = load x86_fp80, ptr %3, align 16
%37 = fcmp oeq x86_fp80 %36, 0xK40008000000000000000
br i1 %37, label %38, label %39
38: ; preds = %35
store x86_fp80 0xK3FFDD8773039049E70B6, ptr %2, align 16
br label %90
39: ; preds = %35
%40 = load x86_fp80, ptr %3, align 16
%41 = fcmp oeq x86_fp80 %40, 0xK4000C000000000000000
br i1 %41, label %42, label %43
42: ; preds = %39
store x86_fp80 0xK3FFEEC3B981C824F385B, ptr %2, align 16
br label %90
43: ; preds = %39
%44 = load x86_fp80, ptr %3, align 16
%45 = fcmp ogt x86_fp80 %44, 0xK4000C000000000000000
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = load x86_fp80, ptr %3, align 16
%48 = fdiv x86_fp80 %47, 0xK40008000000000000000
%49 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %48)
%50 = load x86_fp80, ptr %3, align 16
%51 = fadd x86_fp80 %50, 0xK3FFF8000000000000000
%52 = fdiv x86_fp80 %51, 0xK40008000000000000000
%53 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %52)
%54 = fadd x86_fp80 %49, %53
%55 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK3FFE8000000000000000, x86_fp80 %54, x86_fp80 0xK3FFEB17217F7D1CF79AC)
store x86_fp80 %55, ptr %2, align 16
br label %90
56: ; preds = %43
store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16
%57 = load x86_fp80, ptr %3, align 16
%58 = fsub x86_fp80 %57, 0xK40008000000000000000
store x86_fp80 %58, ptr %6, align 16
%59 = load x86_fp80, ptr @cpuDigamma.Kncoe, align 16
%60 = load x86_fp80, ptr getelementptr inbounds ([29 x x86_fp80], ptr @cpuDigamma.Kncoe, i64 0, i64 1), align 16
%61 = load x86_fp80, ptr %6, align 16
%62 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %60, x86_fp80 %61, x86_fp80 %59)
store x86_fp80 %62, ptr %7, align 16
%63 = load x86_fp80, ptr %3, align 16
%64 = fsub x86_fp80 %63, 0xK40008000000000000000
store x86_fp80 %64, ptr %3, align 16
store i32 2, ptr %4, align 4
br label %65
65: ; preds = %85, %56
%66 = load i32, ptr %4, align 4
%67 = zext i32 %66 to i64
%68 = icmp ult i64 %67, 29
br i1 %68, label %69, label %88
69: ; preds = %65
%70 = load x86_fp80, ptr %3, align 16
%71 = fmul x86_fp80 0xK40008000000000000000, %70
%72 = load x86_fp80, ptr %6, align 16
%73 = load x86_fp80, ptr %5, align 16
%74 = fneg x86_fp80 %73
%75 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %71, x86_fp80 %72, x86_fp80 %74)
store x86_fp80 %75, ptr %8, align 16
%76 = load i32, ptr %4, align 4
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds [29 x x86_fp80], ptr @cpuDigamma.Kncoe, i64 0, i64 %77
%79 = load x86_fp80, ptr %78, align 16
%80 = load x86_fp80, ptr %8, align 16
%81 = load x86_fp80, ptr %7, align 16
%82 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %79, x86_fp80 %80, x86_fp80 %81)
store x86_fp80 %82, ptr %7, align 16
%83 = load x86_fp80, ptr %6, align 16
store x86_fp80 %83, ptr %5, align 16
%84 = load x86_fp80, ptr %8, align 16
store x86_fp80 %84, ptr %6, align 16
br label %85
85: ; preds = %69
%86 = load i32, ptr %4, align 4
%87 = add i32 %86, 1
store i32 %87, ptr %4, align 4
br label %65, !llvm.loop !6
88: ; preds = %65
%89 = load x86_fp80, ptr %7, align 16
store x86_fp80 %89, ptr %2, align 16
br label %90
90: ; preds = %88, %46, %42, %38, %34, %24, %11
%91 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %91
}
; Function Attrs: nounwind
declare x86_fp80 @tanl(x86_fp80 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfb14hgyd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@cpuDigamma.Kncoe = internal global [29 x x86_fp80] [x86_fp80 0xK3FFD9BF37B1170E7E799, x86_fp80 0xK3FFEB86ACF13B677811D, x86_fp80 0xKBFFBFF13DB520823DA05, x86_fp80 0xK3FF9E37CC5E22F7E1978, x86_fp80 0xKBFF7DE0B3276302471BD, x86_fp80 0xK3FF5E1F3A9E974F98EE9, x86_fp80 0xKBFF3EAF94C241ADCD977, x86_fp80 0xK3FF1F754BAE158B30031, x86_fp80 0xKBFF083169D0B36CBC927, x86_fp80 0xK3FEE8B8AF5AF318058CA, x86_fp80 0xKBFEC94EC9517AF058C77, x86_fp80 0xK3FEA9F30351771BFE097, x86_fp80 0xKBFE8AA5405E9650808FE, x86_fp80 0xK3FE6B65C6373CB66CE8A, x86_fp80 0xKBFE4C351F5FA02EA3345, x86_fp80 0xK3FE2D14098B9359F9676, x86_fp80 0xKBFE0E036B28E68046BEA, x86_fp80 0xK3FDEF044D374C8AB3C88, x86_fp80 0xKBFDD80BEBEA013B2BD8B, x86_fp80 0xK3FDB89FA843A98111EBF, x86_fp80 0xKBFD993E0CE0426FEFC8F, x86_fp80 0xK3FD79E7D99217B7D4C0C, x86_fp80 0xKBFD5A9DDD39523A8DC0A, x86_fp80 0xK3FD3B60F6709AFA6BF35, x86_fp80 0xKBFD1C321467541C5FEB2, x86_fp80 0xK3FCFD1237E1FE890DF69, x86_fp80 0xKBFCDE02745C575FD0332, x86_fp80 0xK3FCBF03F14AB9E6882AF, x86_fp80 0xKBFCA80BF5BCDAC2E6FEF], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @cpuDigamma(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
%5 = alloca x86_fp80, align 16
%6 = alloca x86_fp80, align 16
%7 = alloca x86_fp80, align 16
%8 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %3, align 16
%9 = load x86_fp80, ptr %3, align 16
%10 = fcmp olt x86_fp80 %9, 0xK00000000000000000000
br i1 %10, label %11, label %21
11: ; preds = %1
%12 = load x86_fp80, ptr %3, align 16
%13 = fsub x86_fp80 0xK3FFF8000000000000000, %12
%14 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %13)
%15 = load x86_fp80, ptr %3, align 16
%16 = fsub x86_fp80 0xK3FFF8000000000000000, %15
%17 = fmul x86_fp80 0xK4000C90FDAA22168C235, %16
%18 = call x86_fp80 @tanl(x86_fp80 noundef %17) #3
%19 = fdiv x86_fp80 0xK4000C90FDAA22168C235, %18
%20 = fadd x86_fp80 %14, %19
store x86_fp80 %20, ptr %2, align 16
br label %92
21: ; preds = %1
%22 = load x86_fp80, ptr %3, align 16
%23 = fcmp olt x86_fp80 %22, 0xK3FFF8000000000000000
br i1 %23, label %24, label %31
24: ; preds = %21
%25 = load x86_fp80, ptr %3, align 16
%26 = fadd x86_fp80 0xK3FFF8000000000000000, %25
%27 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %26)
%28 = load x86_fp80, ptr %3, align 16
%29 = fdiv x86_fp80 0xK3FFF8000000000000000, %28
%30 = fsub x86_fp80 %27, %29
store x86_fp80 %30, ptr %2, align 16
br label %92
31: ; preds = %21
%32 = load x86_fp80, ptr %3, align 16
%33 = fcmp oeq x86_fp80 %32, 0xK3FFF8000000000000000
br i1 %33, label %34, label %35
34: ; preds = %31
store x86_fp80 0xKBFFE93C467E37DB0C7A5, ptr %2, align 16
br label %92
35: ; preds = %31
%36 = load x86_fp80, ptr %3, align 16
%37 = fcmp oeq x86_fp80 %36, 0xK40008000000000000000
br i1 %37, label %38, label %39
38: ; preds = %35
store x86_fp80 0xK3FFDD8773039049E70B6, ptr %2, align 16
br label %92
39: ; preds = %35
%40 = load x86_fp80, ptr %3, align 16
%41 = fcmp oeq x86_fp80 %40, 0xK4000C000000000000000
br i1 %41, label %42, label %43
42: ; preds = %39
store x86_fp80 0xK3FFEEC3B981C824F385B, ptr %2, align 16
br label %92
43: ; preds = %39
%44 = load x86_fp80, ptr %3, align 16
%45 = fcmp ogt x86_fp80 %44, 0xK4000C000000000000000
br i1 %45, label %46, label %56
46: ; preds = %43
%47 = load x86_fp80, ptr %3, align 16
%48 = fdiv x86_fp80 %47, 0xK40008000000000000000
%49 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %48)
%50 = load x86_fp80, ptr %3, align 16
%51 = fadd x86_fp80 %50, 0xK3FFF8000000000000000
%52 = fdiv x86_fp80 %51, 0xK40008000000000000000
%53 = call x86_fp80 @cpuDigamma(x86_fp80 noundef %52)
%54 = fadd x86_fp80 %49, %53
%55 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK3FFE8000000000000000, x86_fp80 %54, x86_fp80 0xK3FFEB17217F7D1CF79AC)
store x86_fp80 %55, ptr %2, align 16
br label %92
56: ; preds = %43
store x86_fp80 0xK3FFF8000000000000000, ptr %5, align 16
%57 = load x86_fp80, ptr %3, align 16
%58 = fsub x86_fp80 %57, 0xK40008000000000000000
store x86_fp80 %58, ptr %6, align 16
%59 = load x86_fp80, ptr @cpuDigamma.Kncoe, align 16
%60 = load x86_fp80, ptr getelementptr inbounds ([29 x x86_fp80], ptr @cpuDigamma.Kncoe, i64 0, i64 1), align 16
%61 = load x86_fp80, ptr %6, align 16
%62 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %60, x86_fp80 %61, x86_fp80 %59)
store x86_fp80 %62, ptr %7, align 16
%63 = load x86_fp80, ptr %3, align 16
%64 = fsub x86_fp80 %63, 0xK40008000000000000000
store x86_fp80 %64, ptr %3, align 16
store i32 2, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = zext i32 %65 to i64
%67 = icmp ult i64 %66, 29
br i1 %67, label %.lr.ph, label %90
.lr.ph: ; preds = %56
br label %68
68: ; preds = %.lr.ph, %84
%69 = load x86_fp80, ptr %3, align 16
%70 = fmul x86_fp80 0xK40008000000000000000, %69
%71 = load x86_fp80, ptr %6, align 16
%72 = load x86_fp80, ptr %5, align 16
%73 = fneg x86_fp80 %72
%74 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %70, x86_fp80 %71, x86_fp80 %73)
store x86_fp80 %74, ptr %8, align 16
%75 = load i32, ptr %4, align 4
%76 = zext i32 %75 to i64
%77 = getelementptr inbounds [29 x x86_fp80], ptr @cpuDigamma.Kncoe, i64 0, i64 %76
%78 = load x86_fp80, ptr %77, align 16
%79 = load x86_fp80, ptr %8, align 16
%80 = load x86_fp80, ptr %7, align 16
%81 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %78, x86_fp80 %79, x86_fp80 %80)
store x86_fp80 %81, ptr %7, align 16
%82 = load x86_fp80, ptr %6, align 16
store x86_fp80 %82, ptr %5, align 16
%83 = load x86_fp80, ptr %8, align 16
store x86_fp80 %83, ptr %6, align 16
br label %84
84: ; preds = %68
%85 = load i32, ptr %4, align 4
%86 = add i32 %85, 1
store i32 %86, ptr %4, align 4
%87 = load i32, ptr %4, align 4
%88 = zext i32 %87 to i64
%89 = icmp ult i64 %88, 29
br i1 %89, label %68, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %84
br label %90
90: ; preds = %._crit_edge, %56
%91 = load x86_fp80, ptr %7, align 16
store x86_fp80 %91, ptr %2, align 16
br label %92
92: ; preds = %90, %46, %42, %38, %34, %24, %11
%93 = load x86_fp80, ptr %2, align 16
ret x86_fp80 %93
}
; Function Attrs: nounwind
declare x86_fp80 @tanl(x86_fp80 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmvoi00ej.c'
source_filename = "/tmp/tmpmvoi00ej.c"
target datalayout = "e-m:e-p270: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/tmpmvoi00ej.c"
target datalayout = "e-m:e-p270: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/tmpte4msxnc.c'
source_filename = "/tmp/tmpte4msxnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multprec_Newton_Laurent_step(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 329, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpte4msxnc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multprec_Newton_Laurent_step(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %5, align 8
%8 = call i32 @_ada_use_c2phc4c(i32 noundef 329, ptr noundef %2, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptp1jl7zr.c'
source_filename = "/tmp/tmptp1jl7zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_get_utc_offset() #0 {
%1 = call i32 (...) @date_utc_offset()
ret i32 %1
}
declare i32 @date_utc_offset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptp1jl7zr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @date_get_utc_offset() #0 {
%1 = call i32 (...) @date_utc_offset()
ret i32 %1
}
declare i32 @date_utc_offset(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeg1u_ixa.c'
source_filename = "/tmp/tmpeg1u_ixa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"%d File %s should not exist\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [32 x i8] c"%d File %s expecting ENOENT %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_no_file(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, i32 noundef %13)
%15 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%16 = call i32 @lstat(ptr noundef %15, ptr noundef %8)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %3
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%22 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, ptr noundef %21)
store i32 -1, ptr %4, align 4
br label %34
23: ; preds = %3
%24 = load i64, ptr @errno, align 8
%25 = load i64, ptr @ENOENT, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = load i32, ptr %7, align 4
%29 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%30 = load i64, ptr @errno, align 8
%31 = call ptr @strerror(i64 noundef %30)
%32 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, ptr noundef %29, ptr noundef %31)
store i32 -1, ptr %4, align 4
br label %34
33: ; preds = %23
store i32 0, ptr %4, align 4
br label %34
34: ; preds = %33, %27, %19
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeg1u_ixa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [5 x i8] c"%s%d\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"%d File %s should not exist\0A\00", align 1
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
@.str.2 = private unnamed_addr constant [32 x i8] c"%d File %s expecting ENOENT %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_no_file(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca %struct.stat, align 4
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12, i32 noundef %13)
%15 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%16 = call i32 @lstat(ptr noundef %15, ptr noundef %8)
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = icmp sge i32 %17, 0
br i1 %18, label %19, label %23
19: ; preds = %3
%20 = load i32, ptr %7, align 4
%21 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%22 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %20, ptr noundef %21)
store i32 -1, ptr %4, align 4
br label %34
23: ; preds = %3
%24 = load i64, ptr @errno, align 8
%25 = load i64, ptr @ENOENT, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %33
27: ; preds = %23
%28 = load i32, ptr %7, align 4
%29 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%30 = load i64, ptr @errno, align 8
%31 = call ptr @strerror(i64 noundef %30)
%32 = call i32 (ptr, i32, ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28, ptr noundef %29, ptr noundef %31)
store i32 -1, ptr %4, align 4
br label %34
33: ; preds = %23
store i32 0, ptr %4, align 4
br label %34
34: ; preds = %33, %27, %19
%35 = load i32, ptr %4, align 4
ret i32 %35
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @lstat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, ...) #1
declare ptr @strerror(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm6yu55oq.c'
source_filename = "/tmp/tmpm6yu55oq.c"
target datalayout = "e-m:e-p270: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/tmpm6yu55oq.c"
target datalayout = "e-m:e-p270: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/tmpvcift63a.c'
source_filename = "/tmp/tmpvcift63a.c"
target datalayout = "e-m:e-p270: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/tmpvcift63a.c"
target datalayout = "e-m:e-p270: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/tmp96mmhr6m.c'
source_filename = "/tmp/tmp96mmhr6m.c"
target datalayout = "e-m:e-p270: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/tmp96mmhr6m.c"
target datalayout = "e-m:e-p270: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/tmpkt88mprc.c'
source_filename = "/tmp/tmpkt88mprc.c"
target datalayout = "e-m:e-p270: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/tmpkt88mprc.c"
target datalayout = "e-m:e-p270: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/tmpf6avxjrs.c'
source_filename = "/tmp/tmpf6avxjrs.c"
target datalayout = "e-m:e-p270: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/tmpf6avxjrs.c"
target datalayout = "e-m:e-p270: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/tmpmwjsaax5.c'
source_filename = "/tmp/tmpmwjsaax5.c"
target datalayout = "e-m:e-p270: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/tmpmwjsaax5.c"
target datalayout = "e-m:e-p270: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/tmpadrqf9wj.c'
source_filename = "/tmp/tmpadrqf9wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@STDIN_FILENO = 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/tmpadrqf9wj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@POLLIN = dso_local global i32 0, align 4
@STDIN_FILENO = 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/tmpobyhrjga.c'
source_filename = "/tmp/tmpobyhrjga.c"
target datalayout = "e-m:e-p270: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/tmpobyhrjga.c"
target datalayout = "e-m:e-p270: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/tmpm0bbq6wg.c'
source_filename = "/tmp/tmpm0bbq6wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gu_str2ptr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtoll(ptr noundef %6, ptr noundef %5, i32 noundef 16)
%8 = inttoptr i64 %7 to ptr
%9 = load ptr, ptr %4, align 8
store ptr %8, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare i64 @strtoll(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/tmpm0bbq6wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gu_str2ptr(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtoll(ptr noundef %6, ptr noundef %5, i32 noundef 16)
%8 = inttoptr i64 %7 to ptr
%9 = load ptr, ptr %4, align 8
store ptr %8, ptr %9, align 8
%10 = load ptr, ptr %5, align 8
ret ptr %10
}
declare i64 @strtoll(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/tmpez6y6pae.c'
source_filename = "/tmp/tmpez6y6pae.c"
target datalayout = "e-m:e-p270: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"r_close\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"r_close(): envia()\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"r_seek(): pollIn(): timeout\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"r_seek(): recibe()\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @r_close(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 [300 x i8], align 16
store i32 %0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 300, i1 false)
%7 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%11 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @envia(i32 noundef %9, ptr noundef %10, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %1
%16 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %50
17: ; preds = %1
%18 = load i32, ptr %3, align 4
%19 = call i32 @pollIn(i32 noundef %18, i32 noundef 3000)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %50
25: ; preds = %17
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %37, %25
%27 = load i32, ptr %4, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %38
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @recibe(i32 noundef %30, ptr noundef %31, i32 noundef 300)
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %50
37: ; preds = %29
br label %26, !llvm.loop !6
38: ; preds = %26
%39 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @sscanf(ptr noundef %39, ptr noundef @.str.4, ptr noundef %5)
%41 = load i32, ptr %5, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %47
43: ; preds = %38
%44 = load i32, ptr %5, align 4
store i32 %44, ptr @errno, align 4
%45 = load i32, ptr %3, align 4
%46 = call i32 @close(i32 noundef %45)
store i32 -1, ptr %2, align 4
br label %50
47: ; preds = %38
%48 = load i32, ptr %3, align 4
%49 = call i32 @close(i32 noundef %48)
store i32 0, ptr %2, align 4
br label %50
50: ; preds = %47, %43, %35, %22, %15
%51 = load i32, ptr %2, align 4
ret i32 %51
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #2
declare i32 @envia(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @pollIn(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
declare i32 @recibe(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpez6y6pae.c"
target datalayout = "e-m:e-p270: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"r_close\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"r_close(): envia()\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [29 x i8] c"r_seek(): pollIn(): timeout\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"r_seek(): recibe()\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @r_close(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 [300 x i8], align 16
store i32 %0, ptr %3, align 4
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 300, i1 false)
%7 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%8 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%11 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @envia(i32 noundef %9, ptr noundef %10, i32 noundef %12)
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %1
%16 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %51
17: ; preds = %1
%18 = load i32, ptr %3, align 4
%19 = call i32 @pollIn(i32 noundef %18, i32 noundef 3000)
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 1
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr @stderr, align 4
%24 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %51
25: ; preds = %17
store i32 0, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %26, 0
br i1 %27, label %.lr.ph, label %39
.lr.ph: ; preds = %25
br label %31
28: ; preds = %31
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %._crit_edge, !llvm.loop !6
31: ; preds = %.lr.ph, %28
%32 = load i32, ptr %3, align 4
%33 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%34 = call i32 @recibe(i32 noundef %32, ptr noundef %33, i32 noundef 300)
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %28
37: ; preds = %31
%38 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %2, align 4
br label %51
._crit_edge: ; preds = %28
br label %39
39: ; preds = %._crit_edge, %25
%40 = getelementptr inbounds [300 x i8], ptr %6, i64 0, i64 0
%41 = call i32 @sscanf(ptr noundef %40, ptr noundef @.str.4, ptr noundef %5)
%42 = load i32, ptr %5, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = load i32, ptr %5, align 4
store i32 %45, ptr @errno, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @close(i32 noundef %46)
store i32 -1, ptr %2, align 4
br label %51
48: ; preds = %39
%49 = load i32, ptr %3, align 4
%50 = call i32 @close(i32 noundef %49)
store i32 0, ptr %2, align 4
br label %51
51: ; preds = %48, %44, %37, %22, %15
%52 = load i32, ptr %2, align 4
ret i32 %52
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @sprintf(ptr noundef, ptr noundef) #2
declare i32 @envia(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @perror(ptr noundef) #2
declare i32 @pollIn(i32 noundef, i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef) #2
declare i32 @recibe(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @close(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: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb79df9nd.c'
source_filename = "/tmp/tmpb79df9nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makeArray(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (...) @randNormalize()
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %16, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 6
br i1 %7, label %8, label %19
8: ; preds = %5
%9 = call i32 (...) @randNormalize()
%10 = mul nsw i32 %9, 255
%11 = trunc i32 %10 to i8
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
store i8 %11, ptr %15, align 1
br label %16
16: ; preds = %8
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %5, !llvm.loop !6
19: ; preds = %5
ret void
}
declare i32 @randNormalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb79df9nd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @makeArray(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (...) @randNormalize()
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 6
br i1 %6, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %15
%8 = call i32 (...) @randNormalize()
%9 = mul nsw i32 %8, 255
%10 = trunc i32 %9 to i8
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 %10, ptr %14, align 1
br label %15
15: ; preds = %7
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 6
br i1 %19, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %1
ret void
}
declare i32 @randNormalize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpeiycpzbz.c'
source_filename = "/tmp/tmpeiycpzbz.c"
target datalayout = "e-m:e-p270: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
@a = external global [0 x i8], align 1
@__const.main.ai = private unnamed_addr constant [5 x i32] [i32 1, i32 4, i32 5, i32 6, i32 10], align 16
@__const.main.ac = private unnamed_addr constant [7 x i8] c"lixiang", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"&ai[0]=%p,&ai[1]=%p,&ai[2]=%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"&ac[0]=%p,&ac[1]=%p,&ac[2]=%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca [7 x i8], align 1
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @a)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.ai, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.ac, i64 7, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 1
%6 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 2
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 1
%10 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8, ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; 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) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeiycpzbz.c"
target datalayout = "e-m:e-p270: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
@a = external global [0 x i8], align 1
@__const.main.ai = private unnamed_addr constant [5 x i32] [i32 1, i32 4, i32 5, i32 6, i32 10], align 16
@__const.main.ac = private unnamed_addr constant [7 x i8] c"lixiang", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"&ai[0]=%p,&ai[1]=%p,&ai[2]=%p\0A\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"&ac[0]=%p,&ac[1]=%p,&ac[2]=%p\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [5 x i32], align 16
%2 = alloca [7 x i8], align 1
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @a)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.ai, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.ac, i64 7, i1 false)
%4 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0
%5 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 1
%6 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 2
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%8 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 0
%9 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 1
%10 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8, ptr noundef %9, ptr noundef %10)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; 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) #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 nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5xerhp8i.c'
source_filename = "/tmp/tmp5xerhp8i.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5xerhp8i.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_exit(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9nxip36k.c'
source_filename = "/tmp/tmp9nxip36k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c" CREDITS \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" %s %.2f, just another clone of snake\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ZNAKE\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c" Coded by %s\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Ulven101 <[email protected]>\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c" and distributed under GPL3 license\00", align 1
@.str.6 = private unnamed_addr constant [63 x i8] c" Feel free to contact me for infos about the code, suggestion \00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c" and bug reporting, please :D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @credits() #0 {
%1 = call i32 (...) @erase()
%2 = call i32 (...) @refresh()
%3 = call i32 @COLOR_PAIR(i32 noundef 3)
%4 = call i32 @attron(i32 noundef %3)
%5 = load i32, ptr @stdscr, align 4
%6 = load i32, ptr @ACS_VLINE, align 4
%7 = load i32, ptr @ACS_HLINE, align 4
%8 = call i32 @box(i32 noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 0, i32 noundef 4, ptr noundef @.str)
%10 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 3, i32 noundef 5, ptr noundef @.str.1, ptr noundef @.str.2, double noundef 1.180000e+00)
%11 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 5, i32 noundef 5, ptr noundef @.str.3, ptr noundef @.str.4)
%12 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 5, ptr noundef @.str.5)
%13 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 7, i32 noundef 5, ptr noundef @.str.6)
%14 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 8, i32 noundef 5, ptr noundef @.str.7)
%15 = call i32 (...) @refresh()
%16 = call i32 (...) @getchar()
%17 = call i32 (...) @erase()
%18 = call i32 (...) @refresh()
ret void
}
declare i32 @erase(...) #1
declare i32 @refresh(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @box(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9nxip36k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdscr = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c" CREDITS \00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c" %s %.2f, just another clone of snake\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"ZNAKE\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c" Coded by %s\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"Ulven101 <[email protected]>\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c" and distributed under GPL3 license\00", align 1
@.str.6 = private unnamed_addr constant [63 x i8] c" Feel free to contact me for infos about the code, suggestion \00", align 1
@.str.7 = private unnamed_addr constant [32 x i8] c" and bug reporting, please :D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @credits() #0 {
%1 = call i32 (...) @erase()
%2 = call i32 (...) @refresh()
%3 = call i32 @COLOR_PAIR(i32 noundef 3)
%4 = call i32 @attron(i32 noundef %3)
%5 = load i32, ptr @stdscr, align 4
%6 = load i32, ptr @ACS_VLINE, align 4
%7 = load i32, ptr @ACS_HLINE, align 4
%8 = call i32 @box(i32 noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 0, i32 noundef 4, ptr noundef @.str)
%10 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 3, i32 noundef 5, ptr noundef @.str.1, ptr noundef @.str.2, double noundef 1.180000e+00)
%11 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 5, i32 noundef 5, ptr noundef @.str.3, ptr noundef @.str.4)
%12 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 6, i32 noundef 5, ptr noundef @.str.5)
%13 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 7, i32 noundef 5, ptr noundef @.str.6)
%14 = call i32 (i32, i32, ptr, ...) @mvprintw(i32 noundef 8, i32 noundef 5, ptr noundef @.str.7)
%15 = call i32 (...) @refresh()
%16 = call i32 (...) @getchar()
%17 = call i32 (...) @erase()
%18 = call i32 (...) @refresh()
ret void
}
declare i32 @erase(...) #1
declare i32 @refresh(...) #1
declare i32 @attron(i32 noundef) #1
declare i32 @COLOR_PAIR(i32 noundef) #1
declare i32 @box(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @mvprintw(i32 noundef, i32 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"}
|
; ModuleID = '/tmp/tmp94oy7tsz.c'
source_filename = "/tmp/tmp94oy7tsz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Dynamic_Resolution_Shadow_Set_MMatrixFloat(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 @Dynamic_Resolution_Shadow_Set_MMatrix(ptr noundef %3)
ret void
}
declare i32 @Dynamic_Resolution_Shadow_Set_MMatrix(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/tmp94oy7tsz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Dynamic_Resolution_Shadow_Set_MMatrixFloat(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 @Dynamic_Resolution_Shadow_Set_MMatrix(ptr noundef %3)
ret void
}
declare i32 @Dynamic_Resolution_Shadow_Set_MMatrix(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.