llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpv9an2t14.c'
source_filename = "/tmp/tmpv9an2t14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_CW = dso_local global i32 0, align 4
@GL_CULL_FACE = dso_local global i32 0, align 4
@GL_BACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initdisplay() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 4.000000e-01, double noundef 0.000000e+00)
%2 = load i32, ptr @GL_CW, align 4
%3 = call i32 @glFrontFace(i32 noundef %2)
%4 = load i32, ptr @GL_CULL_FACE, align 4
%5 = call i32 @glEnable(i32 noundef %4)
%6 = load i32, ptr @GL_BACK, align 4
%7 = call i32 @glCullFace(i32 noundef %6)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glFrontFace(i32 noundef) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glCullFace(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/tmpv9an2t14.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_CW = dso_local global i32 0, align 4
@GL_CULL_FACE = dso_local global i32 0, align 4
@GL_BACK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @initdisplay() #0 {
%1 = call i32 @glClearColor(double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 4.000000e-01, double noundef 0.000000e+00)
%2 = load i32, ptr @GL_CW, align 4
%3 = call i32 @glFrontFace(i32 noundef %2)
%4 = load i32, ptr @GL_CULL_FACE, align 4
%5 = call i32 @glEnable(i32 noundef %4)
%6 = load i32, ptr @GL_BACK, align 4
%7 = call i32 @glCullFace(i32 noundef %6)
ret void
}
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glFrontFace(i32 noundef) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glCullFace(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/tmp5r1eob6l.c'
source_filename = "/tmp/tmp5r1eob6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Lex_wstrng_next(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @Cyc_Lex_wstrng_next_rec(ptr noundef %4, i32 noundef 4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @Cyc_Lex_wstrng_next_rec(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/tmp5r1eob6l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Cyc_Lex_wstrng_next(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @Cyc_Lex_wstrng_next_rec(ptr noundef %4, i32 noundef 4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @Cyc_Lex_wstrng_next_rec(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/tmpjva4_be_.c'
source_filename = "/tmp/tmpjva4_be_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_TYPE = dso_local global i32 0, align 4
@inkey = dso_local global i32 0, align 4
@EVP_PKEY_DSA = dso_local global i32 0, align 4
@EVP_PKEY_EC = dso_local global i32 0, align 4
@ASN1_TYPE_free = dso_local global i32 0, align 4
@ASN1_F_D2I_AUTOPRIVATEKEY = dso_local global i32 0, align 4
@ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE = dso_local global i32 0, align 4
@EVP_PKEY_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_AutoPrivateKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i32, ptr @ASN1_TYPE, align 4
%13 = call i32 @STACK_OF(i32 noundef %12)
%14 = load i32, ptr @inkey, align 4
%15 = mul nsw i32 %13, %14
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef null, ptr noundef %8, i64 noundef %18)
store i32 %19, ptr @inkey, align 4
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %8, align 8
%22 = load i32, ptr @inkey, align 4
%23 = call i32 @sk_ASN1_TYPE_num(i32 noundef %22)
%24 = icmp eq i32 %23, 6
br i1 %24, label %25, label %27
25: ; preds = %3
%26 = load i32, ptr @EVP_PKEY_DSA, align 4
store i32 %26, ptr %9, align 4
br label %71
27: ; preds = %3
%28 = load i32, ptr @inkey, align 4
%29 = call i32 @sk_ASN1_TYPE_num(i32 noundef %28)
%30 = icmp eq i32 %29, 4
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr @EVP_PKEY_EC, align 4
store i32 %32, ptr %9, align 4
br label %70
33: ; preds = %27
%34 = load i32, ptr @inkey, align 4
%35 = call i32 @sk_ASN1_TYPE_num(i32 noundef %34)
%36 = icmp eq i32 %35, 3
br i1 %36, label %37, label %67
37: ; preds = %33
%38 = load i64, ptr %7, align 8
%39 = call ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef null, ptr noundef %8, i64 noundef %38)
store ptr %39, ptr %10, align 8
%40 = load i32, ptr @inkey, align 4
%41 = load i32, ptr @ASN1_TYPE_free, align 4
%42 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %40, i32 noundef %41)
%43 = load ptr, ptr %10, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %49, label %45
45: ; preds = %37
%46 = load i32, ptr @ASN1_F_D2I_AUTOPRIVATEKEY, align 4
%47 = load i32, ptr @ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE, align 4
%48 = call i32 @ASN1err(i32 noundef %46, i32 noundef %47)
store ptr null, ptr %4, align 8
br label %80
49: ; preds = %37
%50 = load ptr, ptr %10, align 8
%51 = call ptr @EVP_PKCS82PKEY(ptr noundef %50)
store ptr %51, ptr %11, align 8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef %52)
%54 = load ptr, ptr %11, align 8
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %57
56: ; preds = %49
store ptr null, ptr %4, align 8
br label %80
57: ; preds = %49
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %6, align 8
store ptr %58, ptr %59, align 8
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %57
%63 = load ptr, ptr %11, align 8
%64 = load ptr, ptr %5, align 8
store ptr %63, ptr %64, align 8
br label %65
65: ; preds = %62, %57
%66 = load ptr, ptr %11, align 8
store ptr %66, ptr %4, align 8
br label %80
67: ; preds = %33
%68 = load i32, ptr @EVP_PKEY_RSA, align 4
store i32 %68, ptr %9, align 4
br label %69
69: ; preds = %67
br label %70
70: ; preds = %69, %31
br label %71
71: ; preds = %70, %25
%72 = load i32, ptr @inkey, align 4
%73 = load i32, ptr @ASN1_TYPE_free, align 4
%74 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %9, align 4
%76 = load ptr, ptr %5, align 8
%77 = load ptr, ptr %6, align 8
%78 = load i64, ptr %7, align 8
%79 = call ptr @d2i_PrivateKey(i32 noundef %75, ptr noundef %76, ptr noundef %77, i64 noundef %78)
store ptr %79, ptr %4, align 8
br label %80
80: ; preds = %71, %65, %56, %45
%81 = load ptr, ptr %4, align 8
ret ptr %81
}
declare i32 @STACK_OF(i32 noundef) #1
declare i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_num(i32 noundef) #1
declare ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_pop_free(i32 noundef, i32 noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare ptr @EVP_PKCS82PKEY(ptr noundef) #1
declare i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef) #1
declare ptr @d2i_PrivateKey(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjva4_be_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ASN1_TYPE = dso_local global i32 0, align 4
@inkey = dso_local global i32 0, align 4
@EVP_PKEY_DSA = dso_local global i32 0, align 4
@EVP_PKEY_EC = dso_local global i32 0, align 4
@ASN1_TYPE_free = dso_local global i32 0, align 4
@ASN1_F_D2I_AUTOPRIVATEKEY = dso_local global i32 0, align 4
@ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE = dso_local global i32 0, align 4
@EVP_PKEY_RSA = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @d2i_AutoPrivateKey(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load i32, ptr @ASN1_TYPE, align 4
%13 = call i32 @STACK_OF(i32 noundef %12)
%14 = load i32, ptr @inkey, align 4
%15 = mul nsw i32 %13, %14
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = call i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef null, ptr noundef %8, i64 noundef %18)
store i32 %19, ptr @inkey, align 4
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
store ptr %21, ptr %8, align 8
%22 = load i32, ptr @inkey, align 4
%23 = call i32 @sk_ASN1_TYPE_num(i32 noundef %22)
%24 = icmp eq i32 %23, 6
br i1 %24, label %25, label %27
25: ; preds = %3
%26 = load i32, ptr @EVP_PKEY_DSA, align 4
store i32 %26, ptr %9, align 4
br label %71
27: ; preds = %3
%28 = load i32, ptr @inkey, align 4
%29 = call i32 @sk_ASN1_TYPE_num(i32 noundef %28)
%30 = icmp eq i32 %29, 4
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr @EVP_PKEY_EC, align 4
store i32 %32, ptr %9, align 4
br label %70
33: ; preds = %27
%34 = load i32, ptr @inkey, align 4
%35 = call i32 @sk_ASN1_TYPE_num(i32 noundef %34)
%36 = icmp eq i32 %35, 3
br i1 %36, label %37, label %67
37: ; preds = %33
%38 = load i64, ptr %7, align 8
%39 = call ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef null, ptr noundef %8, i64 noundef %38)
store ptr %39, ptr %10, align 8
%40 = load i32, ptr @inkey, align 4
%41 = load i32, ptr @ASN1_TYPE_free, align 4
%42 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %40, i32 noundef %41)
%43 = load ptr, ptr %10, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %49, label %45
45: ; preds = %37
%46 = load i32, ptr @ASN1_F_D2I_AUTOPRIVATEKEY, align 4
%47 = load i32, ptr @ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE, align 4
%48 = call i32 @ASN1err(i32 noundef %46, i32 noundef %47)
store ptr null, ptr %4, align 8
br label %80
49: ; preds = %37
%50 = load ptr, ptr %10, align 8
%51 = call ptr @EVP_PKCS82PKEY(ptr noundef %50)
store ptr %51, ptr %11, align 8
%52 = load ptr, ptr %10, align 8
%53 = call i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef %52)
%54 = load ptr, ptr %11, align 8
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %57
56: ; preds = %49
store ptr null, ptr %4, align 8
br label %80
57: ; preds = %49
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %6, align 8
store ptr %58, ptr %59, align 8
%60 = load ptr, ptr %5, align 8
%61 = icmp ne ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %57
%63 = load ptr, ptr %11, align 8
%64 = load ptr, ptr %5, align 8
store ptr %63, ptr %64, align 8
br label %65
65: ; preds = %62, %57
%66 = load ptr, ptr %11, align 8
store ptr %66, ptr %4, align 8
br label %80
67: ; preds = %33
%68 = load i32, ptr @EVP_PKEY_RSA, align 4
store i32 %68, ptr %9, align 4
br label %69
69: ; preds = %67
br label %70
70: ; preds = %69, %31
br label %71
71: ; preds = %70, %25
%72 = load i32, ptr @inkey, align 4
%73 = load i32, ptr @ASN1_TYPE_free, align 4
%74 = call i32 @sk_ASN1_TYPE_pop_free(i32 noundef %72, i32 noundef %73)
%75 = load i32, ptr %9, align 4
%76 = load ptr, ptr %5, align 8
%77 = load ptr, ptr %6, align 8
%78 = load i64, ptr %7, align 8
%79 = call ptr @d2i_PrivateKey(i32 noundef %75, ptr noundef %76, ptr noundef %77, i64 noundef %78)
store ptr %79, ptr %4, align 8
br label %80
80: ; preds = %71, %65, %56, %45
%81 = load ptr, ptr %4, align 8
ret ptr %81
}
declare i32 @STACK_OF(i32 noundef) #1
declare i32 @d2i_ASN1_SEQUENCE_ANY(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_num(i32 noundef) #1
declare ptr @d2i_PKCS8_PRIV_KEY_INFO(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @sk_ASN1_TYPE_pop_free(i32 noundef, i32 noundef) #1
declare i32 @ASN1err(i32 noundef, i32 noundef) #1
declare ptr @EVP_PKCS82PKEY(ptr noundef) #1
declare i32 @PKCS8_PRIV_KEY_INFO_free(ptr noundef) #1
declare ptr @d2i_PrivateKey(i32 noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp19vt0ojh.c'
source_filename = "/tmp/tmp19vt0ojh.c"
target datalayout = "e-m:e-p270: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/tmp19vt0ojh.c"
target datalayout = "e-m:e-p270: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/tmpsrjfz0i7.c'
source_filename = "/tmp/tmpsrjfz0i7.c"
target datalayout = "e-m:e-p270: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/tmpsrjfz0i7.c"
target datalayout = "e-m:e-p270: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/tmpw6axkpal.c'
source_filename = "/tmp/tmpw6axkpal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jrand48(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 @_dorand48(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i16, ptr %5, i64 2
%7 = load i16, ptr %6, align 2
%8 = zext i16 %7 to i64
%9 = shl i64 %8, 16
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i16, ptr %10, i64 1
%12 = load i16, ptr %11, align 2
%13 = zext i16 %12 to i64
%14 = add nsw i64 %9, %13
ret i64 %14
}
declare i32 @_dorand48(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/tmpw6axkpal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jrand48(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 @_dorand48(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i16, ptr %5, i64 2
%7 = load i16, ptr %6, align 2
%8 = zext i16 %7 to i64
%9 = shl i64 %8, 16
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i16, ptr %10, i64 1
%12 = load i16, ptr %11, align 2
%13 = zext i16 %12 to i64
%14 = add nsw i64 %9, %13
ret i64 %14
}
declare i32 @_dorand48(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/tmp34ppsxu4.c'
source_filename = "/tmp/tmp34ppsxu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(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
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
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
br label %13
13: ; preds = %54, %3
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp sle i32 %14, %15
br i1 %16, label %17, label %55
17: ; preds = %13
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %18, %19
%21 = sdiv i32 %20, 2
store i32 %21, ptr %10, align 4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = icmp eq i32 %22, %27
br i1 %28, label %29, label %30
29: ; preds = %17
store i32 1, ptr %4, align 4
br label %56
30: ; preds = %17
%31 = load i32, ptr %5, align 4
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %10, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp slt i32 %31, %36
br i1 %37, label %38, label %41
38: ; preds = %30
%39 = load i32, ptr %10, align 4
%40 = sub nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %53
41: ; preds = %30
%42 = load i32, ptr %5, align 4
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = icmp sgt i32 %42, %47
br i1 %48, label %49, label %52
49: ; preds = %41
%50 = load i32, ptr %10, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %8, align 4
br label %52
52: ; preds = %49, %41
br label %53
53: ; preds = %52, %38
br label %54
54: ; preds = %53
br label %13, !llvm.loop !6
55: ; preds = %13
store i32 0, ptr %4, align 4
br label %56
56: ; preds = %55, %29
%57 = load i32, ptr %4, align 4
ret i32 %57
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp34ppsxu4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(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
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
%11 = load i32, ptr %7, align 4
%12 = sub nsw i32 %11, 1
store i32 %12, ptr %9, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %57
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %53
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %17, %18
%20 = sdiv i32 %19, 2
store i32 %20, ptr %10, align 4
%21 = load i32, ptr %5, align 4
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = icmp eq i32 %21, %26
br i1 %27, label %28, label %29
28: ; preds = %16
store i32 1, ptr %4, align 4
br label %58
29: ; preds = %16
%30 = load i32, ptr %5, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %10, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = icmp slt i32 %30, %35
br i1 %36, label %37, label %40
37: ; preds = %29
%38 = load i32, ptr %10, align 4
%39 = sub nsw i32 %38, 1
store i32 %39, ptr %9, align 4
br label %52
40: ; preds = %29
%41 = load i32, ptr %5, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp sgt i32 %41, %46
br i1 %47, label %48, label %51
48: ; preds = %40
%49 = load i32, ptr %10, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %8, align 4
br label %51
51: ; preds = %48, %40
br label %52
52: ; preds = %51, %37
br label %53
53: ; preds = %52
%54 = load i32, ptr %8, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp sle i32 %54, %55
br i1 %56, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %53
br label %57
57: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %58
58: ; preds = %57, %28
%59 = load i32, ptr %4, align 4
ret i32 %59
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphtlhg38s.c'
source_filename = "/tmp/tmphtlhg38s.c"
target datalayout = "e-m:e-p270: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/tmphtlhg38s.c"
target datalayout = "e-m:e-p270: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/tmpxaljwz7_.c'
source_filename = "/tmp/tmpxaljwz7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stampa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
br label %5
5: ; preds = %27, %1
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 11
br i1 %7, label %8, label %30
8: ; preds = %5
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %22, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 11
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [12 x i32], ptr %13, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [12 x i32], ptr %16, i64 0, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %20)
br label %22
22: ; preds = %12
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %5, !llvm.loop !8
30: ; preds = %5
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxaljwz7_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stampa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 11
br i1 %6, label %.lr.ph2, label %32
.lr.ph2: ; preds = %1
br label %7
7: ; preds = %.lr.ph2, %27
store i32 1, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 11
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [12 x i32], ptr %11, i64 %13
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x i32], ptr %14, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
br label %20
20: ; preds = %10
%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 = icmp slt i32 %23, 11
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %7
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
27: ; preds = %25
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = icmp slt i32 %30, 11
br i1 %31, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5p3fr621.c'
source_filename = "/tmp/tmp5p3fr621.c"
target datalayout = "e-m:e-p270: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/tmp5p3fr621.c"
target datalayout = "e-m:e-p270: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/tmpmu2418fh.c'
source_filename = "/tmp/tmpmu2418fh.c"
target datalayout = "e-m:e-p270: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"YES\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
@ENOENT = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"%s directory cannot open\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dir_create_check_p(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @stat(ptr noundef %6, ptr noundef %4)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISDIR(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str)
br label %38
16: ; preds = %9, %1
%17 = call i32 @printf(ptr noundef @.str.1)
%18 = load ptr, ptr %3, align 8
%19 = call ptr @opendir(ptr noundef %18)
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = call i32 @closedir(ptr noundef %23)
br label %37
25: ; preds = %16
%26 = load i64, ptr @ENOENT, align 8
%27 = load i64, ptr @errno, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load ptr, ptr %3, align 8
%31 = call i32 @mkdirp(ptr noundef %30)
br label %36
32: ; preds = %25
%33 = load i32, ptr @stderr, align 4
%34 = load ptr, ptr %3, align 8
%35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2, ptr noundef %34)
br label %36
36: ; preds = %32, %29
br label %37
37: ; preds = %36, %22
br label %38
38: ; preds = %37, %14
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @mkdirp(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmu2418fh.c"
target datalayout = "e-m:e-p270: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"YES\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"NO\0A\00", align 1
@ENOENT = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [26 x i8] c"%s directory cannot open\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dir_create_check_p(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @stat(ptr noundef %6, ptr noundef %4)
%8 = icmp eq i64 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISDIR(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str)
br label %38
16: ; preds = %9, %1
%17 = call i32 @printf(ptr noundef @.str.1)
%18 = load ptr, ptr %3, align 8
%19 = call ptr @opendir(ptr noundef %18)
store ptr %19, ptr %5, align 8
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %16
%23 = load ptr, ptr %5, align 8
%24 = call i32 @closedir(ptr noundef %23)
br label %37
25: ; preds = %16
%26 = load i64, ptr @ENOENT, align 8
%27 = load i64, ptr @errno, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %29, label %32
29: ; preds = %25
%30 = load ptr, ptr %3, align 8
%31 = call i32 @mkdirp(ptr noundef %30)
br label %36
32: ; preds = %25
%33 = load i32, ptr @stderr, align 4
%34 = load ptr, ptr %3, align 8
%35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.2, ptr noundef %34)
br label %36
36: ; preds = %32, %29
br label %37
37: ; preds = %36, %22
br label %38
38: ; preds = %37, %14
%39 = load i32, ptr %2, align 4
ret i32 %39
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare ptr @opendir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare i32 @mkdirp(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ehmk69_.c'
source_filename = "/tmp/tmp8ehmk69_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsxfrm(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load i64, ptr %6, align 8
ret i64 %11
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8ehmk69_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsxfrm(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @memcpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load i64, ptr %6, align 8
ret i64 %11
}
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwhqy6wtf.c'
source_filename = "/tmp/tmpwhqy6wtf.c"
target datalayout = "e-m:e-p270: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/tmpwhqy6wtf.c"
target datalayout = "e-m:e-p270: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/tmpx0eu7pil.c'
source_filename = "/tmp/tmpx0eu7pil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
store i32 %12, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %8, align 8
store i32 %16, ptr %17, align 4
store i32 0, ptr %9, align 4
br label %18
18: ; preds = %55, %4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %58
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %7, align 8
%29 = load i32, ptr %28, align 4
%30 = icmp slt i32 %27, %29
br i1 %30, label %31, label %38
31: ; preds = %22
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %7, align 8
store i32 %36, ptr %37, align 4
br label %38
38: ; preds = %31, %22
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %9, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %39, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %44, align 4
%46 = icmp sgt i32 %43, %45
br i1 %46, label %47, label %54
47: ; preds = %38
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load ptr, ptr %8, align 8
store i32 %52, ptr %53, align 4
br label %54
54: ; preds = %47, %38
br label %55
55: ; preds = %54
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
br label %18, !llvm.loop !6
58: ; preds = %18
%59 = load ptr, ptr %8, align 8
%60 = load i32, ptr %59, align 4
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 %60, %62
%64 = call i32 @printf(ptr noundef @.str, i32 noundef %63)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0eu7pil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @minmax(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 0
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %7, align 8
store i32 %12, ptr %13, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %14, i64 0
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %8, align 8
store i32 %16, ptr %17, align 4
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %60
.lr.ph: ; preds = %4
br label %21
21: ; preds = %.lr.ph, %54
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %27, align 4
%29 = icmp slt i32 %26, %28
br i1 %29, label %30, label %37
30: ; preds = %21
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %31, i64 %33
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
store i32 %35, ptr %36, align 4
br label %37
37: ; preds = %30, %21
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %43, align 4
%45 = icmp sgt i32 %42, %44
br i1 %45, label %46, label %53
46: ; preds = %37
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %9, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load ptr, ptr %8, align 8
store i32 %51, ptr %52, align 4
br label %53
53: ; preds = %46, %37
br label %54
54: ; preds = %53
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %4
%61 = load ptr, ptr %8, align 8
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %63, align 4
%65 = add nsw i32 %62, %64
%66 = call i32 @printf(ptr noundef @.str, i32 noundef %65)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1a4yr_v1.c'
source_filename = "/tmp/tmp1a4yr_v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESEncrypt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [16 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @initialPermutation(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @generateCD(i32 noundef %12)
store i32 %13, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %26, %2
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %15, 16
br i1 %16, label %17, label %29
17: ; preds = %14
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = call i32 @rotateCD(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @generatePerRoundKey(i32 noundef %21)
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %24
store i32 %22, ptr %25, align 4
br label %26
26: ; preds = %17
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %14, !llvm.loop !6
29: ; preds = %14
store i32 0, ptr %8, align 4
br label %30
30: ; preds = %41, %29
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 16
br i1 %32, label %33, label %44
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 @computeEncryptionRound(i32 noundef %34, i32 noundef %35, i32 noundef %39)
store i32 %40, ptr %3, align 4
br label %41
41: ; preds = %33
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
br label %30, !llvm.loop !8
44: ; preds = %30
%45 = load i32, ptr %3, align 4
%46 = ashr i32 %45, 32
%47 = load i32, ptr %3, align 4
%48 = shl i32 %47, 32
%49 = or i32 %46, %48
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = call i32 @finalPermutation(i32 noundef %50)
store i32 %51, ptr %9, align 4
%52 = load i32, ptr %9, align 4
ret i32 %52
}
declare i32 @initialPermutation(i32 noundef) #1
declare i32 @generateCD(i32 noundef) #1
declare i32 @rotateCD(i32 noundef, i32 noundef) #1
declare i32 @generatePerRoundKey(i32 noundef) #1
declare i32 @computeEncryptionRound(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @finalPermutation(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/tmp1a4yr_v1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESEncrypt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [16 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @initialPermutation(i32 noundef %10)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 @generateCD(i32 noundef %12)
store i32 %13, ptr %6, align 4
store i32 0, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 16
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %25
%17 = load i32, ptr %7, align 4
%18 = load i32, ptr %6, align 4
%19 = call i32 @rotateCD(i32 noundef %17, i32 noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 @generatePerRoundKey(i32 noundef %20)
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %23
store i32 %21, ptr %24, align 4
br label %25
25: ; preds = %16
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %28, 16
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %30
30: ; preds = %._crit_edge, %2
store i32 0, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp slt i32 %31, 16
br i1 %32, label %.lr.ph2, label %46
.lr.ph2: ; preds = %30
br label %33
33: ; preds = %.lr.ph2, %41
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %8, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [16 x i32], ptr %5, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = call i32 @computeEncryptionRound(i32 noundef %34, i32 noundef %35, i32 noundef %39)
store i32 %40, ptr %3, align 4
br label %41
41: ; preds = %33
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 16
br i1 %45, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %30
%47 = load i32, ptr %3, align 4
%48 = ashr i32 %47, 32
%49 = load i32, ptr %3, align 4
%50 = shl i32 %49, 32
%51 = or i32 %48, %50
store i32 %51, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = call i32 @finalPermutation(i32 noundef %52)
store i32 %53, ptr %9, align 4
%54 = load i32, ptr %9, align 4
ret i32 %54
}
declare i32 @initialPermutation(i32 noundef) #1
declare i32 @generateCD(i32 noundef) #1
declare i32 @rotateCD(i32 noundef, i32 noundef) #1
declare i32 @generatePerRoundKey(i32 noundef) #1
declare i32 @computeEncryptionRound(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @finalPermutation(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/tmpm2i8dnhf.c'
source_filename = "/tmp/tmpm2i8dnhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c".mglDigIO\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"connect error\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"partial write\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Waiting for ack\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"received: %i bytes numEvents: %i\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"received: %i bytes numThisEvents: %i of %i\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"%i: Digin: %i line: %i time: %f (sizeof: %i)\0A\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"close\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 %struct.sockaddr_un, align 4
%7 = alloca [8192 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [8192 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr @AF_UNIX, align 4
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%24 = load i32, ptr @AF_UNIX, align 4
%25 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @strncpy(i32 noundef %27, ptr noundef @.str.1, i32 noundef 3)
%29 = load i32, ptr %8, align 4
%30 = call i32 @connect(i32 noundef %29, ptr noundef %6, i32 noundef 8)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %22
%33 = call i32 @perror(ptr noundef @.str.2)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %22
%36 = load i32, ptr @STDIN_FILENO, align 4
%37 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
%38 = call i32 (i32, ...) @read(i32 noundef %36, ptr noundef %37, i64 noundef 8192)
store i32 %38, ptr %9, align 4
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %58
40: ; preds = %35
%41 = load i32, ptr %8, align 4
%42 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
%43 = load i32, ptr %9, align 4
%44 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef %43)
%45 = load i32, ptr %9, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %57
47: ; preds = %40
%48 = load i32, ptr %9, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.3)
br label %56
53: ; preds = %47
%54 = call i32 @perror(ptr noundef @.str.4)
%55 = call i32 @exit(i32 noundef -1) #3
unreachable
56: ; preds = %50
br label %57
57: ; preds = %56, %40
br label %58
58: ; preds = %57, %35
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%60 = load i32, ptr %8, align 4
%61 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%62 = call i32 (i32, ...) @read(i32 noundef %60, ptr noundef %61, i32 noundef 8192)
store i32 %62, ptr %14, align 4
%63 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%64 = load i32, ptr %63, align 16
store i32 %64, ptr %11, align 4
%65 = load i32, ptr %14, align 4
%66 = load i32, ptr %11, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65, i32 noundef %66)
br label %68
68: ; preds = %119, %58
%69 = load i32, ptr %11, align 4
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %120
71: ; preds = %68
%72 = load i32, ptr %8, align 4
%73 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%74 = call i32 @floor(i32 noundef 1365)
%75 = mul nsw i32 %74, 6
%76 = call i32 (i32, ...) @read(i32 noundef %72, ptr noundef %73, i32 noundef %75)
store i32 %76, ptr %14, align 4
%77 = load i32, ptr %14, align 4
%78 = sdiv i32 %77, 6
store i32 %78, ptr %13, align 4
%79 = load i32, ptr %14, align 4
%80 = load i32, ptr %13, align 4
%81 = load i32, ptr %11, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %79, i32 noundef %80, i32 noundef %81)
%83 = load i32, ptr %11, align 4
%84 = load i32, ptr %13, align 4
%85 = sub nsw i32 %83, %84
store i32 %85, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %86
86: ; preds = %116, %71
%87 = load i32, ptr %12, align 4
%88 = load i32, ptr %13, align 4
%89 = icmp slt i32 %87, %88
br i1 %89, label %90, label %119
90: ; preds = %86
%91 = load i32, ptr %12, align 4
%92 = add nsw i32 %91, 1
%93 = load i32, ptr %12, align 4
%94 = mul nsw i32 6, %93
%95 = add nsw i32 0, %94
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = zext i8 %98 to i32
%100 = load i32, ptr %12, align 4
%101 = mul nsw i32 6, %100
%102 = add nsw i32 1, %101
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 %103
%105 = load i8, ptr %104, align 1
%106 = zext i8 %105 to i32
%107 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%108 = getelementptr inbounds i8, ptr %107, i64 2
%109 = load i32, ptr %12, align 4
%110 = mul nsw i32 6, %109
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i8, ptr %108, i64 %111
%113 = load float, ptr %112, align 4
%114 = fpext float %113 to double
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %92, i32 noundef %99, i32 noundef %106, double noundef %114, i32 noundef 4)
br label %116
116: ; preds = %90
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %12, align 4
br label %86, !llvm.loop !6
119: ; preds = %86
br label %68, !llvm.loop !8
120: ; preds = %68
%121 = load i32, ptr %8, align 4
%122 = call i32 @write(i32 noundef %121, ptr noundef @.str.9, i32 noundef 5)
%123 = load i32, ptr %8, align 4
%124 = call i32 @close(i32 noundef %123)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @floor(i32 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm2i8dnhf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_un = type { i32, i32 }
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c".mglDigIO\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"connect error\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"partial write\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Waiting for ack\0A\00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"received: %i bytes numEvents: %i\0A\00", align 1
@.str.7 = private unnamed_addr constant [44 x i8] c"received: %i bytes numThisEvents: %i of %i\0A\00", align 1
@.str.8 = private unnamed_addr constant [46 x i8] c"%i: Digin: %i line: %i time: %f (sizeof: %i)\0A\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"close\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 %struct.sockaddr_un, align 4
%7 = alloca [8192 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [8192 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%15 = load i32, ptr @AF_UNIX, align 4
%16 = load i32, ptr @SOCK_STREAM, align 4
%17 = call i32 @socket(i32 noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %22
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
%21 = call i32 @exit(i32 noundef -1) #3
unreachable
22: ; preds = %2
%23 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 8)
%24 = load i32, ptr @AF_UNIX, align 4
%25 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds %struct.sockaddr_un, ptr %6, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 @strncpy(i32 noundef %27, ptr noundef @.str.1, i32 noundef 3)
%29 = load i32, ptr %8, align 4
%30 = call i32 @connect(i32 noundef %29, ptr noundef %6, i32 noundef 8)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %22
%33 = call i32 @perror(ptr noundef @.str.2)
%34 = call i32 @exit(i32 noundef -1) #3
unreachable
35: ; preds = %22
%36 = load i32, ptr @STDIN_FILENO, align 4
%37 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
%38 = call i32 (i32, ...) @read(i32 noundef %36, ptr noundef %37, i64 noundef 8192)
store i32 %38, ptr %9, align 4
%39 = icmp sgt i32 %38, 0
br i1 %39, label %40, label %58
40: ; preds = %35
%41 = load i32, ptr %8, align 4
%42 = getelementptr inbounds [8192 x i8], ptr %7, i64 0, i64 0
%43 = load i32, ptr %9, align 4
%44 = call i32 @write(i32 noundef %41, ptr noundef %42, i32 noundef %43)
%45 = load i32, ptr %9, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %57
47: ; preds = %40
%48 = load i32, ptr %9, align 4
%49 = icmp sgt i32 %48, 0
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.3)
br label %56
53: ; preds = %47
%54 = call i32 @perror(ptr noundef @.str.4)
%55 = call i32 @exit(i32 noundef -1) #3
unreachable
56: ; preds = %50
br label %57
57: ; preds = %56, %40
br label %58
58: ; preds = %57, %35
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%60 = load i32, ptr %8, align 4
%61 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%62 = call i32 (i32, ...) @read(i32 noundef %60, ptr noundef %61, i32 noundef 8192)
store i32 %62, ptr %14, align 4
%63 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%64 = load i32, ptr %63, align 16
store i32 %64, ptr %11, align 4
%65 = load i32, ptr %14, align 4
%66 = load i32, ptr %11, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65, i32 noundef %66)
%68 = load i32, ptr %11, align 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %.lr.ph2, label %123
.lr.ph2: ; preds = %58
br label %70
70: ; preds = %.lr.ph2, %120
%71 = load i32, ptr %8, align 4
%72 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%73 = call i32 @floor(i32 noundef 1365)
%74 = mul nsw i32 %73, 6
%75 = call i32 (i32, ...) @read(i32 noundef %71, ptr noundef %72, i32 noundef %74)
store i32 %75, ptr %14, align 4
%76 = load i32, ptr %14, align 4
%77 = sdiv i32 %76, 6
store i32 %77, ptr %13, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %11, align 4
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %78, i32 noundef %79, i32 noundef %80)
%82 = load i32, ptr %11, align 4
%83 = load i32, ptr %13, align 4
%84 = sub nsw i32 %82, %83
store i32 %84, ptr %11, align 4
store i32 0, ptr %12, align 4
%85 = load i32, ptr %12, align 4
%86 = load i32, ptr %13, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %.lr.ph, label %120
.lr.ph: ; preds = %70
br label %88
88: ; preds = %.lr.ph, %114
%89 = load i32, ptr %12, align 4
%90 = add nsw i32 %89, 1
%91 = load i32, ptr %12, align 4
%92 = mul nsw i32 6, %91
%93 = add nsw i32 0, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 %94
%96 = load i8, ptr %95, align 1
%97 = zext i8 %96 to i32
%98 = load i32, ptr %12, align 4
%99 = mul nsw i32 6, %98
%100 = add nsw i32 1, %99
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 %101
%103 = load i8, ptr %102, align 1
%104 = zext i8 %103 to i32
%105 = getelementptr inbounds [8192 x i8], ptr %10, i64 0, i64 0
%106 = getelementptr inbounds i8, ptr %105, i64 2
%107 = load i32, ptr %12, align 4
%108 = mul nsw i32 6, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %106, i64 %109
%111 = load float, ptr %110, align 4
%112 = fpext float %111 to double
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %90, i32 noundef %97, i32 noundef %104, double noundef %112, i32 noundef 4)
br label %114
114: ; preds = %88
%115 = load i32, ptr %12, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %12, align 4
%117 = load i32, ptr %12, align 4
%118 = load i32, ptr %13, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %88, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %114
br label %120
120: ; preds = %._crit_edge, %70
%121 = load i32, ptr %11, align 4
%122 = icmp ne i32 %121, 0
br i1 %122, label %70, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %120
br label %123
123: ; preds = %._crit_edge3, %58
%124 = load i32, ptr %8, align 4
%125 = call i32 @write(i32 noundef %124, ptr noundef @.str.9, i32 noundef 5)
%126 = load i32, ptr %8, align 4
%127 = call i32 @close(i32 noundef %126)
ret i32 0
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ...) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @floor(i32 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpey78spqn.c'
source_filename = "/tmp/tmpey78spqn.c"
target datalayout = "e-m:e-p270: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 [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Jianlong-Peng/myADT/refs/heads/master/src/mtools.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @adt_copy_long(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @memory_alloc(i64 noundef 8, ptr noundef @.str, i32 noundef 38)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 8)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @memory_alloc(i64 noundef, ptr noundef, 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/tmpey78spqn.c"
target datalayout = "e-m:e-p270: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 [141 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Jianlong-Peng/myADT/refs/heads/master/src/mtools.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @adt_copy_long(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @memory_alloc(i64 noundef 8, ptr noundef @.str, i32 noundef 38)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memcpy(ptr noundef %5, ptr noundef %6, i32 noundef 8)
%8 = load ptr, ptr %3, align 8
ret ptr %8
}
declare ptr @memory_alloc(i64 noundef, ptr noundef, 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/tmpbmg2zaob.c'
source_filename = "/tmp/tmpbmg2zaob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"dup3() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %27
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr @O_CLOEXEC, align 4
%17 = call i64 @dup3(i32 noundef %15, i32 noundef 42, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %14
%20 = load i32, ptr @stderr, align 4
%21 = load i32, ptr @errno, align 4
%22 = call ptr @strerror(i32 noundef %21)
%23 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %22)
%24 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %24, ptr %1, align 4
br label %27
25: ; preds = %14
%26 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %26, ptr %1, align 4
br label %27
27: ; preds = %25, %19, %8
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @dup3(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/tmpbmg2zaob.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"socket() failed: %s\0A.\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@O_CLOEXEC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"dup3() failed: %s\0A.\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @AF_INET, align 4
%4 = load i32, ptr @SOCK_STREAM, align 4
%5 = load i32, ptr @IPPROTO_TCP, align 4
%6 = call i32 @socket(i32 noundef %3, i32 noundef %4, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %0
%9 = load i32, ptr @stderr, align 4
%10 = load i32, ptr @errno, align 4
%11 = call ptr @strerror(i32 noundef %10)
%12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %1, align 4
br label %27
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr @O_CLOEXEC, align 4
%17 = call i64 @dup3(i32 noundef %15, i32 noundef 42, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %25
19: ; preds = %14
%20 = load i32, ptr @stderr, align 4
%21 = load i32, ptr @errno, align 4
%22 = call ptr @strerror(i32 noundef %21)
%23 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str.1, ptr noundef %22)
%24 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %24, ptr %1, align 4
br label %27
25: ; preds = %14
%26 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %26, ptr %1, align 4
br label %27
27: ; preds = %25, %19, %8
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @dup3(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/tmp19q13fc_.c'
source_filename = "/tmp/tmp19q13fc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LCD_X_Write00(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @LCD_CLR_A0()
%4 = load i8, ptr %2, align 1
%5 = call i32 @Send1(i8 noundef signext %4)
ret void
}
declare i32 @LCD_CLR_A0(...) #1
declare i32 @Send1(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/tmp19q13fc_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LCD_X_Write00(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = call i32 (...) @LCD_CLR_A0()
%4 = load i8, ptr %2, align 1
%5 = call i32 @Send1(i8 noundef signext %4)
ret void
}
declare i32 @LCD_CLR_A0(...) #1
declare i32 @Send1(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/tmp2n3qyl4t.c'
source_filename = "/tmp/tmp2n3qyl4t.c"
target datalayout = "e-m:e-p270: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/tmp2n3qyl4t.c"
target datalayout = "e-m:e-p270: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/tmpq9jgf5de.c'
source_filename = "/tmp/tmpq9jgf5de.c"
target datalayout = "e-m:e-p270: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"X86\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_architecture() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq9jgf5de.c"
target datalayout = "e-m:e-p270: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"X86\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_architecture() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk2g7kjpw.c'
source_filename = "/tmp/tmpk2g7kjpw.c"
target datalayout = "e-m:e-p270: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/tmpk2g7kjpw.c"
target datalayout = "e-m:e-p270: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/tmp4fdyh92a.c'
source_filename = "/tmp/tmp4fdyh92a.c"
target datalayout = "e-m:e-p270: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/tmp4fdyh92a.c"
target datalayout = "e-m:e-p270: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/tmp9lbi81a7.c'
source_filename = "/tmp/tmp9lbi81a7.c"
target datalayout = "e-m:e-p270: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/tmp9lbi81a7.c"
target datalayout = "e-m:e-p270: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/tmpvy16l_fw.c'
source_filename = "/tmp/tmpvy16l_fw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i8, ptr %5, i64 %7
%9 = load i8, ptr %8, align 1
%10 = icmp ne i8 %9, 0
br i1 %10, label %11, label %20
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = call i32 @putc(i8 noundef signext %16)
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %4, !llvm.loop !6
20: ; preds = %4
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvy16l_fw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i8, ptr %4, i64 %6
%8 = load i8, ptr %7, align 1
%9 = icmp ne i8 %8, 0
br i1 %9, label %.lr.ph, label %25
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = call i32 @putc(i8 noundef signext %15)
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load ptr, ptr %2, align 8
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %25
25: ; preds = %._crit_edge, %1
ret void
}
declare i32 @putc(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp36jbh2wf.c'
source_filename = "/tmp/tmp36jbh2wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NI_NUMERICHOST = dso_local global i32 0, align 4
@NI_NUMERICSERV = 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/tmp36jbh2wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NI_NUMERICHOST = dso_local global i32 0, align 4
@NI_NUMERICSERV = 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/tmpi9lyiuy4.c'
source_filename = "/tmp/tmpi9lyiuy4.c"
target datalayout = "e-m:e-p270: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/tmpi9lyiuy4.c"
target datalayout = "e-m:e-p270: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/tmpcge7d00j.c'
source_filename = "/tmp/tmpcge7d00j.c"
target datalayout = "e-m:e-p270: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/tmpcge7d00j.c"
target datalayout = "e-m:e-p270: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/tmpl1fjjsor.c'
source_filename = "/tmp/tmpl1fjjsor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = alloca i32, i64 %16, align 16
store i64 %16, ptr %8, align 8
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %30, %0
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %33
22: ; preds = %18
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %14, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32, ptr %17, i64 %28
store i32 1, ptr %29, align 4
br label %30
30: ; preds = %22
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
br label %18, !llvm.loop !6
33: ; preds = %18
store i32 1, ptr %9, align 4
store i32 0, ptr %3, align 4
br label %34
34: ; preds = %86, %33
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %2, align 4
%37 = icmp ne i32 %35, %36
br i1 %37, label %38, label %89
38: ; preds = %34
%39 = load i32, ptr %3, align 4
%40 = sub nsw i32 %39, 1
store i32 %40, ptr %4, align 4
br label %41
41: ; preds = %76, %38
%42 = load i32, ptr %4, align 4
%43 = icmp sge i32 %42, 0
br i1 %43, label %44, label %79
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %14, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %14, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp slt i32 %48, %52
br i1 %53, label %54, label %75
54: ; preds = %44
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %17, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %17, i64 %60
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 1, %62
%64 = icmp slt i32 %58, %63
br i1 %64, label %65, label %74
65: ; preds = %54
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %17, i64 %67
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %17, i64 %72
store i32 %70, ptr %73, align 4
br label %74
74: ; preds = %65, %54
br label %75
75: ; preds = %74, %44
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %4, align 4
br label %41, !llvm.loop !8
79: ; preds = %41
%80 = load i32, ptr %3, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %17, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load i32, ptr %9, align 4
%85 = call i32 @max(i32 noundef %83, i32 noundef %84)
store i32 %85, ptr %9, align 4
br label %86
86: ; preds = %79
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %3, align 4
br label %34, !llvm.loop !9
89: ; preds = %34
%90 = load i32, ptr %9, align 4
%91 = call i32 @printf(ptr noundef @.str.2, i32 noundef %90)
store i32 0, ptr %1, align 4
%92 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %92)
%93 = load i32, ptr %1, align 4
ret i32 %93
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl1fjjsor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = zext i32 %11 to i64
%13 = call ptr @llvm.stacksave()
store ptr %13, ptr %6, align 8
%14 = alloca i32, i64 %12, align 16
store i64 %12, ptr %7, align 8
%15 = load i32, ptr %2, align 4
%16 = zext i32 %15 to i64
%17 = alloca i32, i64 %16, align 16
store i64 %16, ptr %8, align 8
store i32 0, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %.lr.ph, label %35
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %29
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %14, i64 %23
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %24)
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %17, i64 %27
store i32 1, ptr %28, align 4
br label %29
29: ; preds = %21
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp ne i32 %32, %33
br i1 %34, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %0
store i32 1, ptr %9, align 4
store i32 0, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %2, align 4
%38 = icmp ne i32 %36, %37
br i1 %38, label %.lr.ph5, label %94
.lr.ph5: ; preds = %35
br label %39
39: ; preds = %.lr.ph5, %88
%40 = load i32, ptr %3, align 4
%41 = sub nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sge i32 %42, 0
br i1 %43, label %.lr.ph2, label %81
.lr.ph2: ; preds = %39
br label %44
44: ; preds = %.lr.ph2, %76
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %14, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %3, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %14, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp slt i32 %48, %52
br i1 %53, label %54, label %75
54: ; preds = %44
%55 = load i32, ptr %3, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %17, i64 %56
%58 = load i32, ptr %57, align 4
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %17, i64 %60
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 1, %62
%64 = icmp slt i32 %58, %63
br i1 %64, label %65, label %74
65: ; preds = %54
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %17, i64 %67
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %69, 1
%71 = load i32, ptr %3, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %17, i64 %72
store i32 %70, ptr %73, align 4
br label %74
74: ; preds = %65, %54
br label %75
75: ; preds = %74, %44
br label %76
76: ; preds = %75
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %4, align 4
%79 = load i32, ptr %4, align 4
%80 = icmp sge i32 %79, 0
br i1 %80, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %81
81: ; preds = %._crit_edge3, %39
%82 = load i32, ptr %3, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %17, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %9, align 4
%87 = call i32 @max(i32 noundef %85, i32 noundef %86)
store i32 %87, ptr %9, align 4
br label %88
88: ; preds = %81
%89 = load i32, ptr %3, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %3, align 4
%91 = load i32, ptr %3, align 4
%92 = load i32, ptr %2, align 4
%93 = icmp ne i32 %91, %92
br i1 %93, label %39, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %88
br label %94
94: ; preds = %._crit_edge6, %35
%95 = load i32, ptr %9, align 4
%96 = call i32 @printf(ptr noundef @.str.2, i32 noundef %95)
store i32 0, ptr %1, align 4
%97 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %97)
%98 = load i32, ptr %1, align 4
ret i32 %98
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @max(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpnhcg1r9w.c'
source_filename = "/tmp/tmpnhcg1r9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stack_underflow() #0 {
%1 = call i32 (...) @not_nested()
ret void
}
declare i32 @not_nested(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnhcg1r9w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stack_underflow() #0 {
%1 = call i32 (...) @not_nested()
ret void
}
declare i32 @not_nested(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp59z08s0l.c'
source_filename = "/tmp/tmp59z08s0l.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
@IP_MAXPACKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ip4_checksum(i32 %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.ip, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = getelementptr inbounds %struct.ip, ptr %4, i32 0, i32 0
store i32 %0, ptr %11, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr @IP_MAXPACKET, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds i8, ptr %15, i64 0
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @memcpy(ptr noundef %17, ptr noundef %4, i32 noundef 20)
%19 = load ptr, ptr %9, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 20
store ptr %20, ptr %9, align 8
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, 20
store i32 %22, ptr %10, align 4
%23 = load ptr, ptr %9, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef %25)
%27 = load i32, ptr %6, align 4
%28 = load ptr, ptr %9, align 8
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store ptr %30, ptr %9, align 8
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @checksum(ptr noundef %15, i32 noundef %34)
%36 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %36)
ret i32 %35
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @checksum(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59z08s0l.c"
target datalayout = "e-m:e-p270: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.ip = type { i32 }
@IP_MAXPACKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ip4_checksum(i32 %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca %struct.ip, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = getelementptr inbounds %struct.ip, ptr %4, i32 0, i32 0
store i32 %0, ptr %11, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%12 = load i32, ptr @IP_MAXPACKET, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %7, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %8, align 8
store i32 0, ptr %10, align 4
%16 = getelementptr inbounds i8, ptr %15, i64 0
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %9, align 8
%18 = call i32 @memcpy(ptr noundef %17, ptr noundef %4, i32 noundef 20)
%19 = load ptr, ptr %9, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 20
store ptr %20, ptr %9, align 8
%21 = load i32, ptr %10, align 4
%22 = add nsw i32 %21, 20
store i32 %22, ptr %10, align 4
%23 = load ptr, ptr %9, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %6, align 4
%26 = call i32 @memcpy(ptr noundef %23, ptr noundef %24, i32 noundef %25)
%27 = load i32, ptr %6, align 4
%28 = load ptr, ptr %9, align 8
%29 = sext i32 %27 to i64
%30 = getelementptr inbounds i8, ptr %28, i64 %29
store ptr %30, ptr %9, align 8
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %10, align 4
%35 = call i32 @checksum(ptr noundef %15, i32 noundef %34)
%36 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %36)
ret i32 %35
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @checksum(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqj5o7zyl.c'
source_filename = "/tmp/tmpqj5o7zyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@layer2_write._error = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @layer2_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr @layer2_write._error, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %43
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 16
br i1 %15, label %16, label %17
16: ; preds = %13, %10
store i32 -1, ptr %3, align 4
br label %43
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = trunc i32 %18 to i8
%20 = call i32 @layer1_write(i8 noundef signext %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %43
23: ; preds = %17
store i32 0, ptr %6, align 4
br label %24
24: ; preds = %38, %23
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp ult i32 %25, %26
br i1 %27, label %28, label %41
28: ; preds = %24
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = zext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = call i32 @layer1_write(i8 noundef signext %33)
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %28
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %43
37: ; preds = %28
br label %38
38: ; preds = %37
%39 = load i32, ptr %6, align 4
%40 = add i32 %39, 1
store i32 %40, ptr %6, align 4
br label %24, !llvm.loop !6
41: ; preds = %24
%42 = load i32, ptr %5, align 4
store i32 %42, ptr %3, align 4
br label %43
43: ; preds = %41, %36, %22, %16, %9
%44 = load i32, ptr %3, align 4
ret i32 %44
}
declare i32 @layer1_write(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqj5o7zyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@layer2_write._error = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @layer2_write(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr @layer2_write._error, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %2
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %45
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = icmp sgt i32 %14, 16
br i1 %15, label %16, label %17
16: ; preds = %13, %10
store i32 -1, ptr %3, align 4
br label %45
17: ; preds = %13
%18 = load i32, ptr %5, align 4
%19 = trunc i32 %18 to i8
%20 = call i32 @layer1_write(i8 noundef signext %19)
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %45
23: ; preds = %17
store i32 0, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %5, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %.lr.ph, label %43
.lr.ph: ; preds = %23
br label %27
27: ; preds = %.lr.ph, %37
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %6, align 4
%30 = zext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = call i32 @layer1_write(i8 noundef signext %32)
%34 = icmp eq i32 %33, -1
br i1 %34, label %35, label %36
35: ; preds = %27
store i32 -1, ptr @layer2_write._error, align 4
store i32 -1, ptr %3, align 4
br label %45
36: ; preds = %27
br label %37
37: ; preds = %36
%38 = load i32, ptr %6, align 4
%39 = add i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr %6, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp ult i32 %40, %41
br i1 %42, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %23
%44 = load i32, ptr %5, align 4
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %43, %35, %22, %16, %9
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @layer1_write(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwwz45377.c'
source_filename = "/tmp/tmpwwz45377.c"
target datalayout = "e-m:e-p270: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/tmpwwz45377.c"
target datalayout = "e-m:e-p270: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/tmpb6cucivd.c'
source_filename = "/tmp/tmpb6cucivd.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Hello, my architecture is %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Undefined\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6cucivd.c"
target datalayout = "e-m:e-p270: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 [30 x i8] c"Hello, my architecture is %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Undefined\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%3 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2xmv2dtz.c'
source_filename = "/tmp/tmp2xmv2dtz.c"
target datalayout = "e-m:e-p270: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"Not enought of memory\00", align 1
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Str2Float(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @ErrorFatal(ptr noundef @.str)
br label %11
11: ; preds = %9, %2
store i64 0, ptr @errno, align 8
%12 = load ptr, ptr %4, align 8
%13 = call double @strtod(ptr noundef %12, ptr noundef %6)
%14 = load ptr, ptr %5, align 8
store double %13, ptr %14, align 8
%15 = load i64, ptr @errno, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 1, ptr %3, align 4
br label %19
18: ; preds = %11
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %17
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @ErrorFatal(ptr noundef) #1
declare double @strtod(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/tmp2xmv2dtz.c"
target datalayout = "e-m:e-p270: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"Not enought of memory\00", align 1
@errno = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Str2Float(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = call i32 @ErrorFatal(ptr noundef @.str)
br label %11
11: ; preds = %9, %2
store i64 0, ptr @errno, align 8
%12 = load ptr, ptr %4, align 8
%13 = call double @strtod(ptr noundef %12, ptr noundef %6)
%14 = load ptr, ptr %5, align 8
store double %13, ptr %14, align 8
%15 = load i64, ptr @errno, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %11
store i32 1, ptr %3, align 4
br label %19
18: ; preds = %11
store i32 0, ptr %3, align 4
br label %19
19: ; preds = %18, %17
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @ErrorFatal(ptr noundef) #1
declare double @strtod(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/tmpz_rtwmqs.c'
source_filename = "/tmp/tmpz_rtwmqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wv_p_2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32768 x i32], align 16
%4 = alloca [32 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %1, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 32768
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %13
store i32 %11, ptr %14, align 4
br label %15
15: ; preds = %10
%16 = load i32, ptr %1, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %1, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %62, %18
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 32
br i1 %21, label %22, label %65
22: ; preds = %19
%23 = load i32, ptr %2, align 4
store i32 %23, ptr %5, align 4
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %37, %22
%25 = load i32, ptr %1, align 4
%26 = icmp slt i32 %25, 1024
br i1 %26, label %27, label %40
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = mul nsw i32 %28, 1024
%30 = load i32, ptr %1, align 4
%31 = add nsw i32 %29, %30
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %5, align 4
%36 = add nsw i32 %35, %34
store i32 %36, ptr %5, align 4
br label %37
37: ; preds = %27
%38 = load i32, ptr %1, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %1, align 4
br label %24, !llvm.loop !8
40: ; preds = %24
store i32 1023, ptr %1, align 4
br label %41
41: ; preds = %54, %40
%42 = load i32, ptr %1, align 4
%43 = icmp sge i32 %42, 0
br i1 %43, label %44, label %57
44: ; preds = %41
%45 = load i32, ptr %2, align 4
%46 = mul nsw i32 %45, 1024
%47 = load i32, ptr %1, align 4
%48 = add nsw i32 %46, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %5, align 4
br label %54
54: ; preds = %44
%55 = load i32, ptr %1, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %1, align 4
br label %41, !llvm.loop !9
57: ; preds = %41
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %2, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [32 x i32], ptr %4, i64 0, i64 %60
store i32 %58, ptr %61, align 4
br label %62
62: ; preds = %57
%63 = load i32, ptr %2, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %2, align 4
br label %19, !llvm.loop !10
65: ; preds = %19
store i32 0, ptr %2, align 4
br label %66
66: ; preds = %97, %65
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %67, 32
br i1 %68, label %69, label %100
69: ; preds = %66
%70 = load i32, ptr %2, align 4
store i32 %70, ptr %6, align 4
store i32 0, ptr %1, align 4
br label %71
71: ; preds = %85, %69
%72 = load i32, ptr %1, align 4
%73 = icmp slt i32 %72, 1024
br i1 %73, label %74, label %88
74: ; preds = %71
%75 = load i32, ptr %2, align 4
%76 = mul nsw i32 %75, 1024
%77 = load i32, ptr %1, align 4
%78 = add nsw i32 %76, %77
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %79
%81 = load i32, ptr %80, align 4
%82 = mul nsw i32 %81, 2
%83 = load i32, ptr %6, align 4
%84 = add nsw i32 %83, %82
store i32 %84, ptr %6, align 4
br label %85
85: ; preds = %74
%86 = load i32, ptr %1, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %1, align 4
br label %71, !llvm.loop !11
88: ; preds = %71
%89 = load i32, ptr %2, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [32 x i32], ptr %4, i64 0, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load i32, ptr %6, align 4
%94 = icmp eq i32 %92, %93
%95 = zext i1 %94 to i32
%96 = call i32 @assert(i32 noundef %95)
br label %97
97: ; preds = %88
%98 = load i32, ptr %2, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %2, align 4
br label %66, !llvm.loop !12
100: ; preds = %66
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz_rtwmqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wv_p_2() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [32768 x i32], align 16
%4 = alloca [32 x i32], align 16
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr %1, align 4
%8 = icmp slt i32 %7, 32768
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %1, align 4
%11 = load i32, ptr %1, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %12
store i32 %10, ptr %13, align 4
br label %14
14: ; preds = %9
%15 = load i32, ptr %1, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = icmp slt i32 %17, 32768
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 32
br i1 %21, label %.lr.ph8, label %69
.lr.ph8: ; preds = %19
br label %22
22: ; preds = %.lr.ph8, %64
%23 = load i32, ptr %2, align 4
store i32 %23, ptr %5, align 4
store i32 0, ptr %1, align 4
%24 = load i32, ptr %1, align 4
%25 = icmp slt i32 %24, 1024
br i1 %25, label %.lr.ph2, label %41
.lr.ph2: ; preds = %22
br label %26
26: ; preds = %.lr.ph2, %36
%27 = load i32, ptr %2, align 4
%28 = mul nsw i32 %27, 1024
%29 = load i32, ptr %1, align 4
%30 = add nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, %33
store i32 %35, ptr %5, align 4
br label %36
36: ; preds = %26
%37 = load i32, ptr %1, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %1, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp slt i32 %39, 1024
br i1 %40, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %22
store i32 1023, ptr %1, align 4
%42 = load i32, ptr %1, align 4
%43 = icmp sge i32 %42, 0
br i1 %43, label %.lr.ph5, label %59
.lr.ph5: ; preds = %41
br label %44
44: ; preds = %.lr.ph5, %54
%45 = load i32, ptr %2, align 4
%46 = mul nsw i32 %45, 1024
%47 = load i32, ptr %1, align 4
%48 = add nsw i32 %46, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %5, align 4
br label %54
54: ; preds = %44
%55 = load i32, ptr %1, align 4
%56 = add nsw i32 %55, -1
store i32 %56, ptr %1, align 4
%57 = load i32, ptr %1, align 4
%58 = icmp sge i32 %57, 0
br i1 %58, label %44, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %54
br label %59
59: ; preds = %._crit_edge6, %41
%60 = load i32, ptr %5, align 4
%61 = load i32, ptr %2, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [32 x i32], ptr %4, i64 0, i64 %62
store i32 %60, ptr %63, align 4
br label %64
64: ; preds = %59
%65 = load i32, ptr %2, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %2, align 4
%67 = load i32, ptr %2, align 4
%68 = icmp slt i32 %67, 32
br i1 %68, label %22, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %64
br label %69
69: ; preds = %._crit_edge9, %19
store i32 0, ptr %2, align 4
%70 = load i32, ptr %2, align 4
%71 = icmp slt i32 %70, 32
br i1 %71, label %.lr.ph14, label %106
.lr.ph14: ; preds = %69
br label %72
72: ; preds = %.lr.ph14, %101
%73 = load i32, ptr %2, align 4
store i32 %73, ptr %6, align 4
store i32 0, ptr %1, align 4
%74 = load i32, ptr %1, align 4
%75 = icmp slt i32 %74, 1024
br i1 %75, label %.lr.ph11, label %92
.lr.ph11: ; preds = %72
br label %76
76: ; preds = %.lr.ph11, %87
%77 = load i32, ptr %2, align 4
%78 = mul nsw i32 %77, 1024
%79 = load i32, ptr %1, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [32768 x i32], ptr %3, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = mul nsw i32 %83, 2
%85 = load i32, ptr %6, align 4
%86 = add nsw i32 %85, %84
store i32 %86, ptr %6, align 4
br label %87
87: ; preds = %76
%88 = load i32, ptr %1, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %1, align 4
%90 = load i32, ptr %1, align 4
%91 = icmp slt i32 %90, 1024
br i1 %91, label %76, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %87
br label %92
92: ; preds = %._crit_edge12, %72
%93 = load i32, ptr %2, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [32 x i32], ptr %4, i64 0, i64 %94
%96 = load i32, ptr %95, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp eq i32 %96, %97
%99 = zext i1 %98 to i32
%100 = call i32 @assert(i32 noundef %99)
br label %101
101: ; preds = %92
%102 = load i32, ptr %2, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %2, align 4
%104 = load i32, ptr %2, align 4
%105 = icmp slt i32 %104, 32
br i1 %105, label %72, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %101
br label %106
106: ; preds = %._crit_edge15, %69
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpmtqigfeq.c'
source_filename = "/tmp/tmpmtqigfeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_last_bit(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = udiv i64 %8, 64
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %5, align 8
%11 = and i64 %10, 63
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %6, align 8
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8
%18 = load i64, ptr %5, align 8
%19 = and i64 %18, 63
%20 = sub i64 64, %19
%21 = lshr i64 -1, %20
%22 = and i64 %17, %21
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %13
br label %40
26: ; preds = %13
br label %27
27: ; preds = %26, %2
br label %28
28: ; preds = %48, %27
%29 = load i64, ptr %6, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %49
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = load i64, ptr %6, align 8
%34 = add i64 %33, -1
store i64 %34, ptr %6, align 8
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = load i64, ptr %35, align 8
store i64 %36, ptr %7, align 8
%37 = load i64, ptr %7, align 8
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %48
39: ; preds = %31
br label %40
40: ; preds = %39, %25
%41 = load i64, ptr %6, align 8
%42 = mul i64 %41, 64
%43 = add i64 %42, 64
%44 = sub i64 %43, 1
%45 = load i64, ptr %7, align 8
%46 = call i64 @clz64(i64 noundef %45)
%47 = sub i64 %44, %46
store i64 %47, ptr %3, align 8
br label %51
48: ; preds = %31
br label %28, !llvm.loop !6
49: ; preds = %28
%50 = load i64, ptr %5, align 8
store i64 %50, ptr %3, align 8
br label %51
51: ; preds = %49, %40
%52 = load i64, ptr %3, align 8
ret i64 %52
}
declare i64 @clz64(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/tmpmtqigfeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_last_bit(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = udiv i64 %8, 64
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %5, align 8
%11 = and i64 %10, 63
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %27
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load i64, ptr %6, align 8
%16 = getelementptr inbounds i64, ptr %14, i64 %15
%17 = load i64, ptr %16, align 8
%18 = load i64, ptr %5, align 8
%19 = and i64 %18, 63
%20 = sub i64 64, %19
%21 = lshr i64 -1, %20
%22 = and i64 %17, %21
store i64 %22, ptr %7, align 8
%23 = load i64, ptr %7, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %13
br label %42
26: ; preds = %13
br label %27
27: ; preds = %26, %2
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %.lr.ph, label %50
.lr.ph: ; preds = %27
br label %33
30: ; preds = %33
%31 = load i64, ptr %6, align 8
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %._crit_edge, !llvm.loop !6
33: ; preds = %.lr.ph, %30
%34 = load ptr, ptr %4, align 8
%35 = load i64, ptr %6, align 8
%36 = add i64 %35, -1
store i64 %36, ptr %6, align 8
%37 = getelementptr inbounds i64, ptr %34, i64 %36
%38 = load i64, ptr %37, align 8
store i64 %38, ptr %7, align 8
%39 = load i64, ptr %7, align 8
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %30
41: ; preds = %33
br label %42
42: ; preds = %41, %25
%43 = load i64, ptr %6, align 8
%44 = mul i64 %43, 64
%45 = add i64 %44, 64
%46 = sub i64 %45, 1
%47 = load i64, ptr %7, align 8
%48 = call i64 @clz64(i64 noundef %47)
%49 = sub i64 %46, %48
store i64 %49, ptr %3, align 8
br label %52
._crit_edge: ; preds = %30
br label %50
50: ; preds = %._crit_edge, %27
%51 = load i64, ptr %5, align 8
store i64 %51, ptr %3, align 8
br label %52
52: ; preds = %50, %42
%53 = load i64, ptr %3, align 8
ret i64 %53
}
declare i64 @clz64(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/tmph3l7ix1h.c'
source_filename = "/tmp/tmph3l7ix1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @frexpf(float noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
store float %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @__infer_nondet_int()
%6 = load ptr, ptr %4, align 8
store i32 %5, ptr %6, align 4
%7 = call float (...) @__infer_nondet_float()
ret float %7
}
declare i32 @__infer_nondet_int(...) #1
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph3l7ix1h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @frexpf(float noundef %0, ptr noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca ptr, align 8
store float %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @__infer_nondet_int()
%6 = load ptr, ptr %4, align 8
store i32 %5, ptr %6, align 4
%7 = call float (...) @__infer_nondet_float()
ret float %7
}
declare i32 @__infer_nondet_int(...) #1
declare float @__infer_nondet_float(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0z7kt15a.c'
source_filename = "/tmp/tmp0z7kt15a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = call ptr @malloc(i64 noundef %9) #3
store ptr %10, ptr %3, align 8
br label %19
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 1, ptr %5, align 8
br label %15
15: ; preds = %14, %11
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = call ptr @realloc(ptr noundef %16, i64 noundef %17) #4
store ptr %18, ptr %3, align 8
br label %19
19: ; preds = %15, %8
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
attributes #4 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0z7kt15a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpl_realloc(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %11, label %8
8: ; preds = %2
%9 = load i64, ptr %5, align 8
%10 = call ptr @malloc(i64 noundef %9) #3
store ptr %10, ptr %3, align 8
br label %19
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %11
store i64 1, ptr %5, align 8
br label %15
15: ; preds = %14, %11
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = call ptr @realloc(ptr noundef %16, i64 noundef %17) #4
store ptr %18, ptr %3, align 8
br label %19
19: ; preds = %15, %8
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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(1) "frame-pointer"="all" "no-trapping-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 = { allocsize(0) }
attributes #4 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnu848z3d.c'
source_filename = "/tmp/tmpnu848z3d.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"is an Armstrong number.\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"is not an Armstrong number.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %44
13: ; preds = %2
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %7, align 4
br label %21
21: ; preds = %24, %13
%22 = load i32, ptr %7, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %36
24: ; preds = %21
%25 = load i32, ptr %7, align 4
%26 = srem i32 %25, 10
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = mul nsw i32 %27, %28
%30 = load i32, ptr %8, align 4
%31 = mul nsw i32 %29, %30
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, %31
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %7, align 4
%35 = sdiv i32 %34, 10
store i32 %35, ptr %7, align 4
br label %21, !llvm.loop !6
36: ; preds = %21
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = call i32 @printf(ptr noundef @.str)
br label %44
42: ; preds = %36
%43 = call i32 @printf(ptr noundef @.str.1)
br label %44
44: ; preds = %12, %42, %40
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnu848z3d.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"is an Armstrong number.\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"is not an Armstrong number.\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 1, ptr %3, align 4
br label %45
13: ; preds = %2
store i32 0, ptr %9, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
store i32 %20, ptr %7, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %.lr.ph, label %37
.lr.ph: ; preds = %13
br label %23
23: ; preds = %.lr.ph, %23
%24 = load i32, ptr %7, align 4
%25 = srem i32 %24, 10
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = mul nsw i32 %26, %27
%29 = load i32, ptr %8, align 4
%30 = mul nsw i32 %28, %29
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, %30
store i32 %32, ptr %9, align 4
%33 = load i32, ptr %7, align 4
%34 = sdiv i32 %33, 10
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %37
37: ; preds = %._crit_edge, %13
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %37
%42 = call i32 @printf(ptr noundef @.str)
br label %45
43: ; preds = %37
%44 = call i32 @printf(ptr noundef @.str.1)
br label %45
45: ; preds = %43, %41, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppabw14oz.c'
source_filename = "/tmp/tmppabw14oz.c"
target datalayout = "e-m:e-p270: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/tmppabw14oz.c"
target datalayout = "e-m:e-p270: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/tmpszdvjy8x.c'
source_filename = "/tmp/tmpszdvjy8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"-SUPER- STAR TREK\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Latest update-21 Sept 78\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prelim() #0 {
%1 = call i32 @skip(i32 noundef 2)
%2 = call i32 @prout(ptr noundef @.str)
%3 = call i32 @skip(i32 noundef 1)
%4 = call i32 @prout(ptr noundef @.str.1)
%5 = call i32 @skip(i32 noundef 1)
ret void
}
declare i32 @skip(i32 noundef) #1
declare i32 @prout(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/tmpszdvjy8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"-SUPER- STAR TREK\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Latest update-21 Sept 78\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @prelim() #0 {
%1 = call i32 @skip(i32 noundef 2)
%2 = call i32 @prout(ptr noundef @.str)
%3 = call i32 @skip(i32 noundef 1)
%4 = call i32 @prout(ptr noundef @.str.1)
%5 = call i32 @skip(i32 noundef 1)
ret void
}
declare i32 @skip(i32 noundef) #1
declare i32 @prout(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/tmpmefsuwup.c'
source_filename = "/tmp/tmpmefsuwup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"MultiVPN - Multiprotocol VPN tool\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"v0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowHelp() #0 {
%1 = alloca [2048 x i8], align 16
%2 = getelementptr inbounds [2048 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%4 = getelementptr inbounds [2048 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @UsageMsg(ptr noundef %4)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UsageMsg(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/tmpmefsuwup.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%s %s\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"MultiVPN - Multiprotocol VPN tool\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"v0.0.1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowHelp() #0 {
%1 = alloca [2048 x i8], align 16
%2 = getelementptr inbounds [2048 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @sprintf(ptr noundef %2, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2)
%4 = getelementptr inbounds [2048 x i8], ptr %1, i64 0, i64 0
%5 = call i32 @UsageMsg(ptr noundef %4)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @UsageMsg(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/tmp7dm1vuln.c'
source_filename = "/tmp/tmp7dm1vuln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Good Bye ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = call i32 @sleep(i32 noundef 5)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
%7 = call i32 @sleep(i32 noundef 5)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7dm1vuln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"Good Bye ...\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr @stdout, align 4
%3 = call i32 @fprintf(i32 noundef %2, ptr noundef @.str)
%4 = call i32 @sleep(i32 noundef 5)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fflush(i32 noundef %5)
%7 = call i32 @sleep(i32 noundef 5)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fflush(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptqxfhid2.c'
source_filename = "/tmp/tmptqxfhid2.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"usage: %s data\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"data: %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 [20 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
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %23
15: ; preds = %2
%16 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19)
%21 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @printf(ptr noundef @.str.1, ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %15, %9
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptqxfhid2.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"usage: %s data\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"data: %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 [20 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
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %15
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %23
15: ; preds = %2
%16 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strcpy(ptr noundef %16, ptr noundef %19)
%21 = getelementptr inbounds [20 x i8], ptr %6, i64 0, i64 0
%22 = call i32 @printf(ptr noundef @.str.1, ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %15, %9
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vt8vcou.c'
source_filename = "/tmp/tmp4vt8vcou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_right_adjust(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @assert(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
br label %8
8: ; preds = %26, %1
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %3, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %12, label %27
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i32 @isspace(i8 noundef signext %17)
%19 = icmp ne i32 %18, 0
br i1 %19, label %26, label %20
20: ; preds = %12
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %21, i64 %24
store i8 0, ptr %25, align 1
br label %27
26: ; preds = %12
br label %8, !llvm.loop !6
27: ; preds = %20, %8
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4vt8vcou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_right_adjust(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @assert(ptr noundef %4)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %3, align 4
%10 = icmp ne i32 %8, 0
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %15
11: ; preds = %15
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %3, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %..loopexit_crit_edge, !llvm.loop !6
15: ; preds = %.lr.ph, %11
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = call i32 @isspace(i8 noundef signext %20)
%22 = icmp ne i32 %21, 0
br i1 %22, label %11, label %23
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 0, ptr %28, align 1
br label %29
..loopexit_crit_edge: ; preds = %11
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %29
29: ; preds = %.loopexit, %23
ret void
}
declare i32 @assert(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq1jot3nb.c'
source_filename = "/tmp/tmpq1jot3nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %33, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %36
13: ; preds = %9
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %8, align 4
%16 = zext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %8, align 4
%21 = zext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %8, align 4
%25 = zext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %13
%31 = load ptr, ptr %5, align 8
store ptr %31, ptr %4, align 8
br label %42
32: ; preds = %13
br label %33
33: ; preds = %32
%34 = load i32, ptr %8, align 4
%35 = add i32 %34, 1
store i32 %35, ptr %8, align 4
br label %9, !llvm.loop !6
36: ; preds = %9
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %8, align 4
%39 = zext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %5, align 8
store ptr %41, ptr %4, align 8
br label %42
42: ; preds = %36, %30
%43 = load ptr, ptr %4, align 8
ret ptr %43
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq1jot3nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %32
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %8, align 4
%15 = zext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %8, align 4
%20 = zext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 %17, ptr %21, align 1
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %8, align 4
%24 = zext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %12
%30 = load ptr, ptr %5, align 8
store ptr %30, ptr %4, align 8
br label %44
31: ; preds = %12
br label %32
32: ; preds = %31
%33 = load i32, ptr %8, align 4
%34 = add i32 %33, 1
store i32 %34, ptr %8, align 4
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp ult i32 %35, %36
br i1 %37, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %3
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %8, align 4
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 0, ptr %42, align 1
%43 = load ptr, ptr %5, align 8
store ptr %43, ptr %4, align 8
br label %44
44: ; preds = %38, %29
%45 = load ptr, ptr %4, align 8
ret ptr %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkm87d4y2.c'
source_filename = "/tmp/tmpkm87d4y2.c"
target datalayout = "e-m:e-p270: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"resize()\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [59 x i8] c"resize::realloct: Cannot (re-)allocate %d bytes of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"resize: fatal memory corruption problem: n > len || n<0 || len<0!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resize(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %47
16: ; preds = %4
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
br label %25
21: ; preds = %16
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 %23, 2
br label %25
25: ; preds = %21, %20
%26 = phi i32 [ 2, %20 ], [ %24, %21 ]
store i32 %26, ptr %10, align 4
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %29, %30
%32 = call i64 @myrealloc(ptr noundef %28, i32 noundef %31, ptr noundef @.str)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %42, label %36
36: ; preds = %25
%37 = load i32, ptr @stderr, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %9, align 4
%40 = mul nsw i32 %38, %39
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.1, i32 noundef %40)
store i32 -1, ptr %5, align 4
br label %65
42: ; preds = %25
%43 = load i32, ptr %10, align 4
%44 = load ptr, ptr %8, align 8
store i32 %43, ptr %44, align 4
%45 = load ptr, ptr %11, align 8
%46 = load ptr, ptr %6, align 8
store ptr %45, ptr %46, align 8
br label %64
47: ; preds = %4
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %49, align 4
%51 = icmp sgt i32 %48, %50
br i1 %51, label %59, label %52
52: ; preds = %47
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %59, label %55
55: ; preds = %52
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %56, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %55, %52, %47
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.2)
%62 = call i32 @exit(i32 noundef 1) #3
unreachable
63: ; preds = %55
br label %64
64: ; preds = %63, %42
store i32 0, ptr %5, align 4
br label %65
65: ; preds = %64, %36
%66 = load i32, ptr %5, align 4
ret i32 %66
}
declare i64 @myrealloc(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkm87d4y2.c"
target datalayout = "e-m:e-p270: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"resize()\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [59 x i8] c"resize::realloct: Cannot (re-)allocate %d bytes of memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"resize: fatal memory corruption problem: n > len || n<0 || len<0!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @resize(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%12 = load i32, ptr %7, align 4
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %13, align 4
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %47
16: ; preds = %4
%17 = load ptr, ptr %8, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %16
br label %25
21: ; preds = %16
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %22, align 4
%24 = mul nsw i32 %23, 2
br label %25
25: ; preds = %21, %20
%26 = phi i32 [ 2, %20 ], [ %24, %21 ]
store i32 %26, ptr %10, align 4
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %27, align 8
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %9, align 4
%31 = mul nsw i32 %29, %30
%32 = call i64 @myrealloc(ptr noundef %28, i32 noundef %31, ptr noundef @.str)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %11, align 8
%34 = load ptr, ptr %11, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %42, label %36
36: ; preds = %25
%37 = load i32, ptr @stderr, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %9, align 4
%40 = mul nsw i32 %38, %39
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.1, i32 noundef %40)
store i32 -1, ptr %5, align 4
br label %65
42: ; preds = %25
%43 = load i32, ptr %10, align 4
%44 = load ptr, ptr %8, align 8
store i32 %43, ptr %44, align 4
%45 = load ptr, ptr %11, align 8
%46 = load ptr, ptr %6, align 8
store ptr %45, ptr %46, align 8
br label %64
47: ; preds = %4
%48 = load i32, ptr %7, align 4
%49 = load ptr, ptr %8, align 8
%50 = load i32, ptr %49, align 4
%51 = icmp sgt i32 %48, %50
br i1 %51, label %59, label %52
52: ; preds = %47
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %59, label %55
55: ; preds = %52
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %56, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %63
59: ; preds = %55, %52, %47
%60 = load i32, ptr @stderr, align 4
%61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %60, ptr noundef @.str.2)
%62 = call i32 @exit(i32 noundef 1) #3
unreachable
63: ; preds = %55
br label %64
64: ; preds = %63, %42
store i32 0, ptr %5, align 4
br label %65
65: ; preds = %64, %36
%66 = load i32, ptr %5, align 4
ret i32 %66
}
declare i64 @myrealloc(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmhmhx8c2.c'
source_filename = "/tmp/tmpmhmhx8c2.c"
target datalayout = "e-m:e-p270: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/tmpmhmhx8c2.c"
target datalayout = "e-m:e-p270: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/tmppz28b8d1.c'
source_filename = "/tmp/tmppz28b8d1.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"j#0000000000000000000000000000000000000\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"j#000000000000000000@Q**g00000000000000\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"j#0000000000000000*]++]4000000000000000\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"j#000000000000000k]++]++*N#000000000000\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"j#0000000000000*C+++]++]++]J*0000000000\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"j#00000000000@+]++qwwwp=]++++]*00000000\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"j#0000000000*+++]q#0000k+]+]++]4#000000\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"j#00000000*C+]+]w#0000*]+++]+]++0000000\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"j#0000we+]wW000***C++]++]+]++++40000000\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"j#000000000*C+]+]]+]++]++]++]+q#0000000\0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"j#0000000*]+]+++++++]++]+++]+++J0000000\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"j#000000C++]=]+]+]+]++]++]+]+]+]=000000\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"j#00000k+]++]+++]+]++qwW0000000AgW00000\0A\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c"j#00000k++]++]+]+++qW#00000000000000000\0A\00", align 1
@.str.14 = private unnamed_addr constant [41 x i8] c"j#00000A]++]++]++]++J**0000000000000000\0A\00", align 1
@.str.15 = private unnamed_addr constant [41 x i8] c"j#000000e]++]+++]++]++]J000000000000000\0A\00", align 1
@.str.16 = private unnamed_addr constant [41 x i8] c"j#0000000A]++]+]++]++]++000000000000000\0A\00", align 1
@.str.17 = private unnamed_addr constant [41 x i8] c"j#000000000w]++]+]++]+qW#00000000000000\0A\00", align 1
@.str.18 = private unnamed_addr constant [41 x i8] c"j#00000000000w]++++]*0##000000000000000\0A\00", align 1
@.str.19 = private unnamed_addr constant [41 x i8] c"j#0000000000000Ag]+]++*0000000000000000\0A\00", align 1
@.str.20 = private unnamed_addr constant [41 x i8] c"j#00000000000000000we]+]Q00000000000000\0A\00", align 1
@.str.21 = private unnamed_addr constant [41 x i8] c"j#0000000000000@@+wgdA]+J00000000000000\0A\00", align 1
@.str.22 = private unnamed_addr constant [41 x i8] c"j#0000000000000k?qwgdC=]4#0000000000000\0A\00", align 1
@.str.23 = private unnamed_addr constant [41 x i8] c"j#00000000000000w]+]++qw#00000000000000\0A\00", align 1
@.str.24 = private unnamed_addr constant [41 x i8] c"\22!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_holberton() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @printf(ptr noundef @.str.21)
%23 = call i32 @printf(ptr noundef @.str.22)
%24 = call i32 @printf(ptr noundef @.str.23)
%25 = call i32 @printf(ptr noundef @.str.24)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppz28b8d1.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"j#0000000000000000000000000000000000000\0A\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"j#000000000000000000@Q**g00000000000000\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"j#0000000000000000*]++]4000000000000000\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"j#000000000000000k]++]++*N#000000000000\0A\00", align 1
@.str.4 = private unnamed_addr constant [41 x i8] c"j#0000000000000*C+++]++]++]J*0000000000\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c"j#00000000000@+]++qwwwp=]++++]*00000000\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"j#0000000000*+++]q#0000k+]+]++]4#000000\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"j#00000000*C+]+]w#0000*]+++]+]++0000000\0A\00", align 1
@.str.8 = private unnamed_addr constant [41 x i8] c"j#0000we+]wW000***C++]++]+]++++40000000\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"j#000000000*C+]+]]+]++]++]++]+q#0000000\0A\00", align 1
@.str.10 = private unnamed_addr constant [41 x i8] c"j#0000000*]+]+++++++]++]+++]+++J0000000\0A\00", align 1
@.str.11 = private unnamed_addr constant [41 x i8] c"j#000000C++]=]+]+]+]++]++]+]+]+]=000000\0A\00", align 1
@.str.12 = private unnamed_addr constant [41 x i8] c"j#00000k+]++]+++]+]++qwW0000000AgW00000\0A\00", align 1
@.str.13 = private unnamed_addr constant [41 x i8] c"j#00000k++]++]+]+++qW#00000000000000000\0A\00", align 1
@.str.14 = private unnamed_addr constant [41 x i8] c"j#00000A]++]++]++]++J**0000000000000000\0A\00", align 1
@.str.15 = private unnamed_addr constant [41 x i8] c"j#000000e]++]+++]++]++]J000000000000000\0A\00", align 1
@.str.16 = private unnamed_addr constant [41 x i8] c"j#0000000A]++]+]++]++]++000000000000000\0A\00", align 1
@.str.17 = private unnamed_addr constant [41 x i8] c"j#000000000w]++]+]++]+qW#00000000000000\0A\00", align 1
@.str.18 = private unnamed_addr constant [41 x i8] c"j#00000000000w]++++]*0##000000000000000\0A\00", align 1
@.str.19 = private unnamed_addr constant [41 x i8] c"j#0000000000000Ag]+]++*0000000000000000\0A\00", align 1
@.str.20 = private unnamed_addr constant [41 x i8] c"j#00000000000000000we]+]Q00000000000000\0A\00", align 1
@.str.21 = private unnamed_addr constant [41 x i8] c"j#0000000000000@@+wgdA]+J00000000000000\0A\00", align 1
@.str.22 = private unnamed_addr constant [41 x i8] c"j#0000000000000k?qwgdC=]4#0000000000000\0A\00", align 1
@.str.23 = private unnamed_addr constant [41 x i8] c"j#00000000000000w]+]++qw#00000000000000\0A\00", align 1
@.str.24 = private unnamed_addr constant [41 x i8] c"\22!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_holberton() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @printf(ptr noundef @.str.6)
%8 = call i32 @printf(ptr noundef @.str.7)
%9 = call i32 @printf(ptr noundef @.str.8)
%10 = call i32 @printf(ptr noundef @.str.9)
%11 = call i32 @printf(ptr noundef @.str.10)
%12 = call i32 @printf(ptr noundef @.str.11)
%13 = call i32 @printf(ptr noundef @.str.12)
%14 = call i32 @printf(ptr noundef @.str.13)
%15 = call i32 @printf(ptr noundef @.str.14)
%16 = call i32 @printf(ptr noundef @.str.15)
%17 = call i32 @printf(ptr noundef @.str.16)
%18 = call i32 @printf(ptr noundef @.str.17)
%19 = call i32 @printf(ptr noundef @.str.18)
%20 = call i32 @printf(ptr noundef @.str.19)
%21 = call i32 @printf(ptr noundef @.str.20)
%22 = call i32 @printf(ptr noundef @.str.21)
%23 = call i32 @printf(ptr noundef @.str.22)
%24 = call i32 @printf(ptr noundef @.str.23)
%25 = call i32 @printf(ptr noundef @.str.24)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc524zmvc.c'
source_filename = "/tmp/tmpc524zmvc.c"
target datalayout = "e-m:e-p270: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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [200 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @hash(ptr noundef %6)
store i64 %7, ptr %2, align 8
%8 = load i64, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, i64 noundef %8)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @hash(ptr noundef) #1
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/tmpc524zmvc.c"
target datalayout = "e-m:e-p270: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"%s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca [200 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%7 = call i64 @hash(ptr noundef %6)
store i64 %7, ptr %2, align 8
%8 = load i64, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, i64 noundef %8)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @hash(ptr noundef) #1
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/tmplc7p3v7t.c'
source_filename = "/tmp/tmplc7p3v7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"q = %lf, qDT(q) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double -5.000000e+00, ptr %2, align 8
br label %3
3: ; preds = %11, %0
%4 = load double, ptr %2, align 8
%5 = fcmp ole double %4, 2.000000e+01
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load double, ptr %2, align 8
%8 = load double, ptr %2, align 8
%9 = call i32 @qDT(double noundef %8)
%10 = call i32 @printf(ptr noundef @.str, double noundef %7, i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load double, ptr %2, align 8
%13 = fadd double %12, 5.000000e+00
store double %13, ptr %2, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, i32 noundef) #1
declare i32 @qDT(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplc7p3v7t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"q = %lf, qDT(q) = %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
store i32 0, ptr %1, align 4
store double -5.000000e+00, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = fcmp ole double %3, 2.000000e+01
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %10
%6 = load double, ptr %2, align 8
%7 = load double, ptr %2, align 8
%8 = call i32 @qDT(double noundef %7)
%9 = call i32 @printf(ptr noundef @.str, double noundef %6, i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load double, ptr %2, align 8
%12 = fadd double %11, 5.000000e+00
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = fcmp ole double %13, 2.000000e+01
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef, double noundef, i32 noundef) #1
declare i32 @qDT(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp424pbroj.c'
source_filename = "/tmp/tmp424pbroj.c"
target datalayout = "e-m:e-p270: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/tmp424pbroj.c"
target datalayout = "e-m:e-p270: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/tmpduujuwdq.c'
source_filename = "/tmp/tmpduujuwdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @mysh_loop()
ret i32 0
}
declare i32 @mysh_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpduujuwdq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @mysh_loop()
ret i32 0
}
declare i32 @mysh_loop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpba4ew6x1.c'
source_filename = "/tmp/tmpba4ew6x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @test_func_01(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @sinf(float noundef %3) #2
ret float %4
}
; Function Attrs: nounwind
declare float @sinf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpba4ew6x1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @test_func_01(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @sinf(float noundef %3) #2
ret float %4
}
; Function Attrs: nounwind
declare float @sinf(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd2_08pmx.c'
source_filename = "/tmp/tmpd2_08pmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @line_abs(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %8, align 8
%21 = call i64 @clip(double noundef %17, double noundef %18, double noundef %19, double noundef %20, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %4
%24 = load float, ptr %9, align 4
%25 = load float, ptr %10, align 4
%26 = call i32 @scale_to_screen(float noundef %24, float noundef %25, ptr noundef %13, ptr noundef %14)
%27 = load float, ptr %11, align 4
%28 = load float, ptr %12, align 4
%29 = call i32 @scale_to_screen(float noundef %27, float noundef %28, ptr noundef %15, ptr noundef %16)
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %14, align 4
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %16, align 4
%34 = call i32 @line(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
br label %35
35: ; preds = %23, %4
ret void
}
declare i64 @clip(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scale_to_screen(float noundef, float noundef, ptr noundef, ptr noundef) #1
declare i32 @line(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/tmpd2_08pmx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @line_abs(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%17 = load double, ptr %5, align 8
%18 = load double, ptr %7, align 8
%19 = load double, ptr %6, align 8
%20 = load double, ptr %8, align 8
%21 = call i64 @clip(double noundef %17, double noundef %18, double noundef %19, double noundef %20, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %4
%24 = load float, ptr %9, align 4
%25 = load float, ptr %10, align 4
%26 = call i32 @scale_to_screen(float noundef %24, float noundef %25, ptr noundef %13, ptr noundef %14)
%27 = load float, ptr %11, align 4
%28 = load float, ptr %12, align 4
%29 = call i32 @scale_to_screen(float noundef %27, float noundef %28, ptr noundef %15, ptr noundef %16)
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %14, align 4
%32 = load i32, ptr %15, align 4
%33 = load i32, ptr %16, align 4
%34 = call i32 @line(i32 noundef %30, i32 noundef %31, i32 noundef %32, i32 noundef %33)
br label %35
35: ; preds = %23, %4
ret void
}
declare i64 @clip(double noundef, double noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @scale_to_screen(float noundef, float noundef, ptr noundef, ptr noundef) #1
declare i32 @line(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/tmpaf0hvxlj.c'
source_filename = "/tmp/tmpaf0hvxlj.c"
target datalayout = "e-m:e-p270: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"Closing session\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %9, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %5
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = call i32 @send_cmessage(i32 noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %5
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %7, align 8
%23 = call i32 @write_log(i32 noundef %21, ptr noundef %22)
br label %24
24: ; preds = %20, %17
%25 = call i32 @write_log(i32 noundef 20, ptr noundef @.str)
%26 = call i32 (...) @kill_procs()
%27 = call i32 (...) @vscan_abort()
%28 = load i32, ptr %10, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
}
declare i32 @send_cmessage(i32 noundef, ptr noundef) #1
declare i32 @write_log(i32 noundef, ptr noundef) #1
declare i32 @kill_procs(...) #1
declare i32 @vscan_abort(...) #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/tmpaf0hvxlj.c"
target datalayout = "e-m:e-p270: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"Closing session\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %9, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %5
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = call i32 @send_cmessage(i32 noundef %14, ptr noundef %15)
br label %17
17: ; preds = %13, %5
%18 = load ptr, ptr %7, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %24
20: ; preds = %17
%21 = load i32, ptr %6, align 4
%22 = load ptr, ptr %7, align 8
%23 = call i32 @write_log(i32 noundef %21, ptr noundef %22)
br label %24
24: ; preds = %20, %17
%25 = call i32 @write_log(i32 noundef 20, ptr noundef @.str)
%26 = call i32 (...) @kill_procs()
%27 = call i32 (...) @vscan_abort()
%28 = load i32, ptr %10, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
}
declare i32 @send_cmessage(i32 noundef, ptr noundef) #1
declare i32 @write_log(i32 noundef, ptr noundef) #1
declare i32 @kill_procs(...) #1
declare i32 @vscan_abort(...) #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/tmpgo55y0vm.c'
source_filename = "/tmp/tmpgo55y0vm.c"
target datalayout = "e-m:e-p270: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"si\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_si() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgo55y0vm.c"
target datalayout = "e-m:e-p270: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"si\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arg_si() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp54xoonqu.c'
source_filename = "/tmp/tmp54xoonqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countchars(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
br label %8
8: ; preds = %13, %2
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = call ptr @strchr(ptr noundef %9, i32 noundef %10)
store ptr %11, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %6, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %5, align 8
br label %8, !llvm.loop !6
18: ; preds = %8
%19 = load i32, ptr %6, align 4
ret i32 %19
}
declare ptr @strchr(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/tmp54xoonqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @countchars(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %3, align 8
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = call ptr @strchr(ptr noundef %8, i32 noundef %9)
store ptr %10, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %12
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %6, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = call ptr @strchr(ptr noundef %17, i32 noundef %18)
store ptr %19, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %21
21: ; preds = %._crit_edge, %2
%22 = load i32, ptr %6, align 4
ret i32 %22
}
declare ptr @strchr(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/tmp51bdh3gb.c'
source_filename = "/tmp/tmp51bdh3gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"no such cipher\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"no such digest\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"EVP_BytesToKey failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @createDesKey(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
%14 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%15 = call ptr @calloc(i32 noundef 1, i32 noundef %14)
store ptr %15, ptr %8, align 8
%16 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %9, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %10, align 8
store ptr null, ptr %11, align 8
%20 = call i32 (...) @OpenSSL_add_all_algorithms()
%21 = load ptr, ptr %5, align 8
%22 = call ptr @EVP_get_cipherbyname(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %28, label %25
25: ; preds = %2
%26 = load i32, ptr @stderr, align 4
%27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
28: ; preds = %2
%29 = call i32 (...) @OpenSSL_add_all_digests()
%30 = call ptr @EVP_get_digestbyname(ptr noundef @.str.2)
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %7, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %28
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.3)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
36: ; preds = %28
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %4, align 8
%42 = call i32 @strlen(ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = call i32 @EVP_BytesToKey(ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef %42, i32 noundef 1, ptr noundef %43, ptr noundef %19)
%45 = icmp ne i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %36
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.4)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
49: ; preds = %36
%50 = load ptr, ptr %8, align 8
store ptr %50, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
51: ; preds = %49, %46, %33, %25
%52 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %52)
%53 = load ptr, ptr %3, align 8
ret ptr %53
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @EVP_get_cipherbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @OpenSSL_add_all_digests(...) #1
declare ptr @EVP_get_digestbyname(ptr noundef) #1
declare i32 @EVP_BytesToKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp51bdh3gb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EVP_MAX_KEY_LENGTH = dso_local global i32 0, align 4
@EVP_MAX_IV_LENGTH = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [16 x i8] c"no such cipher\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"sha1\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"no such digest\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"EVP_BytesToKey failed\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @createDesKey(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %7, align 8
%14 = load i32, ptr @EVP_MAX_KEY_LENGTH, align 4
%15 = call ptr @calloc(i32 noundef 1, i32 noundef %14)
store ptr %15, ptr %8, align 8
%16 = load i32, ptr @EVP_MAX_IV_LENGTH, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %9, align 8
%19 = alloca i8, i64 %17, align 16
store i64 %17, ptr %10, align 8
store ptr null, ptr %11, align 8
%20 = call i32 (...) @OpenSSL_add_all_algorithms()
%21 = load ptr, ptr %5, align 8
%22 = call ptr @EVP_get_cipherbyname(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %28, label %25
25: ; preds = %2
%26 = load i32, ptr @stderr, align 4
%27 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
28: ; preds = %2
%29 = call i32 (...) @OpenSSL_add_all_digests()
%30 = call ptr @EVP_get_digestbyname(ptr noundef @.str.2)
store ptr %30, ptr %7, align 8
%31 = load ptr, ptr %7, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %36, label %33
33: ; preds = %28
%34 = load i32, ptr @stderr, align 4
%35 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.3)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
36: ; preds = %28
%37 = load ptr, ptr %6, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %4, align 8
%41 = load ptr, ptr %4, align 8
%42 = call i32 @strlen(ptr noundef %41)
%43 = load ptr, ptr %8, align 8
%44 = call i32 @EVP_BytesToKey(ptr noundef %37, ptr noundef %38, ptr noundef %39, ptr noundef %40, i32 noundef %42, i32 noundef 1, ptr noundef %43, ptr noundef %19)
%45 = icmp ne i32 %44, 0
br i1 %45, label %49, label %46
46: ; preds = %36
%47 = load i32, ptr @stderr, align 4
%48 = call i32 @fprintf(i32 noundef %47, ptr noundef @.str.4)
store ptr @.str.1, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
49: ; preds = %36
%50 = load ptr, ptr %8, align 8
store ptr %50, ptr %3, align 8
store i32 1, ptr %13, align 4
br label %51
51: ; preds = %49, %46, %33, %25
%52 = load ptr, ptr %9, align 8
call void @llvm.stackrestore(ptr %52)
%53 = load ptr, ptr %3, align 8
ret ptr %53
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @OpenSSL_add_all_algorithms(...) #1
declare ptr @EVP_get_cipherbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @OpenSSL_add_all_digests(...) #1
declare ptr @EVP_get_digestbyname(ptr noundef) #1
declare i32 @EVP_BytesToKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_3x7_e_s.c'
source_filename = "/tmp/tmp_3x7_e_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_add(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fs_path_op(ptr noundef %4, ptr noundef null, ptr noundef %3, i32 noundef 5)
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @fs_path_op(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/tmp_3x7_e_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_add(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fs_path_op(ptr noundef %4, ptr noundef null, ptr noundef %3, i32 noundef 5)
%6 = load i32, ptr %3, align 4
ret i32 %6
}
declare i32 @fs_path_op(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/tmp5ujna8no.c'
source_filename = "/tmp/tmp5ujna8no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @ICUnsignedRangeCalculation(i32 noundef -128, i64 noundef 127)
%7 = load i32, ptr @LLONG_MIN, align 4
%8 = call i32 @ICUnsignedRangeCalculation(i32 noundef %7, i64 noundef 9223372036854775807)
ret i32 0
}
declare i32 @ICUnsignedRangeCalculation(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ujna8no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LLONG_MIN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @ICUnsignedRangeCalculation(i32 noundef -128, i64 noundef 127)
%7 = load i32, ptr @LLONG_MIN, align 4
%8 = call i32 @ICUnsignedRangeCalculation(i32 noundef %7, i64 noundef 9223372036854775807)
ret i32 0
}
declare i32 @ICUnsignedRangeCalculation(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"}
|
; ModuleID = '/tmp/tmpjo2e4p0q.c'
source_filename = "/tmp/tmpjo2e4p0q.c"
target datalayout = "e-m:e-p270: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/tmpjo2e4p0q.c"
target datalayout = "e-m:e-p270: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/tmptml3fk67.c'
source_filename = "/tmp/tmptml3fk67.c"
target datalayout = "e-m:e-p270: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"Something different.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
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/tmptml3fk67.c"
target datalayout = "e-m:e-p270: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"Something different.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @puts(ptr noundef @.str)
ret i32 0
}
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/tmp4rdl1d_s.c'
source_filename = "/tmp/tmp4rdl1d_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @owon_usb_close(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 @usb_release_interface(ptr noundef %3, i32 noundef 0)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @usb_close(ptr noundef %5)
ret void
}
declare i32 @usb_release_interface(ptr noundef, i32 noundef) #1
declare i32 @usb_close(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/tmp4rdl1d_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @owon_usb_close(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 @usb_release_interface(ptr noundef %3, i32 noundef 0)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @usb_close(ptr noundef %5)
ret void
}
declare i32 @usb_release_interface(ptr noundef, i32 noundef) #1
declare i32 @usb_close(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/tmpr155zitm.c'
source_filename = "/tmp/tmpr155zitm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @myalloc(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 %10
8: ; preds = %1
%9 = call i32 @error(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @error(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/tmpr155zitm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @myalloc(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 %10
8: ; preds = %1
%9 = call i32 @error(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @error(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/tmpx6j2p6zs.c'
source_filename = "/tmp/tmpx6j2p6zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x1a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x1a() #0 {
%1 = call i64 @isalpha(i32 noundef 26)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 135, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpx6j2p6zs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x1a\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x1a() #0 {
%1 = call i64 @isalpha(i32 noundef 26)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 135, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(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/tmpfyzh76mv.c'
source_filename = "/tmp/tmpfyzh76mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QMWrite(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 @write_record(i32 noundef 16, i32 noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @write_record(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfyzh76mv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @QMWrite(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 @write_record(i32 noundef 16, i32 noundef %7, ptr noundef %8, ptr noundef %9)
ret void
}
declare i32 @write_record(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzdl6jvw5.c'
source_filename = "/tmp/tmpzdl6jvw5.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"Usage: -p <PORT no.> -h <HOSTNAME> -l/-u <login>/<uid> [-LUGNHS]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzdl6jvw5.c"
target datalayout = "e-m:e-p270: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 [66 x i8] c"Usage: -p <PORT no.> -h <HOSTNAME> -l/-u <login>/<uid> [-LUGNHS]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdklc3igt.c'
source_filename = "/tmp/tmpdklc3igt.c"
target datalayout = "e-m:e-p270: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/tmpdklc3igt.c"
target datalayout = "e-m:e-p270: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/tmpd3jm79b3.c'
source_filename = "/tmp/tmpd3jm79b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pfree(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
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
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd3jm79b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pfree(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
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
%9 = load ptr, ptr %5, align 8
%10 = call i32 @free(ptr noundef %9)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5d2olx8z.c'
source_filename = "/tmp/tmp5d2olx8z.c"
target datalayout = "e-m:e-p270: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/tmp5d2olx8z.c"
target datalayout = "e-m:e-p270: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/tmpqbizz9q9.c'
source_filename = "/tmp/tmpqbizz9q9.c"
target datalayout = "e-m:e-p270: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/tmpqbizz9q9.c"
target datalayout = "e-m:e-p270: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/tmpki4_yu37.c'
source_filename = "/tmp/tmpki4_yu37.c"
target datalayout = "e-m:e-p270: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/tmpki4_yu37.c"
target datalayout = "e-m:e-p270: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/tmprjxlx9xc.c'
source_filename = "/tmp/tmprjxlx9xc.c"
target datalayout = "e-m:e-p270: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"%s file not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_not_found(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprjxlx9xc.c"
target datalayout = "e-m:e-p270: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"%s file not found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @file_not_found(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2ztror5k.c'
source_filename = "/tmp/tmp2ztror5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinationSum(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 200, ptr %11, align 4
%14 = load i32, ptr %11, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 4
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %12, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %13, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 4
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
%29 = load ptr, ptr %10, align 8
store ptr %28, ptr %29, align 8
%30 = load ptr, ptr %9, align 8
store i32 0, ptr %30, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %37, align 8
%39 = call i32 @dfs(ptr noundef %31, i32 noundef %32, i32 noundef 0, i32 noundef %33, ptr noundef %34, i32 noundef 0, ptr noundef %35, ptr noundef %36, ptr noundef %38)
%40 = load ptr, ptr %13, align 8
ret ptr %40
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dfs(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ztror5k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @combinationSum(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 200, ptr %11, align 4
%14 = load i32, ptr %11, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 %15, 4
%17 = trunc i64 %16 to i32
%18 = call ptr @malloc(i32 noundef %17)
store ptr %18, ptr %12, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = mul i64 %20, 8
%22 = trunc i64 %21 to i32
%23 = call ptr @malloc(i32 noundef %22)
store ptr %23, ptr %13, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 4
%27 = trunc i64 %26 to i32
%28 = call ptr @malloc(i32 noundef %27)
%29 = load ptr, ptr %10, align 8
store ptr %28, ptr %29, align 8
%30 = load ptr, ptr %9, align 8
store i32 0, ptr %30, align 4
%31 = load ptr, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = load ptr, ptr %12, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %9, align 8
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %37, align 8
%39 = call i32 @dfs(ptr noundef %31, i32 noundef %32, i32 noundef 0, i32 noundef %33, ptr noundef %34, i32 noundef 0, ptr noundef %35, ptr noundef %36, ptr noundef %38)
%40 = load ptr, ptr %13, align 8
ret ptr %40
}
declare ptr @malloc(i32 noundef) #1
declare i32 @dfs(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmppz2vlxkg.c'
source_filename = "/tmp/tmppz2vlxkg.c"
target datalayout = "e-m:e-p270: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 @item_read_char(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %41
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %6, align 4
br label %16
16: ; preds = %32, %13
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fgetc(ptr noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 9
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %25, 10
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %27, %24, %21, %16
%31 = phi i1 [ false, %24 ], [ false, %21 ], [ false, %16 ], [ %29, %27 ]
br i1 %31, label %32, label %39
32: ; preds = %30
%33 = load i32, ptr %8, align 4
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
store i8 %34, ptr %35, align 1
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %6, align 4
br label %16, !llvm.loop !6
39: ; preds = %30
%40 = load ptr, ptr %5, align 8
store i8 0, ptr %40, align 1
br label %57
41: ; preds = %3
br label %42
42: ; preds = %55, %41
%43 = load ptr, ptr %7, align 8
%44 = call i32 @fgetc(ptr noundef %43)
store i32 %44, ptr %8, align 4
%45 = load i32, ptr @EOF, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %53
47: ; preds = %42
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 %48, 9
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = icmp ne i32 %51, 10
br label %53
53: ; preds = %50, %47, %42
%54 = phi i1 [ false, %47 ], [ false, %42 ], [ %52, %50 ]
br i1 %54, label %55, label %56
55: ; preds = %53
br label %42, !llvm.loop !8
56: ; preds = %53
br label %57
57: ; preds = %56, %39
%58 = load i32, ptr %8, align 4
%59 = icmp eq i32 %58, 10
br i1 %59, label %60, label %64
60: ; preds = %57
%61 = load i32, ptr %8, align 4
%62 = load ptr, ptr %7, align 8
%63 = call i32 @ungetc(i32 noundef %61, ptr noundef %62)
br label %64
64: ; preds = %60, %57
%65 = load i32, ptr %8, align 4
%66 = load i32, ptr @EOF, align 4
%67 = icmp ne i32 %65, %66
br i1 %67, label %68, label %76
68: ; preds = %64
%69 = load ptr, ptr %5, align 8
%70 = load ptr, ptr %9, align 8
%71 = icmp ne ptr %69, %70
br i1 %71, label %75, label %72
72: ; preds = %68
%73 = load ptr, ptr %5, align 8
%74 = icmp ne ptr %73, null
br i1 %74, label %76, label %75
75: ; preds = %72, %68
store i32 1, ptr %4, align 4
br label %77
76: ; preds = %72, %64
store i32 0, ptr %4, align 4
br label %77
77: ; preds = %76, %75
%78 = load i32, ptr %4, align 4
ret i32 %78
}
declare i32 @fgetc(ptr noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppz2vlxkg.c"
target datalayout = "e-m:e-p270: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 @item_read_char(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %9, align 8
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %41
13: ; preds = %3
%14 = load i32, ptr %6, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %6, align 4
br label %16
16: ; preds = %32, %13
%17 = load ptr, ptr %7, align 8
%18 = call i32 @fgetc(ptr noundef %17)
store i32 %18, ptr %8, align 4
%19 = load i32, ptr @EOF, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 9
br i1 %23, label %24, label %30
24: ; preds = %21
%25 = load i32, ptr %8, align 4
%26 = icmp ne i32 %25, 10
br i1 %26, label %27, label %30
27: ; preds = %24
%28 = load i32, ptr %6, align 4
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %27, %24, %21, %16
%31 = phi i1 [ false, %24 ], [ false, %21 ], [ false, %16 ], [ %29, %27 ]
br i1 %31, label %32, label %39
32: ; preds = %30
%33 = load i32, ptr %8, align 4
%34 = trunc i32 %33 to i8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
store i8 %34, ptr %35, align 1
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %6, align 4
br label %16, !llvm.loop !6
39: ; preds = %30
%40 = load ptr, ptr %5, align 8
store i8 0, ptr %40, align 1
br label %56
41: ; preds = %3
br label %42
42: ; preds = %53, %41
%43 = load ptr, ptr %7, align 8
%44 = call i32 @fgetc(ptr noundef %43)
store i32 %44, ptr %8, align 4
%45 = load i32, ptr @EOF, align 4
%46 = icmp ne i32 %44, %45
br i1 %46, label %47, label %53
47: ; preds = %42
%48 = load i32, ptr %8, align 4
%49 = icmp ne i32 %48, 9
br i1 %49, label %50, label %53
50: ; preds = %47
%51 = load i32, ptr %8, align 4
%52 = icmp ne i32 %51, 10
br label %53
53: ; preds = %50, %47, %42
%54 = phi i1 [ false, %47 ], [ false, %42 ], [ %52, %50 ]
br i1 %54, label %42, label %55, !llvm.loop !8
55: ; preds = %53
br label %56
56: ; preds = %55, %39
%57 = load i32, ptr %8, align 4
%58 = icmp eq i32 %57, 10
br i1 %58, label %59, label %63
59: ; preds = %56
%60 = load i32, ptr %8, align 4
%61 = load ptr, ptr %7, align 8
%62 = call i32 @ungetc(i32 noundef %60, ptr noundef %61)
br label %63
63: ; preds = %59, %56
%64 = load i32, ptr %8, align 4
%65 = load i32, ptr @EOF, align 4
%66 = icmp ne i32 %64, %65
br i1 %66, label %67, label %75
67: ; preds = %63
%68 = load ptr, ptr %5, align 8
%69 = load ptr, ptr %9, align 8
%70 = icmp ne ptr %68, %69
br i1 %70, label %74, label %71
71: ; preds = %67
%72 = load ptr, ptr %5, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %75, label %74
74: ; preds = %71, %67
store i32 1, ptr %4, align 4
br label %76
75: ; preds = %71, %63
store i32 0, ptr %4, align 4
br label %76
76: ; preds = %75, %74
%77 = load i32, ptr %4, align 4
ret i32 %77
}
declare i32 @fgetc(ptr noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvov31qj6.c'
source_filename = "/tmp/tmpvov31qj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%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 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = add i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %47, %1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sgt i32 %23, 64
br i1 %24, label %25, label %46
25: ; preds = %17
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp slt i32 %31, 91
br i1 %32, label %33, label %46
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = add nsw i32 %39, 32
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %33, %25, %17
br label %47
47: ; preds = %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp slt i32 %48, %50
br i1 %51, label %17, label %52, !llvm.loop !6
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
ret ptr %53
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvov31qj6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lowercase(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%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 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 1, %9
%11 = add i64 %10, 1
%12 = trunc i64 %11 to i32
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcpy(ptr noundef %14, ptr noundef %15)
br label %17
17: ; preds = %47, %1
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = icmp sgt i32 %23, 64
br i1 %24, label %25, label %46
25: ; preds = %17
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp slt i32 %31, 91
br i1 %32, label %33, label %46
33: ; preds = %25
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = add nsw i32 %39, 32
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
br label %46
46: ; preds = %33, %25, %17
br label %47
47: ; preds = %46
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
%50 = load i32, ptr %3, align 4
%51 = icmp slt i32 %48, %50
br i1 %51, label %17, label %52, !llvm.loop !6
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
ret ptr %53
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3tvyuff1.c'
source_filename = "/tmp/tmp3tvyuff1.c"
target datalayout = "e-m:e-p270: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/tmp3tvyuff1.c"
target datalayout = "e-m:e-p270: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/tmp38czygqg.c'
source_filename = "/tmp/tmp38czygqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fmodf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @fmod(float noundef %5, float noundef %6)
ret float %7
}
declare float @fmod(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/tmp38czygqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @fmodf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @fmod(float noundef %5, float noundef %6)
ret float %7
}
declare float @fmod(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/tmp2imdsr69.c'
source_filename = "/tmp/tmp2imdsr69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Enter the 4 elements of first matrix: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Enter the 4 elements of second matrix: \00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\0AAfter multiplication using Strassen's algorithm \0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [2 x [2 x i32]], align 16
%2 = alloca [2 x [2 x i32]], align 16
%3 = alloca [2 x [2 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %14
14: ; preds = %33, %0
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %36
17: ; preds = %14
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %29, %17
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %19, 2
br i1 %20, label %21, label %32
21: ; preds = %18
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 %23
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [2 x i32], ptr %24, i64 0, i64 %26
%28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %27)
br label %29
29: ; preds = %21
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %5, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
br label %33
33: ; preds = %32
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %14, !llvm.loop !8
36: ; preds = %14
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
br label %38
38: ; preds = %57, %36
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 2
br i1 %40, label %41, label %60
41: ; preds = %38
store i32 0, ptr %5, align 4
br label %42
42: ; preds = %53, %41
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 2
br i1 %44, label %45, label %56
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 %47
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [2 x i32], ptr %48, i64 0, i64 %50
%52 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %51)
br label %53
53: ; preds = %45
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %42, !llvm.loop !9
56: ; preds = %42
br label %57
57: ; preds = %56
%58 = load i32, ptr %4, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %4, align 4
br label %38, !llvm.loop !10
60: ; preds = %38
%61 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%62 = getelementptr inbounds [2 x i32], ptr %61, i64 0, i64 0
%63 = load i32, ptr %62, align 16
%64 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%65 = getelementptr inbounds [2 x i32], ptr %64, i64 0, i64 1
%66 = load i32, ptr %65, align 4
%67 = add nsw i32 %63, %66
%68 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%69 = getelementptr inbounds [2 x i32], ptr %68, i64 0, i64 0
%70 = load i32, ptr %69, align 16
%71 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%72 = getelementptr inbounds [2 x i32], ptr %71, i64 0, i64 1
%73 = load i32, ptr %72, align 4
%74 = add nsw i32 %70, %73
%75 = mul nsw i32 %67, %74
store i32 %75, ptr %6, align 4
%76 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%77 = getelementptr inbounds [2 x i32], ptr %76, i64 0, i64 0
%78 = load i32, ptr %77, align 8
%79 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%80 = getelementptr inbounds [2 x i32], ptr %79, i64 0, i64 1
%81 = load i32, ptr %80, align 4
%82 = add nsw i32 %78, %81
%83 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%84 = getelementptr inbounds [2 x i32], ptr %83, i64 0, i64 0
%85 = load i32, ptr %84, align 16
%86 = mul nsw i32 %82, %85
store i32 %86, ptr %7, align 4
%87 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%88 = getelementptr inbounds [2 x i32], ptr %87, i64 0, i64 0
%89 = load i32, ptr %88, align 16
%90 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%91 = getelementptr inbounds [2 x i32], ptr %90, i64 0, i64 1
%92 = load i32, ptr %91, align 4
%93 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%94 = getelementptr inbounds [2 x i32], ptr %93, i64 0, i64 1
%95 = load i32, ptr %94, align 4
%96 = sub nsw i32 %92, %95
%97 = mul nsw i32 %89, %96
store i32 %97, ptr %8, align 4
%98 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%99 = getelementptr inbounds [2 x i32], ptr %98, i64 0, i64 1
%100 = load i32, ptr %99, align 4
%101 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%102 = getelementptr inbounds [2 x i32], ptr %101, i64 0, i64 0
%103 = load i32, ptr %102, align 8
%104 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%105 = getelementptr inbounds [2 x i32], ptr %104, i64 0, i64 0
%106 = load i32, ptr %105, align 16
%107 = sub nsw i32 %103, %106
%108 = mul nsw i32 %100, %107
store i32 %108, ptr %9, align 4
%109 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%110 = getelementptr inbounds [2 x i32], ptr %109, i64 0, i64 0
%111 = load i32, ptr %110, align 16
%112 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%113 = getelementptr inbounds [2 x i32], ptr %112, i64 0, i64 1
%114 = load i32, ptr %113, align 4
%115 = add nsw i32 %111, %114
%116 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%117 = getelementptr inbounds [2 x i32], ptr %116, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = mul nsw i32 %115, %118
store i32 %119, ptr %10, align 4
%120 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%121 = getelementptr inbounds [2 x i32], ptr %120, i64 0, i64 0
%122 = load i32, ptr %121, align 8
%123 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%124 = getelementptr inbounds [2 x i32], ptr %123, i64 0, i64 0
%125 = load i32, ptr %124, align 16
%126 = sub nsw i32 %122, %125
%127 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%128 = getelementptr inbounds [2 x i32], ptr %127, i64 0, i64 0
%129 = load i32, ptr %128, align 16
%130 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%131 = getelementptr inbounds [2 x i32], ptr %130, i64 0, i64 1
%132 = load i32, ptr %131, align 4
%133 = add nsw i32 %129, %132
%134 = mul nsw i32 %126, %133
store i32 %134, ptr %11, align 4
%135 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%136 = getelementptr inbounds [2 x i32], ptr %135, i64 0, i64 1
%137 = load i32, ptr %136, align 4
%138 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%139 = getelementptr inbounds [2 x i32], ptr %138, i64 0, i64 1
%140 = load i32, ptr %139, align 4
%141 = sub nsw i32 %137, %140
%142 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%143 = getelementptr inbounds [2 x i32], ptr %142, i64 0, i64 0
%144 = load i32, ptr %143, align 8
%145 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%146 = getelementptr inbounds [2 x i32], ptr %145, i64 0, i64 1
%147 = load i32, ptr %146, align 4
%148 = add nsw i32 %144, %147
%149 = mul nsw i32 %141, %148
store i32 %149, ptr %12, align 4
%150 = load i32, ptr %6, align 4
%151 = load i32, ptr %9, align 4
%152 = add nsw i32 %150, %151
%153 = load i32, ptr %10, align 4
%154 = sub nsw i32 %152, %153
%155 = load i32, ptr %12, align 4
%156 = add nsw i32 %154, %155
%157 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 0
%158 = getelementptr inbounds [2 x i32], ptr %157, i64 0, i64 0
store i32 %156, ptr %158, align 16
%159 = load i32, ptr %8, align 4
%160 = load i32, ptr %10, align 4
%161 = add nsw i32 %159, %160
%162 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 0
%163 = getelementptr inbounds [2 x i32], ptr %162, i64 0, i64 1
store i32 %161, ptr %163, align 4
%164 = load i32, ptr %7, align 4
%165 = load i32, ptr %9, align 4
%166 = add nsw i32 %164, %165
%167 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 1
%168 = getelementptr inbounds [2 x i32], ptr %167, i64 0, i64 0
store i32 %166, ptr %168, align 8
%169 = load i32, ptr %6, align 4
%170 = load i32, ptr %7, align 4
%171 = sub nsw i32 %169, %170
%172 = load i32, ptr %8, align 4
%173 = add nsw i32 %171, %172
%174 = load i32, ptr %11, align 4
%175 = add nsw i32 %173, %174
%176 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 1
%177 = getelementptr inbounds [2 x i32], ptr %176, i64 0, i64 1
store i32 %175, ptr %177, align 4
%178 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
br label %179
179: ; preds = %200, %60
%180 = load i32, ptr %4, align 4
%181 = icmp slt i32 %180, 2
br i1 %181, label %182, label %203
182: ; preds = %179
%183 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
br label %184
184: ; preds = %196, %182
%185 = load i32, ptr %5, align 4
%186 = icmp slt i32 %185, 2
br i1 %186, label %187, label %199
187: ; preds = %184
%188 = load i32, ptr %4, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 %189
%191 = load i32, ptr %5, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [2 x i32], ptr %190, i64 0, i64 %192
%194 = load i32, ptr %193, align 4
%195 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %194)
br label %196
196: ; preds = %187
%197 = load i32, ptr %5, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %5, align 4
br label %184, !llvm.loop !11
199: ; preds = %184
br label %200
200: ; preds = %199
%201 = load i32, ptr %4, align 4
%202 = add nsw i32 %201, 1
store i32 %202, ptr %4, align 4
br label %179, !llvm.loop !12
203: ; preds = %179
%204 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2imdsr69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Enter the 4 elements of first matrix: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"Enter the 4 elements of second matrix: \00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\0AAfter multiplication using Strassen's algorithm \0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [2 x [2 x i32]], align 16
%2 = alloca [2 x [2 x i32]], align 16
%3 = alloca [2 x [2 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %.lr.ph2, label %38
.lr.ph2: ; preds = %0
br label %16
16: ; preds = %.lr.ph2, %33
store i32 0, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %.lr.ph, label %32
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %27
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 %21
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [2 x i32], ptr %22, i64 0, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
br label %27
27: ; preds = %19
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp slt i32 %30, 2
br i1 %31, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %16
br label %33
33: ; preds = %32
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %36, 2
br i1 %37, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %38
38: ; preds = %._crit_edge3, %0
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %40, 2
br i1 %41, label %.lr.ph8, label %64
.lr.ph8: ; preds = %38
br label %42
42: ; preds = %.lr.ph8, %59
store i32 0, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 2
br i1 %44, label %.lr.ph5, label %58
.lr.ph5: ; preds = %42
br label %45
45: ; preds = %.lr.ph5, %53
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 %47
%49 = load i32, ptr %5, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [2 x i32], ptr %48, i64 0, i64 %50
%52 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %51)
br label %53
53: ; preds = %45
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %56, 2
br i1 %57, label %45, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %53
br label %58
58: ; preds = %._crit_edge6, %42
br label %59
59: ; preds = %58
%60 = load i32, ptr %4, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %4, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %62, 2
br i1 %63, label %42, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %59
br label %64
64: ; preds = %._crit_edge9, %38
%65 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%66 = getelementptr inbounds [2 x i32], ptr %65, i64 0, i64 0
%67 = load i32, ptr %66, align 16
%68 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%69 = getelementptr inbounds [2 x i32], ptr %68, i64 0, i64 1
%70 = load i32, ptr %69, align 4
%71 = add nsw i32 %67, %70
%72 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%73 = getelementptr inbounds [2 x i32], ptr %72, i64 0, i64 0
%74 = load i32, ptr %73, align 16
%75 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%76 = getelementptr inbounds [2 x i32], ptr %75, i64 0, i64 1
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %74, %77
%79 = mul nsw i32 %71, %78
store i32 %79, ptr %6, align 4
%80 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%81 = getelementptr inbounds [2 x i32], ptr %80, i64 0, i64 0
%82 = load i32, ptr %81, align 8
%83 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%84 = getelementptr inbounds [2 x i32], ptr %83, i64 0, i64 1
%85 = load i32, ptr %84, align 4
%86 = add nsw i32 %82, %85
%87 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%88 = getelementptr inbounds [2 x i32], ptr %87, i64 0, i64 0
%89 = load i32, ptr %88, align 16
%90 = mul nsw i32 %86, %89
store i32 %90, ptr %7, align 4
%91 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%92 = getelementptr inbounds [2 x i32], ptr %91, i64 0, i64 0
%93 = load i32, ptr %92, align 16
%94 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%95 = getelementptr inbounds [2 x i32], ptr %94, i64 0, i64 1
%96 = load i32, ptr %95, align 4
%97 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%98 = getelementptr inbounds [2 x i32], ptr %97, i64 0, i64 1
%99 = load i32, ptr %98, align 4
%100 = sub nsw i32 %96, %99
%101 = mul nsw i32 %93, %100
store i32 %101, ptr %8, align 4
%102 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%103 = getelementptr inbounds [2 x i32], ptr %102, i64 0, i64 1
%104 = load i32, ptr %103, align 4
%105 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%106 = getelementptr inbounds [2 x i32], ptr %105, i64 0, i64 0
%107 = load i32, ptr %106, align 8
%108 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%109 = getelementptr inbounds [2 x i32], ptr %108, i64 0, i64 0
%110 = load i32, ptr %109, align 16
%111 = sub nsw i32 %107, %110
%112 = mul nsw i32 %104, %111
store i32 %112, ptr %9, align 4
%113 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%114 = getelementptr inbounds [2 x i32], ptr %113, i64 0, i64 0
%115 = load i32, ptr %114, align 16
%116 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%117 = getelementptr inbounds [2 x i32], ptr %116, i64 0, i64 1
%118 = load i32, ptr %117, align 4
%119 = add nsw i32 %115, %118
%120 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%121 = getelementptr inbounds [2 x i32], ptr %120, i64 0, i64 1
%122 = load i32, ptr %121, align 4
%123 = mul nsw i32 %119, %122
store i32 %123, ptr %10, align 4
%124 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%125 = getelementptr inbounds [2 x i32], ptr %124, i64 0, i64 0
%126 = load i32, ptr %125, align 8
%127 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%128 = getelementptr inbounds [2 x i32], ptr %127, i64 0, i64 0
%129 = load i32, ptr %128, align 16
%130 = sub nsw i32 %126, %129
%131 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%132 = getelementptr inbounds [2 x i32], ptr %131, i64 0, i64 0
%133 = load i32, ptr %132, align 16
%134 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 0
%135 = getelementptr inbounds [2 x i32], ptr %134, i64 0, i64 1
%136 = load i32, ptr %135, align 4
%137 = add nsw i32 %133, %136
%138 = mul nsw i32 %130, %137
store i32 %138, ptr %11, align 4
%139 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 0
%140 = getelementptr inbounds [2 x i32], ptr %139, i64 0, i64 1
%141 = load i32, ptr %140, align 4
%142 = getelementptr inbounds [2 x [2 x i32]], ptr %1, i64 0, i64 1
%143 = getelementptr inbounds [2 x i32], ptr %142, i64 0, i64 1
%144 = load i32, ptr %143, align 4
%145 = sub nsw i32 %141, %144
%146 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%147 = getelementptr inbounds [2 x i32], ptr %146, i64 0, i64 0
%148 = load i32, ptr %147, align 8
%149 = getelementptr inbounds [2 x [2 x i32]], ptr %2, i64 0, i64 1
%150 = getelementptr inbounds [2 x i32], ptr %149, i64 0, i64 1
%151 = load i32, ptr %150, align 4
%152 = add nsw i32 %148, %151
%153 = mul nsw i32 %145, %152
store i32 %153, ptr %12, align 4
%154 = load i32, ptr %6, align 4
%155 = load i32, ptr %9, align 4
%156 = add nsw i32 %154, %155
%157 = load i32, ptr %10, align 4
%158 = sub nsw i32 %156, %157
%159 = load i32, ptr %12, align 4
%160 = add nsw i32 %158, %159
%161 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 0
%162 = getelementptr inbounds [2 x i32], ptr %161, i64 0, i64 0
store i32 %160, ptr %162, align 16
%163 = load i32, ptr %8, align 4
%164 = load i32, ptr %10, align 4
%165 = add nsw i32 %163, %164
%166 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 0
%167 = getelementptr inbounds [2 x i32], ptr %166, i64 0, i64 1
store i32 %165, ptr %167, align 4
%168 = load i32, ptr %7, align 4
%169 = load i32, ptr %9, align 4
%170 = add nsw i32 %168, %169
%171 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 1
%172 = getelementptr inbounds [2 x i32], ptr %171, i64 0, i64 0
store i32 %170, ptr %172, align 8
%173 = load i32, ptr %6, align 4
%174 = load i32, ptr %7, align 4
%175 = sub nsw i32 %173, %174
%176 = load i32, ptr %8, align 4
%177 = add nsw i32 %175, %176
%178 = load i32, ptr %11, align 4
%179 = add nsw i32 %177, %178
%180 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 1
%181 = getelementptr inbounds [2 x i32], ptr %180, i64 0, i64 1
store i32 %179, ptr %181, align 4
%182 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %4, align 4
%183 = load i32, ptr %4, align 4
%184 = icmp slt i32 %183, 2
br i1 %184, label %.lr.ph14, label %209
.lr.ph14: ; preds = %64
br label %185
185: ; preds = %.lr.ph14, %204
%186 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %5, align 4
%187 = load i32, ptr %5, align 4
%188 = icmp slt i32 %187, 2
br i1 %188, label %.lr.ph11, label %203
.lr.ph11: ; preds = %185
br label %189
189: ; preds = %.lr.ph11, %198
%190 = load i32, ptr %4, align 4
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [2 x [2 x i32]], ptr %3, i64 0, i64 %191
%193 = load i32, ptr %5, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds [2 x i32], ptr %192, i64 0, i64 %194
%196 = load i32, ptr %195, align 4
%197 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %196)
br label %198
198: ; preds = %189
%199 = load i32, ptr %5, align 4
%200 = add nsw i32 %199, 1
store i32 %200, ptr %5, align 4
%201 = load i32, ptr %5, align 4
%202 = icmp slt i32 %201, 2
br i1 %202, label %189, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %198
br label %203
203: ; preds = %._crit_edge12, %185
br label %204
204: ; preds = %203
%205 = load i32, ptr %4, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %4, align 4
%207 = load i32, ptr %4, align 4
%208 = icmp slt i32 %207, 2
br i1 %208, label %185, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %204
br label %209
209: ; preds = %._crit_edge15, %64
%210 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmpbhohqa6g.c'
source_filename = "/tmp/tmpbhohqa6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strncat(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %17, %3
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %7, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %9
%18 = load i32, ptr %7, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %7, align 4
br label %9, !llvm.loop !6
20: ; preds = %9
store i64 0, ptr %8, align 8
br label %21
21: ; preds = %34, %20
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %6, align 8
%24 = icmp ult i64 %22, %23
br i1 %24, label %25, label %32
25: ; preds = %21
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 0
br label %32
32: ; preds = %25, %21
%33 = phi i1 [ false, %21 ], [ %31, %25 ]
br i1 %33, label %34, label %47
34: ; preds = %32
%35 = load ptr, ptr %5, align 8
%36 = load i64, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %35, i64 %36
%38 = load i8, ptr %37, align 1
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
store i8 %38, ptr %42, align 1
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i64, ptr %8, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %8, align 8
br label %21, !llvm.loop !8
47: ; preds = %32
%48 = load ptr, ptr %4, align 8
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
store i8 0, ptr %51, align 1
%52 = load ptr, ptr %4, align 8
ret ptr %52
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbhohqa6g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ft_strncat(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 i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %7, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %9, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %16
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %26
26: ; preds = %._crit_edge, %3
store i64 0, ptr %8, align 8
br label %27
27: ; preds = %40, %26
%28 = load i64, ptr %8, align 8
%29 = load i64, ptr %6, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %31, label %38
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br label %38
38: ; preds = %31, %27
%39 = phi i1 [ false, %27 ], [ %37, %31 ]
br i1 %39, label %40, label %53
40: ; preds = %38
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %4, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
store i8 %44, ptr %48, align 1
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i64, ptr %8, align 8
%52 = add i64 %51, 1
store i64 %52, ptr %8, align 8
br label %27, !llvm.loop !8
53: ; preds = %38
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 0, ptr %57, align 1
%58 = load ptr, ptr %4, align 8
ret ptr %58
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpm75weo3g.c'
source_filename = "/tmp/tmpm75weo3g.c"
target datalayout = "e-m:e-p270: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"section1 %d/%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"section2 %d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f3() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @bar()
store i32 %2, ptr %1, align 4
%3 = call i32 (...) @omp_get_thread_num()
%4 = call i32 (...) @omp_get_num_threads()
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @omp_get_thread_num()
%7 = call i32 (...) @omp_get_num_threads()
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @bar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @omp_get_num_threads(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm75weo3g.c"
target datalayout = "e-m:e-p270: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"section1 %d/%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"section2 %d/%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f3() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @bar()
store i32 %2, ptr %1, align 4
%3 = call i32 (...) @omp_get_thread_num()
%4 = call i32 (...) @omp_get_num_threads()
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
%6 = call i32 (...) @omp_get_thread_num()
%7 = call i32 (...) @omp_get_num_threads()
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7)
ret void
}
declare i32 @bar(...) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @omp_get_num_threads(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpayxppu2v.c'
source_filename = "/tmp/tmpayxppu2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Enter the array size: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"sizeof array = %lu\0A\00", align 1
@__const.main.a_string = private unnamed_addr constant [20 x i8] c"This is a string\00\00\00\00", align 16
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@__const.main.multi_array = private unnamed_addr constant [2 x [5 x i32]] [[5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], [5 x i32] [i32 6, i32 7, i32 8, i32 9, i32 0]], align 16
; 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 [20 x i32], align 16
%4 = alloca [20 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca [20 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca [2 x [5 x i32]], align 16
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
%13 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%14 = load i8, ptr %13, align 16
%15 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
store i8 2, ptr %15, align 1
%16 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i64 0, ptr %5, align 8
%21 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%22 = load i64, ptr %5, align 8
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %6, align 8
%24 = alloca i32, i64 %22, align 16
store i64 %22, ptr %7, align 8
%25 = mul nuw i64 4, %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %25)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.a_string, i64 20, i1 false)
%27 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %27)
%29 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 16
%30 = load i8, ptr %29, align 16
%31 = sext i8 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
store i32 97, ptr %9, align 4
store i8 97, ptr %10, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.multi_array, i64 40, i1 false)
%33 = getelementptr inbounds [2 x [5 x i32]], ptr %11, i64 0, i64 0
%34 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 2
%35 = load i32, ptr %34, align 8
store i32 %35, ptr %12, align 4
store i32 0, ptr %1, align 4
%36 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %36)
%37 = load i32, ptr %1, align 4
ret i32 %37
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
; 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) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { 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" }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { 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/tmpayxppu2v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Enter the array size: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"sizeof array = %lu\0A\00", align 1
@__const.main.a_string = private unnamed_addr constant [20 x i8] c"This is a string\00\00\00\00", align 16
@.str.4 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@__const.main.multi_array = private unnamed_addr constant [2 x [5 x i32]] [[5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], [5 x i32] [i32 6, i32 7, i32 8, i32 9, i32 0]], align 16
; 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 [20 x i32], align 16
%4 = alloca [20 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca [20 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca [2 x [5 x i32]], align 16
%12 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 80, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 20, i1 false)
%13 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0
%14 = load i8, ptr %13, align 16
%15 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
store i8 2, ptr %15, align 1
%16 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 1
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i64 0, ptr %5, align 8
%21 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %5)
%22 = load i64, ptr %5, align 8
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %6, align 8
%24 = alloca i32, i64 %22, align 16
store i64 %22, ptr %7, align 8
%25 = mul nuw i64 4, %22
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %25)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.main.a_string, i64 20, i1 false)
%27 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %27)
%29 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 16
%30 = load i8, ptr %29, align 16
%31 = sext i8 %30 to i32
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %31)
store i32 97, ptr %9, align 4
store i8 97, ptr %10, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.main.multi_array, i64 40, i1 false)
%33 = getelementptr inbounds [2 x [5 x i32]], ptr %11, i64 0, i64 0
%34 = getelementptr inbounds [5 x i32], ptr %33, i64 0, i64 2
%35 = load i32, ptr %34, align 8
store i32 %35, ptr %12, align 4
store i32 0, ptr %1, align 4
%36 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %36)
%37 = load i32, ptr %1, align 4
ret i32 %37
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ...) #2
declare i32 @scanf(ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
; 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) #4
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #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 = { 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" }
attributes #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { 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/tmpii65712i.c'
source_filename = "/tmp/tmpii65712i.c"
target datalayout = "e-m:e-p270: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/tmpii65712i.c"
target datalayout = "e-m:e-p270: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/tmpp9b3xt15.c'
source_filename = "/tmp/tmpp9b3xt15.c"
target datalayout = "e-m:e-p270: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/tmpp9b3xt15.c"
target datalayout = "e-m:e-p270: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/tmpvgh1gdsd.c'
source_filename = "/tmp/tmpvgh1gdsd.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"%sCompute the absolute value of the current set of interval values.\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%susage: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @op_absolute_value_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %3
store ptr @.str, ptr %6, align 8
br label %10
10: ; preds = %9, %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18, ptr noundef %19)
ret void
}
declare i32 @fprintf(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/tmpvgh1gdsd.c"
target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"%sCompute the absolute value of the current set of interval values.\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%susage: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @op_absolute_value_usage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %10
9: ; preds = %3
store ptr @.str, ptr %6, align 8
br label %10
10: ; preds = %9, %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %6, align 8
%16 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str.2, ptr noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %4, align 8
%20 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.3, ptr noundef %18, ptr noundef %19)
ret void
}
declare i32 @fprintf(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/tmp9hwwat7v.c'
source_filename = "/tmp/tmp9hwwat7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
br label %8
8: ; preds = %17, %1
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %4, align 4
%11 = sub nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %9, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i64 @isspace(i8 noundef signext %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %23
17: ; preds = %8
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 0, ptr %22, align 1
br label %8, !llvm.loop !6
23: ; preds = %8
br label %24
24: ; preds = %36, %23
%25 = load ptr, ptr %3, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load ptr, ptr %3, align 8
%31 = load i8, ptr %30, align 1
%32 = call i64 @isspace(i8 noundef signext %31)
%33 = icmp ne i64 %32, 0
br label %34
34: ; preds = %29, %24
%35 = phi i1 [ false, %24 ], [ %33, %29 ]
br i1 %35, label %36, label %41
36: ; preds = %34
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %3, align 8
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %4, align 4
br label %24, !llvm.loop !8
41: ; preds = %34
%42 = load ptr, ptr %2, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %4, align 4
%45 = add nsw i32 %44, 1
%46 = call i32 @memmove(ptr noundef %42, ptr noundef %43, i32 noundef %45)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9hwwat7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds i8, ptr %8, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %16
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
%28 = call i64 @isspace(i8 noundef signext %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %30
30: ; preds = %._crit_edge, %1
br label %31
31: ; preds = %43, %30
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %41
36: ; preds = %31
%37 = load ptr, ptr %3, align 8
%38 = load i8, ptr %37, align 1
%39 = call i64 @isspace(i8 noundef signext %38)
%40 = icmp ne i64 %39, 0
br label %41
41: ; preds = %36, %31
%42 = phi i1 [ false, %31 ], [ %40, %36 ]
br i1 %42, label %43, label %48
43: ; preds = %41
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %3, align 8
%46 = load i32, ptr %4, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %4, align 4
br label %31, !llvm.loop !8
48: ; preds = %41
%49 = load ptr, ptr %2, align 8
%50 = load ptr, ptr %3, align 8
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 1
%53 = call i32 @memmove(ptr noundef %49, ptr noundef %50, i32 noundef %52)
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef signext) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpcqzfn9rv.c'
source_filename = "/tmp/tmpcqzfn9rv.c"
target datalayout = "e-m:e-p270: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"%lu sec since epoch\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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
store i32 0, ptr %1, align 4
%3 = call ptr @time(ptr noundef null)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = call ptr @ctime(ptr noundef %2)
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
ret i32 0
}
declare ptr @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(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/tmpcqzfn9rv.c"
target datalayout = "e-m:e-p270: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"%lu sec since epoch\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\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
store i32 0, ptr %1, align 4
%3 = call ptr @time(ptr noundef null)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = call ptr @ctime(ptr noundef %2)
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
ret i32 0
}
declare ptr @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @ctime(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/tmp8w2_dbx5.c'
source_filename = "/tmp/tmp8w2_dbx5.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"\1B[31m\0A\09Error: missing command arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\0A\09Usage: <EXE> <HOST> <HOST_PORT> <CLIENT_PORT>\0A\0A\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkCltArgs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 4
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
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/tmp8w2_dbx5.c"
target datalayout = "e-m:e-p270: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 [41 x i8] c"\1B[31m\0A\09Error: missing command arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"\0A\09Usage: <EXE> <HOST> <HOST_PORT> <CLIENT_PORT>\0A\0A\1B[0m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @checkCltArgs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp ne i32 %4, 4
br i1 %5, label %6, label %9
6: ; preds = %1
%7 = call i32 @printf(ptr noundef @.str)
%8 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %10
9: ; preds = %1
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %9, %6
%11 = load i32, ptr %2, align 4
ret i32 %11
}
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/tmpkgm_zx3n.c'
source_filename = "/tmp/tmpkgm_zx3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_long_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i16, ptr %6, align 2
%12 = load i16, ptr %7, align 2
%13 = load i32, ptr %8, align 4
%14 = call i32 @bbm_long_write(ptr noundef %10, i16 noundef zeroext %11, i16 noundef zeroext %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
ret i32 %15
}
declare i32 @bbm_long_write(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, 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/tmpkgm_zx3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_long_write(ptr noundef %0, i16 noundef zeroext %1, i16 noundef zeroext %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%7 = alloca i16, align 2
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i16 %1, ptr %6, align 2
store i16 %2, ptr %7, align 2
store i32 %3, ptr %8, align 4
%10 = load ptr, ptr %5, align 8
%11 = load i16, ptr %6, align 2
%12 = load i16, ptr %7, align 2
%13 = load i32, ptr %8, align 4
%14 = call i32 @bbm_long_write(ptr noundef %10, i16 noundef zeroext %11, i16 noundef zeroext %12, i32 noundef %13)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
ret i32 %15
}
declare i32 @bbm_long_write(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, 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/tmpz2mpsttl.c'
source_filename = "/tmp/tmpz2mpsttl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endianSwap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = shl i32 %4, 24
%6 = load i32, ptr %2, align 4
%7 = and i32 %6, 65280
%8 = shl i32 %7, 8
%9 = or i32 %5, %8
%10 = load i32, ptr %2, align 4
%11 = and i32 %10, 16711680
%12 = lshr i32 %11, 8
%13 = or i32 %9, %12
%14 = load i32, ptr %2, align 4
%15 = and i32 %14, -16777216
%16 = lshr i32 %15, 24
%17 = or i32 %13, %16
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz2mpsttl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @endianSwap(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = and i32 %3, 255
%5 = shl i32 %4, 24
%6 = load i32, ptr %2, align 4
%7 = and i32 %6, 65280
%8 = shl i32 %7, 8
%9 = or i32 %5, %8
%10 = load i32, ptr %2, align 4
%11 = and i32 %10, 16711680
%12 = lshr i32 %11, 8
%13 = or i32 %9, %12
%14 = load i32, ptr %2, align 4
%15 = and i32 %14, -16777216
%16 = lshr i32 %15, 24
%17 = or i32 %13, %16
ret i32 %17
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjajb5y1g.c'
source_filename = "/tmp/tmpjajb5y1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumericChar(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 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 1, i32 0
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjajb5y1g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNumericChar(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 = sext i8 %3 to i32
%5 = icmp sge i32 %4, 48
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = sext i8 %7 to i32
%9 = icmp sle i32 %8, 57
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i64
%13 = select i1 %11, i32 1, i32 0
ret i32 %13
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpit__f9ju.c'
source_filename = "/tmp/tmpit__f9ju.c"
target datalayout = "e-m:e-p270: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 [3 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %76, %0
%7 = call i32 (...) @getchar()
store i32 %7, ptr %4, align 4
%8 = load i32, ptr @EOF, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %10, label %77
10: ; preds = %6
%11 = load i32, ptr %4, align 4
%12 = call i64 @iscntrl(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %24
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = call i32 @isspace(i32 noundef %15) #3
%17 = icmp ne i32 %16, 0
br i1 %17, label %24, label %18
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 @putchar(i8 noundef signext 10)
br label %23
23: ; preds = %21, %18
store i32 4, ptr %2, align 4
br label %76
24: ; preds = %14, %10
%25 = load i32, ptr %2, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %71
27: ; preds = %24
%28 = load i32, ptr %4, align 4
%29 = call i64 @islower(i32 noundef %28)
%30 = icmp ne i64 %29, 0
br i1 %30, label %38, label %31
31: ; preds = %27
%32 = load i32, ptr %4, align 4
%33 = call i64 @isupper(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %38, label %35
35: ; preds = %31
%36 = load i32, ptr %4, align 4
%37 = icmp sgt i32 %36, 127
br i1 %37, label %38, label %69
38: ; preds = %35, %31, %27
%39 = load i32, ptr %2, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %60
43: ; preds = %38
store i32 0, ptr %5, align 4
br label %44
44: ; preds = %53, %43
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %45, 3
br i1 %46, label %47, label %56
47: ; preds = %44
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %49
%51 = load i8, ptr %50, align 1
%52 = call i32 @putchar(i8 noundef signext %51)
br label %53
53: ; preds = %47
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %44, !llvm.loop !6
56: ; preds = %44
%57 = load i32, ptr %4, align 4
%58 = trunc i32 %57 to i8
%59 = call i32 @putchar(i8 noundef signext %58)
br label %68
60: ; preds = %38
%61 = load i32, ptr %4, align 4
%62 = trunc i32 %61 to i8
%63 = load i32, ptr %2, align 4
%64 = sub nsw i32 4, %63
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %66
store i8 %62, ptr %67, align 1
br label %68
68: ; preds = %60, %56
br label %70
69: ; preds = %35
store i32 4, ptr %2, align 4
br label %70
70: ; preds = %69, %68
br label %75
71: ; preds = %24
%72 = load i32, ptr %4, align 4
%73 = trunc i32 %72 to i8
%74 = call i32 @putchar(i8 noundef signext %73)
br label %75
75: ; preds = %71, %70
br label %76
76: ; preds = %75, %23
br label %6, !llvm.loop !8
77: ; preds = %6
%78 = load i32, ptr %2, align 4
%79 = icmp eq i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @putchar(i8 noundef signext 10)
br label %82
82: ; preds = %80, %77
ret i32 0
}
declare i32 @getchar(...) #1
declare i64 @iscntrl(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #2
declare i32 @putchar(i8 noundef signext) #1
declare i64 @islower(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpit__f9ju.c"
target datalayout = "e-m:e-p270: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 [3 x i8], align 1
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = call i32 (...) @getchar()
store i32 %6, ptr %4, align 4
%7 = load i32, ptr @EOF, align 4
%8 = icmp ne i32 %6, %7
br i1 %8, label %.lr.ph2, label %80
.lr.ph2: ; preds = %0
br label %9
9: ; preds = %.lr.ph2, %76
%10 = load i32, ptr %4, align 4
%11 = call i64 @iscntrl(i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %23
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = call i32 @isspace(i32 noundef %14) #3
%16 = icmp ne i32 %15, 0
br i1 %16, label %23, label %17
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %17
%21 = call i32 @putchar(i8 noundef signext 10)
br label %22
22: ; preds = %20, %17
store i32 4, ptr %2, align 4
br label %76
23: ; preds = %13, %9
%24 = load i32, ptr %2, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %26, label %71
26: ; preds = %23
%27 = load i32, ptr %4, align 4
%28 = call i64 @islower(i32 noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %37, label %30
30: ; preds = %26
%31 = load i32, ptr %4, align 4
%32 = call i64 @isupper(i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %37, label %34
34: ; preds = %30
%35 = load i32, ptr %4, align 4
%36 = icmp sgt i32 %35, 127
br i1 %36, label %37, label %69
37: ; preds = %34, %30, %26
%38 = load i32, ptr %2, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %2, align 4
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %60
42: ; preds = %37
store i32 0, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 3
br i1 %44, label %.lr.ph, label %56
.lr.ph: ; preds = %42
br label %45
45: ; preds = %.lr.ph, %51
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = call i32 @putchar(i8 noundef signext %49)
br label %51
51: ; preds = %45
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %54, 3
br i1 %55, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %56
56: ; preds = %._crit_edge, %42
%57 = load i32, ptr %4, align 4
%58 = trunc i32 %57 to i8
%59 = call i32 @putchar(i8 noundef signext %58)
br label %68
60: ; preds = %37
%61 = load i32, ptr %4, align 4
%62 = trunc i32 %61 to i8
%63 = load i32, ptr %2, align 4
%64 = sub nsw i32 4, %63
%65 = sub nsw i32 %64, 1
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [3 x i8], ptr %3, i64 0, i64 %66
store i8 %62, ptr %67, align 1
br label %68
68: ; preds = %60, %56
br label %70
69: ; preds = %34
store i32 4, ptr %2, align 4
br label %70
70: ; preds = %69, %68
br label %75
71: ; preds = %23
%72 = load i32, ptr %4, align 4
%73 = trunc i32 %72 to i8
%74 = call i32 @putchar(i8 noundef signext %73)
br label %75
75: ; preds = %71, %70
br label %76
76: ; preds = %75, %22
%77 = call i32 (...) @getchar()
store i32 %77, ptr %4, align 4
%78 = load i32, ptr @EOF, align 4
%79 = icmp ne i32 %77, %78
br i1 %79, label %9, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %76
br label %80
80: ; preds = %._crit_edge3, %0
%81 = load i32, ptr %2, align 4
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %80
%84 = call i32 @putchar(i8 noundef signext 10)
br label %85
85: ; preds = %83, %80
ret i32 0
}
declare i32 @getchar(...) #1
declare i64 @iscntrl(i32 noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isspace(i32 noundef) #2
declare i32 @putchar(i8 noundef signext) #1
declare i64 @islower(i32 noundef) #1
declare i64 @isupper(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmppxfs_47r.c'
source_filename = "/tmp/tmppxfs_47r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @degrees_to_dms(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @degrees_to_dms_pr(ptr noundef %5, double noundef %6, i32 noundef 2)
ret void
}
declare i32 @degrees_to_dms_pr(ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppxfs_47r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @degrees_to_dms(ptr noundef %0, double noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca double, align 8
store ptr %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @degrees_to_dms_pr(ptr noundef %5, double noundef %6, i32 noundef 2)
ret void
}
declare i32 @degrees_to_dms_pr(ptr noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmoh6d11w.c'
source_filename = "/tmp/tmpmoh6d11w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 2
call void @to_binary(i32 noundef %10)
br label %11
11: ; preds = %8, %1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 48, %12
%14 = call i32 @putchar(i32 noundef %13)
ret void
}
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmoh6d11w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @to_binary(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = srem i32 %4, 2
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sge i32 %6, 2
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = sdiv i32 %9, 2
call void @to_binary(i32 noundef %10)
br label %11
11: ; preds = %8, %1
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 48, %12
%14 = call i32 @putchar(i32 noundef %13)
ret void
}
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"}
|
; ModuleID = '/tmp/tmpy3z61933.c'
source_filename = "/tmp/tmpy3z61933.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Bitwise Not: %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testBitWiseNot(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = xor i32 %9, -1
%11 = load i32, ptr %6, align 4
%12 = xor i32 %11, -1
%13 = load i32, ptr %7, align 4
%14 = xor i32 %13, -1
%15 = load i32, ptr %8, align 4
%16 = xor i32 %15, -1
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
ret void
}
declare i32 @printf(ptr 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/tmpy3z61933.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Bitwise Not: %d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testBitWiseNot(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = xor i32 %9, -1
%11 = load i32, ptr %6, align 4
%12 = xor i32 %11, -1
%13 = load i32, ptr %7, align 4
%14 = xor i32 %13, -1
%15 = load i32, ptr %8, align 4
%16 = xor i32 %15, -1
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
ret void
}
declare i32 @printf(ptr 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/tmpskp26rq2.c'
source_filename = "/tmp/tmpskp26rq2.c"
target datalayout = "e-m:e-p270: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/tmpskp26rq2.c"
target datalayout = "e-m:e-p270: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/tmp376i_xnb.c'
source_filename = "/tmp/tmp376i_xnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(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 = icmp sle i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %3
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @hash_searchs(i32 noundef %10, ptr noundef %11, ptr noundef %12)
br label %19
14: ; preds = %3
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %17, label %18
17: ; preds = %14
br label %18
18: ; preds = %17, %14
br label %19
19: ; preds = %18, %9
ret void
}
declare i32 @hash_searchs(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp376i_xnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search(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 = icmp sle i32 %7, 2
br i1 %8, label %9, label %14
9: ; preds = %3
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @hash_searchs(i32 noundef %10, ptr noundef %11, ptr noundef %12)
br label %19
14: ; preds = %3
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 3
br i1 %16, label %17, label %18
17: ; preds = %14
br label %18
18: ; preds = %17, %14
br label %19
19: ; preds = %18, %9
ret void
}
declare i32 @hash_searchs(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7elz79g3.c'
source_filename = "/tmp/tmp7elz79g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_simple_heuristic_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7elz79g3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ai_simple_heuristic_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.