llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpgw7x02nr.c'
source_filename = "/tmp/tmpgw7x02nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_ENCRYPT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PKCS7_ENCRYPT_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @PKCS7_ENCRYPT_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(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/tmpgw7x02nr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_ENCRYPT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PKCS7_ENCRYPT_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @PKCS7_ENCRYPT_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(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/tmph11b_bbn.c'
source_filename = "/tmp/tmph11b_bbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @_f_rintl(x86_fp80 noundef %3)
ret x86_fp80 %4
}
declare x86_fp80 @_f_rintl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph11b_bbn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local x86_fp80 @rintl(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call x86_fp80 @_f_rintl(x86_fp80 noundef %3)
ret x86_fp80 %4
}
declare x86_fp80 @_f_rintl(x86_fp80 noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbfwzend2.c'
source_filename = "/tmp/tmpbfwzend2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SupplyExt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %9, %2
br label %40
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 92)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 46)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %5, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i32 @strcat(ptr noundef %29, ptr noundef %30)
br label %40
32: ; preds = %24, %21, %14
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %32
%36 = load ptr, ptr %3, align 8
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
br label %39
39: ; preds = %35, %32
br label %40
40: ; preds = %13, %39, %28
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfwzend2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SupplyExt(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %2
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %9, %2
br label %40
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call ptr @strrchr(ptr noundef %15, i8 noundef signext 92)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 46)
store ptr %18, ptr %6, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %32
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %32
24: ; preds = %21
%25 = load ptr, ptr %6, align 8
%26 = load ptr, ptr %5, align 8
%27 = icmp ult ptr %25, %26
br i1 %27, label %28, label %32
28: ; preds = %24
%29 = load ptr, ptr %3, align 8
%30 = load ptr, ptr %4, align 8
%31 = call i32 @strcat(ptr noundef %29, ptr noundef %30)
br label %40
32: ; preds = %24, %21, %14
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %39, label %35
35: ; preds = %32
%36 = load ptr, ptr %3, align 8
%37 = load ptr, ptr %4, align 8
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
br label %39
39: ; preds = %35, %32
br label %40
40: ; preds = %39, %28, %13
ret void
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4i10uv3.c'
source_filename = "/tmp/tmpj4i10uv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotozoomSurfaceSize(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load double, ptr %9, align 8
%18 = load double, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @rotozoomSurfaceSizeTrig(i32 noundef %15, i32 noundef %16, double noundef %17, double noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %13, ptr noundef %14)
ret void
}
declare i32 @rotozoomSurfaceSizeTrig(i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4i10uv3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotozoomSurfaceSize(i32 noundef %0, i32 noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = load double, ptr %9, align 8
%18 = load double, ptr %10, align 8
%19 = load ptr, ptr %11, align 8
%20 = load ptr, ptr %12, align 8
%21 = call i32 @rotozoomSurfaceSizeTrig(i32 noundef %15, i32 noundef %16, double noundef %17, double noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %13, ptr noundef %14)
ret void
}
declare i32 @rotozoomSurfaceSizeTrig(i32 noundef, i32 noundef, double noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpchhwadng.c'
source_filename = "/tmp/tmpchhwadng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSPC = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strnunvisx(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i8 0, ptr %11, align 1
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %12, align 8
store i32 0, ptr %13, align 4
br label %15
15: ; preds = %55, %4
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %10, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %56
21: ; preds = %15
br label %22
22: ; preds = %46, %21
%23 = load i8, ptr %10, align 1
%24 = load i32, ptr %9, align 4
%25 = call i32 @unvis(ptr noundef %11, i8 noundef signext %23, ptr noundef %13, i32 noundef %24)
switch i32 %25, label %53 [
i32 1, label %26
i32 2, label %38
i32 0, label %50
i32 3, label %50
i32 -1, label %51
]
26: ; preds = %22
br label %27
27: ; preds = %26
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %7, align 8
%30 = icmp eq i64 %28, 0
br i1 %30, label %31, label %33
31: ; preds = %27
%32 = load i32, ptr @ENOSPC, align 4
store i32 %32, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
33: ; preds = %27
br label %34
34: ; preds = %33
%35 = load i8, ptr %11, align 1
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
store i8 %35, ptr %36, align 1
br label %55
38: ; preds = %22
br label %39
39: ; preds = %38
%40 = load i64, ptr %7, align 8
%41 = add i64 %40, -1
store i64 %41, ptr %7, align 8
%42 = icmp eq i64 %40, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = load i32, ptr @ENOSPC, align 4
store i32 %44, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
45: ; preds = %39
br label %46
46: ; preds = %45
%47 = load i8, ptr %11, align 1
%48 = load ptr, ptr %6, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %6, align 8
store i8 %47, ptr %48, align 1
br label %22
50: ; preds = %22, %22
br label %55
51: ; preds = %22
%52 = load i32, ptr @EINVAL, align 4
store i32 %52, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
53: ; preds = %22
%54 = load i32, ptr @EINVAL, align 4
store i32 %54, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
55: ; preds = %50, %34
br label %15, !llvm.loop !6
56: ; preds = %15
%57 = load i8, ptr %10, align 1
%58 = call i32 @unvis(ptr noundef %11, i8 noundef signext %57, ptr noundef %13, i32 noundef 2048)
%59 = icmp eq i32 %58, 1
br i1 %59, label %60, label %72
60: ; preds = %56
br label %61
61: ; preds = %60
%62 = load i64, ptr %7, align 8
%63 = add i64 %62, -1
store i64 %63, ptr %7, align 8
%64 = icmp eq i64 %62, 0
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = load i32, ptr @ENOSPC, align 4
store i32 %66, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
67: ; preds = %61
br label %68
68: ; preds = %67
%69 = load i8, ptr %11, align 1
%70 = load ptr, ptr %6, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %6, align 8
store i8 %69, ptr %70, align 1
br label %72
72: ; preds = %68, %56
br label %73
73: ; preds = %72
%74 = load i64, ptr %7, align 8
%75 = add i64 %74, -1
store i64 %75, ptr %7, align 8
%76 = icmp eq i64 %74, 0
br i1 %76, label %77, label %79
77: ; preds = %73
%78 = load i32, ptr @ENOSPC, align 4
store i32 %78, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %88
79: ; preds = %73
br label %80
80: ; preds = %79
%81 = load ptr, ptr %6, align 8
store i8 0, ptr %81, align 1
%82 = load ptr, ptr %6, align 8
%83 = load ptr, ptr %12, align 8
%84 = ptrtoint ptr %82 to i64
%85 = ptrtoint ptr %83 to i64
%86 = sub i64 %84, %85
%87 = trunc i64 %86 to i32
store i32 %87, ptr %5, align 4
br label %88
88: ; preds = %80, %77, %65, %53, %51, %43, %31
%89 = load i32, ptr %5, align 4
ret i32 %89
}
declare i32 @unvis(ptr noundef, i8 noundef signext, 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/tmpchhwadng.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSPC = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strnunvisx(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i8 0, ptr %11, align 1
%14 = load ptr, ptr %6, align 8
store ptr %14, ptr %12, align 8
store i32 0, ptr %13, align 4
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %8, align 8
%17 = load i8, ptr %15, align 1
store i8 %17, ptr %10, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 0
br i1 %19, label %.lr.ph, label %60
.lr.ph: ; preds = %4
br label %20
20: ; preds = %.lr.ph, %54
br label %21
21: ; preds = %45, %20
%22 = load i8, ptr %10, align 1
%23 = load i32, ptr %9, align 4
%24 = call i32 @unvis(ptr noundef %11, i8 noundef signext %22, ptr noundef %13, i32 noundef %23)
switch i32 %24, label %52 [
i32 1, label %25
i32 2, label %37
i32 0, label %49
i32 3, label %49
i32 -1, label %50
]
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %7, align 8
%29 = icmp eq i64 %27, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load i32, ptr @ENOSPC, align 4
store i32 %31, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
32: ; preds = %26
br label %33
33: ; preds = %32
%34 = load i8, ptr %11, align 1
%35 = load ptr, ptr %6, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %6, align 8
store i8 %34, ptr %35, align 1
br label %54
37: ; preds = %21
br label %38
38: ; preds = %37
%39 = load i64, ptr %7, align 8
%40 = add i64 %39, -1
store i64 %40, ptr %7, align 8
%41 = icmp eq i64 %39, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = load i32, ptr @ENOSPC, align 4
store i32 %43, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
44: ; preds = %38
br label %45
45: ; preds = %44
%46 = load i8, ptr %11, align 1
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %6, align 8
store i8 %46, ptr %47, align 1
br label %21
49: ; preds = %21, %21
br label %54
50: ; preds = %21
%51 = load i32, ptr @EINVAL, align 4
store i32 %51, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
52: ; preds = %21
%53 = load i32, ptr @EINVAL, align 4
store i32 %53, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
54: ; preds = %49, %33
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %8, align 8
%57 = load i8, ptr %55, align 1
store i8 %57, ptr %10, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %58, 0
br i1 %59, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %4
%61 = load i8, ptr %10, align 1
%62 = call i32 @unvis(ptr noundef %11, i8 noundef signext %61, ptr noundef %13, i32 noundef 2048)
%63 = icmp eq i32 %62, 1
br i1 %63, label %64, label %76
64: ; preds = %60
br label %65
65: ; preds = %64
%66 = load i64, ptr %7, align 8
%67 = add i64 %66, -1
store i64 %67, ptr %7, align 8
%68 = icmp eq i64 %66, 0
br i1 %68, label %69, label %71
69: ; preds = %65
%70 = load i32, ptr @ENOSPC, align 4
store i32 %70, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
71: ; preds = %65
br label %72
72: ; preds = %71
%73 = load i8, ptr %11, align 1
%74 = load ptr, ptr %6, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %6, align 8
store i8 %73, ptr %74, align 1
br label %76
76: ; preds = %72, %60
br label %77
77: ; preds = %76
%78 = load i64, ptr %7, align 8
%79 = add i64 %78, -1
store i64 %79, ptr %7, align 8
%80 = icmp eq i64 %78, 0
br i1 %80, label %81, label %83
81: ; preds = %77
%82 = load i32, ptr @ENOSPC, align 4
store i32 %82, ptr @errno, align 4
store i32 -1, ptr %5, align 4
br label %92
83: ; preds = %77
br label %84
84: ; preds = %83
%85 = load ptr, ptr %6, align 8
store i8 0, ptr %85, align 1
%86 = load ptr, ptr %6, align 8
%87 = load ptr, ptr %12, align 8
%88 = ptrtoint ptr %86 to i64
%89 = ptrtoint ptr %87 to i64
%90 = sub i64 %88, %89
%91 = trunc i64 %90 to i32
store i32 %91, ptr %5, align 4
br label %92
92: ; preds = %84, %81, %69, %52, %50, %42, %30
%93 = load i32, ptr %5, align 4
ret i32 %93
}
declare i32 @unvis(ptr noundef, i8 noundef signext, 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/tmpv8et618i.c'
source_filename = "/tmp/tmpv8et618i.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Expected at least %d arguments, got %d\0A\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @wrong_variable_argc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @fflush(ptr noundef null)
%6 = load i32, ptr @stderr, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fflush(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpv8et618i.c"
target datalayout = "e-m:e-p270: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 [40 x i8] c"Expected at least %d arguments, got %d\0A\00", align 1
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @wrong_variable_argc(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = call i32 @fflush(ptr noundef null)
%6 = load i32, ptr @stderr, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, i32 noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fflush(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpdhvy6it0.c'
source_filename = "/tmp/tmpdhvy6it0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @remainderl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
%5 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store x86_fp80 %1, ptr %4, align 16
%6 = load x86_fp80, ptr %3, align 16
%7 = load x86_fp80, ptr %4, align 16
%8 = call x86_fp80 @remquol(x86_fp80 noundef %6, x86_fp80 noundef %7, ptr noundef %5) #2
ret x86_fp80 %8
}
; Function Attrs: nounwind
declare x86_fp80 @remquol(x86_fp80 noundef, x86_fp80 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 = { 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/tmpdhvy6it0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @remainderl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
%5 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store x86_fp80 %1, ptr %4, align 16
%6 = load x86_fp80, ptr %3, align 16
%7 = load x86_fp80, ptr %4, align 16
%8 = call x86_fp80 @remquol(x86_fp80 noundef %6, x86_fp80 noundef %7, ptr noundef %5) #2
ret x86_fp80 %8
}
; Function Attrs: nounwind
declare x86_fp80 @remquol(x86_fp80 noundef, x86_fp80 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 = { 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/tmpn0ofnjnx.c'
source_filename = "/tmp/tmpn0ofnjnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om2quLoopf(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca [9 x double], align 16
%17 = alloca [4 x double], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 9, ptr %14, align 8
store i64 4, ptr %15, align 8
store i64 0, ptr %11, align 8
br label %18
18: ; preds = %69, %4
%19 = load i64, ptr %11, align 8
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %72
22: ; preds = %18
%23 = load i64, ptr %11, align 8
%24 = load i64, ptr %14, align 8
%25 = mul i64 %23, %24
store i64 %25, ptr %12, align 8
%26 = load i64, ptr %11, align 8
%27 = load i64, ptr %15, align 8
%28 = mul i64 %26, %27
store i64 %28, ptr %13, align 8
store i64 0, ptr %10, align 8
br label %29
29: ; preds = %43, %22
%30 = load i64, ptr %10, align 8
%31 = load i64, ptr %14, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %33, label %46
33: ; preds = %29
%34 = load ptr, ptr %5, align 8
%35 = load i64, ptr %12, align 8
%36 = load i64, ptr %10, align 8
%37 = add i64 %35, %36
%38 = getelementptr inbounds float, ptr %34, i64 %37
%39 = load float, ptr %38, align 4
%40 = fpext float %39 to double
%41 = load i64, ptr %10, align 8
%42 = getelementptr inbounds [9 x double], ptr %16, i64 0, i64 %41
store double %40, ptr %42, align 8
br label %43
43: ; preds = %33
%44 = load i64, ptr %10, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %10, align 8
br label %29, !llvm.loop !6
46: ; preds = %29
%47 = getelementptr inbounds [9 x double], ptr %16, i64 0, i64 0
%48 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 0
%49 = load i32, ptr %8, align 4
%50 = call i32 @om2qu(ptr noundef %47, ptr noundef %48, i32 noundef %49)
store i32 %50, ptr %9, align 4
store i64 0, ptr %10, align 8
br label %51
51: ; preds = %65, %46
%52 = load i64, ptr %10, align 8
%53 = load i64, ptr %15, align 8
%54 = icmp ult i64 %52, %53
br i1 %54, label %55, label %68
55: ; preds = %51
%56 = load i64, ptr %10, align 8
%57 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 %56
%58 = load double, ptr %57, align 8
%59 = fptrunc double %58 to float
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %13, align 8
%62 = load i64, ptr %10, align 8
%63 = add i64 %61, %62
%64 = getelementptr inbounds float, ptr %60, i64 %63
store float %59, ptr %64, align 4
br label %65
65: ; preds = %55
%66 = load i64, ptr %10, align 8
%67 = add i64 %66, 1
store i64 %67, ptr %10, align 8
br label %51, !llvm.loop !8
68: ; preds = %51
br label %69
69: ; preds = %68
%70 = load i64, ptr %11, align 8
%71 = add i64 %70, 1
store i64 %71, ptr %11, align 8
br label %18, !llvm.loop !9
72: ; preds = %18
ret i32 1
}
declare i32 @om2qu(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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0ofnjnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @om2quLoopf(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca [9 x double], align 16
%17 = alloca [4 x double], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i64 9, ptr %14, align 8
store i64 4, ptr %15, align 8
store i64 0, ptr %11, align 8
%18 = load i64, ptr %11, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %.lr.ph5, label %78
.lr.ph5: ; preds = %4
br label %21
21: ; preds = %.lr.ph5, %72
%22 = load i64, ptr %11, align 8
%23 = load i64, ptr %14, align 8
%24 = mul i64 %22, %23
store i64 %24, ptr %12, align 8
%25 = load i64, ptr %11, align 8
%26 = load i64, ptr %15, align 8
%27 = mul i64 %25, %26
store i64 %27, ptr %13, align 8
store i64 0, ptr %10, align 8
%28 = load i64, ptr %10, align 8
%29 = load i64, ptr %14, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %.lr.ph, label %47
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %41
%32 = load ptr, ptr %5, align 8
%33 = load i64, ptr %12, align 8
%34 = load i64, ptr %10, align 8
%35 = add i64 %33, %34
%36 = getelementptr inbounds float, ptr %32, i64 %35
%37 = load float, ptr %36, align 4
%38 = fpext float %37 to double
%39 = load i64, ptr %10, align 8
%40 = getelementptr inbounds [9 x double], ptr %16, i64 0, i64 %39
store double %38, ptr %40, align 8
br label %41
41: ; preds = %31
%42 = load i64, ptr %10, align 8
%43 = add i64 %42, 1
store i64 %43, ptr %10, align 8
%44 = load i64, ptr %10, align 8
%45 = load i64, ptr %14, align 8
%46 = icmp ult i64 %44, %45
br i1 %46, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %21
%48 = getelementptr inbounds [9 x double], ptr %16, i64 0, i64 0
%49 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 0
%50 = load i32, ptr %8, align 4
%51 = call i32 @om2qu(ptr noundef %48, ptr noundef %49, i32 noundef %50)
store i32 %51, ptr %9, align 4
store i64 0, ptr %10, align 8
%52 = load i64, ptr %10, align 8
%53 = load i64, ptr %15, align 8
%54 = icmp ult i64 %52, %53
br i1 %54, label %.lr.ph2, label %71
.lr.ph2: ; preds = %47
br label %55
55: ; preds = %.lr.ph2, %65
%56 = load i64, ptr %10, align 8
%57 = getelementptr inbounds [4 x double], ptr %17, i64 0, i64 %56
%58 = load double, ptr %57, align 8
%59 = fptrunc double %58 to float
%60 = load ptr, ptr %6, align 8
%61 = load i64, ptr %13, align 8
%62 = load i64, ptr %10, align 8
%63 = add i64 %61, %62
%64 = getelementptr inbounds float, ptr %60, i64 %63
store float %59, ptr %64, align 4
br label %65
65: ; preds = %55
%66 = load i64, ptr %10, align 8
%67 = add i64 %66, 1
store i64 %67, ptr %10, align 8
%68 = load i64, ptr %10, align 8
%69 = load i64, ptr %15, align 8
%70 = icmp ult i64 %68, %69
br i1 %70, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %65
br label %71
71: ; preds = %._crit_edge3, %47
br label %72
72: ; preds = %71
%73 = load i64, ptr %11, align 8
%74 = add i64 %73, 1
store i64 %74, ptr %11, align 8
%75 = load i64, ptr %11, align 8
%76 = load i64, ptr %7, align 8
%77 = icmp ult i64 %75, %76
br i1 %77, label %21, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %72
br label %78
78: ; preds = %._crit_edge6, %4
ret i32 1
}
declare i32 @om2qu(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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp94wahljv.c'
source_filename = "/tmp/tmp94wahljv.c"
target datalayout = "e-m:e-p270: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 [209 x i8] c"Usage: %s [OPTIONS] REGEX\0AOptions:\0A -v or --verbose Turn on verbose messages.\0A -D or --debug Turn on debug messages.\0A -V or --version Display the version.\0A -h or --help Display this message.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @applet(ptr noundef %6)
%8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @applet(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/tmp94wahljv.c"
target datalayout = "e-m:e-p270: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 [209 x i8] c"Usage: %s [OPTIONS] REGEX\0AOptions:\0A -v or --verbose Turn on verbose messages.\0A -D or --debug Turn on debug messages.\0A -V or --version Display the version.\0A -h or --help Display this message.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @applet(ptr noundef %6)
%8 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %7)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @applet(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/tmpy7k28j5v.c'
source_filename = "/tmp/tmpy7k28j5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmemrchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %32
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
store ptr %14, ptr %8, align 8
br label %15
15: ; preds = %27, %11
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 -1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = load i32, ptr %6, align 4
%21 = trunc i32 %20 to i8
%22 = zext i8 %21 to i32
%23 = icmp eq i32 %19, %22
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %4, align 8
br label %33
26: ; preds = %15
br label %27
27: ; preds = %26
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %7, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %15, label %31, !llvm.loop !6
31: ; preds = %27
br label %32
32: ; preds = %31, %3
store ptr null, ptr %4, align 8
br label %33
33: ; preds = %32, %24
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy7k28j5v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cmemrchr(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %32
11: ; preds = %3
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
store ptr %14, ptr %8, align 8
br label %15
15: ; preds = %27, %11
%16 = load ptr, ptr %8, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 -1
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %17, align 1
%19 = zext i8 %18 to i32
%20 = load i32, ptr %6, align 4
%21 = trunc i32 %20 to i8
%22 = zext i8 %21 to i32
%23 = icmp eq i32 %19, %22
br i1 %23, label %24, label %26
24: ; preds = %15
%25 = load ptr, ptr %8, align 8
store ptr %25, ptr %4, align 8
br label %33
26: ; preds = %15
br label %27
27: ; preds = %26
%28 = load i64, ptr %7, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %7, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %15, label %31, !llvm.loop !6
31: ; preds = %27
br label %32
32: ; preds = %31, %3
store ptr null, ptr %4, align 8
br label %33
33: ; preds = %32, %24
%34 = load ptr, ptr %4, align 8
ret ptr %34
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp123umc72.c'
source_filename = "/tmp/tmp123umc72.c"
target datalayout = "e-m:e-p270: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"data is sorted\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"data is not sorted\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %27, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = sub nsw i32 %9, 1
%11 = icmp slt i32 %8, %10
br i1 %11, label %12, label %30
12: ; preds = %7
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %18, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp sgt i32 %17, %23
br i1 %24, label %25, label %26
25: ; preds = %12
store i32 1, ptr %6, align 4
br label %30
26: ; preds = %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
br label %7, !llvm.loop !6
30: ; preds = %25, %7
%31 = load i32, ptr %6, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %30
%34 = call i32 @printf(ptr noundef @.str)
br label %37
35: ; preds = %30
%36 = call i32 @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35, %33
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp123umc72.c"
target datalayout = "e-m:e-p270: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"data is sorted\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"data is not sorted\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @checkSort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = sub nsw i32 %8, 1
%10 = icmp slt i32 %7, %9
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %26
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %17, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp sgt i32 %16, %22
br i1 %23, label %24, label %25
24: ; preds = %11
store i32 1, ptr %6, align 4
br label %33
25: ; preds = %11
br label %26
26: ; preds = %25
%27 = load i32, ptr %5, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %4, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp slt i32 %29, %31
br i1 %32, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %26
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %33
33: ; preds = %.loopexit, %24
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %33
%37 = call i32 @printf(ptr noundef @.str)
br label %40
38: ; preds = %33
%39 = call i32 @printf(ptr noundef @.str.1)
br label %40
40: ; preds = %38, %36
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"}
|
; ModuleID = '/tmp/tmppkgirpec.c'
source_filename = "/tmp/tmppkgirpec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expander_Write_Byte(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = call i32 (...) @TWIE_Start()
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = shl i32 %9, 1
%11 = trunc i32 %10 to i8
%12 = call i32 @TWIE_Write(i8 noundef signext %11)
%13 = load i8, ptr %5, align 1
%14 = call i32 @TWIE_Write(i8 noundef signext %13)
%15 = load i8, ptr %6, align 1
%16 = call i32 @TWIE_Write(i8 noundef signext %15)
%17 = call i32 (...) @TWIE_Stop()
ret void
}
declare i32 @TWIE_Start(...) #1
declare i32 @TWIE_Write(i8 noundef signext) #1
declare i32 @TWIE_Stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkgirpec.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expander_Write_Byte(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store i8 %2, ptr %6, align 1
%7 = call i32 (...) @TWIE_Start()
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = shl i32 %9, 1
%11 = trunc i32 %10 to i8
%12 = call i32 @TWIE_Write(i8 noundef signext %11)
%13 = load i8, ptr %5, align 1
%14 = call i32 @TWIE_Write(i8 noundef signext %13)
%15 = load i8, ptr %6, align 1
%16 = call i32 @TWIE_Write(i8 noundef signext %15)
%17 = call i32 (...) @TWIE_Stop()
ret void
}
declare i32 @TWIE_Start(...) #1
declare i32 @TWIE_Write(i8 noundef signext) #1
declare i32 @TWIE_Stop(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5pct7odw.c'
source_filename = "/tmp/tmp5pct7odw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SelectGySleep(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %30
8: ; preds = %1
%9 = call i32 @RegWriteA(i32 noundef 257, i32 noundef 0)
%10 = call i32 @RegWriteA(i32 noundef 640, i32 noundef 1)
%11 = call i32 @RegReadA(i32 noundef 641, ptr noundef %4)
%12 = load i8, ptr %4, align 1
%13 = zext i8 %12 to i32
%14 = or i32 %13, 4
%15 = call i32 @RegWriteA(i32 noundef 641, i32 noundef %14)
%16 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%17 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 1)
%18 = call i32 @AccWit(i32 noundef 1)
%19 = call i32 @RegReadA(i32 noundef 656, ptr noundef %3)
%20 = load i8, ptr %3, align 1
%21 = zext i8 %20 to i32
%22 = or i32 %21, 64
%23 = trunc i32 %22 to i8
store i8 %23, ptr %3, align 1
%24 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%25 = load i8, ptr %3, align 1
%26 = zext i8 %25 to i32
%27 = call i32 @RegWriteA(i32 noundef 650, i32 noundef %26)
%28 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 16)
%29 = call i32 @AccWit(i32 noundef 16)
br label %53
30: ; preds = %1
%31 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%32 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 1)
%33 = call i32 @AccWit(i32 noundef 1)
%34 = call i32 @RegReadA(i32 noundef 656, ptr noundef %3)
%35 = load i8, ptr %3, align 1
%36 = zext i8 %35 to i32
%37 = and i32 %36, -65
%38 = trunc i32 %37 to i8
store i8 %38, ptr %3, align 1
%39 = load i8, ptr %3, align 1
%40 = zext i8 %39 to i32
%41 = call i32 @RegWriteA(i32 noundef 650, i32 noundef %40)
%42 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 16)
%43 = call i32 @AccWit(i32 noundef 16)
%44 = call i32 @RegReadA(i32 noundef 641, ptr noundef %4)
%45 = load i8, ptr %4, align 1
%46 = zext i8 %45 to i32
%47 = and i32 %46, -5
%48 = call i32 @RegWriteA(i32 noundef 641, i32 noundef %47)
%49 = call i32 (...) @GyOutSignal()
%50 = call i32 @WitTim(i32 noundef 50)
%51 = call i32 @RegWriteA(i32 noundef 257, i32 noundef 1)
%52 = call i32 @ClrGyr(i32 noundef 127, i32 noundef 2)
br label %53
53: ; preds = %30, %8
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
declare i32 @AccWit(i32 noundef) #1
declare i32 @GyOutSignal(...) #1
declare i32 @WitTim(i32 noundef) #1
declare i32 @ClrGyr(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/tmp5pct7odw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SelectGySleep(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %30
8: ; preds = %1
%9 = call i32 @RegWriteA(i32 noundef 257, i32 noundef 0)
%10 = call i32 @RegWriteA(i32 noundef 640, i32 noundef 1)
%11 = call i32 @RegReadA(i32 noundef 641, ptr noundef %4)
%12 = load i8, ptr %4, align 1
%13 = zext i8 %12 to i32
%14 = or i32 %13, 4
%15 = call i32 @RegWriteA(i32 noundef 641, i32 noundef %14)
%16 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%17 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 1)
%18 = call i32 @AccWit(i32 noundef 1)
%19 = call i32 @RegReadA(i32 noundef 656, ptr noundef %3)
%20 = load i8, ptr %3, align 1
%21 = zext i8 %20 to i32
%22 = or i32 %21, 64
%23 = trunc i32 %22 to i8
store i8 %23, ptr %3, align 1
%24 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%25 = load i8, ptr %3, align 1
%26 = zext i8 %25 to i32
%27 = call i32 @RegWriteA(i32 noundef 650, i32 noundef %26)
%28 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 16)
%29 = call i32 @AccWit(i32 noundef 16)
br label %53
30: ; preds = %1
%31 = call i32 @RegWriteA(i32 noundef 643, i32 noundef 107)
%32 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 1)
%33 = call i32 @AccWit(i32 noundef 1)
%34 = call i32 @RegReadA(i32 noundef 656, ptr noundef %3)
%35 = load i8, ptr %3, align 1
%36 = zext i8 %35 to i32
%37 = and i32 %36, -65
%38 = trunc i32 %37 to i8
store i8 %38, ptr %3, align 1
%39 = load i8, ptr %3, align 1
%40 = zext i8 %39 to i32
%41 = call i32 @RegWriteA(i32 noundef 650, i32 noundef %40)
%42 = call i32 @RegWriteA(i32 noundef 642, i32 noundef 16)
%43 = call i32 @AccWit(i32 noundef 16)
%44 = call i32 @RegReadA(i32 noundef 641, ptr noundef %4)
%45 = load i8, ptr %4, align 1
%46 = zext i8 %45 to i32
%47 = and i32 %46, -5
%48 = call i32 @RegWriteA(i32 noundef 641, i32 noundef %47)
%49 = call i32 (...) @GyOutSignal()
%50 = call i32 @WitTim(i32 noundef 50)
%51 = call i32 @RegWriteA(i32 noundef 257, i32 noundef 1)
%52 = call i32 @ClrGyr(i32 noundef 127, i32 noundef 2)
br label %53
53: ; preds = %30, %8
ret void
}
declare i32 @RegWriteA(i32 noundef, i32 noundef) #1
declare i32 @RegReadA(i32 noundef, ptr noundef) #1
declare i32 @AccWit(i32 noundef) #1
declare i32 @GyOutSignal(...) #1
declare i32 @WitTim(i32 noundef) #1
declare i32 @ClrGyr(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/tmpvpbjaqrl.c'
source_filename = "/tmp/tmpvpbjaqrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @help_run(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvpbjaqrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @help_run(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
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplui40ksm.c'
source_filename = "/tmp/tmplui40ksm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @cgiOptionalDouble(ptr noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @cgiVarExists(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load double, ptr %5, align 8
store double %10, ptr %3, align 8
br label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call double @cgiDouble(ptr noundef %12)
store double %13, ptr %3, align 8
br label %14
14: ; preds = %11, %9
%15 = load double, ptr %3, align 8
ret double %15
}
declare i32 @cgiVarExists(ptr noundef) #1
declare double @cgiDouble(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/tmplui40ksm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @cgiOptionalDouble(ptr noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca double, align 8
store ptr %0, ptr %4, align 8
store double %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @cgiVarExists(ptr noundef %6)
%8 = icmp ne i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %2
%10 = load double, ptr %5, align 8
store double %10, ptr %3, align 8
br label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call double @cgiDouble(ptr noundef %12)
store double %13, ptr %3, align 8
br label %14
14: ; preds = %11, %9
%15 = load double, ptr %3, align 8
ret double %15
}
declare i32 @cgiVarExists(ptr noundef) #1
declare double @cgiDouble(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/tmpx6dzwbs8.c'
source_filename = "/tmp/tmpx6dzwbs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"random seed: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"colcomp_test Ok\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 %struct.timeval, align 4
%7 = 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
%8 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
%9 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sge i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strtoul(ptr noundef %16, ptr noundef null, i32 noundef 0)
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = call i32 @srand(i32 noundef %21)
%23 = call i32 (...) @colcomp_test_int8()
%24 = call i32 (...) @colcomp_test_int16()
%25 = call i32 (...) @colcomp_test_int32()
%26 = call i32 (...) @colcomp_test_int64()
%27 = call i32 (...) @colcomp_test_uint8()
%28 = call i32 (...) @colcomp_test_uint16()
%29 = call i32 (...) @colcomp_test_uint32()
%30 = call i32 (...) @colcomp_test_uint64()
%31 = call i32 (...) @colcomp_test_float()
%32 = call i32 (...) @colcomp_test_double()
%33 = call i32 (...) @colcomp_test_bool()
%34 = call i32 (...) @colcomp_test_string()
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @colcomp_test_int8(...) #1
declare i32 @colcomp_test_int16(...) #1
declare i32 @colcomp_test_int32(...) #1
declare i32 @colcomp_test_int64(...) #1
declare i32 @colcomp_test_uint8(...) #1
declare i32 @colcomp_test_uint16(...) #1
declare i32 @colcomp_test_uint32(...) #1
declare i32 @colcomp_test_uint64(...) #1
declare i32 @colcomp_test_float(...) #1
declare i32 @colcomp_test_double(...) #1
declare i32 @colcomp_test_bool(...) #1
declare i32 @colcomp_test_string(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx6dzwbs8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32 }
@.str = private unnamed_addr constant [17 x i8] c"random seed: %u\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"colcomp_test Ok\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 %struct.timeval, align 4
%7 = 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
%8 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null)
%9 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sge i32 %11, 2
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @strtoul(ptr noundef %16, ptr noundef null, i32 noundef 0)
store i32 %17, ptr %7, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = call i32 @srand(i32 noundef %21)
%23 = call i32 (...) @colcomp_test_int8()
%24 = call i32 (...) @colcomp_test_int16()
%25 = call i32 (...) @colcomp_test_int32()
%26 = call i32 (...) @colcomp_test_int64()
%27 = call i32 (...) @colcomp_test_uint8()
%28 = call i32 (...) @colcomp_test_uint16()
%29 = call i32 (...) @colcomp_test_uint32()
%30 = call i32 (...) @colcomp_test_uint64()
%31 = call i32 (...) @colcomp_test_float()
%32 = call i32 (...) @colcomp_test_double()
%33 = call i32 (...) @colcomp_test_bool()
%34 = call i32 (...) @colcomp_test_string()
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%36 = load i32, ptr %3, align 4
ret i32 %36
}
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @srand(i32 noundef) #1
declare i32 @colcomp_test_int8(...) #1
declare i32 @colcomp_test_int16(...) #1
declare i32 @colcomp_test_int32(...) #1
declare i32 @colcomp_test_int64(...) #1
declare i32 @colcomp_test_uint8(...) #1
declare i32 @colcomp_test_uint16(...) #1
declare i32 @colcomp_test_uint32(...) #1
declare i32 @colcomp_test_uint64(...) #1
declare i32 @colcomp_test_float(...) #1
declare i32 @colcomp_test_double(...) #1
declare i32 @colcomp_test_bool(...) #1
declare i32 @colcomp_test_string(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbxxr6t52.c'
source_filename = "/tmp/tmpbxxr6t52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_matrix_double(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %20, %3
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = mul nsw i32 %10, %11
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %23
14: ; preds = %8
%15 = call double (...) @drand()
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %7, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
store double %15, ptr %19, align 8
br label %20
20: ; preds = %14
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
ret void
}
declare double @drand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbxxr6t52.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rand_matrix_double(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = mul nsw i32 %9, %10
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %19
%14 = call double (...) @drand()
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
store double %14, ptr %18, align 8
br label %19
19: ; preds = %13
%20 = load i32, ptr %7, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = mul nsw i32 %23, %24
%26 = icmp slt i32 %22, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %27
27: ; preds = %._crit_edge, %3
ret void
}
declare double @drand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpwebrusj5.c'
source_filename = "/tmp/tmpwebrusj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setSlotFull(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 @setFullStatus(ptr noundef %3, i32 noundef 1)
ret void
}
declare i32 @setFullStatus(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/tmpwebrusj5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setSlotFull(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 @setFullStatus(ptr noundef %3, i32 noundef 1)
ret void
}
declare i32 @setFullStatus(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/tmp20vai3f7.c'
source_filename = "/tmp/tmp20vai3f7.c"
target datalayout = "e-m:e-p270: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"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shmem_wait_until(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp20vai3f7.c"
target datalayout = "e-m:e-p270: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"\0AOpenSHMEM Analyzer\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @shmem_wait_until(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i64 %2, ptr %6, align 8
%7 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzcy33ojw.c'
source_filename = "/tmp/tmpzcy33ojw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call i32 (...) @run_test()
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @run_test()
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @run_test()
store i32 %13, ptr %8, align 4
%14 = call i32 (...) @run_test()
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @waitpid(i32 noundef %15, ptr noundef %10, i32 noundef 0)
%17 = load i32, ptr %7, align 4
%18 = call i32 @waitpid(i32 noundef %17, ptr noundef %10, i32 noundef 0)
%19 = load i32, ptr %8, align 4
%20 = call i32 @waitpid(i32 noundef %19, ptr noundef %10, i32 noundef 0)
%21 = load i32, ptr %9, align 4
%22 = call i32 @waitpid(i32 noundef %21, ptr noundef %10, i32 noundef 0)
ret i32 0
}
declare i32 @run_test(...) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcy33ojw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = call i32 (...) @run_test()
store i32 %11, ptr %6, align 4
%12 = call i32 (...) @run_test()
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @run_test()
store i32 %13, ptr %8, align 4
%14 = call i32 (...) @run_test()
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 @waitpid(i32 noundef %15, ptr noundef %10, i32 noundef 0)
%17 = load i32, ptr %7, align 4
%18 = call i32 @waitpid(i32 noundef %17, ptr noundef %10, i32 noundef 0)
%19 = load i32, ptr %8, align 4
%20 = call i32 @waitpid(i32 noundef %19, ptr noundef %10, i32 noundef 0)
%21 = load i32, ptr %9, align 4
%22 = call i32 @waitpid(i32 noundef %21, ptr noundef %10, i32 noundef 0)
ret i32 0
}
declare i32 @run_test(...) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvypi3s7w.c'
source_filename = "/tmp/tmpvypi3s7w.c"
target datalayout = "e-m:e-p270: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"testAslImplied: %d\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"testAslZeropage: %d\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"testAslZeropageX: %d\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"testAslAbsolute: %d\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"testAslAbsoluteX: %d\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testAsl() #0 {
%1 = call i32 (...) @testAslImplied()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 (...) @testAslZeropage()
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 (...) @testAslZeropageX()
%6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (...) @testAslAbsolute()
%8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7)
%9 = call i32 (...) @testAslAbsoluteX()
%10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @testAslImplied(...) #1
declare i32 @testAslZeropage(...) #1
declare i32 @testAslZeropageX(...) #1
declare i32 @testAslAbsolute(...) #1
declare i32 @testAslAbsoluteX(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvypi3s7w.c"
target datalayout = "e-m:e-p270: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"testAslImplied: %d\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"testAslZeropage: %d\0D\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"testAslZeropageX: %d\0D\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"testAslAbsolute: %d\0D\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"testAslAbsoluteX: %d\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testAsl() #0 {
%1 = call i32 (...) @testAslImplied()
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 (...) @testAslZeropage()
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef %3)
%5 = call i32 (...) @testAslZeropageX()
%6 = call i32 @printf(ptr noundef @.str.2, i32 noundef %5)
%7 = call i32 (...) @testAslAbsolute()
%8 = call i32 @printf(ptr noundef @.str.3, i32 noundef %7)
%9 = call i32 (...) @testAslAbsoluteX()
%10 = call i32 @printf(ptr noundef @.str.4, i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @testAslImplied(...) #1
declare i32 @testAslZeropage(...) #1
declare i32 @testAslZeropageX(...) #1
declare i32 @testAslAbsolute(...) #1
declare i32 @testAslAbsoluteX(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvamg14oz.c'
source_filename = "/tmp/tmpvamg14oz.c"
target datalayout = "e-m:e-p270: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"Enter a message: \00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Your message was %d character(s) long.\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 i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call signext i8 (...) @getchar()
store i8 %9, ptr %6, align 1
br label %10
10: ; preds = %14, %2
%11 = load i8, ptr %6, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 10
br i1 %13, label %14, label %18
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = call signext i8 (...) @getchar()
store i8 %17, ptr %6, align 1
br label %10, !llvm.loop !6
18: ; preds = %10
%19 = load i32, ptr %7, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %19)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvamg14oz.c"
target datalayout = "e-m:e-p270: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"Enter a message: \00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Your message was %d character(s) long.\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 i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call signext i8 (...) @getchar()
store i8 %9, ptr %6, align 1
%10 = load i8, ptr %6, align 1
%11 = sext i8 %10 to i32
%12 = icmp ne i32 %11, 10
br i1 %12, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %7, align 4
%16 = call signext i8 (...) @getchar()
store i8 %16, ptr %6, align 1
%17 = load i8, ptr %6, align 1
%18 = sext i8 %17 to i32
%19 = icmp ne i32 %18, 10
br i1 %19, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %2
%21 = load i32, ptr %7, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpch8h4ijo.c'
source_filename = "/tmp/tmpch8h4ijo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"A soma eh %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %27, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %30
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = srem i32 %8, 3
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %15
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, %12
store i32 %14, ptr %2, align 4
br label %15
15: ; preds = %11, %7
%16 = load i32, ptr %3, align 4
%17 = srem i32 %16, 5
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %27
19: ; preds = %15
%20 = load i32, ptr %3, align 4
%21 = srem i32 %20, 3
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load i32, ptr %3, align 4
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, %24
store i32 %26, ptr %2, align 4
br label %27
27: ; preds = %23, %19, %15
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %4, !llvm.loop !6
30: ; preds = %4
%31 = load i32, ptr %2, align 4
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %31)
%33 = load i32, ptr %1, align 4
ret i32 %33
}
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/tmpch8h4ijo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"A soma eh %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
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 1000
br i1 %5, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %26
%7 = load i32, ptr %3, align 4
%8 = srem i32 %7, 3
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %10, %6
%15 = load i32, ptr %3, align 4
%16 = srem i32 %15, 5
%17 = icmp eq i32 %16, 0
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i32, ptr %3, align 4
%20 = srem i32 %19, 3
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, %23
store i32 %25, ptr %2, align 4
br label %26
26: ; preds = %22, %18, %14
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 1000
br i1 %30, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %0
%32 = load i32, ptr %2, align 4
%33 = call i32 @printf(ptr noundef @.str, i32 noundef %32)
%34 = load i32, ptr %1, align 4
ret i32 %34
}
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/tmpg_n54wr5.c'
source_filename = "/tmp/tmpg_n54wr5.c"
target datalayout = "e-m:e-p270: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/tmpg_n54wr5.c"
target datalayout = "e-m:e-p270: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/tmptu_gqflf.c'
source_filename = "/tmp/tmptu_gqflf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Matrix\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Upper triangle\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @det(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca ptr, i64 %13, align 16
store i64 %13, ptr %7, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %15, i64 0
store ptr %16, ptr %17, align 16
store i32 1, ptr %8, align 4
br label %18
18: ; preds = %34, %2
%19 = load i32, ptr %8, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %37
22: ; preds = %18
%23 = load i32, ptr %8, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %15, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %15, i64 %32
store ptr %30, ptr %33, align 8
br label %34
34: ; preds = %22
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %18, !llvm.loop !6
37: ; preds = %18
%38 = load i32, ptr %5, align 4
%39 = call i32 @printmat(ptr noundef @.str, ptr noundef %15, i32 noundef %38)
%40 = load i32, ptr %5, align 4
%41 = call i32 @trianglize(ptr noundef %15, i32 noundef %40)
store i32 %41, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %45, label %44
44: ; preds = %37
store double 0.000000e+00, ptr %3, align 8
store i32 1, ptr %10, align 4
br label %71
45: ; preds = %37
%46 = load i32, ptr %5, align 4
%47 = call i32 @printmat(ptr noundef @.str.1, ptr noundef %15, i32 noundef %46)
store double 1.000000e+00, ptr %11, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
br label %48
48: ; preds = %63, %45
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %66
52: ; preds = %48
%53 = load i32, ptr %8, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %15, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = load double, ptr %11, align 8
%62 = fmul double %61, %60
store double %62, ptr %11, align 8
br label %63
63: ; preds = %52
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %48, !llvm.loop !8
66: ; preds = %48
%67 = load double, ptr %11, align 8
%68 = load i32, ptr %9, align 4
%69 = sitofp i32 %68 to double
%70 = fmul double %67, %69
store double %70, ptr %3, align 8
store i32 1, ptr %10, align 4
br label %71
71: ; preds = %66, %44
%72 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %72)
%73 = load double, ptr %3, align 8
ret double %73
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printmat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @trianglize(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptu_gqflf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"Matrix\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"Upper triangle\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @det(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca ptr, i64 %13, align 16
store i64 %13, ptr %7, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds ptr, ptr %15, i64 0
store ptr %16, ptr %17, align 16
store i32 1, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %33
%22 = load i32, ptr %8, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %15, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = load i32, ptr %5, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, ptr %26, i64 %28
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %15, i64 %31
store ptr %29, ptr %32, align 8
br label %33
33: ; preds = %21
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
%40 = load i32, ptr %5, align 4
%41 = call i32 @printmat(ptr noundef @.str, ptr noundef %15, i32 noundef %40)
%42 = load i32, ptr %5, align 4
%43 = call i32 @trianglize(ptr noundef %15, i32 noundef %42)
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp ne i32 %44, 0
br i1 %45, label %47, label %46
46: ; preds = %39
store double 0.000000e+00, ptr %3, align 8
store i32 1, ptr %10, align 4
br label %75
47: ; preds = %39
%48 = load i32, ptr %5, align 4
%49 = call i32 @printmat(ptr noundef @.str.1, ptr noundef %15, i32 noundef %48)
store double 1.000000e+00, ptr %11, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %8, align 4
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %5, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph2, label %70
.lr.ph2: ; preds = %47
br label %53
53: ; preds = %.lr.ph2, %64
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %15, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, ptr %57, i64 %59
%61 = load double, ptr %60, align 8
%62 = load double, ptr %11, align 8
%63 = fmul double %62, %61
store double %63, ptr %11, align 8
br label %64
64: ; preds = %53
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %5, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %64
br label %70
70: ; preds = %._crit_edge3, %47
%71 = load double, ptr %11, align 8
%72 = load i32, ptr %9, align 4
%73 = sitofp i32 %72 to double
%74 = fmul double %71, %73
store double %74, ptr %3, align 8
store i32 1, ptr %10, align 4
br label %75
75: ; preds = %70, %46
%76 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %76)
%77 = load double, ptr %3, align 8
ret double %77
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printmat(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @trianglize(ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp94bpaby1.c'
source_filename = "/tmp/tmp94bpaby1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exemplo3() #0 {
%1 = call i32 @time(i32 noundef 0)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i32 (...) @rand()
ret i32 %3
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp94bpaby1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exemplo3() #0 {
%1 = call i32 @time(i32 noundef 0)
%2 = call i32 @srand(i32 noundef %1)
%3 = call i32 (...) @rand()
ret i32 %3
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxx48epti.c'
source_filename = "/tmp/tmpxx48epti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"new thread: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printIds(ptr noundef @.str)
ret ptr null
}
declare i32 @printIds(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/tmpxx48epti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"new thread: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @threadFunc(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printIds(ptr noundef @.str)
ret ptr null
}
declare i32 @printIds(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/tmpqj434it6.c'
source_filename = "/tmp/tmpqj434it6.c"
target datalayout = "e-m:e-p270: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"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @call_literal_string_parameter1_Good() #0 {
%1 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @literal_string_parameter(ptr noundef %2)
ret void
}
declare i32 @literal_string_parameter(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/tmpqj434it6.c"
target datalayout = "e-m:e-p270: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"hello\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @call_literal_string_parameter1_Good() #0 {
%1 = alloca ptr, align 8
store ptr @.str, ptr %1, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @literal_string_parameter(ptr noundef %2)
ret void
}
declare i32 @literal_string_parameter(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/tmpi1c8a6o6.c'
source_filename = "/tmp/tmpi1c8a6o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.protoent = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Uso: %s <protocollo>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Err. getprotobyname()\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"Err. socket() - %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Err. bind() - %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @getprotobyname(ptr noundef %22)
store ptr %23, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %19
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %19
%31 = load i32, ptr @AF_INET, align 4
%32 = load i32, ptr @SOCK_STREAM, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.protoent, ptr %33, i32 0, i32 0
%35 = load i32, ptr %34, align 4
%36 = call i32 @socket(i32 noundef %31, i32 noundef %32, i32 noundef %35)
store i32 %36, ptr %8, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %30
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr @errno, align 4
%41 = call ptr @strerror(i32 noundef %40)
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.2, ptr noundef %41)
%43 = load i32, ptr @EXIT_FAILURE, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
45: ; preds = %30
%46 = load i32, ptr @AF_INET, align 4
%47 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %46, ptr %47, align 4
%48 = load i32, ptr @INADDR_ANY, align 4
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i32 0, i32 0
store i32 %48, ptr %50, align 4
%51 = call i32 @htons(i32 noundef 7000)
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %51, ptr %52, align 4
%53 = load i32, ptr %8, align 4
%54 = call i64 @bind(i32 noundef %53, ptr noundef %6, i32 noundef 12)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %45
%57 = load i32, ptr @stderr, align 4
%58 = load i32, ptr @errno, align 4
%59 = call ptr @strerror(i32 noundef %58)
%60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3, ptr noundef %59)
%61 = load i32, ptr @EXIT_FAILURE, align 4
%62 = call i32 @exit(i32 noundef %61) #3
unreachable
63: ; preds = %45
%64 = call i32 @sleep(i32 noundef 30)
%65 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %65
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getprotobyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi1c8a6o6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
%struct.protoent = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"Uso: %s <protocollo>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"Err. getprotobyname()\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [20 x i8] c"Err. socket() - %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@INADDR_ANY = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [18 x i8] c"Err. bind() - %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.sockaddr_in, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %19
11: ; preds = %2
%12 = load i32, ptr @stderr, align 4
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 0
%15 = load ptr, ptr %14, align 8
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %15)
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @exit(i32 noundef %17) #3
unreachable
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @getprotobyname(ptr noundef %22)
store ptr %23, ptr %7, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %19
%26 = load i32, ptr @stderr, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.1)
%28 = load i32, ptr @EXIT_FAILURE, align 4
%29 = call i32 @exit(i32 noundef %28) #3
unreachable
30: ; preds = %19
%31 = load i32, ptr @AF_INET, align 4
%32 = load i32, ptr @SOCK_STREAM, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds %struct.protoent, ptr %33, i32 0, i32 0
%35 = load i32, ptr %34, align 4
%36 = call i32 @socket(i32 noundef %31, i32 noundef %32, i32 noundef %35)
store i32 %36, ptr %8, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %38, label %45
38: ; preds = %30
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr @errno, align 4
%41 = call ptr @strerror(i32 noundef %40)
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.2, ptr noundef %41)
%43 = load i32, ptr @EXIT_FAILURE, align 4
%44 = call i32 @exit(i32 noundef %43) #3
unreachable
45: ; preds = %30
%46 = load i32, ptr @AF_INET, align 4
%47 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %46, ptr %47, align 4
%48 = load i32, ptr @INADDR_ANY, align 4
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%50 = getelementptr inbounds %struct.TYPE_2__, ptr %49, i32 0, i32 0
store i32 %48, ptr %50, align 4
%51 = call i32 @htons(i32 noundef 7000)
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %51, ptr %52, align 4
%53 = load i32, ptr %8, align 4
%54 = call i64 @bind(i32 noundef %53, ptr noundef %6, i32 noundef 12)
%55 = icmp slt i64 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %45
%57 = load i32, ptr @stderr, align 4
%58 = load i32, ptr @errno, align 4
%59 = call ptr @strerror(i32 noundef %58)
%60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %57, ptr noundef @.str.3, ptr noundef %59)
%61 = load i32, ptr @EXIT_FAILURE, align 4
%62 = call i32 @exit(i32 noundef %61) #3
unreachable
63: ; preds = %45
%64 = call i32 @sleep(i32 noundef 30)
%65 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %65
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getprotobyname(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6corl99l.c'
source_filename = "/tmp/tmp6corl99l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SKP_Silk_NLSF2A_stable(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i32 @SKP_Silk_NLSF2A(ptr noundef %9, ptr noundef %10, i32 noundef %11)
store i32 0, ptr %7, align 4
br label %13
13: ; preds = %32, %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 20
br i1 %15, label %16, label %35
16: ; preds = %13
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %6, align 4
%19 = call i32 @SKP_Silk_LPC_inverse_pred_gain(ptr noundef %8, ptr noundef %17, i32 noundef %18)
%20 = icmp eq i32 %19, 1
br i1 %20, label %21, label %30
21: ; preds = %16
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = trunc i32 %24 to i16
%26 = sext i16 %25 to i32
%27 = mul nsw i32 66, %26
%28 = sub nsw i32 65536, %27
%29 = call i32 @SKP_Silk_bwexpander(ptr noundef %22, i32 noundef %23, i32 noundef %28)
br label %31
30: ; preds = %16
br label %35
31: ; preds = %21
br label %32
32: ; preds = %31
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
br label %13, !llvm.loop !6
35: ; preds = %30, %13
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, 20
br i1 %37, label %38, label %52
38: ; preds = %35
store i32 0, ptr %7, align 4
br label %39
39: ; preds = %48, %38
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %51
43: ; preds = %39
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i16, ptr %44, i64 %46
store i16 0, ptr %47, align 2
br label %48
48: ; preds = %43
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
br label %39, !llvm.loop !8
51: ; preds = %39
br label %52
52: ; preds = %51, %35
ret void
}
declare i32 @SKP_Silk_NLSF2A(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_LPC_inverse_pred_gain(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_bwexpander(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6corl99l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SKP_Silk_NLSF2A_stable(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i32 @SKP_Silk_NLSF2A(ptr noundef %9, ptr noundef %10, i32 noundef %11)
store i32 0, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %13, 20
br i1 %14, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %31
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %6, align 4
%18 = call i32 @SKP_Silk_LPC_inverse_pred_gain(ptr noundef %8, ptr noundef %16, i32 noundef %17)
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %29
20: ; preds = %15
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = trunc i32 %23 to i16
%25 = sext i16 %24 to i32
%26 = mul nsw i32 66, %25
%27 = sub nsw i32 65536, %26
%28 = call i32 @SKP_Silk_bwexpander(ptr noundef %21, i32 noundef %22, i32 noundef %27)
br label %30
29: ; preds = %15
br label %36
30: ; preds = %20
br label %31
31: ; preds = %30
%32 = load i32, ptr %7, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %34, 20
br i1 %35, label %15, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %31
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %3
br label %36
36: ; preds = %.loopexit, %29
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, 20
br i1 %38, label %39, label %55
39: ; preds = %36
store i32 0, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %.lr.ph1, label %54
.lr.ph1: ; preds = %39
br label %43
43: ; preds = %.lr.ph1, %48
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i16, ptr %44, i64 %46
store i16 0, ptr %47, align 2
br label %48
48: ; preds = %43
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %43, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %39
br label %55
55: ; preds = %54, %36
ret void
}
declare i32 @SKP_Silk_NLSF2A(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_LPC_inverse_pred_gain(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @SKP_Silk_bwexpander(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmptye30d77.c'
source_filename = "/tmp/tmptye30d77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
@.str = private unnamed_addr constant [23 x i8] c"I want two int parms.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Noooo %ld isn't right.\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Noooo %lld isn't bigger than 0.\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"%lld is too many, I can't count to 1 << %zd.\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"No, can't allocate that %zu bytes.\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"allocated %zd bytes at %p.\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"will walk %lld times.\0A\00", align 1
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [12 x i8] c"%f ns/byte\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 %struct.timespec, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 3
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %118
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strtol(ptr noundef %25, ptr noundef null, i32 noundef 10)
store i64 %26, ptr %10, align 8
%27 = load i64, ptr %10, align 8
%28 = icmp sle i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i64, ptr %10, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %30)
store i32 1, ptr %3, align 4
br label %118
32: ; preds = %22
%33 = load i64, ptr %10, align 8
store i64 %33, ptr %8, align 8
%34 = load i64, ptr %8, align 8
%35 = shl i64 %34, 10
store i64 %35, ptr %8, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strtoll(ptr noundef %38, ptr noundef null, i32 noundef 10)
store i64 %39, ptr %9, align 8
%40 = load i64, ptr %9, align 8
%41 = icmp sle i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i64, ptr %9, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %43)
store i32 1, ptr %3, align 4
br label %118
45: ; preds = %32
store i64 64, ptr %11, align 8
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %11, align 8
%48 = sub i64 %47, 1
%49 = icmp uge i64 %46, %48
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %11, align 8
%53 = sub i64 %52, 1
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %51, i64 noundef %53)
store i32 1, ptr %3, align 4
br label %118
55: ; preds = %45
%56 = load i64, ptr %9, align 8
%57 = shl i64 1, %56
store i64 %57, ptr %9, align 8
%58 = load i64, ptr %8, align 8
%59 = call ptr @malloc(i64 noundef %58)
store ptr %59, ptr %12, align 8
%60 = load ptr, ptr %12, align 8
%61 = icmp eq ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %55
%63 = load i64, ptr %8, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %63)
br label %65
65: ; preds = %62, %55
%66 = load i64, ptr %8, align 8
%67 = load ptr, ptr %12, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %66, ptr noundef %67)
%69 = load i64, ptr %9, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %69)
%71 = load ptr, ptr %12, align 8
%72 = load i64, ptr %8, align 8
%73 = call i32 @memset(ptr noundef %71, i64 noundef 0, i64 noundef %72)
%74 = load i32, ptr @CLOCK_REALTIME, align 4
%75 = call i32 @clock_gettime(i32 noundef %74, ptr noundef %6)
store i64 0, ptr %13, align 8
br label %76
76: ; preds = %86, %65
%77 = load i64, ptr %13, align 8
%78 = load i64, ptr %9, align 8
%79 = icmp slt i64 %77, %78
br i1 %79, label %80, label %89
80: ; preds = %76
%81 = load ptr, ptr %12, align 8
%82 = load i64, ptr %13, align 8
%83 = and i64 %82, 255
%84 = load i64, ptr %8, align 8
%85 = call i32 @memset(ptr noundef %81, i64 noundef %83, i64 noundef %84)
br label %86
86: ; preds = %80
%87 = load i64, ptr %13, align 8
%88 = add nsw i64 %87, 1
store i64 %88, ptr %13, align 8
br label %76, !llvm.loop !6
89: ; preds = %76
%90 = load i32, ptr @CLOCK_REALTIME, align 4
%91 = call i32 @clock_gettime(i32 noundef %90, ptr noundef %7)
%92 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%93 = load i64, ptr %92, align 8
%94 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%95 = load i64, ptr %94, align 8
%96 = sub nsw i64 %93, %95
store i64 %96, ptr %14, align 8
%97 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%98 = load i64, ptr %97, align 8
%99 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%100 = load i64, ptr %99, align 8
%101 = sub nsw i64 %98, %100
store i64 %101, ptr %15, align 8
%102 = load i64, ptr %14, align 8
%103 = sitofp i64 %102 to double
%104 = load i64, ptr %15, align 8
%105 = sitofp i64 %104 to double
%106 = call double @llvm.fmuladd.f64(double 1.000000e+09, double %103, double %105)
store double %106, ptr %16, align 8
%107 = load i64, ptr %8, align 8
%108 = uitofp i64 %107 to double
%109 = load i64, ptr %9, align 8
%110 = sitofp i64 %109 to double
%111 = fmul double %108, %110
store double %111, ptr %17, align 8
%112 = load double, ptr %16, align 8
%113 = load double, ptr %17, align 8
%114 = fdiv double %112, %113
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %114)
%116 = load ptr, ptr %12, align 8
%117 = call i32 @free(ptr noundef %116)
store i32 0, ptr %3, align 4
br label %118
118: ; preds = %89, %50, %42, %29, %20
%119 = load i32, ptr %3, align 4
ret i32 %119
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptye30d77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
@.str = private unnamed_addr constant [23 x i8] c"I want two int parms.\0A\00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"Noooo %ld isn't right.\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"Noooo %lld isn't bigger than 0.\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"%lld is too many, I can't count to 1 << %zd.\0A\00", align 1
@.str.4 = private unnamed_addr constant [36 x i8] c"No, can't allocate that %zu bytes.\0A\00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"allocated %zd bytes at %p.\0A\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"will walk %lld times.\0A\00", align 1
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.7 = private unnamed_addr constant [12 x i8] c"%f ns/byte\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 %struct.timespec, align 8
%7 = alloca %struct.timespec, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp ne i32 %18, 3
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %120
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i64 @strtol(ptr noundef %25, ptr noundef null, i32 noundef 10)
store i64 %26, ptr %10, align 8
%27 = load i64, ptr %10, align 8
%28 = icmp sle i64 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i64, ptr %10, align 8
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %30)
store i32 1, ptr %3, align 4
br label %120
32: ; preds = %22
%33 = load i64, ptr %10, align 8
store i64 %33, ptr %8, align 8
%34 = load i64, ptr %8, align 8
%35 = shl i64 %34, 10
store i64 %35, ptr %8, align 8
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 2
%38 = load ptr, ptr %37, align 8
%39 = call i64 @strtoll(ptr noundef %38, ptr noundef null, i32 noundef 10)
store i64 %39, ptr %9, align 8
%40 = load i64, ptr %9, align 8
%41 = icmp sle i64 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %32
%43 = load i64, ptr %9, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %43)
store i32 1, ptr %3, align 4
br label %120
45: ; preds = %32
store i64 64, ptr %11, align 8
%46 = load i64, ptr %9, align 8
%47 = load i64, ptr %11, align 8
%48 = sub i64 %47, 1
%49 = icmp uge i64 %46, %48
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load i64, ptr %9, align 8
%52 = load i64, ptr %11, align 8
%53 = sub i64 %52, 1
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %51, i64 noundef %53)
store i32 1, ptr %3, align 4
br label %120
55: ; preds = %45
%56 = load i64, ptr %9, align 8
%57 = shl i64 1, %56
store i64 %57, ptr %9, align 8
%58 = load i64, ptr %8, align 8
%59 = call ptr @malloc(i64 noundef %58)
store ptr %59, ptr %12, align 8
%60 = load ptr, ptr %12, align 8
%61 = icmp eq ptr %60, null
br i1 %61, label %62, label %65
62: ; preds = %55
%63 = load i64, ptr %8, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %63)
br label %65
65: ; preds = %62, %55
%66 = load i64, ptr %8, align 8
%67 = load ptr, ptr %12, align 8
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %66, ptr noundef %67)
%69 = load i64, ptr %9, align 8
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %69)
%71 = load ptr, ptr %12, align 8
%72 = load i64, ptr %8, align 8
%73 = call i32 @memset(ptr noundef %71, i64 noundef 0, i64 noundef %72)
%74 = load i32, ptr @CLOCK_REALTIME, align 4
%75 = call i32 @clock_gettime(i32 noundef %74, ptr noundef %6)
store i64 0, ptr %13, align 8
%76 = load i64, ptr %13, align 8
%77 = load i64, ptr %9, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %.lr.ph, label %91
.lr.ph: ; preds = %65
br label %79
79: ; preds = %.lr.ph, %85
%80 = load ptr, ptr %12, align 8
%81 = load i64, ptr %13, align 8
%82 = and i64 %81, 255
%83 = load i64, ptr %8, align 8
%84 = call i32 @memset(ptr noundef %80, i64 noundef %82, i64 noundef %83)
br label %85
85: ; preds = %79
%86 = load i64, ptr %13, align 8
%87 = add nsw i64 %86, 1
store i64 %87, ptr %13, align 8
%88 = load i64, ptr %13, align 8
%89 = load i64, ptr %9, align 8
%90 = icmp slt i64 %88, %89
br i1 %90, label %79, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %91
91: ; preds = %._crit_edge, %65
%92 = load i32, ptr @CLOCK_REALTIME, align 4
%93 = call i32 @clock_gettime(i32 noundef %92, ptr noundef %7)
%94 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1
%95 = load i64, ptr %94, align 8
%96 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 1
%97 = load i64, ptr %96, align 8
%98 = sub nsw i64 %95, %97
store i64 %98, ptr %14, align 8
%99 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0
%100 = load i64, ptr %99, align 8
%101 = getelementptr inbounds %struct.timespec, ptr %6, i32 0, i32 0
%102 = load i64, ptr %101, align 8
%103 = sub nsw i64 %100, %102
store i64 %103, ptr %15, align 8
%104 = load i64, ptr %14, align 8
%105 = sitofp i64 %104 to double
%106 = load i64, ptr %15, align 8
%107 = sitofp i64 %106 to double
%108 = call double @llvm.fmuladd.f64(double 1.000000e+09, double %105, double %107)
store double %108, ptr %16, align 8
%109 = load i64, ptr %8, align 8
%110 = uitofp i64 %109 to double
%111 = load i64, ptr %9, align 8
%112 = sitofp i64 %111 to double
%113 = fmul double %110, %112
store double %113, ptr %17, align 8
%114 = load double, ptr %16, align 8
%115 = load double, ptr %17, align 8
%116 = fdiv double %114, %115
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %116)
%118 = load ptr, ptr %12, align 8
%119 = call i32 @free(ptr noundef %118)
store i32 0, ptr %3, align 4
br label %120
120: ; preds = %91, %50, %42, %29, %20
%121 = load i32, ptr %3, align 4
ret i32 %121
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strtoll(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i64 noundef, i64 noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp0qjuzacn.c'
source_filename = "/tmp/tmp0qjuzacn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peek(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = 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
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %4
br label %38
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %16, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
br label %38
20: ; preds = %15
%21 = load ptr, ptr %8, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %20
br label %38
24: ; preds = %20
%25 = load ptr, ptr %8, align 8
%26 = load i64, ptr %7, align 8
%27 = call i32 @memset(ptr noundef %25, i32 noundef 0, i64 noundef %26)
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %30, align 8
%32 = sub i64 %31, 1
%33 = load i64, ptr %7, align 8
%34 = mul i64 %32, %33
%35 = getelementptr i8, ptr %29, i64 %34
%36 = load i64, ptr %7, align 8
%37 = call i32 @memcpy(ptr noundef %28, ptr noundef %35, i64 noundef %36)
br label %38
38: ; preds = %24, %23, %19, %14
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
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/tmp0qjuzacn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @peek(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = 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
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %14, label %11
11: ; preds = %4
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %11, %4
br label %38
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %16, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %15
br label %38
20: ; preds = %15
%21 = load ptr, ptr %8, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %20
br label %38
24: ; preds = %20
%25 = load ptr, ptr %8, align 8
%26 = load i64, ptr %7, align 8
%27 = call i32 @memset(ptr noundef %25, i32 noundef 0, i64 noundef %26)
%28 = load ptr, ptr %8, align 8
%29 = load ptr, ptr %5, align 8
%30 = load ptr, ptr %6, align 8
%31 = load i64, ptr %30, align 8
%32 = sub i64 %31, 1
%33 = load i64, ptr %7, align 8
%34 = mul i64 %32, %33
%35 = getelementptr i8, ptr %29, i64 %34
%36 = load i64, ptr %7, align 8
%37 = call i32 @memcpy(ptr noundef %28, ptr noundef %35, i64 noundef %36)
br label %38
38: ; preds = %24, %23, %19, %14
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
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/tmpl4bfp1_r.c'
source_filename = "/tmp/tmpl4bfp1_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl4bfp1_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmdgfys4z.c'
source_filename = "/tmp/tmpmdgfys4z.c"
target datalayout = "e-m:e-p270: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"HOSTNAME\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"unknown hostname\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"unknown user\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"unknown shell\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"unknown home\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"The hostname is: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"The current user is: %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"The current user login shell is: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"The current user home is: %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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = call ptr @getenv(ptr noundef @.str)
store ptr %10, ptr %6, align 8
%11 = call ptr @getenv(ptr noundef @.str.1)
store ptr %11, ptr %7, align 8
%12 = call ptr @getenv(ptr noundef @.str.2)
store ptr %12, ptr %8, align 8
%13 = call ptr @getenv(ptr noundef @.str.3)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store ptr @.str.4, ptr %6, align 8
br label %17
17: ; preds = %16, %2
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %17
store ptr @.str.5, ptr %7, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %8, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %21
store ptr @.str.6, ptr %8, align 8
br label %25
25: ; preds = %24, %21
%26 = load ptr, ptr %9, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %25
store ptr @.str.7, ptr %9, align 8
br label %29
29: ; preds = %28, %25
%30 = load ptr, ptr %6, align 8
%31 = call i32 @printf(ptr noundef @.str.8, ptr noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @printf(ptr noundef @.str.9, ptr noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = call i32 @printf(ptr noundef @.str.10, ptr noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = call i32 @printf(ptr noundef @.str.11, ptr noundef %36)
ret i32 0
}
declare ptr @getenv(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/tmpmdgfys4z.c"
target datalayout = "e-m:e-p270: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"HOSTNAME\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"USER\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"SHELL\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"unknown hostname\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"unknown user\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"unknown shell\00", align 1
@.str.7 = private unnamed_addr constant [13 x i8] c"unknown home\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"The hostname is: %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [25 x i8] c"The current user is: %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [37 x i8] c"The current user login shell is: %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [30 x i8] c"The current user home is: %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 ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = call ptr @getenv(ptr noundef @.str)
store ptr %10, ptr %6, align 8
%11 = call ptr @getenv(ptr noundef @.str.1)
store ptr %11, ptr %7, align 8
%12 = call ptr @getenv(ptr noundef @.str.2)
store ptr %12, ptr %8, align 8
%13 = call ptr @getenv(ptr noundef @.str.3)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %6, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %2
store ptr @.str.4, ptr %6, align 8
br label %17
17: ; preds = %16, %2
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %21
20: ; preds = %17
store ptr @.str.5, ptr %7, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %8, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %21
store ptr @.str.6, ptr %8, align 8
br label %25
25: ; preds = %24, %21
%26 = load ptr, ptr %9, align 8
%27 = icmp eq ptr %26, null
br i1 %27, label %28, label %29
28: ; preds = %25
store ptr @.str.7, ptr %9, align 8
br label %29
29: ; preds = %28, %25
%30 = load ptr, ptr %6, align 8
%31 = call i32 @printf(ptr noundef @.str.8, ptr noundef %30)
%32 = load ptr, ptr %7, align 8
%33 = call i32 @printf(ptr noundef @.str.9, ptr noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = call i32 @printf(ptr noundef @.str.10, ptr noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = call i32 @printf(ptr noundef @.str.11, ptr noundef %36)
ret i32 0
}
declare ptr @getenv(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/tmpk4pclh0g.c'
source_filename = "/tmp/tmpk4pclh0g.c"
target datalayout = "e-m:e-p270: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/tmpk4pclh0g.c"
target datalayout = "e-m:e-p270: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/tmp2aaxztn7.c'
source_filename = "/tmp/tmp2aaxztn7.c"
target datalayout = "e-m:e-p270: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"exit\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"loop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %22
6: ; preds = %0
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %6
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %18, %12
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %16, label %21
16: ; preds = %13
%17 = call i32 @printf(ptr noundef @.str.1)
br label %18
18: ; preds = %16
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %13, !llvm.loop !6
21: ; preds = %13
br label %22
22: ; preds = %21, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2aaxztn7.c"
target datalayout = "e-m:e-p270: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"exit\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"loop\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %23
6: ; preds = %0
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
12: ; preds = %6
store i32 0, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %.lr.ph, label %22
.lr.ph: ; preds = %12
br label %15
15: ; preds = %.lr.ph, %17
%16 = call i32 @printf(ptr noundef @.str.1)
br label %17
17: ; preds = %15
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 10
br i1 %21, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %12
br label %23
23: ; preds = %22, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5lr_2p21.c'
source_filename = "/tmp/tmp5lr_2p21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dav1d_inv_adst8_1d_c(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @inv_adst8_1d_internal_c(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14)
ret void
}
declare i32 @inv_adst8_1d_internal_c(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5lr_2p21.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dav1d_inv_adst8_1d_c(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %8, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @inv_adst8_1d_internal_c(ptr noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %13, i32 noundef %14)
ret void
}
declare i32 @inv_adst8_1d_internal_c(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpumg32p5s.c'
source_filename = "/tmp/tmpumg32p5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kgd_get_grid_address_double_mesh(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %32, %4
%11 = load i32, ptr %9, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %35
13: ; preds = %10
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = mul nsw i32 %18, 2
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = icmp ne i32 %24, 0
%26 = zext i1 %25 to i32
%27 = add nsw i32 %19, %26
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 %27, ptr %31, align 4
br label %32
32: ; preds = %13
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
br label %10, !llvm.loop !6
35: ; preds = %10
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %7, align 8
%38 = call i32 @reduce_grid_address_double(ptr noundef %36, ptr noundef %37)
ret void
}
declare i32 @reduce_grid_address_double(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/tmpumg32p5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kgd_get_grid_address_double_mesh(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = icmp slt i32 %10, 3
br i1 %11, label %.lr.ph, label %36
.lr.ph: ; preds = %4
br label %12
12: ; preds = %.lr.ph, %31
%13 = load ptr, ptr %6, align 8
%14 = load i32, ptr %9, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = mul nsw i32 %17, 2
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp ne i32 %23, 0
%25 = zext i1 %24 to i32
%26 = add nsw i32 %18, %25
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 %26, ptr %30, align 4
br label %31
31: ; preds = %12
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %4
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %7, align 8
%39 = call i32 @reduce_grid_address_double(ptr noundef %37, ptr noundef %38)
ret void
}
declare i32 @reduce_grid_address_double(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/tmpf4fh0ywg.c'
source_filename = "/tmp/tmpf4fh0ywg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"test_mem_alerts <alloc_bytes> <niter> \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"malloc failed\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Allocation of %llu bytes successful\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Touching memory...\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"done.\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"All allocations done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %44
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %7)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %8)
br label %22
22: ; preds = %33, %13
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %8, align 4
%25 = icmp ne i32 %23, 0
br i1 %25, label %26, label %41
26: ; preds = %22
%27 = load i32, ptr %7, align 4
%28 = call ptr @malloc(i32 noundef %27)
store ptr %28, ptr %6, align 8
%29 = load ptr, ptr %6, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %33, label %31
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %44
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = call i32 @memset(ptr noundef %37, i32 noundef 171, i32 noundef %38)
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %22, !llvm.loop !6
41: ; preds = %22
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%43 = call i32 (...) @pause()
store i32 0, ptr %3, align 4
br label %44
44: ; preds = %41, %31, %11
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpf4fh0ywg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"test_mem_alerts <alloc_bytes> <niter> \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%llu\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"malloc failed\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Allocation of %llu bytes successful\0A\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c"Touching memory...\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"done.\0A\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"All allocations done.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 3
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %46
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str.1, ptr noundef %7)
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @sscanf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %8)
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %8, align 4
%24 = icmp ne i32 %22, 0
br i1 %24, label %.lr.ph, label %43
.lr.ph: ; preds = %13
br label %25
25: ; preds = %.lr.ph, %32
%26 = load i32, ptr %7, align 4
%27 = call ptr @malloc(i32 noundef %26)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %32, label %30
30: ; preds = %25
%31 = call i32 @perror(ptr noundef @.str.3)
store i32 -1, ptr %3, align 4
br label %46
32: ; preds = %25
%33 = load i32, ptr %7, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%36 = load ptr, ptr %6, align 8
%37 = load i32, ptr %7, align 4
%38 = call i32 @memset(ptr noundef %36, i32 noundef 171, i32 noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %8, align 4
%42 = icmp ne i32 %40, 0
br i1 %42, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %43
43: ; preds = %._crit_edge, %13
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%45 = call i32 (...) @pause()
store i32 0, ptr %3, align 4
br label %46
46: ; preds = %43, %30, %11
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @pause(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpne7k_p6h.c'
source_filename = "/tmp/tmpne7k_p6h.c"
target datalayout = "e-m:e-p270: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/tmpne7k_p6h.c"
target datalayout = "e-m:e-p270: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/tmpe904z4y5.c'
source_filename = "/tmp/tmpe904z4y5.c"
target datalayout = "e-m:e-p270: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"GET\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"/remote/index\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"/remote/fortisslvpn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @auth_request_vpn_allocation(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @http_request(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %14
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @http_request(ptr noundef %12, ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.2, ptr noundef null)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @http_request(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe904z4y5.c"
target datalayout = "e-m:e-p270: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"GET\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"/remote/index\00", align 1
@.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"/remote/fortisslvpn\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @auth_request_vpn_allocation(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @http_request(ptr noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef @.str.2, ptr noundef null)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 1
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %2, align 4
br label %14
11: ; preds = %1
%12 = load ptr, ptr %3, align 8
%13 = call i32 @http_request(ptr noundef %12, ptr noundef @.str, ptr noundef @.str.3, ptr noundef @.str.2, ptr noundef null)
store i32 %13, ptr %2, align 4
br label %14
14: ; preds = %11, %9
%15 = load i32, ptr %2, align 4
ret i32 %15
}
declare i32 @http_request(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcoypxtg4.c'
source_filename = "/tmp/tmpcoypxtg4.c"
target datalayout = "e-m:e-p270: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"file:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @arikkei_build_file_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %40
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 6
%13 = call i64 @malloc(i64 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 5
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 5
store ptr %22, ptr %5, align 8
br label %23
23: ; preds = %35, %9
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = icmp ne i8 %25, 0
br i1 %26, label %27, label %38
27: ; preds = %23
%28 = load ptr, ptr %5, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 92
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = load ptr, ptr %5, align 8
store i8 47, ptr %33, align 1
br label %34
34: ; preds = %32, %27
br label %35
35: ; preds = %34
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %5, align 8
br label %23, !llvm.loop !6
38: ; preds = %23
%39 = load ptr, ptr %4, align 8
store ptr %39, ptr %2, align 8
br label %40
40: ; preds = %38, %8
%41 = load ptr, ptr %2, align 8
ret ptr %41
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcoypxtg4.c"
target datalayout = "e-m:e-p270: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"file:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @arikkei_build_file_url(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %42
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 6
%13 = call i64 @malloc(i64 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %4, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str)
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 5
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 5
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = icmp ne i8 %24, 0
br i1 %25, label %.lr.ph, label %40
.lr.ph: ; preds = %9
br label %26
26: ; preds = %.lr.ph, %34
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 92
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = load ptr, ptr %5, align 8
store i8 47, ptr %32, align 1
br label %33
33: ; preds = %31, %26
br label %34
34: ; preds = %33
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load ptr, ptr %5, align 8
%38 = load i8, ptr %37, align 1
%39 = icmp ne i8 %38, 0
br i1 %39, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %9
%41 = load ptr, ptr %4, align 8
store ptr %41, ptr %2, align 8
br label %42
42: ; preds = %40, %8
%43 = load ptr, ptr %2, align 8
ret ptr %43
}
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwejn_43q.c'
source_filename = "/tmp/tmpwejn_43q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_with_length(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load i64, ptr %6, align 8
br label %18
16: ; preds = %4
%17 = load i64, ptr %8, align 8
br label %18
18: ; preds = %16, %14
%19 = phi i64 [ %15, %14 ], [ %17, %16 ]
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = call i32 @memcmp(ptr noundef %20, ptr noundef %21, i64 noundef %22)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %38
26: ; preds = %18
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
store i32 -1, ptr %10, align 4
br label %37
31: ; preds = %26
%32 = load i64, ptr %6, align 8
%33 = load i64, ptr %8, align 8
%34 = icmp ugt i64 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %35, %31
br label %37
37: ; preds = %36, %30
br label %38
38: ; preds = %37, %18
%39 = load i32, ptr %10, align 4
ret i32 %39
}
declare i32 @memcmp(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/tmpwejn_43q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare_with_length(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%11 = load i64, ptr %6, align 8
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %16
14: ; preds = %4
%15 = load i64, ptr %6, align 8
br label %18
16: ; preds = %4
%17 = load i64, ptr %8, align 8
br label %18
18: ; preds = %16, %14
%19 = phi i64 [ %15, %14 ], [ %17, %16 ]
store i64 %19, ptr %9, align 8
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %7, align 8
%22 = load i64, ptr %9, align 8
%23 = call i32 @memcmp(ptr noundef %20, ptr noundef %21, i64 noundef %22)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %38
26: ; preds = %18
%27 = load i64, ptr %6, align 8
%28 = load i64, ptr %8, align 8
%29 = icmp ult i64 %27, %28
br i1 %29, label %30, label %31
30: ; preds = %26
store i32 -1, ptr %10, align 4
br label %37
31: ; preds = %26
%32 = load i64, ptr %6, align 8
%33 = load i64, ptr %8, align 8
%34 = icmp ugt i64 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store i32 1, ptr %10, align 4
br label %36
36: ; preds = %35, %31
br label %37
37: ; preds = %36, %30
br label %38
38: ; preds = %37, %18
%39 = load i32, ptr %10, align 4
ret i32 %39
}
declare i32 @memcmp(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/tmp63y04i07.c'
source_filename = "/tmp/tmp63y04i07.c"
target datalayout = "e-m:e-p270: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.hostent = type { ptr }
@.str = private unnamed_addr constant [14 x i8] c"www.baidu.com\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"get host error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"ip = %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
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [48 x i8], align 16
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @gethostbyname(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %32
12: ; preds = %0
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.hostent, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %4, align 8
br label %16
16: ; preds = %28, %12
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %17, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %31
20: ; preds = %16
%21 = load i32, ptr @AF_INET, align 4
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
%24 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
%25 = call i32 @inet_ntop(i32 noundef %21, ptr noundef %23, ptr noundef %24, i32 noundef 48)
%26 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %26)
br label %28
28: ; preds = %20
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds ptr, ptr %29, i32 1
store ptr %30, ptr %4, align 8
br label %16, !llvm.loop !6
31: ; preds = %16
store i32 0, ptr %1, align 4
br label %32
32: ; preds = %31, %10
%33 = load i32, ptr %1, align 4
ret i32 %33
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp63y04i07.c"
target datalayout = "e-m:e-p270: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.hostent = type { ptr }
@.str = private unnamed_addr constant [14 x i8] c"www.baidu.com\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"get host error!\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [9 x i8] c"ip = %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
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [48 x i8], align 16
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @gethostbyname(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp eq ptr %8, null
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %34
12: ; preds = %0
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false)
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds %struct.hostent, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %16, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %.lr.ph, label %33
.lr.ph: ; preds = %12
br label %19
19: ; preds = %.lr.ph, %27
%20 = load i32, ptr @AF_INET, align 4
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %21, align 8
%23 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
%24 = call i32 @inet_ntop(i32 noundef %20, ptr noundef %22, ptr noundef %23, i32 noundef 48)
%25 = getelementptr inbounds [48 x i8], ptr %5, i64 0, i64 0
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25)
br label %27
27: ; preds = %19
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds ptr, ptr %28, i32 1
store ptr %29, ptr %4, align 8
%30 = load ptr, ptr %4, align 8
%31 = load ptr, ptr %30, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %12
store i32 0, ptr %1, align 4
br label %34
34: ; preds = %33, %10
%35 = load i32, ptr %1, align 4
ret i32 %35
}
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpfzpigwr8.c'
source_filename = "/tmp/tmpfzpigwr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_filename_from_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %78
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
store i32 0, ptr %4, align 4
br label %78
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 0, ptr %26, align 1
store i32 0, ptr %4, align 4
br label %78
27: ; preds = %19
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %30
30: ; preds = %51, %27
%31 = load i32, ptr %8, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %33, label %54
33: ; preds = %30
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %8, 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 = icmp eq i32 %39, 47
br i1 %40, label %49, label %41
41: ; preds = %33
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 92
br i1 %48, label %49, label %50
49: ; preds = %41, %33
br label %54
50: ; preds = %41
br label %51
51: ; preds = %50
%52 = load i32, ptr %8, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %8, align 4
br label %30, !llvm.loop !6
54: ; preds = %49, %30
%55 = load i32, ptr %8, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %9, align 4
%59 = icmp eq i32 %57, %58
br i1 %59, label %60, label %63
60: ; preds = %54
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 0
store i8 0, ptr %62, align 1
store i32 0, ptr %4, align 4
br label %78
63: ; preds = %54
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %6, align 8
%66 = load i32, ptr %8, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i32, ptr %7, align 4
%70 = call i32 @strncpy(ptr noundef %64, ptr noundef %68, i32 noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %7, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %71, i64 %74
store i8 0, ptr %75, align 1
%76 = load ptr, ptr %5, align 8
%77 = call i32 @strlen(ptr noundef %76)
store i32 %77, ptr %4, align 4
br label %78
78: ; preds = %63, %60, %24, %16, %12
%79 = load i32, ptr %4, align 4
ret i32 %79
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfzpigwr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_filename_from_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
%10 = load i32, ptr %7, align 4
%11 = icmp slt i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 -1, ptr %4, align 4
br label %79
13: ; preds = %3
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
store i32 0, ptr %4, align 4
br label %79
19: ; preds = %13
%20 = load ptr, ptr %6, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %27
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
store i8 0, ptr %26, align 1
store i32 0, ptr %4, align 4
br label %79
27: ; preds = %19
%28 = load i32, ptr %9, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp sge i32 %30, 0
br i1 %31, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %27
br label %32
32: ; preds = %.lr.ph, %50
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 47
br i1 %39, label %48, label %40
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %8, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 92
br i1 %47, label %48, label %49
48: ; preds = %40, %32
br label %55
49: ; preds = %40
br label %50
50: ; preds = %49
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, -1
store i32 %52, ptr %8, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp sge i32 %53, 0
br i1 %54, label %32, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %50
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %27
br label %55
55: ; preds = %.loopexit, %48
%56 = load i32, ptr %8, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp eq i32 %58, %59
br i1 %60, label %61, label %64
61: ; preds = %55
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds i8, ptr %62, i64 0
store i8 0, ptr %63, align 1
store i32 0, ptr %4, align 4
br label %79
64: ; preds = %55
%65 = load ptr, ptr %5, align 8
%66 = load ptr, ptr %6, align 8
%67 = load i32, ptr %8, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i8, ptr %66, i64 %68
%70 = load i32, ptr %7, align 4
%71 = call i32 @strncpy(ptr noundef %65, ptr noundef %69, i32 noundef %70)
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %7, align 4
%74 = sub nsw i32 %73, 1
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %72, i64 %75
store i8 0, ptr %76, align 1
%77 = load ptr, ptr %5, align 8
%78 = call i32 @strlen(ptr noundef %77)
store i32 %78, ptr %4, align 4
br label %79
79: ; preds = %64, %61, %24, %16, %12
%80 = load i32, ptr %4, align 4
ret i32 %80
}
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplul3wpii.c'
source_filename = "/tmp/tmplul3wpii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puflib_duplicate_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %27
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %4, align 8
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %9
store ptr null, ptr %2, align 8
br label %27
18: ; preds = %9
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %18, %17, %8
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(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/tmplul3wpii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puflib_duplicate_string(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %9, label %8
8: ; preds = %1
store ptr null, ptr %2, align 8
br label %27
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
store i64 %11, ptr %4, align 8
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %18, label %17
17: ; preds = %9
store ptr null, ptr %2, align 8
br label %27
18: ; preds = %9
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = call i32 @strncpy(ptr noundef %19, ptr noundef %20, i64 noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %2, align 8
br label %27
27: ; preds = %18, %17, %8
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(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/tmpdojp85vj.c'
source_filename = "/tmp/tmpdojp85vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %5, align 4
%8 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdojp85vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d %d %d %d\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%7 = load i32, ptr %5, align 4
%8 = call i32 @rotr(ptr noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9, i32 noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @rotr(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzk5ovuc.c'
source_filename = "/tmp/tmptzk5ovuc.c"
target datalayout = "e-m:e-p270: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"Unknown operation %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%f %c %f = %f\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 float, align 4
%7 = alloca i8, align 1
%8 = alloca float, align 4
%9 = alloca float, 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 ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call float @atof(ptr noundef %12)
store float %13, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %7, align 1
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 3
%21 = load ptr, ptr %20, align 8
%22 = call float @atof(ptr noundef %21)
store float %22, ptr %8, align 4
%23 = load i8, ptr %7, align 1
%24 = sext i8 %23 to i32
switch i32 %24, label %41 [
i32 43, label %25
i32 45, label %29
i32 42, label %33
i32 47, label %37
]
25: ; preds = %2
%26 = load float, ptr %6, align 4
%27 = load float, ptr %8, align 4
%28 = fadd float %26, %27
store float %28, ptr %9, align 4
br label %45
29: ; preds = %2
%30 = load float, ptr %6, align 4
%31 = load float, ptr %8, align 4
%32 = fsub float %30, %31
store float %32, ptr %9, align 4
br label %45
33: ; preds = %2
%34 = load float, ptr %6, align 4
%35 = load float, ptr %8, align 4
%36 = fmul float %34, %35
store float %36, ptr %9, align 4
br label %45
37: ; preds = %2
%38 = load float, ptr %6, align 4
%39 = load float, ptr %8, align 4
%40 = fdiv float %38, %39
store float %40, ptr %9, align 4
br label %45
41: ; preds = %2
%42 = load i8, ptr %7, align 1
%43 = sitofp i8 %42 to float
%44 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %43)
store i32 1, ptr %3, align 4
br label %54
45: ; preds = %37, %33, %29, %25
%46 = load float, ptr %6, align 4
%47 = load i8, ptr %7, align 1
%48 = sext i8 %47 to i32
%49 = load float, ptr %8, align 4
%50 = fpext float %49 to double
%51 = load float, ptr %9, align 4
%52 = fpext float %51 to double
%53 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %46, i32 noundef %48, double noundef %50, double noundef %52)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %45, %41
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare float @atof(ptr noundef) #1
declare i32 @printf(ptr 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/tmptzk5ovuc.c"
target datalayout = "e-m:e-p270: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"Unknown operation %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"%f %c %f = %f\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 float, align 4
%7 = alloca i8, align 1
%8 = alloca float, align 4
%9 = alloca float, 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 ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call float @atof(ptr noundef %12)
store float %13, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 2
%16 = load ptr, ptr %15, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %7, align 1
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 3
%21 = load ptr, ptr %20, align 8
%22 = call float @atof(ptr noundef %21)
store float %22, ptr %8, align 4
%23 = load i8, ptr %7, align 1
%24 = sext i8 %23 to i32
switch i32 %24, label %41 [
i32 43, label %25
i32 45, label %29
i32 42, label %33
i32 47, label %37
]
25: ; preds = %2
%26 = load float, ptr %6, align 4
%27 = load float, ptr %8, align 4
%28 = fadd float %26, %27
store float %28, ptr %9, align 4
br label %45
29: ; preds = %2
%30 = load float, ptr %6, align 4
%31 = load float, ptr %8, align 4
%32 = fsub float %30, %31
store float %32, ptr %9, align 4
br label %45
33: ; preds = %2
%34 = load float, ptr %6, align 4
%35 = load float, ptr %8, align 4
%36 = fmul float %34, %35
store float %36, ptr %9, align 4
br label %45
37: ; preds = %2
%38 = load float, ptr %6, align 4
%39 = load float, ptr %8, align 4
%40 = fdiv float %38, %39
store float %40, ptr %9, align 4
br label %45
41: ; preds = %2
%42 = load i8, ptr %7, align 1
%43 = sitofp i8 %42 to float
%44 = call i32 (ptr, float, ...) @printf(ptr noundef @.str, float noundef %43)
store i32 1, ptr %3, align 4
br label %54
45: ; preds = %37, %33, %29, %25
%46 = load float, ptr %6, align 4
%47 = load i8, ptr %7, align 1
%48 = sext i8 %47 to i32
%49 = load float, ptr %8, align 4
%50 = fpext float %49 to double
%51 = load float, ptr %9, align 4
%52 = fpext float %51 to double
%53 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %46, i32 noundef %48, double noundef %50, double noundef %52)
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %45, %41
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare float @atof(ptr noundef) #1
declare i32 @printf(ptr 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/tmptv6pgwqi.c'
source_filename = "/tmp/tmptv6pgwqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = 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/tmptv6pgwqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@REG_EXTENDED = 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/tmp1z9w18n8.c'
source_filename = "/tmp/tmp1z9w18n8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @sln_ipc_mq_loop()
ret i32 0
}
declare i32 @sln_ipc_mq_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/tmp1z9w18n8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @sln_ipc_mq_loop()
ret i32 0
}
declare i32 @sln_ipc_mq_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/tmpquu18ohv.c'
source_filename = "/tmp/tmpquu18ohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @malloc(i32 noundef 1000)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 1, ptr %9, align 4
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 10
store i32 %12, ptr %14, align 4
%15 = call ptr @calloc(i32 noundef 1, i32 noundef 2000)
store ptr %15, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %16
16: ; preds = %30, %0
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 1000
br i1 %18, label %19, label %33
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1000
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %25, i64 %28
store i8 %24, ptr %29, align 1
br label %30
30: ; preds = %19
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %16, !llvm.loop !6
33: ; preds = %16
%34 = load ptr, ptr %2, align 8
%35 = call ptr @realloc(ptr noundef %34, i32 noundef 3000)
store ptr %35, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %45, %33
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 500
br i1 %38, label %39, label %48
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 2000
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 99, ptr %44, align 1
br label %45
45: ; preds = %39
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
br label %36, !llvm.loop !8
48: ; preds = %36
%49 = load ptr, ptr %3, align 8
%50 = call i32 @free(ptr noundef %49)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpquu18ohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call ptr @malloc(i32 noundef 1000)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
store i32 1, ptr %9, align 4
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 10
store i32 %12, ptr %14, align 4
%15 = call ptr @calloc(i32 noundef 1, i32 noundef 2000)
store ptr %15, ptr %3, align 8
store i32 0, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %16, 1000
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %29
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1000
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %24, i64 %27
store i8 %23, ptr %28, align 1
br label %29
29: ; preds = %18
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp slt i32 %32, 1000
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %34
34: ; preds = %._crit_edge, %0
%35 = load ptr, ptr %2, align 8
%36 = call ptr @realloc(ptr noundef %35, i32 noundef 3000)
store ptr %36, ptr %5, align 8
store i32 0, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 500
br i1 %38, label %.lr.ph2, label %50
.lr.ph2: ; preds = %34
br label %39
39: ; preds = %.lr.ph2, %45
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 2000
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 99, ptr %44, align 1
br label %45
45: ; preds = %39
%46 = load i32, ptr %6, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = icmp slt i32 %48, 500
br i1 %49, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %50
50: ; preds = %._crit_edge3, %34
%51 = load ptr, ptr %3, align 8
%52 = call i32 @free(ptr noundef %51)
ret i32 0
}
declare ptr @malloc(i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpy9dexiql.c'
source_filename = "/tmp/tmpy9dexiql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_strcpy(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @a_strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %19, 1
br label %23
21: ; preds = %13
%22 = load i32, ptr %7, align 4
br label %23
23: ; preds = %21, %18
%24 = phi i32 [ %20, %18 ], [ %22, %21 ]
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %8, align 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
br label %33
33: ; preds = %23, %3
%34 = load i32, ptr %7, align 4
ret i32 %34
}
declare i32 @a_strlen(ptr 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/tmpy9dexiql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_strcpy(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @a_strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %3
%14 = load i32, ptr %5, align 4
%15 = sub nsw i32 %14, 1
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %19, 1
br label %23
21: ; preds = %13
%22 = load i32, ptr %7, align 4
br label %23
23: ; preds = %21, %18
%24 = phi i32 [ %20, %18 ], [ %22, %21 ]
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %4, align 8
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %8, align 4
%28 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store i8 0, ptr %32, align 1
br label %33
33: ; preds = %23, %3
%34 = load i32, ptr %7, align 4
ret i32 %34
}
declare i32 @a_strlen(ptr 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/tmp_h4_4nbb.c'
source_filename = "/tmp/tmp_h4_4nbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilStrNCpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call i64 @strncpy(ptr noundef %9, ptr noundef %10, i64 noundef %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store ptr null, ptr %4, align 8
br label %34
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %8, align 8
%18 = load i64, ptr %8, align 8
%19 = add i64 %18, 1
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr %8, align 8
%29 = sub i64 %27, %28
%30 = sub i64 %29, 1
%31 = call i32 @osBZero(ptr noundef %26, i64 noundef %30)
br label %32
32: ; preds = %22, %15
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %32, %14
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
declare i64 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @osBZero(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/tmp_h4_4nbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utilStrNCpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = call i64 @strncpy(ptr noundef %9, ptr noundef %10, i64 noundef %11)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %3
store ptr null, ptr %4, align 8
br label %34
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = call i64 @strlen(ptr noundef %16)
store i64 %17, ptr %8, align 8
%18 = load i64, ptr %8, align 8
%19 = add i64 %18, 1
%20 = load i64, ptr %7, align 8
%21 = icmp ult i64 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = getelementptr inbounds i8, ptr %25, i64 1
%27 = load i64, ptr %7, align 8
%28 = load i64, ptr %8, align 8
%29 = sub i64 %27, %28
%30 = sub i64 %29, 1
%31 = call i32 @osBZero(ptr noundef %26, i64 noundef %30)
br label %32
32: ; preds = %22, %15
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %32, %14
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
declare i64 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @osBZero(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/tmppaq6unr_.c'
source_filename = "/tmp/tmppaq6unr_.c"
target datalayout = "e-m:e-p270: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"hack function invoked, s1: %s, s2: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = call i32 @sleep(i32 noundef 1)
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %7, align 8
br label %14
14: ; preds = %49, %2
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %25, %22, %17, %14
%31 = phi i1 [ false, %22 ], [ false, %17 ], [ false, %14 ], [ %29, %25 ]
br i1 %31, label %32, label %54
32: ; preds = %30
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %35, %38
br i1 %39, label %40, label %48
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %7, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %43, %46
store i32 %47, ptr %3, align 4
br label %73
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %7, align 8
br label %14, !llvm.loop !6
54: ; preds = %30
%55 = load ptr, ptr %6, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %63
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %57
store i32 1, ptr %3, align 4
br label %73
63: ; preds = %57, %54
%64 = load ptr, ptr %7, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %72
66: ; preds = %63
%67 = load ptr, ptr %7, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %66
store i32 -1, ptr %3, align 4
br label %73
72: ; preds = %66, %63
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %71, %62, %40
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppaq6unr_.c"
target datalayout = "e-m:e-p270: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"hack function invoked, s1: %s, s2: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %9)
%11 = call i32 @sleep(i32 noundef 1)
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %5, align 8
store ptr %13, ptr %7, align 8
br label %14
14: ; preds = %49, %2
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %30
22: ; preds = %17
%23 = load ptr, ptr %7, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load ptr, ptr %7, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp ne i32 %28, 0
br label %30
30: ; preds = %25, %22, %17, %14
%31 = phi i1 [ false, %22 ], [ false, %17 ], [ false, %14 ], [ %29, %25 ]
br i1 %31, label %32, label %54
32: ; preds = %30
%33 = load ptr, ptr %6, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load ptr, ptr %7, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp ne i32 %35, %38
br i1 %39, label %40, label %48
40: ; preds = %32
%41 = load ptr, ptr %6, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %7, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = sub nsw i32 %43, %46
store i32 %47, ptr %3, align 4
br label %73
48: ; preds = %32
br label %49
49: ; preds = %48
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %7, align 8
br label %14, !llvm.loop !6
54: ; preds = %30
%55 = load ptr, ptr %6, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %63
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %63
62: ; preds = %57
store i32 1, ptr %3, align 4
br label %73
63: ; preds = %57, %54
%64 = load ptr, ptr %7, align 8
%65 = icmp ne ptr %64, null
br i1 %65, label %66, label %72
66: ; preds = %63
%67 = load ptr, ptr %7, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %66
store i32 -1, ptr %3, align 4
br label %73
72: ; preds = %66, %63
store i32 0, ptr %3, align 4
br label %73
73: ; preds = %72, %71, %62, %40
%74 = load i32, ptr %3, align 4
ret i32 %74
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp495awdam.c'
source_filename = "/tmp/tmp495awdam.c"
target datalayout = "e-m:e-p270: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/tmp495awdam.c"
target datalayout = "e-m:e-p270: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/tmpv6sd6tnk.c'
source_filename = "/tmp/tmpv6sd6tnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpufreq_get_available_governors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @sysfsparser_cpufreq_get_available_governors(i32 noundef %3)
ret ptr %4
}
declare ptr @sysfsparser_cpufreq_get_available_governors(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/tmpv6sd6tnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpufreq_get_available_governors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call ptr @sysfsparser_cpufreq_get_available_governors(i32 noundef %3)
ret ptr %4
}
declare ptr @sysfsparser_cpufreq_get_available_governors(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/tmp5azvinu4.c'
source_filename = "/tmp/tmp5azvinu4.c"
target datalayout = "e-m:e-p270: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/tmp5azvinu4.c"
target datalayout = "e-m:e-p270: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/tmpjszuswvp.c'
source_filename = "/tmp/tmpjszuswvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @welcome()
ret i32 0
}
declare i32 @welcome(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjszuswvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @welcome()
ret i32 0
}
declare i32 @welcome(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7zo3c8w.c'
source_filename = "/tmp/tmpq7zo3c8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Usage: ./%s <ip> <port>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"connect() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [128 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
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 3
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %2
%23 = load i32, ptr @AF_INET, align 4
%24 = load i32, ptr @SOCK_STREAM, align 4
%25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0)
store i32 %25, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %22
%32 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%33 = load i32, ptr @AF_INET, align 4
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @inet_addr(ptr noundef %37)
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%40 = getelementptr inbounds %struct.TYPE_2__, ptr %39, i32 0, i32 0
store i32 %38, ptr %40, align 4
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = call i32 @atoi(ptr noundef %43)
%45 = call i32 @htons(i32 noundef %44)
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %45, ptr %46, align 4
%47 = load i32, ptr %6, align 4
%48 = call i32 @connect(i32 noundef %47, ptr noundef %7, i32 noundef 12)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %57
50: ; preds = %31
%51 = load i32, ptr @stderr, align 4
%52 = load i32, ptr @errno, align 4
%53 = call ptr @strerror(i32 noundef %52)
%54 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.2, ptr noundef %53)
%55 = load i32, ptr @EXIT_FAILURE, align 4
%56 = call i32 @exit(i32 noundef %55) #3
unreachable
57: ; preds = %31
store i32 0, ptr %10, align 4
br label %58
58: ; preds = %75, %57
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %10, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %10, align 4
%62 = sext i32 %60 to i64
%63 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %62
%64 = call i32 @read(i32 noundef %59, ptr noundef %63, i32 noundef 1)
store i32 %64, ptr %9, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %79
66: ; preds = %58
%67 = load i32, ptr %9, align 4
%68 = icmp eq i32 %67, -1
br i1 %68, label %69, label %75
69: ; preds = %66
%70 = call i32 @perror(ptr noundef @.str.3)
%71 = load i32, ptr %6, align 4
%72 = call i32 @close(i32 noundef %71)
%73 = load i32, ptr @EXIT_FAILURE, align 4
%74 = call i32 @exit(i32 noundef %73) #3
unreachable
75: ; preds = %66
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %8, align 4
%78 = add nsw i32 %77, %76
store i32 %78, ptr %8, align 4
br label %58, !llvm.loop !6
79: ; preds = %58
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %81
store i8 0, ptr %82, align 1
%83 = load i32, ptr %8, align 4
%84 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%85 = call i32 @printf(ptr noundef @.str.4, i32 noundef %83, ptr noundef %84)
%86 = load i32, ptr %6, align 4
%87 = call i32 @close(i32 noundef %86)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq7zo3c8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"Usage: ./%s <ip> <port>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"socket() failed\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"connect() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [14 x i8] c"read() failed\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"[recv %d bytes] %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_in, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [128 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
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 3
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 0
%18 = load ptr, ptr %17, align 8
%19 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str, ptr noundef %18)
%20 = load i32, ptr @EXIT_FAILURE, align 4
%21 = call i32 @exit(i32 noundef %20) #3
unreachable
22: ; preds = %2
%23 = load i32, ptr @AF_INET, align 4
%24 = load i32, ptr @SOCK_STREAM, align 4
%25 = call i32 @socket(i32 noundef %23, i32 noundef %24, i32 noundef 0)
store i32 %25, ptr %6, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %31
27: ; preds = %22
%28 = call i32 @perror(ptr noundef @.str.1)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %22
%32 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%33 = load i32, ptr @AF_INET, align 4
%34 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 2
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 1
%37 = load ptr, ptr %36, align 8
%38 = call i32 @inet_addr(ptr noundef %37)
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 1
%40 = getelementptr inbounds %struct.TYPE_2__, ptr %39, i32 0, i32 0
store i32 %38, ptr %40, align 4
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = call i32 @atoi(ptr noundef %43)
%45 = call i32 @htons(i32 noundef %44)
%46 = getelementptr inbounds %struct.sockaddr_in, ptr %7, i32 0, i32 0
store i32 %45, ptr %46, align 4
%47 = load i32, ptr %6, align 4
%48 = call i32 @connect(i32 noundef %47, ptr noundef %7, i32 noundef 12)
%49 = icmp eq i32 %48, -1
br i1 %49, label %50, label %57
50: ; preds = %31
%51 = load i32, ptr @stderr, align 4
%52 = load i32, ptr @errno, align 4
%53 = call ptr @strerror(i32 noundef %52)
%54 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.2, ptr noundef %53)
%55 = load i32, ptr @EXIT_FAILURE, align 4
%56 = call i32 @exit(i32 noundef %55) #3
unreachable
57: ; preds = %31
store i32 0, ptr %10, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %61
%63 = call i32 @read(i32 noundef %58, ptr noundef %62, i32 noundef 1)
store i32 %63, ptr %9, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %.lr.ph, label %85
.lr.ph: ; preds = %57
br label %65
65: ; preds = %.lr.ph, %74
%66 = load i32, ptr %9, align 4
%67 = icmp eq i32 %66, -1
br i1 %67, label %68, label %74
68: ; preds = %65
%69 = call i32 @perror(ptr noundef @.str.3)
%70 = load i32, ptr %6, align 4
%71 = call i32 @close(i32 noundef %70)
%72 = load i32, ptr @EXIT_FAILURE, align 4
%73 = call i32 @exit(i32 noundef %72) #3
unreachable
74: ; preds = %65
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %8, align 4
%77 = add nsw i32 %76, %75
store i32 %77, ptr %8, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %10, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %10, align 4
%81 = sext i32 %79 to i64
%82 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %81
%83 = call i32 @read(i32 noundef %78, ptr noundef %82, i32 noundef 1)
store i32 %83, ptr %9, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %65, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %74
br label %85
85: ; preds = %._crit_edge, %57
%86 = load i32, ptr %8, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 %87
store i8 0, ptr %88, align 1
%89 = load i32, ptr %8, align 4
%90 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0
%91 = call i32 @printf(ptr noundef @.str.4, i32 noundef %89, ptr noundef %90)
%92 = load i32, ptr %6, align 4
%93 = call i32 @close(i32 noundef %92)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpl7bz96g1.c'
source_filename = "/tmp/tmpl7bz96g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"This program is sponsored by the letter %c%c%c\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"This program is sponsored by the letter 'P' \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 39, i32 noundef 80, i32 noundef 39)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7bz96g1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"This program is sponsored by the letter %c%c%c\0A\00", align 1
@.str.1 = private unnamed_addr constant [46 x i8] c"This program is sponsored by the letter 'P' \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 39, i32 noundef 80, i32 noundef 39)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6m7mxk62.c'
source_filename = "/tmp/tmp6m7mxk62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEnterWindowEvent_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6m7mxk62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_XEnterWindowEvent_type(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0
%5 = load i64, ptr %4, align 8
%6 = trunc i64 %5 to i32
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn8jdu21w.c'
source_filename = "/tmp/tmpn8jdu21w.c"
target datalayout = "e-m:e-p270: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"file.txt\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"name? \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"grade? \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"%s, %d\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 [50 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [70 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
%12 = load i32, ptr @O_APPEND, align 4
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 50, i1 false)
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %14
14: ; preds = %28, %2
%15 = load i32, ptr %9, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %38
17: ; preds = %14
%18 = call i32 @printf(ptr noundef @.str.1)
%19 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%20 = load i32, ptr @stdin, align 4
%21 = call i32 @fgets(ptr noundef %19, i32 noundef 50, i32 noundef %20)
%22 = call i32 @printf(ptr noundef @.str.2)
%23 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %8)
store i32 %23, ptr %10, align 4
%24 = load i32, ptr %10, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %17
store i32 0, ptr %9, align 4
br label %38
28: ; preds = %17
%29 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%30 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%31 = load i32, ptr %8, align 4
%32 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %30, i32 noundef %31)
%33 = load i32, ptr %6, align 4
%34 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%35 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%36 = call i32 @strlen(ptr noundef %35)
%37 = call i32 @write(i32 noundef %33, ptr noundef %34, i32 noundef %36)
br label %14, !llvm.loop !6
38: ; preds = %27, %14
%39 = load i32, ptr %6, align 4
%40 = call i32 @close(i32 noundef %39)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpn8jdu21w.c"
target datalayout = "e-m:e-p270: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"file.txt\00", align 1
@O_APPEND = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [7 x i8] c"name? \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [8 x i8] c"grade? \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [7 x i8] c"%s, %d\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 [50 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca [70 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
%12 = load i32, ptr @O_APPEND, align 4
%13 = call i32 @open(ptr noundef @.str, i32 noundef %12)
store i32 %13, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 50, i1 false)
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ne i32 %14, 0
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %27
%17 = call i32 @printf(ptr noundef @.str.1)
%18 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%19 = load i32, ptr @stdin, align 4
%20 = call i32 @fgets(ptr noundef %18, i32 noundef 50, i32 noundef %19)
%21 = call i32 @printf(ptr noundef @.str.2)
%22 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %8)
store i32 %22, ptr %10, align 4
%23 = load i32, ptr %10, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %16
store i32 0, ptr %9, align 4
br label %39
27: ; preds = %16
%28 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%29 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 0
%30 = load i32, ptr %8, align 4
%31 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.4, ptr noundef %29, i32 noundef %30)
%32 = load i32, ptr %6, align 4
%33 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%34 = getelementptr inbounds [70 x i8], ptr %11, i64 0, i64 0
%35 = call i32 @strlen(ptr noundef %34)
%36 = call i32 @write(i32 noundef %32, ptr noundef %33, i32 noundef %35)
%37 = load i32, ptr %9, align 4
%38 = icmp ne i32 %37, 0
br i1 %38, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %27
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %39
39: ; preds = %.loopexit, %26
%40 = load i32, ptr %6, align 4
%41 = call i32 @close(i32 noundef %40)
ret i32 0
}
declare i32 @open(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg9zju8l9.c'
source_filename = "/tmp/tmpg9zju8l9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" => \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outstat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @outplain(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @outplain(ptr noundef %4)
%6 = call i32 @outplain(ptr noundef @.str.1)
ret void
}
declare i32 @outplain(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/tmpg9zju8l9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c" => \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @outstat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @outplain(ptr noundef @.str)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @outplain(ptr noundef %4)
%6 = call i32 @outplain(ptr noundef @.str.1)
ret void
}
declare i32 @outplain(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/tmp3bv3i886.c'
source_filename = "/tmp/tmp3bv3i886.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpnge_ps(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpnge_ps(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpnge_ps(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/tmp3bv3i886.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_cmpnge_ps(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_cmpnge_ps(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_cmpnge_ps(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/tmpze4h7oy8.c'
source_filename = "/tmp/tmpze4h7oy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @do_insmod(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @do_insmod(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/tmpze4h7oy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @do_insmod(i32 noundef %6, ptr noundef %7)
ret i32 %8
}
declare i32 @do_insmod(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/tmpdl4ha5fo.c'
source_filename = "/tmp/tmpdl4ha5fo.c"
target datalayout = "e-m:e-p270: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"500 Internal Server Error\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Connection\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Internal Server Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uwsgi_500(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 i64 @uwsgi_response_prepare_headers(ptr noundef %3, ptr noundef @.str, i32 noundef 25)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %15
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i64 @uwsgi_response_add_header(ptr noundef %8, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, i32 noundef 5)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
br label %15
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = call i32 @uwsgi_response_write_body_do(ptr noundef %13, ptr noundef @.str.3, i32 noundef 21)
br label %15
15: ; preds = %12, %11, %6
ret void
}
declare i64 @uwsgi_response_prepare_headers(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @uwsgi_response_add_header(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @uwsgi_response_write_body_do(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/tmpdl4ha5fo.c"
target datalayout = "e-m:e-p270: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"500 Internal Server Error\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Connection\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"close\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Internal Server Error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uwsgi_500(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 i64 @uwsgi_response_prepare_headers(ptr noundef %3, ptr noundef @.str, i32 noundef 25)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
br label %15
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i64 @uwsgi_response_add_header(ptr noundef %8, ptr noundef @.str.1, i32 noundef 10, ptr noundef @.str.2, i32 noundef 5)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %7
br label %15
12: ; preds = %7
%13 = load ptr, ptr %2, align 8
%14 = call i32 @uwsgi_response_write_body_do(ptr noundef %13, ptr noundef @.str.3, i32 noundef 21)
br label %15
15: ; preds = %12, %11, %6
ret void
}
declare i64 @uwsgi_response_prepare_headers(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @uwsgi_response_add_header(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @uwsgi_response_write_body_do(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/tmp883qneo9.c'
source_filename = "/tmp/tmp883qneo9.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"Dry bulb temperature is outside range [-148, 392]\00", align 1
@.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/psychrometrics/psychrolib/refs/heads/master/src/c/psychrolib.c\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Dry bulb temperature is outside range [-100, 200]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetSatVapPres(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = call i64 (...) @isIP()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %56
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = fcmp oge double %8, -1.480000e+02
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load double, ptr %2, align 8
%12 = fcmp ole double %11, 3.920000e+02
br i1 %12, label %15, label %13
13: ; preds = %10, %7
%14 = call i32 @Assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 755)
br label %15
15: ; preds = %13, %10
%16 = load double, ptr %2, align 8
%17 = call double @GetTRankineFromTFahrenheit(double noundef %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %2, align 8
%19 = fcmp ole double %18, 3.201800e+01
br i1 %19, label %20, label %39
20: ; preds = %15
%21 = load double, ptr %4, align 8
%22 = fdiv double 0xC0C3F3151EB851EC, %21
%23 = fsub double %22, 0x401392AE3D958CC5
%24 = load double, ptr %4, align 8
%25 = call double @llvm.fmuladd.f64(double 0xBF7605C08AFF5FE3, double %24, double %23)
%26 = load double, ptr %4, align 8
%27 = fmul double 0x3E89C5E2F18256EE, %26
%28 = load double, ptr %4, align 8
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double %25)
%30 = load double, ptr %4, align 8
%31 = call double @pow(double noundef %30, i32 noundef 3)
%32 = call double @llvm.fmuladd.f64(double 0x3DF8729109922038, double %31, double %29)
%33 = load double, ptr %4, align 8
%34 = call double @pow(double noundef %33, i32 noundef 4)
%35 = call double @llvm.fmuladd.f64(double 0xBD396E0556843A5B, double %34, double %32)
%36 = load double, ptr %4, align 8
%37 = call double @log(double noundef %36) #4
%38 = call double @llvm.fmuladd.f64(double 0x4010A76D0AC555E0, double %37, double %35)
store double %38, ptr %3, align 8
br label %55
39: ; preds = %15
%40 = load double, ptr %4, align 8
%41 = fdiv double 0xC0C46432D0E56042, %40
%42 = fsub double %41, 0x402696DC5D638866
%43 = load double, ptr %4, align 8
%44 = call double @llvm.fmuladd.f64(double 0xBF9BABBF8BF19051, double %43, double %42)
%45 = load double, ptr %4, align 8
%46 = fmul double 0x3EEB0875969957D5, %45
%47 = load double, ptr %4, align 8
%48 = call double @llvm.fmuladd.f64(double %46, double %47, double %44)
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, i32 noundef 3)
%51 = call double @llvm.fmuladd.f64(double 0xBE254954524BD8EE, double %50, double %48)
%52 = load double, ptr %4, align 8
%53 = call double @log(double noundef %52) #4
%54 = call double @llvm.fmuladd.f64(double 0x401A2F120D48BDDF, double %53, double %51)
store double %54, ptr %3, align 8
br label %55
55: ; preds = %39, %20
br label %105
56: ; preds = %1
%57 = load double, ptr %2, align 8
%58 = fcmp oge double %57, -1.000000e+02
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load double, ptr %2, align 8
%61 = fcmp ole double %60, 2.000000e+02
br i1 %61, label %64, label %62
62: ; preds = %59, %56
%63 = call i32 @Assert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 768)
br label %64
64: ; preds = %62, %59
%65 = load double, ptr %2, align 8
%66 = call double @GetTKelvinFromTCelsius(double noundef %65)
store double %66, ptr %4, align 8
%67 = load double, ptr %2, align 8
%68 = fcmp ole double %67, 1.000000e-02
br i1 %68, label %69, label %88
69: ; preds = %64
%70 = load double, ptr %4, align 8
%71 = fdiv double 0xC0B62A8930BE0DED, %70
%72 = fadd double %71, 0x401991F1FEB57D25
%73 = load double, ptr %4, align 8
%74 = call double @llvm.fmuladd.f64(double 0xBF83D1FA19725315, double %73, double %72)
%75 = load double, ptr %4, align 8
%76 = fmul double 0x3EA4E049BBCCDCB5, %75
%77 = load double, ptr %4, align 8
%78 = call double @llvm.fmuladd.f64(double %76, double %77, double %74)
%79 = load double, ptr %4, align 8
%80 = call double @pow(double noundef %79, i32 noundef 3)
%81 = call double @llvm.fmuladd.f64(double 0x3E21D27EB63438FB, double %80, double %78)
%82 = load double, ptr %4, align 8
%83 = call double @pow(double noundef %82, i32 noundef 4)
%84 = call double @llvm.fmuladd.f64(double 0xBD70AF3985A087B4, double %83, double %81)
%85 = load double, ptr %4, align 8
%86 = call double @log(double noundef %85) #4
%87 = call double @llvm.fmuladd.f64(double 0x4010A76D0AC555E0, double %86, double %84)
store double %87, ptr %3, align 8
br label %104
88: ; preds = %64
%89 = load double, ptr %4, align 8
%90 = fdiv double 0xC0B6A838793DD97F, %89
%91 = fadd double %90, 0x3FF64394C51E82A2
%92 = load double, ptr %4, align 8
%93 = call double @llvm.fmuladd.f64(double 0xBFA8E75F978C9B7C, double %92, double %91)
%94 = load double, ptr %4, align 8
%95 = fmul double 0x3F05E592806101F3, %94
%96 = load double, ptr %4, align 8
%97 = call double @llvm.fmuladd.f64(double %95, double %96, double %93)
%98 = load double, ptr %4, align 8
%99 = call double @pow(double noundef %98, i32 noundef 3)
%100 = call double @llvm.fmuladd.f64(double 0xBE4F091F45323982, double %99, double %97)
%101 = load double, ptr %4, align 8
%102 = call double @log(double noundef %101) #4
%103 = call double @llvm.fmuladd.f64(double 0x401A2F120D48BDDF, double %102, double %100)
store double %103, ptr %3, align 8
br label %104
104: ; preds = %88, %69
br label %105
105: ; preds = %104, %55
%106 = load double, ptr %3, align 8
%107 = call double @exp(double noundef %106) #4
ret double %107
}
declare i64 @isIP(...) #1
declare i32 @Assert(ptr noundef, ptr noundef, i32 noundef) #1
declare double @GetTRankineFromTFahrenheit(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @GetTKelvinFromTCelsius(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp883qneo9.c"
target datalayout = "e-m:e-p270: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 [50 x i8] c"Dry bulb temperature is outside range [-148, 392]\00", align 1
@.str.1 = private unnamed_addr constant [153 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/psychrometrics/psychrolib/refs/heads/master/src/c/psychrolib.c\00", align 1
@.str.2 = private unnamed_addr constant [50 x i8] c"Dry bulb temperature is outside range [-100, 200]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @GetSatVapPres(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %2, align 8
%5 = call i64 (...) @isIP()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %56
7: ; preds = %1
%8 = load double, ptr %2, align 8
%9 = fcmp oge double %8, -1.480000e+02
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load double, ptr %2, align 8
%12 = fcmp ole double %11, 3.920000e+02
br i1 %12, label %15, label %13
13: ; preds = %10, %7
%14 = call i32 @Assert(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 755)
br label %15
15: ; preds = %13, %10
%16 = load double, ptr %2, align 8
%17 = call double @GetTRankineFromTFahrenheit(double noundef %16)
store double %17, ptr %4, align 8
%18 = load double, ptr %2, align 8
%19 = fcmp ole double %18, 3.201800e+01
br i1 %19, label %20, label %39
20: ; preds = %15
%21 = load double, ptr %4, align 8
%22 = fdiv double 0xC0C3F3151EB851EC, %21
%23 = fsub double %22, 0x401392AE3D958CC5
%24 = load double, ptr %4, align 8
%25 = call double @llvm.fmuladd.f64(double 0xBF7605C08AFF5FE3, double %24, double %23)
%26 = load double, ptr %4, align 8
%27 = fmul double 0x3E89C5E2F18256EE, %26
%28 = load double, ptr %4, align 8
%29 = call double @llvm.fmuladd.f64(double %27, double %28, double %25)
%30 = load double, ptr %4, align 8
%31 = call double @pow(double noundef %30, i32 noundef 3)
%32 = call double @llvm.fmuladd.f64(double 0x3DF8729109922038, double %31, double %29)
%33 = load double, ptr %4, align 8
%34 = call double @pow(double noundef %33, i32 noundef 4)
%35 = call double @llvm.fmuladd.f64(double 0xBD396E0556843A5B, double %34, double %32)
%36 = load double, ptr %4, align 8
%37 = call double @log(double noundef %36) #4
%38 = call double @llvm.fmuladd.f64(double 0x4010A76D0AC555E0, double %37, double %35)
store double %38, ptr %3, align 8
br label %55
39: ; preds = %15
%40 = load double, ptr %4, align 8
%41 = fdiv double 0xC0C46432D0E56042, %40
%42 = fsub double %41, 0x402696DC5D638866
%43 = load double, ptr %4, align 8
%44 = call double @llvm.fmuladd.f64(double 0xBF9BABBF8BF19051, double %43, double %42)
%45 = load double, ptr %4, align 8
%46 = fmul double 0x3EEB0875969957D5, %45
%47 = load double, ptr %4, align 8
%48 = call double @llvm.fmuladd.f64(double %46, double %47, double %44)
%49 = load double, ptr %4, align 8
%50 = call double @pow(double noundef %49, i32 noundef 3)
%51 = call double @llvm.fmuladd.f64(double 0xBE254954524BD8EE, double %50, double %48)
%52 = load double, ptr %4, align 8
%53 = call double @log(double noundef %52) #4
%54 = call double @llvm.fmuladd.f64(double 0x401A2F120D48BDDF, double %53, double %51)
store double %54, ptr %3, align 8
br label %55
55: ; preds = %39, %20
br label %105
56: ; preds = %1
%57 = load double, ptr %2, align 8
%58 = fcmp oge double %57, -1.000000e+02
br i1 %58, label %59, label %62
59: ; preds = %56
%60 = load double, ptr %2, align 8
%61 = fcmp ole double %60, 2.000000e+02
br i1 %61, label %64, label %62
62: ; preds = %59, %56
%63 = call i32 @Assert(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 768)
br label %64
64: ; preds = %62, %59
%65 = load double, ptr %2, align 8
%66 = call double @GetTKelvinFromTCelsius(double noundef %65)
store double %66, ptr %4, align 8
%67 = load double, ptr %2, align 8
%68 = fcmp ole double %67, 1.000000e-02
br i1 %68, label %69, label %88
69: ; preds = %64
%70 = load double, ptr %4, align 8
%71 = fdiv double 0xC0B62A8930BE0DED, %70
%72 = fadd double %71, 0x401991F1FEB57D25
%73 = load double, ptr %4, align 8
%74 = call double @llvm.fmuladd.f64(double 0xBF83D1FA19725315, double %73, double %72)
%75 = load double, ptr %4, align 8
%76 = fmul double 0x3EA4E049BBCCDCB5, %75
%77 = load double, ptr %4, align 8
%78 = call double @llvm.fmuladd.f64(double %76, double %77, double %74)
%79 = load double, ptr %4, align 8
%80 = call double @pow(double noundef %79, i32 noundef 3)
%81 = call double @llvm.fmuladd.f64(double 0x3E21D27EB63438FB, double %80, double %78)
%82 = load double, ptr %4, align 8
%83 = call double @pow(double noundef %82, i32 noundef 4)
%84 = call double @llvm.fmuladd.f64(double 0xBD70AF3985A087B4, double %83, double %81)
%85 = load double, ptr %4, align 8
%86 = call double @log(double noundef %85) #4
%87 = call double @llvm.fmuladd.f64(double 0x4010A76D0AC555E0, double %86, double %84)
store double %87, ptr %3, align 8
br label %104
88: ; preds = %64
%89 = load double, ptr %4, align 8
%90 = fdiv double 0xC0B6A838793DD97F, %89
%91 = fadd double %90, 0x3FF64394C51E82A2
%92 = load double, ptr %4, align 8
%93 = call double @llvm.fmuladd.f64(double 0xBFA8E75F978C9B7C, double %92, double %91)
%94 = load double, ptr %4, align 8
%95 = fmul double 0x3F05E592806101F3, %94
%96 = load double, ptr %4, align 8
%97 = call double @llvm.fmuladd.f64(double %95, double %96, double %93)
%98 = load double, ptr %4, align 8
%99 = call double @pow(double noundef %98, i32 noundef 3)
%100 = call double @llvm.fmuladd.f64(double 0xBE4F091F45323982, double %99, double %97)
%101 = load double, ptr %4, align 8
%102 = call double @log(double noundef %101) #4
%103 = call double @llvm.fmuladd.f64(double 0x401A2F120D48BDDF, double %102, double %100)
store double %103, ptr %3, align 8
br label %104
104: ; preds = %88, %69
br label %105
105: ; preds = %104, %55
%106 = load double, ptr %3, align 8
%107 = call double @exp(double noundef %106) #4
ret double %107
}
declare i64 @isIP(...) #1
declare i32 @Assert(ptr noundef, ptr noundef, i32 noundef) #1
declare double @GetTRankineFromTFahrenheit(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #3
declare double @GetTKelvinFromTCelsius(double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp70h0zb3y.c'
source_filename = "/tmp/tmp70h0zb3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_memcpy(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 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 i64 0, ptr %7, align 8
br label %8
8: ; preds = %12, %3
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ult i64 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %5, align 8
%14 = load i64, ptr %7, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = load i8, ptr %15, align 1
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
store i8 %16, ptr %19, align 1
%20 = load i64, ptr %7, align 8
%21 = add i64 %20, 1
store i64 %21, ptr %7, align 8
br label %8, !llvm.loop !6
22: ; preds = %8
%23 = load ptr, ptr %4, align 8
ret ptr %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp70h0zb3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_memcpy(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 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 i64 0, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = load i64, ptr %6, align 8
%10 = icmp ult i64 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %3
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %5, align 8
%13 = load i64, ptr %7, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load i8, ptr %14, align 1
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
store i8 %15, ptr %18, align 1
%19 = load i64, ptr %7, align 8
%20 = add i64 %19, 1
store i64 %20, ptr %7, align 8
%21 = load i64, ptr %7, align 8
%22 = load i64, ptr %6, align 8
%23 = icmp ult i64 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %24
24: ; preds = %._crit_edge, %3
%25 = load ptr, ptr %4, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpry6_95h6.c'
source_filename = "/tmp/tmpry6_95h6.c"
target datalayout = "e-m:e-p270: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/tmpry6_95h6.c"
target datalayout = "e-m:e-p270: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/tmpo5c1hwyh.c'
source_filename = "/tmp/tmpo5c1hwyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @major(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5c1hwyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @major(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0x6jsh8b.c'
source_filename = "/tmp/tmp0x6jsh8b.c"
target datalayout = "e-m:e-p270: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/tmp0x6jsh8b.c"
target datalayout = "e-m:e-p270: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/tmpphkwcmii.c'
source_filename = "/tmp/tmpphkwcmii.c"
target datalayout = "e-m:e-p270: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/tmpphkwcmii.c"
target datalayout = "e-m:e-p270: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/tmpjdecoz2d.c'
source_filename = "/tmp/tmpjdecoz2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i64 @malloc(i32 noundef 1)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
br label %9
9: ; preds = %112, %1
%10 = load ptr, ptr %2, align 8
%11 = call signext i8 @fgetc(ptr noundef %10)
store i8 %11, ptr %3, align 1
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr @EOF, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %13, %15
br i1 %16, label %17, label %30
17: ; preds = %9
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 1, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @realloc(ptr noundef %18, i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %4, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
br label %118
30: ; preds = %9
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %64
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %64
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = mul i64 1, %41
%43 = trunc i64 %42 to i32
%44 = call i64 @realloc(ptr noundef %38, i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %4, align 8
%46 = load i8, ptr %3, align 1
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 2
%54 = sext i32 %53 to i64
%55 = mul i64 1, %54
%56 = trunc i64 %55 to i32
%57 = call i64 @realloc(ptr noundef %51, i32 noundef %56)
%58 = inttoptr i64 %57 to ptr
store ptr %58, ptr %4, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 0, ptr %63, align 1
br label %118
64: ; preds = %34, %30
%65 = load i32, ptr %6, align 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %95
67: ; preds = %64
%68 = load i8, ptr %3, align 1
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
store i8 %68, ptr %72, align 1
%73 = load i8, ptr %3, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 10
br i1 %75, label %80, label %76
76: ; preds = %67
%77 = load ptr, ptr %2, align 8
%78 = call i64 @feof(ptr noundef %77)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %94
80: ; preds = %76, %67
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 2
%84 = sext i32 %83 to i64
%85 = mul i64 1, %84
%86 = trunc i64 %85 to i32
%87 = call i64 @realloc(ptr noundef %81, i32 noundef %86)
%88 = inttoptr i64 %87 to ptr
store ptr %88, ptr %4, align 8
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
store i8 0, ptr %93, align 1
br label %94
94: ; preds = %80, %76
br label %109
95: ; preds = %64
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = mul i64 1, %99
%101 = trunc i64 %100 to i32
%102 = call i64 @realloc(ptr noundef %96, i32 noundef %101)
%103 = inttoptr i64 %102 to ptr
store ptr %103, ptr %4, align 8
%104 = load i8, ptr %3, align 1
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %6, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
store i8 %104, ptr %108, align 1
br label %109
109: ; preds = %95, %94
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %6, align 4
br label %112
112: ; preds = %109
%113 = load i8, ptr %3, align 1
%114 = sext i8 %113 to i32
%115 = load i8, ptr @EOF, align 1
%116 = sext i8 %115 to i32
%117 = icmp ne i32 %114, %116
br i1 %117, label %9, label %118, !llvm.loop !6
118: ; preds = %112, %37, %17
%119 = load ptr, ptr %4, align 8
%120 = call ptr @strdup(ptr noundef %119)
store ptr %120, ptr %5, align 8
%121 = load ptr, ptr %4, align 8
%122 = call i32 @free(ptr noundef %121)
%123 = load ptr, ptr %5, align 8
ret ptr %123
}
declare i64 @malloc(i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdecoz2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i8 0, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = call i64 @malloc(i32 noundef 1)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
br label %9
9: ; preds = %112, %1
%10 = load ptr, ptr %2, align 8
%11 = call signext i8 @fgetc(ptr noundef %10)
store i8 %11, ptr %3, align 1
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = load i8, ptr @EOF, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %13, %15
br i1 %16, label %17, label %30
17: ; preds = %9
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = mul i64 1, %21
%23 = trunc i64 %22 to i32
%24 = call i64 @realloc(ptr noundef %18, i32 noundef %23)
%25 = inttoptr i64 %24 to ptr
store ptr %25, ptr %4, align 8
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 0, ptr %29, align 1
br label %118
30: ; preds = %9
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %64
34: ; preds = %30
%35 = load i32, ptr %6, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %64
37: ; preds = %34
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = mul i64 1, %41
%43 = trunc i64 %42 to i32
%44 = call i64 @realloc(ptr noundef %38, i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %4, align 8
%46 = load i8, ptr %3, align 1
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
%51 = load ptr, ptr %4, align 8
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 2
%54 = sext i32 %53 to i64
%55 = mul i64 1, %54
%56 = trunc i64 %55 to i32
%57 = call i64 @realloc(ptr noundef %51, i32 noundef %56)
%58 = inttoptr i64 %57 to ptr
store ptr %58, ptr %4, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
store i8 0, ptr %63, align 1
br label %118
64: ; preds = %34, %30
%65 = load i32, ptr %6, align 4
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %95
67: ; preds = %64
%68 = load i8, ptr %3, align 1
%69 = load ptr, ptr %4, align 8
%70 = load i32, ptr %6, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
store i8 %68, ptr %72, align 1
%73 = load i8, ptr %3, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 10
br i1 %75, label %80, label %76
76: ; preds = %67
%77 = load ptr, ptr %2, align 8
%78 = call i64 @feof(ptr noundef %77)
%79 = icmp ne i64 %78, 0
br i1 %79, label %80, label %94
80: ; preds = %76, %67
%81 = load ptr, ptr %4, align 8
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 2
%84 = sext i32 %83 to i64
%85 = mul i64 1, %84
%86 = trunc i64 %85 to i32
%87 = call i64 @realloc(ptr noundef %81, i32 noundef %86)
%88 = inttoptr i64 %87 to ptr
store ptr %88, ptr %4, align 8
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i8, ptr %89, i64 %92
store i8 0, ptr %93, align 1
br label %94
94: ; preds = %80, %76
br label %109
95: ; preds = %64
%96 = load ptr, ptr %4, align 8
%97 = load i32, ptr %6, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = mul i64 1, %99
%101 = trunc i64 %100 to i32
%102 = call i64 @realloc(ptr noundef %96, i32 noundef %101)
%103 = inttoptr i64 %102 to ptr
store ptr %103, ptr %4, align 8
%104 = load i8, ptr %3, align 1
%105 = load ptr, ptr %4, align 8
%106 = load i32, ptr %6, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
store i8 %104, ptr %108, align 1
br label %109
109: ; preds = %95, %94
%110 = load i32, ptr %6, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %6, align 4
br label %112
112: ; preds = %109
%113 = load i8, ptr %3, align 1
%114 = sext i8 %113 to i32
%115 = load i8, ptr @EOF, align 1
%116 = sext i8 %115 to i32
%117 = icmp ne i32 %114, %116
br i1 %117, label %9, label %.loopexit, !llvm.loop !6
.loopexit: ; preds = %112
br label %118
118: ; preds = %.loopexit, %37, %17
%119 = load ptr, ptr %4, align 8
%120 = call ptr @strdup(ptr noundef %119)
store ptr %120, ptr %5, align 8
%121 = load ptr, ptr %4, align 8
%122 = call i32 @free(ptr noundef %121)
%123 = load ptr, ptr %5, align 8
ret ptr %123
}
declare i64 @malloc(i32 noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1wnvfkk3.c'
source_filename = "/tmp/tmp1wnvfkk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @TEST(i32 noundef 0, i32 noundef 0)
%8 = call i32 @TEST(i32 noundef 0, i32 noundef 1)
%9 = call i32 @TEST(i32 noundef 1, i32 noundef 0)
%10 = call i32 @TEST(i32 noundef 1, i32 noundef 1)
ret i32 0
}
declare i32 @TEST(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/tmp1wnvfkk3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @TEST(i32 noundef 0, i32 noundef 0)
%8 = call i32 @TEST(i32 noundef 0, i32 noundef 1)
%9 = call i32 @TEST(i32 noundef 1, i32 noundef 0)
%10 = call i32 @TEST(i32 noundef 1, i32 noundef 1)
ret i32 0
}
declare i32 @TEST(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/tmpj7gdcjix.c'
source_filename = "/tmp/tmpj7gdcjix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pstrput(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %25
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %3, align 8
br label %31
21: ; preds = %12, %9
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
%24 = call i32 @pfree(ptr noundef %23)
br label %25
25: ; preds = %21, %2
%26 = load ptr, ptr %5, align 8
%27 = call ptr @pstrdup(ptr noundef %26)
%28 = load ptr, ptr %4, align 8
store ptr %27, ptr %28, align 8
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %3, align 8
br label %31
31: ; preds = %25, %18
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @pfree(ptr noundef) #1
declare ptr @pstrdup(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/tmpj7gdcjix.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pstrput(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %4, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %25
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strcmp(ptr noundef %14, ptr noundef %15)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load ptr, ptr %4, align 8
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %3, align 8
br label %31
21: ; preds = %12, %9
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %22, align 8
%24 = call i32 @pfree(ptr noundef %23)
br label %25
25: ; preds = %21, %2
%26 = load ptr, ptr %5, align 8
%27 = call ptr @pstrdup(ptr noundef %26)
%28 = load ptr, ptr %4, align 8
store ptr %27, ptr %28, align 8
%29 = load ptr, ptr %4, align 8
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %3, align 8
br label %31
31: ; preds = %25, %18
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @pfree(ptr noundef) #1
declare ptr @pstrdup(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/tmpdw5ha5g6.c'
source_filename = "/tmp/tmpdw5ha5g6.c"
target datalayout = "e-m:e-p270: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
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdw5ha5g6.c"
target datalayout = "e-m:e-p270: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
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprkzixao0.c'
source_filename = "/tmp/tmprkzixao0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c".hstr_favorites\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @favorites_get_filename() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @strlen(ptr noundef @.str.1)
%8 = add nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = call i64 @malloc(i64 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr %1, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.2)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.1)
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprkzixao0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"HOME\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c".hstr_favorites\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @favorites_get_filename() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = call ptr @getenv(ptr noundef @.str)
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call i64 @strlen(ptr noundef @.str.1)
%8 = add nsw i64 %6, %7
%9 = add nsw i64 %8, 1
%10 = call i64 @malloc(i64 noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %2, align 8
%12 = load ptr, ptr %2, align 8
%13 = load ptr, ptr %1, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 @strcat(ptr noundef %15, ptr noundef @.str.2)
%17 = load ptr, ptr %2, align 8
%18 = call i32 @strcat(ptr noundef %17, ptr noundef @.str.1)
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare ptr @getenv(ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpewwil6y5.c'
source_filename = "/tmp/tmpewwil6y5.c"
target datalayout = "e-m:e-p270: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/tmpewwil6y5.c"
target datalayout = "e-m:e-p270: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/tmp59ce3xnl.c'
source_filename = "/tmp/tmp59ce3xnl.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400, i1 false)
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %60, %0
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %63
16: ; preds = %12
%17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10)
%18 = load i32, ptr %10, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %59
20: ; preds = %16
%21 = load i32, ptr %10, align 4
%22 = sub nsw i32 0, %21
store i32 %22, ptr %10, align 4
store i32 1001, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %5, align 4
br label %23
23: ; preds = %41, %20
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %44
27: ; preds = %23
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %40
34: ; preds = %27
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %36
%38 = load i32, ptr %37, align 4
store i32 %38, ptr %8, align 4
%39 = load i32, ptr %5, align 4
store i32 %39, ptr %9, align 4
br label %40
40: ; preds = %34, %27
br label %41
41: ; preds = %40
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %23, !llvm.loop !6
44: ; preds = %23
%45 = load i32, ptr %10, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp sgt i32 %45, %46
br i1 %47, label %48, label %58
48: ; preds = %44
%49 = load i32, ptr %10, align 4
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 %49, %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %10, align 4
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %56
store i32 %54, ptr %57, align 4
br label %58
58: ; preds = %48, %44
br label %59
59: ; preds = %58, %16
br label %60
60: ; preds = %59
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
br label %12, !llvm.loop !8
63: ; preds = %12
%64 = load i32, ptr %6, align 4
%65 = call i32 @printf(ptr noundef @.str.1, i32 noundef %64)
%66 = load i32, ptr %1, align 4
ret i32 %66
}
; 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 @scanf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59ce3xnl.c"
target datalayout = "e-m:e-p270: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"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [100 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %6, align 4
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 400, i1 false)
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
store i32 0, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph2, label %67
.lr.ph2: ; preds = %0
br label %15
15: ; preds = %.lr.ph2, %61
%16 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %10)
%17 = load i32, ptr %10, align 4
%18 = icmp slt i32 %17, 0
br i1 %18, label %19, label %60
19: ; preds = %15
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 0, %20
store i32 %21, ptr %10, align 4
store i32 1001, ptr %8, align 4
store i32 -1, ptr %9, align 4
store i32 0, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %45
.lr.ph: ; preds = %19
br label %25
25: ; preds = %.lr.ph, %39
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %38
32: ; preds = %25
%33 = load i32, ptr %5, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
store i32 %36, ptr %8, align 4
%37 = load i32, ptr %5, align 4
store i32 %37, ptr %9, align 4
br label %38
38: ; preds = %32, %25
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %19
%46 = load i32, ptr %10, align 4
%47 = load i32, ptr %8, align 4
%48 = icmp sgt i32 %46, %47
br i1 %48, label %49, label %59
49: ; preds = %45
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %8, align 4
%52 = sub nsw i32 %50, %51
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [100 x i32], ptr %7, i64 0, i64 %57
store i32 %55, ptr %58, align 4
br label %59
59: ; preds = %49, %45
br label %60
60: ; preds = %59, %15
br label %61
61: ; preds = %60
%62 = load i32, ptr %4, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %4, align 4
%64 = load i32, ptr %4, align 4
%65 = load i32, ptr %2, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %67
67: ; preds = %._crit_edge3, %0
%68 = load i32, ptr %6, align 4
%69 = call i32 @printf(ptr noundef @.str.1, i32 noundef %68)
%70 = load i32, ptr %1, align 4
ret i32 %70
}
; 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 @scanf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmhfxhjz6.c'
source_filename = "/tmp/tmpmhfxhjz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp ule i64 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %57
14: ; preds = %1
store i64 0, ptr %4, align 8
br label %15
15: ; preds = %43, %14
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %46
19: ; preds = %15
%20 = load i32, ptr %7, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %32
22: ; preds = %19
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 32
br i1 %28, label %29, label %32
29: ; preds = %22
%30 = load i64, ptr %4, align 8
%31 = trunc i64 %30 to i32
store i32 %31, ptr %7, align 4
br label %32
32: ; preds = %29, %22, %19
%33 = load ptr, ptr %3, align 8
%34 = load i64, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 32
br i1 %38, label %39, label %42
39: ; preds = %32
%40 = load i64, ptr %4, align 8
%41 = trunc i64 %40 to i32
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %39, %32
br label %43
43: ; preds = %42
%44 = load i64, ptr %4, align 8
%45 = add i64 %44, 1
store i64 %45, ptr %4, align 8
br label %15, !llvm.loop !6
46: ; preds = %15
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = add nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
store i8 0, ptr %51, align 1
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %52, i64 %55
store ptr %56, ptr %2, align 8
br label %57
57: ; preds = %46, %12
%58 = load ptr, ptr %2, align 8
ret ptr %58
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmhfxhjz6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @clean(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %5, align 8
%10 = load i64, ptr %5, align 8
%11 = icmp ule i64 %10, 1
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %59
14: ; preds = %1
store i64 0, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = load i64, ptr %5, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %48
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %42
%19 = load i32, ptr %7, align 4
%20 = icmp eq i32 %19, 0
br i1 %20, label %21, label %31
21: ; preds = %18
%22 = load ptr, ptr %3, align 8
%23 = load i64, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 32
br i1 %27, label %28, label %31
28: ; preds = %21
%29 = load i64, ptr %4, align 8
%30 = trunc i64 %29 to i32
store i32 %30, ptr %7, align 4
br label %31
31: ; preds = %28, %21, %18
%32 = load ptr, ptr %3, align 8
%33 = load i64, ptr %4, 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, 32
br i1 %37, label %38, label %41
38: ; preds = %31
%39 = load i64, ptr %4, align 8
%40 = trunc i64 %39 to i32
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %38, %31
br label %42
42: ; preds = %41
%43 = load i64, ptr %4, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %4, align 8
%45 = load i64, ptr %4, align 8
%46 = load i64, ptr %5, align 8
%47 = icmp ult i64 %45, %46
br i1 %47, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %14
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
store i8 0, ptr %53, align 1
%54 = load ptr, ptr %3, align 8
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %54, i64 %57
store ptr %58, ptr %2, align 8
br label %59
59: ; preds = %48, %12
%60 = load ptr, ptr %2, align 8
ret ptr %60
}
declare i64 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphxfpfbol.c'
source_filename = "/tmp/tmphxfpfbol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ref_div_int16_t(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %7, %8
%10 = load ptr, ptr %6, align 8
store i32 %9, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphxfpfbol.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ref_div_int16_t(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %7, %8
%10 = load ptr, ptr %6, align 8
store i32 %9, ptr %10, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplusjs0bc.c'
source_filename = "/tmp/tmplusjs0bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_keyword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @get_keyword(ptr noundef %4, ptr noundef %3)
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
ret i32 %7
}
declare ptr @get_keyword(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/tmplusjs0bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_keyword(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @get_keyword(ptr noundef %4, ptr noundef %3)
%6 = icmp ne ptr %5, null
%7 = zext i1 %6 to i32
ret i32 %7
}
declare ptr @get_keyword(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/tmpn3jo90n4.c'
source_filename = "/tmp/tmpn3jo90n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @poly_acos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @acos_66(double noundef %3)
ret double %4
}
declare double @acos_66(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn3jo90n4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @poly_acos(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @acos_66(double noundef %3)
ret double %4
}
declare double @acos_66(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3avs3afi.c'
source_filename = "/tmp/tmp3avs3afi.c"
target datalayout = "e-m:e-p270: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/tmp3avs3afi.c"
target datalayout = "e-m:e-p270: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/tmpkkgqblkp.c'
source_filename = "/tmp/tmpkkgqblkp.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 10240)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %3, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %4, align 4
br label %12
12: ; preds = %36, %0
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %39
16: ; preds = %12
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp sge i32 %22, 65
br i1 %23, label %24, label %35
24: ; preds = %16
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %4, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp sle i32 %30, 90
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %35
35: ; preds = %32, %24, %16
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
br label %12, !llvm.loop !6
39: ; preds = %12
%40 = load i32, ptr %5, align 4
%41 = call i32 @printf(ptr noundef @.str.1, i32 noundef %40)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkgqblkp.c"
target datalayout = "e-m:e-p270: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 [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 10240)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = call i32 @strlen(ptr noundef %10)
store i32 %11, ptr %3, align 4
store i32 1, ptr %5, align 4
store i32 1, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %41
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %35
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sge i32 %21, 65
br i1 %22, label %23, label %34
23: ; preds = %15
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp sle i32 %29, 90
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %34
34: ; preds = %31, %23, %15
br label %35
35: ; preds = %34
%36 = load i32, ptr %4, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %0
%42 = load i32, ptr %5, align 4
%43 = call i32 @printf(ptr noundef @.str.1, i32 noundef %42)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdnrnj52a.c'
source_filename = "/tmp/tmpdnrnj52a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f3() #0 {
%1 = call i32 @f2(i32 noundef 0)
ret void
}
declare i32 @f2(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/tmpdnrnj52a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f3() #0 {
%1 = call i32 @f2(i32 noundef 0)
ret void
}
declare i32 @f2(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/tmp8zci3wee.c'
source_filename = "/tmp/tmp8zci3wee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"result\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 2.000000e+00, ptr %6, align 8
store double 3.000000e+00, ptr %7, align 8
%9 = load double, ptr %6, align 8
%10 = load double, ptr %7, align 8
%11 = fadd double %9, %10
%12 = load double, ptr %6, align 8
%13 = call double @foo(double noundef %11, double noundef %12)
store double %13, ptr %8, align 8
%14 = load double, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @cov_log(double noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 3
%27 = load ptr, ptr %26, align 8
%28 = call i32 @cov_check(ptr noundef %21, ptr noundef %24, ptr noundef %27)
ret i32 0
}
declare double @foo(double noundef, double noundef) #1
declare i32 @cov_log(double noundef, ptr noundef, ptr noundef) #1
declare i32 @cov_check(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/tmp8zci3wee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"result\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store double 2.000000e+00, ptr %6, align 8
store double 3.000000e+00, ptr %7, align 8
%9 = load double, ptr %6, align 8
%10 = load double, ptr %7, align 8
%11 = fadd double %9, %10
%12 = load double, ptr %6, align 8
%13 = call double @foo(double noundef %11, double noundef %12)
store double %13, ptr %8, align 8
%14 = load double, ptr %8, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @cov_log(double noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 2
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 3
%27 = load ptr, ptr %26, align 8
%28 = call i32 @cov_check(ptr noundef %21, ptr noundef %24, ptr noundef %27)
ret i32 0
}
declare double @foo(double noundef, double noundef) #1
declare i32 @cov_log(double noundef, ptr noundef, ptr noundef) #1
declare i32 @cov_check(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/tmphziefpzu.c'
source_filename = "/tmp/tmphziefpzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphziefpzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1v9x4etk.c'
source_filename = "/tmp/tmp1v9x4etk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xresizerequest_height(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1v9x4etk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xresizerequest_height(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpezz47r_g.c'
source_filename = "/tmp/tmpezz47r_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gedf2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @compared2(ptr noundef %3, ptr noundef %4)
ret i32 %5
}
declare i32 @compared2(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/tmpezz47r_g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__gedf2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call i32 @compared2(ptr noundef %3, ptr noundef %4)
ret i32 %5
}
declare i32 @compared2(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/tmp_ikwspuo.c'
source_filename = "/tmp/tmp_ikwspuo.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"Usage: gzdetect FILE [IDX [OUT]]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_args(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 2
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 4
br i1 %16, label %17, label %18
17: ; preds = %14, %5
br label %59
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %8, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %9, align 8
store i32 0, ptr %23, align 4
%24 = load ptr, ptr %10, align 8
store ptr null, ptr %24, align 8
%25 = load i32, ptr %6, align 4
%26 = icmp sge i32 %25, 3
br i1 %26, label %27, label %58
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 2
%30 = load ptr, ptr %29, align 8
%31 = call i32 @strtol(ptr noundef %30, ptr noundef %11, i32 noundef 10)
%32 = load ptr, ptr %9, align 8
store i32 %31, ptr %32, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %48, label %39
39: ; preds = %27
%40 = load ptr, ptr %11, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %39
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp slt i32 %46, 1
br i1 %47, label %48, label %49
48: ; preds = %44, %39, %27
br label %59
49: ; preds = %44
%50 = load i32, ptr %6, align 4
%51 = icmp sge i32 %50, 4
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 3
%55 = load ptr, ptr %54, align 8
%56 = load ptr, ptr %10, align 8
store ptr %55, ptr %56, align 8
br label %57
57: ; preds = %52, %49
br label %58
58: ; preds = %57, %18
ret void
59: ; preds = %48, %17
%60 = load i32, ptr @stderr, align 4
%61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str)
%62 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ikwspuo.c"
target datalayout = "e-m:e-p270: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 [34 x i8] c"Usage: gzdetect FILE [IDX [OUT]]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse_args(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 2
br i1 %13, label %17, label %14
14: ; preds = %5
%15 = load i32, ptr %6, align 4
%16 = icmp sgt i32 %15, 4
br i1 %16, label %17, label %18
17: ; preds = %14, %5
br label %59
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = load ptr, ptr %8, align 8
store ptr %21, ptr %22, align 8
%23 = load ptr, ptr %9, align 8
store i32 0, ptr %23, align 4
%24 = load ptr, ptr %10, align 8
store ptr null, ptr %24, align 8
%25 = load i32, ptr %6, align 4
%26 = icmp sge i32 %25, 3
br i1 %26, label %27, label %58
27: ; preds = %18
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 2
%30 = load ptr, ptr %29, align 8
%31 = call i32 @strtol(ptr noundef %30, ptr noundef %11, i32 noundef 10)
%32 = load ptr, ptr %9, align 8
store i32 %31, ptr %32, align 4
%33 = load ptr, ptr %7, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 2
%35 = load ptr, ptr %34, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %48, label %39
39: ; preds = %27
%40 = load ptr, ptr %11, align 8
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp ne i32 %42, 0
br i1 %43, label %48, label %44
44: ; preds = %39
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %45, align 4
%47 = icmp slt i32 %46, 1
br i1 %47, label %48, label %49
48: ; preds = %44, %39, %27
br label %59
49: ; preds = %44
%50 = load i32, ptr %6, align 4
%51 = icmp sge i32 %50, 4
br i1 %51, label %52, label %57
52: ; preds = %49
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 3
%55 = load ptr, ptr %54, align 8
%56 = load ptr, ptr %10, align 8
store ptr %55, ptr %56, align 8
br label %57
57: ; preds = %52, %49
br label %58
58: ; preds = %57, %18
ret void
59: ; preds = %48, %17
%60 = load i32, ptr @stderr, align 4
%61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str)
%62 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp53ktnjw8.c'
source_filename = "/tmp/tmp53ktnjw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"allocation failure in realloc ivector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @realloc_ivector(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 %9
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = sub nsw i64 %15, %16
%18 = add nsw i64 %17, 1
%19 = load i64, ptr %8, align 8
%20 = add nsw i64 %18, %19
%21 = add nsw i64 %20, 0
%22 = mul i64 %21, 4
%23 = call i64 @realloc(ptr noundef %14, i64 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %29, label %27
27: ; preds = %4
%28 = call i32 @nrerror(ptr noundef @.str)
br label %29
29: ; preds = %27, %4
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %6, align 8
%32 = sub i64 0, %31
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = getelementptr inbounds i32, ptr %33, i64 0
ret ptr %34
}
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @nrerror(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/tmp53ktnjw8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"allocation failure in realloc ivector()\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @realloc_ivector(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load i64, ptr %6, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 %9
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds i32, ptr %12, i64 0
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = load i64, ptr %7, align 8
%16 = load i64, ptr %6, align 8
%17 = sub nsw i64 %15, %16
%18 = add nsw i64 %17, 1
%19 = load i64, ptr %8, align 8
%20 = add nsw i64 %18, %19
%21 = add nsw i64 %20, 0
%22 = mul i64 %21, 4
%23 = call i64 @realloc(ptr noundef %14, i64 noundef %22)
%24 = inttoptr i64 %23 to ptr
store ptr %24, ptr %5, align 8
%25 = load ptr, ptr %5, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %29, label %27
27: ; preds = %4
%28 = call i32 @nrerror(ptr noundef @.str)
br label %29
29: ; preds = %27, %4
%30 = load ptr, ptr %5, align 8
%31 = load i64, ptr %6, align 8
%32 = sub i64 0, %31
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = getelementptr inbounds i32, ptr %33, i64 0
ret ptr %34
}
declare i64 @realloc(ptr noundef, i64 noundef) #1
declare i32 @nrerror(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/tmpvayw5oh7.c'
source_filename = "/tmp/tmpvayw5oh7.c"
target datalayout = "e-m:e-p270: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/tmpvayw5oh7.c"
target datalayout = "e-m:e-p270: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/tmpovv7s0rh.c'
source_filename = "/tmp/tmpovv7s0rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @step_chirp(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store double %6, ptr %16, align 8
store double %7, ptr %17, align 8
%21 = load double, ptr %10, align 8
%22 = load double, ptr %11, align 8
%23 = fcmp ogt double %21, %22
br i1 %23, label %24, label %63
24: ; preds = %8
%25 = load double, ptr %10, align 8
%26 = load double, ptr %11, align 8
%27 = fsub double %25, %26
%28 = load double, ptr %13, align 8
%29 = fcmp olt double %27, %28
br i1 %29, label %30, label %63
30: ; preds = %24
%31 = load double, ptr %14, align 8
%32 = load double, ptr %15, align 8
%33 = load double, ptr %14, align 8
%34 = fsub double %32, %33
%35 = load double, ptr %13, align 8
%36 = fmul double 2.000000e+00, %35
%37 = fdiv double %34, %36
%38 = load double, ptr %10, align 8
%39 = load double, ptr %11, align 8
%40 = fsub double %38, %39
%41 = call double @llvm.fmuladd.f64(double %37, double %40, double %31)
store double %41, ptr %18, align 8
%42 = load double, ptr %10, align 8
%43 = load double, ptr %11, align 8
%44 = fsub double %42, %43
%45 = load double, ptr %12, align 8
%46 = fcmp olt double %44, %45
br i1 %46, label %47, label %49
47: ; preds = %30
%48 = load double, ptr %16, align 8
store double %48, ptr %19, align 8
br label %51
49: ; preds = %30
%50 = load double, ptr %17, align 8
store double %50, ptr %19, align 8
br label %51
51: ; preds = %49, %47
%52 = load double, ptr %19, align 8
%53 = fmul double %52, 0x3F91DF46A2529CE4
%54 = load double, ptr %18, align 8
%55 = fmul double 0x401921FB54442D11, %54
%56 = load double, ptr %10, align 8
%57 = load double, ptr %11, align 8
%58 = fsub double %56, %57
%59 = fmul double %55, %58
%60 = call double @sin(double noundef %59) #3
%61 = fmul double %53, %60
store double %61, ptr %20, align 8
%62 = load double, ptr %20, align 8
store double %62, ptr %9, align 8
br label %64
63: ; preds = %24, %8
store double 0.000000e+00, ptr %9, align 8
br label %64
64: ; preds = %63, %51
%65 = load double, ptr %9, align 8
ret double %65
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpovv7s0rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @step_chirp(double noundef %0, double noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7) #0 {
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store double %4, ptr %14, align 8
store double %5, ptr %15, align 8
store double %6, ptr %16, align 8
store double %7, ptr %17, align 8
%21 = load double, ptr %10, align 8
%22 = load double, ptr %11, align 8
%23 = fcmp ogt double %21, %22
br i1 %23, label %24, label %63
24: ; preds = %8
%25 = load double, ptr %10, align 8
%26 = load double, ptr %11, align 8
%27 = fsub double %25, %26
%28 = load double, ptr %13, align 8
%29 = fcmp olt double %27, %28
br i1 %29, label %30, label %63
30: ; preds = %24
%31 = load double, ptr %14, align 8
%32 = load double, ptr %15, align 8
%33 = load double, ptr %14, align 8
%34 = fsub double %32, %33
%35 = load double, ptr %13, align 8
%36 = fmul double 2.000000e+00, %35
%37 = fdiv double %34, %36
%38 = load double, ptr %10, align 8
%39 = load double, ptr %11, align 8
%40 = fsub double %38, %39
%41 = call double @llvm.fmuladd.f64(double %37, double %40, double %31)
store double %41, ptr %18, align 8
%42 = load double, ptr %10, align 8
%43 = load double, ptr %11, align 8
%44 = fsub double %42, %43
%45 = load double, ptr %12, align 8
%46 = fcmp olt double %44, %45
br i1 %46, label %47, label %49
47: ; preds = %30
%48 = load double, ptr %16, align 8
store double %48, ptr %19, align 8
br label %51
49: ; preds = %30
%50 = load double, ptr %17, align 8
store double %50, ptr %19, align 8
br label %51
51: ; preds = %49, %47
%52 = load double, ptr %19, align 8
%53 = fmul double %52, 0x3F91DF46A2529CE4
%54 = load double, ptr %18, align 8
%55 = fmul double 0x401921FB54442D11, %54
%56 = load double, ptr %10, align 8
%57 = load double, ptr %11, align 8
%58 = fsub double %56, %57
%59 = fmul double %55, %58
%60 = call double @sin(double noundef %59) #3
%61 = fmul double %53, %60
store double %61, ptr %20, align 8
%62 = load double, ptr %20, align 8
store double %62, ptr %9, align 8
br label %64
63: ; preds = %24, %8
store double 0.000000e+00, ptr %9, align 8
br label %64
64: ; preds = %63, %51
%65 = load double, ptr %9, align 8
ret double %65
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sin(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxy94eucv.c'
source_filename = "/tmp/tmpxy94eucv.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"gcc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"g++\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"c++\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"save-temps\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gcc_check(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [2 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store ptr null, ptr %11, align 8
store i32 -1, ptr %12, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strendcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = call i64 @strendcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = call i64 @strendcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
br label %91
25: ; preds = %20, %16, %3
%26 = load ptr, ptr %4, align 8
%27 = call i64 @lstat(ptr noundef %26, ptr noundef %8)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %62
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr @O_RDONLY, align 4
%32 = call i32 @open(ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
br label %91
36: ; preds = %29
%37 = load i32, ptr %12, align 4
%38 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 2)
%40 = icmp sge i32 %39, 2
br i1 %40, label %41, label %53
41: ; preds = %36
%42 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 35
br i1 %45, label %46, label %52
46: ; preds = %41
%47 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 1
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 33
br i1 %50, label %51, label %52
51: ; preds = %46
br label %91
52: ; preds = %46, %41
br label %53
53: ; preds = %52, %36
%54 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call i64 @S_ISLNK(i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = call ptr @realpath(ptr noundef %59, ptr noundef null)
store ptr %60, ptr %11, align 8
br label %61
61: ; preds = %58, %53
br label %62
62: ; preds = %61, %25
%63 = load ptr, ptr %11, align 8
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = call ptr @strdup(ptr noundef %66)
store ptr %67, ptr %11, align 8
br label %68
68: ; preds = %65, %62
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr @X_OK, align 4
%71 = call i64 @access(ptr noundef %69, i32 noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %68
br label %91
74: ; preds = %68
%75 = load ptr, ptr %5, align 8
store ptr %75, ptr %7, align 8
br label %76
76: ; preds = %87, %74
%77 = load ptr, ptr %7, align 8
%78 = load ptr, ptr %77, align 8
%79 = icmp ne ptr %78, null
br i1 %79, label %80, label %90
80: ; preds = %76
%81 = load ptr, ptr %7, align 8
%82 = load ptr, ptr %81, align 8
%83 = call i64 @strendcmp(ptr noundef %82, ptr noundef @.str.3)
%84 = icmp eq i64 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %80
br label %91
86: ; preds = %80
br label %87
87: ; preds = %86
%88 = load ptr, ptr %7, align 8
%89 = getelementptr inbounds ptr, ptr %88, i32 1
store ptr %89, ptr %7, align 8
br label %76, !llvm.loop !6
90: ; preds = %76
store i32 1, ptr %10, align 4
br label %91
91: ; preds = %90, %85, %73, %51, %35, %24
%92 = load i32, ptr %12, align 4
%93 = icmp sge i32 %92, 0
br i1 %93, label %94, label %97
94: ; preds = %91
%95 = load i32, ptr %12, align 4
%96 = call i32 @close(i32 noundef %95)
br label %97
97: ; preds = %94, %91
%98 = load ptr, ptr %11, align 8
%99 = icmp ne ptr %98, null
br i1 %99, label %100, label %103
100: ; preds = %97
%101 = load ptr, ptr %11, align 8
%102 = call i32 @free(ptr noundef %101)
br label %103
103: ; preds = %100, %97
%104 = load i32, ptr %10, align 4
ret i32 %104
}
declare i64 @strendcmp(ptr noundef, ptr noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxy94eucv.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"gcc\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"g++\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"c++\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [11 x i8] c"save-temps\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gcc_check(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca %struct.stat, align 4
%9 = alloca [2 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store ptr null, ptr %11, align 8
store i32 -1, ptr %12, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i64 @strendcmp(ptr noundef %13, ptr noundef @.str)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %25
16: ; preds = %3
%17 = load ptr, ptr %4, align 8
%18 = call i64 @strendcmp(ptr noundef %17, ptr noundef @.str.1)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %25
20: ; preds = %16
%21 = load ptr, ptr %4, align 8
%22 = call i64 @strendcmp(ptr noundef %21, ptr noundef @.str.2)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
br label %93
25: ; preds = %20, %16, %3
%26 = load ptr, ptr %4, align 8
%27 = call i64 @lstat(ptr noundef %26, ptr noundef %8)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %62
29: ; preds = %25
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr @O_RDONLY, align 4
%32 = call i32 @open(ptr noundef %30, i32 noundef %31)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = icmp slt i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
br label %93
36: ; preds = %29
%37 = load i32, ptr %12, align 4
%38 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%39 = call i32 @read(i32 noundef %37, ptr noundef %38, i32 noundef 2)
%40 = icmp sge i32 %39, 2
br i1 %40, label %41, label %53
41: ; preds = %36
%42 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 0
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 35
br i1 %45, label %46, label %52
46: ; preds = %41
%47 = getelementptr inbounds [2 x i8], ptr %9, i64 0, i64 1
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 33
br i1 %50, label %51, label %52
51: ; preds = %46
br label %93
52: ; preds = %46, %41
br label %53
53: ; preds = %52, %36
%54 = getelementptr inbounds %struct.stat, ptr %8, i32 0, i32 0
%55 = load i32, ptr %54, align 4
%56 = call i64 @S_ISLNK(i32 noundef %55)
%57 = icmp ne i64 %56, 0
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = call ptr @realpath(ptr noundef %59, ptr noundef null)
store ptr %60, ptr %11, align 8
br label %61
61: ; preds = %58, %53
br label %62
62: ; preds = %61, %25
%63 = load ptr, ptr %11, align 8
%64 = icmp eq ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %4, align 8
%67 = call ptr @strdup(ptr noundef %66)
store ptr %67, ptr %11, align 8
br label %68
68: ; preds = %65, %62
%69 = load ptr, ptr %11, align 8
%70 = load i32, ptr @X_OK, align 4
%71 = call i64 @access(ptr noundef %69, i32 noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %74
73: ; preds = %68
br label %93
74: ; preds = %68
%75 = load ptr, ptr %5, align 8
store ptr %75, ptr %7, align 8
%76 = load ptr, ptr %7, align 8
%77 = load ptr, ptr %76, align 8
%78 = icmp ne ptr %77, null
br i1 %78, label %.lr.ph, label %92
.lr.ph: ; preds = %74
br label %79
79: ; preds = %.lr.ph, %86
%80 = load ptr, ptr %7, align 8
%81 = load ptr, ptr %80, align 8
%82 = call i64 @strendcmp(ptr noundef %81, ptr noundef @.str.3)
%83 = icmp eq i64 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %79
br label %93
85: ; preds = %79
br label %86
86: ; preds = %85
%87 = load ptr, ptr %7, align 8
%88 = getelementptr inbounds ptr, ptr %87, i32 1
store ptr %88, ptr %7, align 8
%89 = load ptr, ptr %7, align 8
%90 = load ptr, ptr %89, align 8
%91 = icmp ne ptr %90, null
br i1 %91, label %79, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %86
br label %92
92: ; preds = %._crit_edge, %74
store i32 1, ptr %10, align 4
br label %93
93: ; preds = %92, %84, %73, %51, %35, %24
%94 = load i32, ptr %12, align 4
%95 = icmp sge i32 %94, 0
br i1 %95, label %96, label %99
96: ; preds = %93
%97 = load i32, ptr %12, align 4
%98 = call i32 @close(i32 noundef %97)
br label %99
99: ; preds = %96, %93
%100 = load ptr, ptr %11, align 8
%101 = icmp ne ptr %100, null
br i1 %101, label %102, label %105
102: ; preds = %99
%103 = load ptr, ptr %11, align 8
%104 = call i32 @free(ptr noundef %103)
br label %105
105: ; preds = %102, %99
%106 = load i32, ptr %10, align 4
ret i32 %106
}
declare i64 @strendcmp(ptr noundef, ptr noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @S_ISLNK(i32 noundef) #1
declare ptr @realpath(ptr noundef, ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg1t79c40.c'
source_filename = "/tmp/tmpg1t79c40.c"
target datalayout = "e-m:e-p270: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/tmpg1t79c40.c"
target datalayout = "e-m:e-p270: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/tmpv1eao2p6.c'
source_filename = "/tmp/tmpv1eao2p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pb_print_bits_ui(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @_pb_print_bits(ptr noundef %2, i32 noundef 4)
ret i32 %3
}
declare i32 @_pb_print_bits(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/tmpv1eao2p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_pb_print_bits_ui(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @_pb_print_bits(ptr noundef %2, i32 noundef 4)
ret i32 %3
}
declare i32 @_pb_print_bits(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/tmpa8wtwikq.c'
source_filename = "/tmp/tmpa8wtwikq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa8wtwikq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @func()
%7 = icmp eq i32 %6, 42
%8 = zext i1 %7 to i64
%9 = select i1 %7, i32 0, i32 1
ret i32 %9
}
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphp3ogj_a.c'
source_filename = "/tmp/tmphp3ogj_a.c"
target datalayout = "e-m:e-p270: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/tmphp3ogj_a.c"
target datalayout = "e-m:e-p270: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/tmppje1dyit.c'
source_filename = "/tmp/tmppje1dyit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jeux(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @afficherJeux(i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @choixMenu(i32 noundef 1, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @actionJeux(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @afficherJeux(i32 noundef) #1
declare i32 @choixMenu(i32 noundef, i32 noundef) #1
declare i32 @actionJeux(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/tmppje1dyit.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jeux(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @afficherJeux(i32 noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 @choixMenu(i32 noundef 1, i32 noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %2, align 4
%11 = call i32 @actionJeux(i32 noundef %9, i32 noundef %10)
ret void
}
declare i32 @afficherJeux(i32 noundef) #1
declare i32 @choixMenu(i32 noundef, i32 noundef) #1
declare i32 @actionJeux(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.