llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpmyxxwhzt.c'
source_filename = "/tmp/tmpmyxxwhzt.c"
target datalayout = "e-m:e-p270: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 [80 x i8] c"Input (1) for single program compile, (2) for 3 part compile, or (3) for exit: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Invalid input, retrying\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 [1024 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 1024)
store ptr %4, ptr %2, align 8
br label %5
5: ; preds = %37, %0
br label %6
6: ; preds = %5, %40
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 1024, i32 noundef %9)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 49
br i1 %18, label %19, label %21
19: ; preds = %6
%20 = call i32 (...) @one_part_compile()
br label %40
21: ; preds = %6
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 50
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 (...) @three_part_compile()
br label %39
29: ; preds = %21
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 51
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %29
%38 = call i32 @printf(ptr noundef @.str.2)
br label %5
39: ; preds = %27
br label %40
40: ; preds = %39, %19
br label %6
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @one_part_compile(...) #1
declare i32 @three_part_compile(...) #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/tmpmyxxwhzt.c"
target datalayout = "e-m:e-p270: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 [80 x i8] c"Input (1) for single program compile, (2) for 3 part compile, or (3) for exit: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Invalid input, retrying\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 [1024 x i8], align 16
store i32 0, ptr %1, align 4
%4 = call ptr @malloc(i32 noundef 1024)
store ptr %4, ptr %2, align 8
br label %5
5: ; preds = %37, %0
br label %6
6: ; preds = %40, %5
%7 = call i32 @printf(ptr noundef @.str)
%8 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%9 = load i32, ptr @stdin, align 4
%10 = call i32 @fgets(ptr noundef %8, i32 noundef 1024, i32 noundef %9)
%11 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%12 = load ptr, ptr %2, align 8
%13 = call i32 @sscanf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 49
br i1 %18, label %19, label %21
19: ; preds = %6
%20 = call i32 (...) @one_part_compile()
br label %40
21: ; preds = %6
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 0
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 50
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 (...) @three_part_compile()
br label %39
29: ; preds = %21
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 0
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 51
br i1 %34, label %35, label %37
35: ; preds = %29
%36 = call i32 @exit(i32 noundef 1) #3
unreachable
37: ; preds = %29
%38 = call i32 @printf(ptr noundef @.str.2)
br label %5
39: ; preds = %27
br label %40
40: ; preds = %39, %19
br label %6
}
declare ptr @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @one_part_compile(...) #1
declare i32 @three_part_compile(...) #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/tmpnvzqoaw5.c'
source_filename = "/tmp/tmpnvzqoaw5.c"
target datalayout = "e-m:e-p270: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"tacos\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gethostname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
ret i32 0
}
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/tmpnvzqoaw5.c"
target datalayout = "e-m:e-p270: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"tacos\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @gethostname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @strncpy(ptr noundef %5, ptr noundef @.str, i64 noundef %6)
ret i32 0
}
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/tmptd87g56j.c'
source_filename = "/tmp/tmptd87g56j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincosf(float noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store float %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load float, ptr %4, align 4
%8 = call float @sinf(float noundef %7) #2
%9 = load ptr, ptr %5, align 8
store float %8, ptr %9, align 4
%10 = load float, ptr %4, align 4
%11 = call float @cosf(float noundef %10) #2
%12 = load ptr, ptr %6, align 8
store float %11, ptr %12, align 4
ret void
}
; Function Attrs: nounwind
declare float @sinf(float noundef) #1
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptd87g56j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sincosf(float noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store float %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load float, ptr %4, align 4
%8 = call float @sinf(float noundef %7) #2
%9 = load ptr, ptr %5, align 8
store float %8, ptr %9, align 4
%10 = load float, ptr %4, align 4
%11 = call float @cosf(float noundef %10) #2
%12 = load ptr, ptr %6, align 8
store float %11, ptr %12, align 4
ret void
}
; Function Attrs: nounwind
declare float @sinf(float noundef) #1
; Function Attrs: nounwind
declare float @cosf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfe9qk05v.c'
source_filename = "/tmp/tmpfe9qk05v.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"INFO: Insert message '%s' (%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @insertMessage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16)
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %63, %2
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %66
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %9, align 1
%28 = load i8, ptr %9, align 1
%29 = call ptr @convertByteToBin(i8 noundef zeroext %28)
store ptr %29, ptr %10, align 8
store i32 0, ptr %6, align 4
br label %30
30: ; preds = %59, %22
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %31, 8
br i1 %32, label %33, label %62
33: ; preds = %30
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = call ptr @convertByteToBin(i8 noundef zeroext %38)
store ptr %39, ptr %11, align 8
%40 = load ptr, ptr %10, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load ptr, ptr %11, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 7
%47 = load i8, ptr %46, align 1
%48 = call signext i8 @treatBits(i8 noundef signext %44, i8 noundef signext %47)
%49 = load ptr, ptr %11, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 7
store i8 %48, ptr %50, align 1
%51 = load ptr, ptr %11, align 8
%52 = call zeroext i8 @convertBinToByte(ptr noundef %51)
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
store i8 %52, ptr %56, align 1
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
br label %59
59: ; preds = %33
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
br label %30, !llvm.loop !6
62: ; preds = %30
br label %63
63: ; preds = %62
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
br label %18, !llvm.loop !8
66: ; preds = %18
%67 = load ptr, ptr %10, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %11, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load ptr, ptr %3, align 8
ret ptr %71
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @convertByteToBin(i8 noundef zeroext) #1
declare signext i8 @treatBits(i8 noundef signext, i8 noundef signext) #1
declare zeroext i8 @convertBinToByte(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfe9qk05v.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"INFO: Insert message '%s' (%d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @insertMessage(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store ptr null, ptr %10, align 8
store ptr null, ptr %11, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @strlen(ptr noundef %12)
%14 = trunc i64 %13 to i32
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %15, i32 noundef %16)
store i32 0, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph2, label %69
.lr.ph2: ; preds = %2
br label %21
21: ; preds = %.lr.ph2, %63
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
store i8 %26, ptr %9, align 1
%27 = load i8, ptr %9, align 1
%28 = call ptr @convertByteToBin(i8 noundef zeroext %27)
store ptr %28, ptr %10, align 8
store i32 0, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %.lr.ph, label %62
.lr.ph: ; preds = %21
br label %31
31: ; preds = %.lr.ph, %57
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = call ptr @convertByteToBin(i8 noundef zeroext %36)
store ptr %37, ptr %11, align 8
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 7
%45 = load i8, ptr %44, align 1
%46 = call signext i8 @treatBits(i8 noundef signext %42, i8 noundef signext %45)
%47 = load ptr, ptr %11, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 7
store i8 %46, ptr %48, align 1
%49 = load ptr, ptr %11, align 8
%50 = call zeroext i8 @convertBinToByte(ptr noundef %49)
%51 = load ptr, ptr %3, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 %50, ptr %54, align 1
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
br label %57
57: ; preds = %31
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %60, 8
br i1 %61, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %57
br label %62
62: ; preds = %._crit_edge, %21
br label %63
63: ; preds = %62
%64 = load i32, ptr %5, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %5, align 4
%66 = load i32, ptr %5, align 4
%67 = load i32, ptr %8, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %2
%70 = load ptr, ptr %10, align 8
%71 = call i32 @free(ptr noundef %70)
%72 = load ptr, ptr %11, align 8
%73 = call i32 @free(ptr noundef %72)
%74 = load ptr, ptr %3, align 8
ret ptr %74
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @convertByteToBin(i8 noundef zeroext) #1
declare signext i8 @treatBits(i8 noundef signext, i8 noundef signext) #1
declare zeroext i8 @convertBinToByte(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmps_fif_0i.c'
source_filename = "/tmp/tmps_fif_0i.c"
target datalayout = "e-m:e-p270: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/tmps_fif_0i.c"
target datalayout = "e-m:e-p270: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/tmppvabogd7.c'
source_filename = "/tmp/tmppvabogd7.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"main: out of memory allocating buf\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"%s\0A%s\0A--------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [128 x i8], align 16
%5 = alloca [128 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%11 = call i64 @malloc(i32 noundef 1048576)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %0
br label %20
20: ; preds = %19, %63
%21 = load ptr, ptr %2, align 8
%22 = call i32 @getblk(ptr noundef %21)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @EOF, align 4
%25 = icmp eq i32 %23, %24
br i1 %25, label %26, label %27
26: ; preds = %20
br label %64
27: ; preds = %20
%28 = load ptr, ptr %2, align 8
store ptr %28, ptr %9, align 8
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
store ptr %32, ptr %10, align 8
br label %33
33: ; preds = %57, %27
%34 = load ptr, ptr %9, align 8
%35 = load ptr, ptr %10, align 8
%36 = icmp ult ptr %34, %35
br i1 %36, label %37, label %63
37: ; preds = %33
%38 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
store ptr %38, ptr %6, align 8
%39 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%40 = getelementptr inbounds i8, ptr %39, i64 72
store ptr %40, ptr %7, align 8
%41 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
store ptr %41, ptr %8, align 8
br label %42
42: ; preds = %46, %37
%43 = load ptr, ptr %6, align 8
%44 = load ptr, ptr %7, align 8
%45 = icmp ult ptr %43, %44
br i1 %45, label %46, label %57
46: ; preds = %42
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds i8, ptr %47, i32 1
store ptr %48, ptr %9, align 8
%49 = load i8, ptr %47, align 1
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
store i8 %49, ptr %50, align 1
%52 = load ptr, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %9, align 8
%54 = load i8, ptr %52, align 1
%55 = load ptr, ptr %8, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %8, align 8
store i8 %54, ptr %55, align 1
br label %42, !llvm.loop !6
57: ; preds = %42
%58 = load ptr, ptr %6, align 8
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %8, align 8
store i8 0, ptr %59, align 1
%60 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%61 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%62 = call i32 @printf(ptr noundef @.str.1, ptr noundef %60, ptr noundef %61)
br label %33, !llvm.loop !8
63: ; preds = %33
br label %20
64: ; preds = %26
%65 = load ptr, ptr %2, align 8
%66 = call i32 @free(ptr noundef %65)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getblk(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppvabogd7.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"main: out of memory allocating buf\0A\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"%s\0A%s\0A--------\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [128 x i8], align 16
%5 = alloca [128 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%11 = call i64 @malloc(i32 noundef 1048576)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %19
15: ; preds = %0
%16 = load i32, ptr @stderr, align 4
%17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str)
%18 = call i32 @exit(i32 noundef 1) #3
unreachable
19: ; preds = %0
%20 = load ptr, ptr %2, align 8
%21 = call i32 @getblk(ptr noundef %20)
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr @EOF, align 4
%24 = icmp eq i32 %22, %23
br i1 %24, label %25, label %.lr.ph5
.lr.ph5: ; preds = %19
br label %26
._crit_edge6: ; preds = %66
br label %25
25: ; preds = %._crit_edge6, %19
br label %72
26: ; preds = %.lr.ph5, %66
%27 = load ptr, ptr %2, align 8
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %2, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store ptr %31, ptr %10, align 8
%32 = load ptr, ptr %9, align 8
%33 = load ptr, ptr %10, align 8
%34 = icmp ult ptr %32, %33
br i1 %34, label %.lr.ph2, label %66
.lr.ph2: ; preds = %26
br label %35
35: ; preds = %.lr.ph2, %57
%36 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
store ptr %36, ptr %6, align 8
%37 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%38 = getelementptr inbounds i8, ptr %37, i64 72
store ptr %38, ptr %7, align 8
%39 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
store ptr %39, ptr %8, align 8
%40 = load ptr, ptr %6, align 8
%41 = load ptr, ptr %7, align 8
%42 = icmp ult ptr %40, %41
br i1 %42, label %.lr.ph, label %57
.lr.ph: ; preds = %35
br label %43
43: ; preds = %.lr.ph, %43
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %9, align 8
%46 = load i8, ptr %44, 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
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %9, align 8
%51 = load i8, ptr %49, align 1
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %8, align 8
store i8 %51, ptr %52, align 1
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %7, align 8
%56 = icmp ult ptr %54, %55
br i1 %56, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %57
57: ; preds = %._crit_edge, %35
%58 = load ptr, ptr %6, align 8
store i8 0, ptr %58, align 1
%59 = load ptr, ptr %8, align 8
store i8 0, ptr %59, align 1
%60 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%61 = getelementptr inbounds [128 x i8], ptr %5, i64 0, i64 0
%62 = call i32 @printf(ptr noundef @.str.1, ptr noundef %60, ptr noundef %61)
%63 = load ptr, ptr %9, align 8
%64 = load ptr, ptr %10, align 8
%65 = icmp ult ptr %63, %64
br i1 %65, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %66
66: ; preds = %._crit_edge3, %26
%67 = load ptr, ptr %2, align 8
%68 = call i32 @getblk(ptr noundef %67)
store i32 %68, ptr %3, align 4
%69 = load i32, ptr %3, align 4
%70 = load i32, ptr @EOF, align 4
%71 = icmp eq i32 %69, %70
br i1 %71, label %._crit_edge6, label %26
72: ; preds = %25
%73 = load ptr, ptr %2, align 8
%74 = call i32 @free(ptr noundef %73)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @getblk(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmps7w4celn.c'
source_filename = "/tmp/tmps7w4celn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"localtime\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"strftime == 0\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mktimes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [129 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 129)
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = call i32 @settz(ptr noundef %13)
br label %15
15: ; preds = %12, %2
%16 = call i32 @time(ptr noundef null)
store i32 %16, ptr %6, align 4
%17 = call ptr @localtime(ptr noundef %6)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %15
%24 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i32 @strftime(ptr noundef %24, i32 noundef 128, ptr noundef %25, ptr noundef %26)
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %23
%34 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%35 = call ptr @smprintf(ptr noundef @.str.2, ptr noundef %34)
ret ptr %35
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @settz(ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @smprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps7w4celn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"localtime\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"strftime == 0\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mktimes(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [129 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%9 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 129)
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = call i32 @settz(ptr noundef %13)
br label %15
15: ; preds = %12, %2
%16 = call i32 @time(ptr noundef null)
store i32 %16, ptr %6, align 4
%17 = call ptr @localtime(ptr noundef %6)
store ptr %17, ptr %7, align 8
%18 = load ptr, ptr %7, align 8
%19 = icmp eq ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = call i32 @perror(ptr noundef @.str)
%22 = call i32 @exit(i32 noundef 1) #3
unreachable
23: ; preds = %15
%24 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%25 = load ptr, ptr %3, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i32 @strftime(ptr noundef %24, i32 noundef 128, ptr noundef %25, ptr noundef %26)
%28 = icmp ne i32 %27, 0
br i1 %28, label %33, label %29
29: ; preds = %23
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %23
%34 = getelementptr inbounds [129 x i8], ptr %5, i64 0, i64 0
%35 = call ptr @smprintf(ptr noundef @.str.2, ptr noundef %34)
ret ptr %35
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @settz(ptr noundef) #1
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare ptr @smprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzd1ytwrp.c'
source_filename = "/tmp/tmpzd1ytwrp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scm_get_sample_center(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = sitofp i64 %12 to double
%14 = fadd double %13, 5.000000e-01
%15 = load i64, ptr %9, align 8
%16 = sitofp i64 %15 to double
%17 = fdiv double %14, %16
%18 = fptosi double %17 to i64
%19 = load i64, ptr %8, align 8
%20 = sitofp i64 %19 to double
%21 = fadd double %20, 5.000000e-01
%22 = load i64, ptr %9, align 8
%23 = sitofp i64 %22 to double
%24 = fdiv double %21, %23
%25 = fptosi double %24 to i64
%26 = load ptr, ptr %10, align 8
%27 = call i32 @scm_vector(i32 noundef %11, i64 noundef %18, i64 noundef %25, ptr noundef %26)
ret void
}
declare i32 @scm_vector(i32 noundef, i64 noundef, i64 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/tmpzd1ytwrp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scm_get_sample_center(i32 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store i64 %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load i64, ptr %7, align 8
%13 = sitofp i64 %12 to double
%14 = fadd double %13, 5.000000e-01
%15 = load i64, ptr %9, align 8
%16 = sitofp i64 %15 to double
%17 = fdiv double %14, %16
%18 = fptosi double %17 to i64
%19 = load i64, ptr %8, align 8
%20 = sitofp i64 %19 to double
%21 = fadd double %20, 5.000000e-01
%22 = load i64, ptr %9, align 8
%23 = sitofp i64 %22 to double
%24 = fdiv double %21, %23
%25 = fptosi double %24 to i64
%26 = load ptr, ptr %10, align 8
%27 = call i32 @scm_vector(i32 noundef %11, i64 noundef %18, i64 noundef %25, ptr noundef %26)
ret void
}
declare i32 @scm_vector(i32 noundef, i64 noundef, i64 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/tmpqsj41hw5.c'
source_filename = "/tmp/tmpqsj41hw5.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %8
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @strdup(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqsj41hw5.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"not enough memory\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %19
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call ptr @strdup(ptr noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %8
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %2, align 8
br label %19
19: ; preds = %17, %7
%20 = load ptr, ptr %2, align 8
ret ptr %20
}
declare ptr @strdup(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbe44pzga.c'
source_filename = "/tmp/tmpbe44pzga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spec_string_to_integer(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %8, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strchr(ptr noundef %9, i8 noundef signext 46)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %27
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %8, align 8
%15 = call ptr @strtok(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %7, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @atoi(ptr noundef %21)
%23 = mul nsw i32 %22, 1000
%24 = load ptr, ptr %7, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = add nsw i32 %23, %25
store i32 %26, ptr %2, align 4
br label %30
27: ; preds = %1
%28 = load ptr, ptr %3, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %12
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(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/tmpbe44pzga.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @spec_string_to_integer(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr @.str, ptr %8, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strchr(ptr noundef %9, i8 noundef signext 46)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %27
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load ptr, ptr %8, align 8
%15 = call ptr @strtok(ptr noundef %13, ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = call ptr @strtok(ptr noundef null, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %6, align 8
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %7, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load ptr, ptr %6, align 8
%22 = call i32 @atoi(ptr noundef %21)
%23 = mul nsw i32 %22, 1000
%24 = load ptr, ptr %7, align 8
%25 = call i32 @atoi(ptr noundef %24)
%26 = add nsw i32 %23, %25
store i32 %26, ptr %2, align 4
br label %30
27: ; preds = %1
%28 = load ptr, ptr %3, align 8
%29 = call i32 @atoi(ptr noundef %28)
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %12
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i64 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(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_sdjzkjl.c'
source_filename = "/tmp/tmp_sdjzkjl.c"
target datalayout = "e-m:e-p270: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 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Error: Socket()\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"Error: Bind()\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Esperando al puerto %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Recibido %d bytes\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Mensaje recibido: \22%s\22\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.sockaddr_in, 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 [2048 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
store i32 12, ptr %8, align 4
%12 = load i32, ptr @AF_INET, align 4
%13 = load i32, ptr @SOCK_DGRAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
store i32 %14, ptr %10, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %50
18: ; preds = %2
%19 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr @INADDR_ANY, align 4
%23 = call i32 @htonl(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0
store i32 %23, ptr %25, align 4
%26 = call i32 @htons(i32 noundef 9999)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %26, ptr %27, align 4
%28 = load i32, ptr %10, align 4
%29 = call i64 @bind(i32 noundef %28, ptr noundef %6, i32 noundef 12)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %18
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %50
33: ; preds = %18
br label %34
34: ; preds = %33, %49
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 9999)
%36 = load i32, ptr %10, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%38 = call i32 @recvfrom(i32 noundef %36, ptr noundef %37, i32 noundef 2048, i32 noundef 0, ptr noundef %7, ptr noundef %8)
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39)
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %34
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %47)
br label %49
49: ; preds = %43, %34
br label %34
50: ; preds = %31, %16
%51 = load i32, ptr %3, align 4
ret i32 %51
}
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 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_sdjzkjl.c"
target datalayout = "e-m:e-p270: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 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Error: Socket()\0A\00", align 1
@INADDR_ANY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"Error: Bind()\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"Esperando al puerto %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"Recibido %d bytes\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Mensaje recibido: \22%s\22\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.sockaddr_in, 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 [2048 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
store i32 12, ptr %8, align 4
%12 = load i32, ptr @AF_INET, align 4
%13 = load i32, ptr @SOCK_DGRAM, align 4
%14 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef 0)
store i32 %14, ptr %10, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %50
18: ; preds = %2
%19 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%20 = load i32, ptr @AF_INET, align 4
%21 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %20, ptr %21, align 4
%22 = load i32, ptr @INADDR_ANY, align 4
%23 = call i32 @htonl(i32 noundef %22)
%24 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%25 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i32 0, i32 0
store i32 %23, ptr %25, align 4
%26 = call i32 @htons(i32 noundef 9999)
%27 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %26, ptr %27, align 4
%28 = load i32, ptr %10, align 4
%29 = call i64 @bind(i32 noundef %28, ptr noundef %6, i32 noundef 12)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %18
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %50
33: ; preds = %18
br label %34
34: ; preds = %49, %33
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 9999)
%36 = load i32, ptr %10, align 4
%37 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%38 = call i32 @recvfrom(i32 noundef %36, ptr noundef %37, i32 noundef 2048, i32 noundef 0, ptr noundef %7, ptr noundef %8)
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %9, align 4
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %39)
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %49
43: ; preds = %34
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = getelementptr inbounds [2048 x i8], ptr %11, i64 0, i64 0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %47)
br label %49
49: ; preds = %43, %34
br label %34
50: ; preds = %31, %16
%51 = load i32, ptr %3, align 4
ret i32 %51
}
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 @htonl(i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwmq_6ctn.c'
source_filename = "/tmp/tmpwmq_6ctn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @floorf_tml(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @floor(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @floor(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/tmpwmq_6ctn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @floorf_tml(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = fpext float %3 to double
%5 = call i64 @floor(double noundef %4)
%6 = sitofp i64 %5 to float
ret float %6
}
declare i64 @floor(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/tmp_lunbtme.c'
source_filename = "/tmp/tmp_lunbtme.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"\0A..... Ready .......................\0A\0A #Options::.....\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"\09a : print All the list\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"\09b : add new Element to the Database\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\09d : Delete an Element\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"\09x : to Exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printOptions() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp_lunbtme.c"
target datalayout = "e-m:e-p270: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 [56 x i8] c"\0A..... Ready .......................\0A\0A #Options::.....\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"\09a : print All the list\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"\09b : add new Element to the Database\0A\00", align 1
@.str.3 = private unnamed_addr constant [24 x i8] c"\09d : Delete an Element\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"\09x : to Exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printOptions() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp3vk0be8x.c'
source_filename = "/tmp/tmp3vk0be8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_FEATURE_ABORT = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3vk0be8x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_FEATURE_ABORT = dso_local global ptr null, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjpwvooki.c'
source_filename = "/tmp/tmpjpwvooki.c"
target datalayout = "e-m:e-p270: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/tmpjpwvooki.c"
target datalayout = "e-m:e-p270: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/tmpvpxj5_gz.c'
source_filename = "/tmp/tmpvpxj5_gz.c"
target datalayout = "e-m:e-p270: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"stdin\00", align 1
@STDIN_FILENO = 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 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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @STDIN_FILENO, align 4
%11 = call i32 @docat(ptr noundef @.str, i32 noundef %10)
br label %28
12: ; preds = %2
store i32 1, ptr %6, align 4
br label %13
13: ; preds = %24, %12
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = call i32 @cat(ptr noundef %22)
br label %24
24: ; preds = %17
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
br label %13, !llvm.loop !6
27: ; preds = %13
br label %28
28: ; preds = %27, %9
ret i32 0
}
declare i32 @docat(ptr noundef, i32 noundef) #1
declare i32 @cat(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/tmpvpxj5_gz.c"
target datalayout = "e-m:e-p270: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"stdin\00", align 1
@STDIN_FILENO = 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 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 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, 1
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = load i32, ptr @STDIN_FILENO, align 4
%11 = call i32 @docat(ptr noundef @.str, i32 noundef %10)
br label %30
12: ; preds = %2
store i32 1, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %29
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %23
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 @cat(ptr noundef %21)
br label %23
23: ; preds = %16
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %12
br label %30
30: ; preds = %29, %9
ret i32 0
}
declare i32 @docat(ptr noundef, i32 noundef) #1
declare i32 @cat(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/tmpa7fxdy95.c'
source_filename = "/tmp/tmpa7fxdy95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_DECK_STATUS = 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/tmpa7fxdy95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_DECK_STATUS = 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/tmppbj3ro_m.c'
source_filename = "/tmp/tmppbj3ro_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%*c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = call i32 @scanf(ptr noundef @.str)
%2 = call i32 @scanf(ptr noundef @.str.1)
ret void
}
declare i32 @scanf(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/tmppbj3ro_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%*c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clear() #0 {
%1 = call i32 @scanf(ptr noundef @.str)
%2 = call i32 @scanf(ptr noundef @.str.1)
ret void
}
declare i32 @scanf(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/tmp0o15m_2e.c'
source_filename = "/tmp/tmp0o15m_2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNegative(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = call double @fabs(float noundef %4)
%6 = fcmp ole double %5, 0x3EB0C6F7A0B5ED8D
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
8: ; preds = %1
%9 = load float, ptr %3, align 4
%10 = fcmp oge float %9, 0.000000e+00
%11 = zext i1 %10 to i64
%12 = select i1 %10, i32 1, i32 -1
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %8, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare double @fabs(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/tmp0o15m_2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isNegative(float noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca float, align 4
store float %0, ptr %3, align 4
%4 = load float, ptr %3, align 4
%5 = call double @fabs(float noundef %4)
%6 = fcmp ole double %5, 0x3EB0C6F7A0B5ED8D
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
8: ; preds = %1
%9 = load float, ptr %3, align 4
%10 = fcmp oge float %9, 0.000000e+00
%11 = zext i1 %10 to i64
%12 = select i1 %10, i32 1, i32 -1
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %8, %7
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare double @fabs(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/tmpjbshcciu.c'
source_filename = "/tmp/tmpjbshcciu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Here is an apple\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @getWords(ptr noundef @.str)
store ptr %8, ptr %7, align 8
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %29, %2
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 50
br i1 %11, label %12, label %32
12: ; preds = %9
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %27
19: ; preds = %12
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %6, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @printReverse(ptr noundef %24)
%26 = call i32 @printf(ptr noundef @.str.1)
br label %28
27: ; preds = %12
br label %32
28: ; preds = %19
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %9, !llvm.loop !6
32: ; preds = %27, %9
%33 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare ptr @getWords(ptr noundef) #1
declare i32 @printReverse(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjbshcciu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"Here is an apple\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call ptr @getWords(ptr noundef @.str)
store ptr %8, ptr %7, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 50
br i1 %10, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %28
%12 = load ptr, ptr %7, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds ptr, ptr %12, i64 %14
%16 = load ptr, ptr %15, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %26
18: ; preds = %11
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printReverse(ptr noundef %23)
%25 = call i32 @printf(ptr noundef @.str.1)
br label %27
26: ; preds = %11
br label %33
27: ; preds = %18
br label %28
28: ; preds = %27
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %31, 50
br i1 %32, label %11, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %28
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %33
33: ; preds = %.loopexit, %26
%34 = call i32 @printf(ptr noundef @.str.2)
ret i32 0
}
declare ptr @getWords(ptr noundef) #1
declare i32 @printReverse(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpzrhbg1o_.c'
source_filename = "/tmp/tmpzrhbg1o_.c"
target datalayout = "e-m:e-p270: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"values\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Error - ENT file does not contain a tag 'values'\0A\00", align 1
@.str.2 = private unnamed_addr constant [95 x i8] c"Error - requested value is not a normal non-meta block, or some other error in filestructure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getValueAsInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100000 x i32], align 16
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%11 = getelementptr inbounds [100000 x i32], ptr %6, i64 0, i64 0
store ptr %11, ptr %7, align 8
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [100000 x i32], ptr %6, i64 0, i64 0
%14 = call i32 @readTag(i32 noundef %12, ptr noundef @.str, ptr noundef %13, i32 noundef 400000)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %38
19: ; preds = %2
br label %20
20: ; preds = %24, %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %5, align 4
%23 = icmp sgt i32 %21, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @skipStructEntry(ptr noundef %7)
br label %20, !llvm.loop !6
26: ; preds = %20
%27 = call i32 @getOrdinal(ptr noundef %7)
store i32 %27, ptr %10, align 4
%28 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%29 = call i32 @getLabel(ptr noundef %7, ptr noundef %28, i32 noundef 256)
%30 = load i32, ptr %10, align 4
%31 = icmp ne i32 %30, 3
br i1 %31, label %32, label %35
32: ; preds = %26
%33 = call i32 @printf(ptr noundef @.str.2)
%34 = call i32 @exit(i32 noundef 0) #3
unreachable
35: ; preds = %26
%36 = load ptr, ptr %7, align 8
%37 = call i32 @bufToInt32(ptr noundef %36)
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %35, %17
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @readTag(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @skipStructEntry(ptr noundef) #1
declare i32 @getOrdinal(ptr noundef) #1
declare i32 @getLabel(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bufToInt32(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/tmpzrhbg1o_.c"
target datalayout = "e-m:e-p270: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"values\00", align 1
@.str.1 = private unnamed_addr constant [50 x i8] c"Error - ENT file does not contain a tag 'values'\0A\00", align 1
@.str.2 = private unnamed_addr constant [95 x i8] c"Error - requested value is not a normal non-meta block, or some other error in filestructure.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getValueAsInt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [100000 x i32], align 16
%7 = alloca ptr, align 8
%8 = alloca [256 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%11 = getelementptr inbounds [100000 x i32], ptr %6, i64 0, i64 0
store ptr %11, ptr %7, align 8
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [100000 x i32], ptr %6, i64 0, i64 0
%14 = call i32 @readTag(i32 noundef %12, ptr noundef @.str, ptr noundef %13, i32 noundef 400000)
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %2
%18 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %3, align 4
br label %40
19: ; preds = %2
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %5, align 4
%22 = icmp sgt i32 %20, 0
br i1 %22, label %.lr.ph, label %28
.lr.ph: ; preds = %19
br label %23
23: ; preds = %.lr.ph, %23
%24 = call i32 @skipStructEntry(ptr noundef %7)
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, -1
store i32 %26, ptr %5, align 4
%27 = icmp sgt i32 %25, 0
br i1 %27, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %28
28: ; preds = %._crit_edge, %19
%29 = call i32 @getOrdinal(ptr noundef %7)
store i32 %29, ptr %10, align 4
%30 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0
%31 = call i32 @getLabel(ptr noundef %7, ptr noundef %30, i32 noundef 256)
%32 = load i32, ptr %10, align 4
%33 = icmp ne i32 %32, 3
br i1 %33, label %34, label %37
34: ; preds = %28
%35 = call i32 @printf(ptr noundef @.str.2)
%36 = call i32 @exit(i32 noundef 0) #3
unreachable
37: ; preds = %28
%38 = load ptr, ptr %7, align 8
%39 = call i32 @bufToInt32(ptr noundef %38)
store i32 %39, ptr %3, align 4
br label %40
40: ; preds = %37, %17
%41 = load i32, ptr %3, align 4
ret i32 %41
}
declare i32 @readTag(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @skipStructEntry(ptr noundef) #1
declare i32 @getOrdinal(ptr noundef) #1
declare i32 @getLabel(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bufToInt32(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/tmpyz7x6ubp.c'
source_filename = "/tmp/tmpyz7x6ubp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @curse(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %8, %1
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %11
6: ; preds = %3
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
store i32 %10, ptr %2, align 4
br label %3, !llvm.loop !6
11: ; preds = %3
%12 = call i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyz7x6ubp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\07\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @curse(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %.lr.ph, label %12
.lr.ph: ; preds = %1
br label %5
5: ; preds = %.lr.ph, %7
%6 = call i32 @printf(ptr noundef @.str)
br label %7
7: ; preds = %5
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %1
%13 = call i32 @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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf2coziyn.c'
source_filename = "/tmp/tmpf2coziyn.c"
target datalayout = "e-m:e-p270: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/tmpf2coziyn.c"
target datalayout = "e-m:e-p270: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/tmpaaeodqg7.c'
source_filename = "/tmp/tmpaaeodqg7.c"
target datalayout = "e-m:e-p270: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/tmpaaeodqg7.c"
target datalayout = "e-m:e-p270: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/tmpibo49hf3.c'
source_filename = "/tmp/tmpibo49hf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"All euler utils tests passed\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 (...) @stern_brocot_count_test()
%3 = call i32 (...) @euclid_pythagorean_triple_perim_test()
%4 = call i32 (...) @count_representation_combinations_test()
%5 = call i32 (...) @calculate_sqrt_test()
%6 = call i32 (...) @is_special_sum_set_test()
%7 = call i32 (...) @digits_sum_test()
%8 = call i32 (...) @evaluate_factorisation_test()
%9 = call i32 (...) @get_repunit_len_test()
%10 = call i32 (...) @p114_test()
%11 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @stern_brocot_count_test(...) #1
declare i32 @euclid_pythagorean_triple_perim_test(...) #1
declare i32 @count_representation_combinations_test(...) #1
declare i32 @calculate_sqrt_test(...) #1
declare i32 @is_special_sum_set_test(...) #1
declare i32 @digits_sum_test(...) #1
declare i32 @evaluate_factorisation_test(...) #1
declare i32 @get_repunit_len_test(...) #1
declare i32 @p114_test(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpibo49hf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"All euler utils tests passed\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 (...) @stern_brocot_count_test()
%3 = call i32 (...) @euclid_pythagorean_triple_perim_test()
%4 = call i32 (...) @count_representation_combinations_test()
%5 = call i32 (...) @calculate_sqrt_test()
%6 = call i32 (...) @is_special_sum_set_test()
%7 = call i32 (...) @digits_sum_test()
%8 = call i32 (...) @evaluate_factorisation_test()
%9 = call i32 (...) @get_repunit_len_test()
%10 = call i32 (...) @p114_test()
%11 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @stern_brocot_count_test(...) #1
declare i32 @euclid_pythagorean_triple_perim_test(...) #1
declare i32 @count_representation_combinations_test(...) #1
declare i32 @calculate_sqrt_test(...) #1
declare i32 @is_special_sum_set_test(...) #1
declare i32 @digits_sum_test(...) #1
declare i32 @evaluate_factorisation_test(...) #1
declare i32 @get_repunit_len_test(...) #1
declare i32 @p114_test(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpag9u1wz3.c'
source_filename = "/tmp/tmpag9u1wz3.c"
target datalayout = "e-m:e-p270: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"@cls||clear\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"=======================================\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" Fastboot menu |\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"| [1] Fastboot devices |\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"| [2] Fastboot reboot |\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"| [3] Fastboot reboot-bootloader |\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"| [4] Fastboot help |\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"========================================\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"\0A[0] Exit\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"What you want?: \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"fastboot devices\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c"fastboot reboot\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"fastboot reboot-bootloader\00", align 1
@.str.14 = private unnamed_addr constant [14 x i8] c"fastboot help\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"Make your choice!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fastbootMenu() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = call i32 @printf(ptr noundef @.str.8)
%12 = call i32 @printf(ptr noundef @.str.9)
%13 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %1)
%14 = load i32, ptr %1, align 4
switch i32 %14, label %23 [
i32 1, label %15
i32 2, label %17
i32 3, label %19
i32 4, label %21
]
15: ; preds = %0
%16 = call i32 @system(ptr noundef @.str.11)
br label %25
17: ; preds = %0
%18 = call i32 @system(ptr noundef @.str.12)
br label %25
19: ; preds = %0
%20 = call i32 @system(ptr noundef @.str.13)
br label %25
21: ; preds = %0
%22 = call i32 @system(ptr noundef @.str.14)
br label %25
23: ; preds = %0
%24 = call i32 @printf(ptr noundef @.str.15)
br label %25
25: ; preds = %23, %21, %19, %17, %15
ret i32 0
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpag9u1wz3.c"
target datalayout = "e-m:e-p270: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"@cls||clear\00", align 1
@.str.1 = private unnamed_addr constant [41 x i8] c"=======================================\0A\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c" Fastboot menu |\0A\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"| [1] Fastboot devices |\0A\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"| [2] Fastboot reboot |\0A\00", align 1
@.str.5 = private unnamed_addr constant [40 x i8] c"| [3] Fastboot reboot-bootloader |\0A\00", align 1
@.str.6 = private unnamed_addr constant [40 x i8] c"| [4] Fastboot help |\0A\00", align 1
@.str.7 = private unnamed_addr constant [42 x i8] c"========================================\0A\00", align 1
@.str.8 = private unnamed_addr constant [11 x i8] c"\0A[0] Exit\0A\00", align 1
@.str.9 = private unnamed_addr constant [17 x i8] c"What you want?: \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.11 = private unnamed_addr constant [17 x i8] c"fastboot devices\00", align 1
@.str.12 = private unnamed_addr constant [16 x i8] c"fastboot reboot\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"fastboot reboot-bootloader\00", align 1
@.str.14 = private unnamed_addr constant [14 x i8] c"fastboot help\00", align 1
@.str.15 = private unnamed_addr constant [19 x i8] c"Make your choice!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fastbootMenu() #0 {
%1 = alloca i32, align 4
%2 = call i32 @system(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.1)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.4)
%8 = call i32 @printf(ptr noundef @.str.5)
%9 = call i32 @printf(ptr noundef @.str.6)
%10 = call i32 @printf(ptr noundef @.str.7)
%11 = call i32 @printf(ptr noundef @.str.8)
%12 = call i32 @printf(ptr noundef @.str.9)
%13 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %1)
%14 = load i32, ptr %1, align 4
switch i32 %14, label %23 [
i32 1, label %15
i32 2, label %17
i32 3, label %19
i32 4, label %21
]
15: ; preds = %0
%16 = call i32 @system(ptr noundef @.str.11)
br label %25
17: ; preds = %0
%18 = call i32 @system(ptr noundef @.str.12)
br label %25
19: ; preds = %0
%20 = call i32 @system(ptr noundef @.str.13)
br label %25
21: ; preds = %0
%22 = call i32 @system(ptr noundef @.str.14)
br label %25
23: ; preds = %0
%24 = call i32 @printf(ptr noundef @.str.15)
br label %25
25: ; preds = %23, %21, %19, %17, %15
ret i32 0
}
declare i32 @system(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpddo84ger.c'
source_filename = "/tmp/tmpddo84ger.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"<\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"'\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c""\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"&\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @html_attr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %86, %1
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %89
16: ; preds = %14
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 60
br i1 %21, label %46, label %22
22: ; preds = %16
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 62
br i1 %24, label %46, label %25
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %26, 39
br i1 %27, label %46, label %28
28: ; preds = %25
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 34
br i1 %30, label %46, label %31
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 38
br i1 %33, label %46, label %34
34: ; preds = %31
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 32
br i1 %36, label %37, label %86
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = icmp ne i32 %38, 9
br i1 %39, label %40, label %86
40: ; preds = %37
%41 = load i32, ptr %4, align 4
%42 = icmp ne i32 %41, 10
br i1 %42, label %43, label %86
43: ; preds = %40
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 13
br i1 %45, label %46, label %86
46: ; preds = %43, %31, %28, %25, %22, %16
%47 = load ptr, ptr %2, align 8
%48 = load ptr, ptr %3, align 8
%49 = load ptr, ptr %2, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = trunc i64 %52 to i32
%54 = call i32 @html_raw(ptr noundef %47, i32 noundef %53)
%55 = load i32, ptr %4, align 4
%56 = icmp eq i32 %55, 62
br i1 %56, label %57, label %59
57: ; preds = %46
%58 = call i32 @html(ptr noundef @.str)
br label %83
59: ; preds = %46
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %60, 60
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 @html(ptr noundef @.str.1)
br label %82
64: ; preds = %59
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 39
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = call i32 @html(ptr noundef @.str.2)
br label %81
69: ; preds = %64
%70 = load i32, ptr %4, align 4
%71 = icmp eq i32 %70, 34
br i1 %71, label %72, label %74
72: ; preds = %69
%73 = call i32 @html(ptr noundef @.str.3)
br label %80
74: ; preds = %69
%75 = load i32, ptr %4, align 4
%76 = icmp eq i32 %75, 38
br i1 %76, label %77, label %79
77: ; preds = %74
%78 = call i32 @html(ptr noundef @.str.4)
br label %79
79: ; preds = %77, %74
br label %80
80: ; preds = %79, %72
br label %81
81: ; preds = %80, %67
br label %82
82: ; preds = %81, %62
br label %83
83: ; preds = %82, %57
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 1
store ptr %85, ptr %2, align 8
br label %86
86: ; preds = %83, %43, %40, %37, %34
%87 = load ptr, ptr %3, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %3, align 8
br label %6, !llvm.loop !6
89: ; preds = %14
%90 = load ptr, ptr %3, align 8
%91 = load ptr, ptr %2, align 8
%92 = icmp ne ptr %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = load ptr, ptr %2, align 8
%95 = call i32 @html(ptr noundef %94)
br label %96
96: ; preds = %93, %89
ret void
}
declare i32 @html_raw(ptr noundef, i32 noundef) #1
declare i32 @html(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/tmpddo84ger.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c">\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"<\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"'\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c""\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"&\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @html_attr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %3, align 8
br label %6
6: ; preds = %86, %1
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %6
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br label %14
14: ; preds = %9, %6
%15 = phi i1 [ false, %6 ], [ %13, %9 ]
br i1 %15, label %16, label %89
16: ; preds = %14
%17 = load ptr, ptr %3, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 60
br i1 %21, label %46, label %22
22: ; preds = %16
%23 = load i32, ptr %4, align 4
%24 = icmp eq i32 %23, 62
br i1 %24, label %46, label %25
25: ; preds = %22
%26 = load i32, ptr %4, align 4
%27 = icmp eq i32 %26, 39
br i1 %27, label %46, label %28
28: ; preds = %25
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 34
br i1 %30, label %46, label %31
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %32, 38
br i1 %33, label %46, label %34
34: ; preds = %31
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 32
br i1 %36, label %37, label %86
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = icmp ne i32 %38, 9
br i1 %39, label %40, label %86
40: ; preds = %37
%41 = load i32, ptr %4, align 4
%42 = icmp ne i32 %41, 10
br i1 %42, label %43, label %86
43: ; preds = %40
%44 = load i32, ptr %4, align 4
%45 = icmp ne i32 %44, 13
br i1 %45, label %46, label %86
46: ; preds = %43, %31, %28, %25, %22, %16
%47 = load ptr, ptr %2, align 8
%48 = load ptr, ptr %3, align 8
%49 = load ptr, ptr %2, align 8
%50 = ptrtoint ptr %48 to i64
%51 = ptrtoint ptr %49 to i64
%52 = sub i64 %50, %51
%53 = trunc i64 %52 to i32
%54 = call i32 @html_raw(ptr noundef %47, i32 noundef %53)
%55 = load i32, ptr %4, align 4
%56 = icmp eq i32 %55, 62
br i1 %56, label %57, label %59
57: ; preds = %46
%58 = call i32 @html(ptr noundef @.str)
br label %83
59: ; preds = %46
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %60, 60
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 @html(ptr noundef @.str.1)
br label %82
64: ; preds = %59
%65 = load i32, ptr %4, align 4
%66 = icmp eq i32 %65, 39
br i1 %66, label %67, label %69
67: ; preds = %64
%68 = call i32 @html(ptr noundef @.str.2)
br label %81
69: ; preds = %64
%70 = load i32, ptr %4, align 4
%71 = icmp eq i32 %70, 34
br i1 %71, label %72, label %74
72: ; preds = %69
%73 = call i32 @html(ptr noundef @.str.3)
br label %80
74: ; preds = %69
%75 = load i32, ptr %4, align 4
%76 = icmp eq i32 %75, 38
br i1 %76, label %77, label %79
77: ; preds = %74
%78 = call i32 @html(ptr noundef @.str.4)
br label %79
79: ; preds = %77, %74
br label %80
80: ; preds = %79, %72
br label %81
81: ; preds = %80, %67
br label %82
82: ; preds = %81, %62
br label %83
83: ; preds = %82, %57
%84 = load ptr, ptr %3, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 1
store ptr %85, ptr %2, align 8
br label %86
86: ; preds = %83, %43, %40, %37, %34
%87 = load ptr, ptr %3, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %3, align 8
br label %6, !llvm.loop !6
89: ; preds = %14
%90 = load ptr, ptr %3, align 8
%91 = load ptr, ptr %2, align 8
%92 = icmp ne ptr %90, %91
br i1 %92, label %93, label %96
93: ; preds = %89
%94 = load ptr, ptr %2, align 8
%95 = call i32 @html(ptr noundef %94)
br label %96
96: ; preds = %93, %89
ret void
}
declare i32 @html_raw(ptr noundef, i32 noundef) #1
declare i32 @html(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/tmptxydirsh.c'
source_filename = "/tmp/tmptxydirsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B() #0 {
%1 = call i32 @Translation(i8 noundef signext 116)
%2 = call i32 (...) @A()
%3 = call i32 @Translation(i8 noundef signext 100)
%4 = call i32 (...) @A()
ret void
}
declare i32 @Translation(i8 noundef signext) #1
declare i32 @A(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxydirsh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @B() #0 {
%1 = call i32 @Translation(i8 noundef signext 116)
%2 = call i32 (...) @A()
%3 = call i32 @Translation(i8 noundef signext 100)
%4 = call i32 (...) @A()
ret void
}
declare i32 @Translation(i8 noundef signext) #1
declare i32 @A(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgkv306gf.c'
source_filename = "/tmp/tmpgkv306gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertZerosForSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %5, align 4
br label %10
10: ; preds = %45, %2
%11 = load ptr, ptr %4, align 8
%12 = call i32 @getDigitsCount(ptr noundef %11)
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %52
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %5, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store i8 0, ptr %22, align 1
store i32 0, ptr %7, align 4
br label %23
23: ; preds = %42, %15
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %45
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %29, %30
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %28, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %7, align 4
%39 = sub nsw i32 %37, %38
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %36, i64 %40
store i8 %35, ptr %41, align 1
br label %42
42: ; preds = %27
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %23, !llvm.loop !6
45: ; preds = %23
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %5, align 4
%48 = load i32, ptr %6, align 4
%49 = sub nsw i32 %47, %48
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %46, i64 %50
store i8 48, ptr %51, align 1
br label %10, !llvm.loop !8
52: ; preds = %10
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @getDigitsCount(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/tmpgkv306gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @insertZerosForSort(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %5, align 4
%10 = load ptr, ptr %4, align 8
%11 = call i32 @getDigitsCount(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %57
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %46
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %5, align 4
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %17, i64 %20
store i8 0, ptr %21, align 1
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %14
br label %25
25: ; preds = %.lr.ph, %40
%26 = load ptr, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %27, %28
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %26, i64 %31
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %4, align 8
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %7, align 4
%37 = sub nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %34, i64 %38
store i8 %33, ptr %39, align 1
br label %40
40: ; preds = %25
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %14
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = sub nsw i32 %48, %49
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %47, i64 %51
store i8 48, ptr %52, align 1
%53 = load ptr, ptr %4, align 8
%54 = call i32 @getDigitsCount(ptr noundef %53)
store i32 %54, ptr %6, align 4
%55 = load i32, ptr %3, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %57
57: ; preds = %._crit_edge3, %2
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @getDigitsCount(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/tmpwae87t2x.c'
source_filename = "/tmp/tmpwae87t2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_setpgid_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = call i32 @setpgid(i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @setpgid(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/tmpwae87t2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c_setpgid_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %7, align 4
%9 = call i32 @setpgid(i32 noundef %6, i32 noundef %8)
ret void
}
declare i32 @setpgid(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/tmpm58p_3wb.c'
source_filename = "/tmp/tmpm58p_3wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = call i32 @printf(ptr noundef @.str)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
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/tmpm58p_3wb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printStar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %9
%8 = call i32 @printf(ptr noundef @.str)
br label %9
9: ; preds = %7
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxwff8wke.c'
source_filename = "/tmp/tmpxwff8wke.c"
target datalayout = "e-m:e-p270: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"Valx=%d\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @ctest1(ptr noundef %6)
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @ctest1(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxwff8wke.c"
target datalayout = "e-m:e-p270: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"Valx=%d\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @ctest1(ptr noundef %6)
%8 = load i32, ptr %6, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %8)
ret i32 0
}
declare i32 @ctest1(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"}
|
; ModuleID = '/tmp/tmp6ogym2t9.c'
source_filename = "/tmp/tmp6ogym2t9.c"
target datalayout = "e-m:e-p270: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/tmp6ogym2t9.c"
target datalayout = "e-m:e-p270: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/tmp1vpks875.c'
source_filename = "/tmp/tmp1vpks875.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Enter %d numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Largest: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Smallest: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%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 @printf(ptr noundef @.str, i32 noundef 10)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 10
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %5, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
%19 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%20 = call i32 @max_min(ptr noundef %19, i32 noundef 10, ptr noundef %3, ptr noundef %4)
%21 = load i32, ptr %3, align 4
%22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %21)
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str.3, i32 noundef %23)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @max_min(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vpks875.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"Enter %d numbers: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Largest: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Smallest: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%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 @printf(ptr noundef @.str, i32 noundef 10)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 10
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 10
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
%20 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%21 = call i32 @max_min(ptr noundef %20, i32 noundef 10, ptr noundef %3, ptr noundef %4)
%22 = load i32, ptr %3, align 4
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %22)
%24 = load i32, ptr %4, align 4
%25 = call i32 @printf(ptr noundef @.str.3, i32 noundef %24)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @max_min(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbg7hd2ei.c'
source_filename = "/tmp/tmpbg7hd2ei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Hello from C, called from assembly\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hello_from_c() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbg7hd2ei.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"Hello from C, called from assembly\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hello_from_c() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0t0bf95u.c'
source_filename = "/tmp/tmp0t0bf95u.c"
target datalayout = "e-m:e-p270: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 void @set_XEnterWindowEvent_time(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t0bf95u.c"
target datalayout = "e-m:e-p270: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 void @set_XEnterWindowEvent_time(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl0fmn8ks.c'
source_filename = "/tmp/tmpl0fmn8ks.c"
target datalayout = "e-m:e-p270: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"B.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestB() #0 {
%1 = alloca i32, align 4
store i32 4096, ptr %1, align 4
br label %2
2: ; preds = %0, %2
%3 = call i32 @disp_str(ptr noundef @.str)
%4 = call i32 @milli_delay(i32 noundef 10)
br label %2
}
declare i32 @disp_str(ptr noundef) #1
declare i32 @milli_delay(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/tmpl0fmn8ks.c"
target datalayout = "e-m:e-p270: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"B.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @TestB() #0 {
%1 = alloca i32, align 4
store i32 4096, ptr %1, align 4
br label %2
2: ; preds = %2, %0
%3 = call i32 @disp_str(ptr noundef @.str)
%4 = call i32 @milli_delay(i32 noundef 10)
br label %2
}
declare i32 @disp_str(ptr noundef) #1
declare i32 @milli_delay(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/tmp0y_n3x3y.c'
source_filename = "/tmp/tmp0y_n3x3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"*** Error in function %s. Cause: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Error(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0y_n3x3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [38 x i8] c"*** Error in function %s. Cause: %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Error(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 i32, ptr @stderr, align 4
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfzmh9h2l.c'
source_filename = "/tmp/tmpfzmh9h2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@static_internal.static_integer = internal global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\09&%s = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"static_integer\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @static_internal() #0 {
%1 = load i32, ptr @static_internal.static_integer, align 4
%2 = add nsw i32 %1, 1
store i32 %2, ptr @static_internal.static_integer, align 4
%3 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @static_internal.static_integer)
%4 = load i32, ptr @static_internal.static_integer, align 4
%5 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef %4)
ret void
}
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/tmpfzmh9h2l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@static_internal.static_integer = internal global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"\09&%s = %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"static_integer\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"\09%s = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @static_internal() #0 {
%1 = load i32, ptr @static_internal.static_integer, align 4
%2 = add nsw i32 %1, 1
store i32 %2, ptr @static_internal.static_integer, align 4
%3 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, ptr noundef @static_internal.static_integer)
%4 = load i32, ptr @static_internal.static_integer, align 4
%5 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef %4)
ret void
}
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/tmprxv8u4i0.c'
source_filename = "/tmp/tmprxv8u4i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @scheme_entry()
%7 = call i32 @print_ptr(i32 noundef %6)
ret i32 0
}
declare i32 @print_ptr(i32 noundef) #1
declare i32 @scheme_entry(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprxv8u4i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @scheme_entry()
%7 = call i32 @print_ptr(i32 noundef %6)
ret i32 0
}
declare i32 @print_ptr(i32 noundef) #1
declare i32 @scheme_entry(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnwcirrde.c'
source_filename = "/tmp/tmpnwcirrde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostSuspend(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074069504
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = or i32 %11, 2
store volatile i32 %12, ptr %10, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnwcirrde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBHostSuspend(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp eq i32 %3, 1074069504
%5 = zext i1 %4 to i32
%6 = call i32 @ASSERT(i32 noundef %5)
%7 = load i32, ptr %2, align 4
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = inttoptr i64 %9 to ptr
%11 = load volatile i32, ptr %10, align 4
%12 = or i32 %11, 2
store volatile i32 %12, ptr %10, align 4
ret void
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmply931hnu.c'
source_filename = "/tmp/tmply931hnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timeSeed() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = call i32 @time(i32 noundef 0)
store i32 %7, ptr %1, align 4
store ptr %1, ptr %2, align 8
store i64 -3750763034362895579, ptr %5, align 8
store i64 1099511628211, ptr %4, align 8
%8 = load i64, ptr %5, align 8
store i64 %8, ptr %3, align 8
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %25, %0
%10 = load i32, ptr %6, align 4
%11 = sext i32 %10 to i64
%12 = icmp ult i64 %11, 4
br i1 %12, label %13, label %28
13: ; preds = %9
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i64
%20 = load i64, ptr %3, align 8
%21 = xor i64 %20, %19
store i64 %21, ptr %3, align 8
%22 = load i64, ptr %4, align 8
%23 = load i64, ptr %3, align 8
%24 = mul i64 %23, %22
store i64 %24, ptr %3, align 8
br label %25
25: ; preds = %13
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %9, !llvm.loop !6
28: ; preds = %9
%29 = load i64, ptr %3, align 8
ret i64 %29
}
declare i32 @time(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/tmply931hnu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @timeSeed() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = call i32 @time(i32 noundef 0)
store i32 %7, ptr %1, align 4
store ptr %1, ptr %2, align 8
store i64 -3750763034362895579, ptr %5, align 8
store i64 1099511628211, ptr %4, align 8
%8 = load i64, ptr %5, align 8
store i64 %8, ptr %3, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = icmp ult i64 %10, 4
br i1 %11, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %24
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i64
%19 = load i64, ptr %3, align 8
%20 = xor i64 %19, %18
store i64 %20, ptr %3, align 8
%21 = load i64, ptr %4, align 8
%22 = load i64, ptr %3, align 8
%23 = mul i64 %22, %21
store i64 %23, ptr %3, align 8
br label %24
24: ; preds = %12
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = icmp ult i64 %28, 4
br i1 %29, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i64, ptr %3, align 8
ret i64 %31
}
declare i32 @time(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/tmp4bgxb5l8.c'
source_filename = "/tmp/tmp4bgxb5l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udev_device_add_property_from_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @util_strlcpy(ptr noundef %8, ptr noundef %9, i32 noundef 1024)
%11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 61)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %32
16: ; preds = %2
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
store ptr null, ptr %7, align 8
br label %27
27: ; preds = %26, %16
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %7, align 8
%31 = call ptr @udev_device_add_property(ptr noundef %28, ptr noundef %29, ptr noundef %30)
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %27, %15
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare i32 @util_strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @udev_device_add_property(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/tmp4bgxb5l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @udev_device_add_property_from_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @util_strlcpy(ptr noundef %8, ptr noundef %9, i32 noundef 1024)
%11 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 61)
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %7, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %32
16: ; preds = %2
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 0
store i8 0, ptr %18, align 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store ptr %20, ptr %7, align 8
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %16
store ptr null, ptr %7, align 8
br label %27
27: ; preds = %26, %16
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %7, align 8
%31 = call ptr @udev_device_add_property(ptr noundef %28, ptr noundef %29, ptr noundef %30)
store ptr %31, ptr %3, align 8
br label %32
32: ; preds = %27, %15
%33 = load ptr, ptr %3, align 8
ret ptr %33
}
declare i32 @util_strlcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @udev_device_add_property(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/tmphjpy0g_x.c'
source_filename = "/tmp/tmphjpy0g_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"could not open %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"Your index must be dense and in order (see line %ld, should be %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [93 x i8] c"Your function or oI index arrays are too small; bump MAX_FUNC_OI_INDEX and MAX_FUNC_OI_VALS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @load_indexed_ar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = call ptr @malloc(i32 noundef 8000000)
store ptr %10, ptr %5, align 8
%11 = call ptr @malloc(i32 noundef 100000000)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %85, %22
%25 = load ptr, ptr %8, align 8
%26 = call i32 @fscanf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %9)
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %8, align 8
%31 = call i64 @fgets(ptr noundef %29, i32 noundef 1000, ptr noundef %30)
%32 = icmp ne i64 %31, 0
br label %33
33: ; preds = %28, %24
%34 = phi i1 [ false, %24 ], [ %32, %28 ]
br i1 %34, label %35, label %89
35: ; preds = %33
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %37, %38
br i1 %39, label %40, label %51
40: ; preds = %35
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %6, align 8
%44 = ptrtoint ptr %42 to i64
%45 = ptrtoint ptr %43 to i64
%46 = sub i64 %44, %45
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.3, i64 noundef %46, i32 noundef %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %35
%52 = load ptr, ptr %7, align 8
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %54, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %53, i64 %56
store ptr %52, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %59, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %58, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = call i32 @strlen(ptr noundef %63)
%65 = sub nsw i32 %64, 1
%66 = load ptr, ptr %7, align 8
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds i8, ptr %66, i64 %67
store ptr %68, ptr %7, align 8
%69 = load ptr, ptr %7, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %7, align 8
store i8 0, ptr %69, align 1
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %71, align 4
%73 = icmp sge i32 %72, 1000000
br i1 %73, label %81, label %74
74: ; preds = %51
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %6, align 8
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = icmp sgt i64 %79, 99999000
br i1 %80, label %81, label %85
81: ; preds = %74, %51
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4)
%84 = call i32 @exit(i32 noundef 1) #3
unreachable
85: ; preds = %74
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %86, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %86, align 4
br label %24, !llvm.loop !6
89: ; preds = %33
%90 = load ptr, ptr %5, align 8
ret ptr %90
}
declare ptr @malloc(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmphjpy0g_x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [19 x i8] c"could not open %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.3 = private unnamed_addr constant [68 x i8] c"Your index must be dense and in order (see line %ld, should be %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [93 x i8] c"Your function or oI index arrays are too small; bump MAX_FUNC_OI_INDEX and MAX_FUNC_OI_VALS\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @load_indexed_ar(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = call ptr @malloc(i32 noundef 8000000)
store ptr %10, ptr %5, align 8
%11 = call ptr @malloc(i32 noundef 100000000)
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %3, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %4, align 8
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %85, %22
%25 = load ptr, ptr %8, align 8
%26 = call i32 @fscanf(ptr noundef %25, ptr noundef @.str.2, ptr noundef %9)
%27 = icmp eq i32 %26, 1
br i1 %27, label %28, label %33
28: ; preds = %24
%29 = load ptr, ptr %7, align 8
%30 = load ptr, ptr %8, align 8
%31 = call i64 @fgets(ptr noundef %29, i32 noundef 1000, ptr noundef %30)
%32 = icmp ne i64 %31, 0
br label %33
33: ; preds = %28, %24
%34 = phi i1 [ false, %24 ], [ %32, %28 ]
br i1 %34, label %35, label %89
35: ; preds = %33
%36 = load ptr, ptr %4, align 8
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp ne i32 %37, %38
br i1 %39, label %40, label %51
40: ; preds = %35
%41 = load i32, ptr @stderr, align 4
%42 = load ptr, ptr %7, align 8
%43 = load ptr, ptr %6, align 8
%44 = ptrtoint ptr %42 to i64
%45 = ptrtoint ptr %43 to i64
%46 = sub i64 %44, %45
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %47, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.3, i64 noundef %46, i32 noundef %48)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %35
%52 = load ptr, ptr %7, align 8
%53 = load ptr, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %54, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %53, i64 %56
store ptr %52, ptr %57, align 8
%58 = load ptr, ptr %5, align 8
%59 = load ptr, ptr %4, align 8
%60 = load i32, ptr %59, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %58, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = call i32 @strlen(ptr noundef %63)
%65 = sub nsw i32 %64, 1
%66 = load ptr, ptr %7, align 8
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds i8, ptr %66, i64 %67
store ptr %68, ptr %7, align 8
%69 = load ptr, ptr %7, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %7, align 8
store i8 0, ptr %69, align 1
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %71, align 4
%73 = icmp sge i32 %72, 1000000
br i1 %73, label %81, label %74
74: ; preds = %51
%75 = load ptr, ptr %7, align 8
%76 = load ptr, ptr %6, align 8
%77 = ptrtoint ptr %75 to i64
%78 = ptrtoint ptr %76 to i64
%79 = sub i64 %77, %78
%80 = icmp sgt i64 %79, 99999000
br i1 %80, label %81, label %85
81: ; preds = %74, %51
%82 = load i32, ptr @stderr, align 4
%83 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %82, ptr noundef @.str.4)
%84 = call i32 @exit(i32 noundef 1) #3
unreachable
85: ; preds = %74
%86 = load ptr, ptr %4, align 8
%87 = load i32, ptr %86, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %86, align 4
br label %24, !llvm.loop !6
89: ; preds = %33
%90 = load ptr, ptr %5, align 8
ret ptr %90
}
declare ptr @malloc(i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp9m28pvvb.c'
source_filename = "/tmp/tmp9m28pvvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"\1B[1;47m \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_border() #0 {
%1 = call i32 @to_point(i32 noundef -1, i32 noundef -1)
%2 = call i32 @to_point(i32 noundef 10, i32 noundef 20)
%3 = call i32 @draw_rectangle(i32 noundef %1, i32 noundef %2, ptr noundef @.str)
ret void
}
declare i32 @draw_rectangle(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @to_point(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/tmp9m28pvvb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"\1B[1;47m \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @draw_border() #0 {
%1 = call i32 @to_point(i32 noundef -1, i32 noundef -1)
%2 = call i32 @to_point(i32 noundef 10, i32 noundef 20)
%3 = call i32 @draw_rectangle(i32 noundef %1, i32 noundef %2, ptr noundef @.str)
ret void
}
declare i32 @draw_rectangle(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @to_point(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/tmpgtp0rycr.c'
source_filename = "/tmp/tmpgtp0rycr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgtp0rycr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SEEK_SET = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpspll3ozg.c'
source_filename = "/tmp/tmpspll3ozg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpspll3ozg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwrfjl3fh.c'
source_filename = "/tmp/tmpwrfjl3fh.c"
target datalayout = "e-m:e-p270: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"Before sort\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"After sort\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 i8, align 1
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @Get_args(i32 noundef %9, ptr noundef %10, ptr noundef %6, ptr noundef %7)
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %7, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 103
br i1 %20, label %21, label %28
21: ; preds = %2
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @Generate_list(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %6, align 4
%27 = call i32 @Print_list(ptr noundef %25, i32 noundef %26, ptr noundef @.str)
br label %32
28: ; preds = %2
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = call i32 @Read_list(ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %28, %21
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @Bubble_sort(ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %6, align 4
%38 = call i32 @Print_list(ptr noundef %36, i32 noundef %37, ptr noundef @.str.1)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @free(ptr noundef %39)
ret i32 0
}
declare i32 @Get_args(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @Generate_list(ptr noundef, i32 noundef) #1
declare i32 @Print_list(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @Read_list(ptr noundef, i32 noundef) #1
declare i32 @Bubble_sort(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwrfjl3fh.c"
target datalayout = "e-m:e-p270: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"Before sort\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"After sort\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 i8, align 1
%8 = 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
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @Get_args(i32 noundef %9, ptr noundef %10, ptr noundef %6, ptr noundef %7)
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = mul i64 %13, 4
%15 = trunc i64 %14 to i32
%16 = call i64 @malloc(i32 noundef %15)
%17 = inttoptr i64 %16 to ptr
store ptr %17, ptr %8, align 8
%18 = load i8, ptr %7, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 103
br i1 %20, label %21, label %28
21: ; preds = %2
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %6, align 4
%24 = call i32 @Generate_list(ptr noundef %22, i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %6, align 4
%27 = call i32 @Print_list(ptr noundef %25, i32 noundef %26, ptr noundef @.str)
br label %32
28: ; preds = %2
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %6, align 4
%31 = call i32 @Read_list(ptr noundef %29, i32 noundef %30)
br label %32
32: ; preds = %28, %21
%33 = load ptr, ptr %8, align 8
%34 = load i32, ptr %6, align 4
%35 = call i32 @Bubble_sort(ptr noundef %33, i32 noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %6, align 4
%38 = call i32 @Print_list(ptr noundef %36, i32 noundef %37, ptr noundef @.str.1)
%39 = load ptr, ptr %8, align 8
%40 = call i32 @free(ptr noundef %39)
ret i32 0
}
declare i32 @Get_args(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @Generate_list(ptr noundef, i32 noundef) #1
declare i32 @Print_list(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @Read_list(ptr noundef, i32 noundef) #1
declare i32 @Bubble_sort(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxrskr9cp.c'
source_filename = "/tmp/tmpxrskr9cp.c"
target datalayout = "e-m:e-p270: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_xcrossing_y_root(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/tmpxrskr9cp.c"
target datalayout = "e-m:e-p270: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_xcrossing_y_root(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/tmph_j2bnf2.c'
source_filename = "/tmp/tmph_j2bnf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_9j_long_double(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i32 %6, ptr %18, align 4
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store ptr %10, ptr %22, align 8
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %14, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %16, align 4
%27 = load i32, ptr %17, align 4
%28 = load i32, ptr %18, align 4
%29 = load i32, ptr %19, align 4
%30 = load i32, ptr %20, align 4
%31 = load i32, ptr %21, align 4
%32 = call i64 @trivial_zero_9j(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %11
%35 = load ptr, ptr %12, align 8
store x86_fp80 0xK00000000000000000000, ptr %35, align 16
br label %51
36: ; preds = %11
%37 = load ptr, ptr %22, align 8
%38 = load i32, ptr %13, align 4
%39 = load i32, ptr %14, align 4
%40 = load i32, ptr %15, align 4
%41 = load i32, ptr %16, align 4
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %18, align 4
%44 = load i32, ptr %19, align 4
%45 = load i32, ptr %20, align 4
%46 = load i32, ptr %21, align 4
%47 = call i32 @calcsum_9j(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
%48 = load ptr, ptr %12, align 8
%49 = load ptr, ptr %22, align 8
%50 = call i32 @eval_calcsum_info_long_double(ptr noundef %48, ptr noundef %49)
br label %51
51: ; preds = %36, %34
ret void
}
declare i64 @trivial_zero_9j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @calcsum_9j(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @eval_calcsum_info_long_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_j2bnf2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calc_9j_long_double(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
store ptr %0, ptr %12, align 8
store i32 %1, ptr %13, align 4
store i32 %2, ptr %14, align 4
store i32 %3, ptr %15, align 4
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i32 %6, ptr %18, align 4
store i32 %7, ptr %19, align 4
store i32 %8, ptr %20, align 4
store i32 %9, ptr %21, align 4
store ptr %10, ptr %22, align 8
%23 = load i32, ptr %13, align 4
%24 = load i32, ptr %14, align 4
%25 = load i32, ptr %15, align 4
%26 = load i32, ptr %16, align 4
%27 = load i32, ptr %17, align 4
%28 = load i32, ptr %18, align 4
%29 = load i32, ptr %19, align 4
%30 = load i32, ptr %20, align 4
%31 = load i32, ptr %21, align 4
%32 = call i64 @trivial_zero_9j(i32 noundef %23, i32 noundef %24, i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %11
%35 = load ptr, ptr %12, align 8
store x86_fp80 0xK00000000000000000000, ptr %35, align 16
br label %51
36: ; preds = %11
%37 = load ptr, ptr %22, align 8
%38 = load i32, ptr %13, align 4
%39 = load i32, ptr %14, align 4
%40 = load i32, ptr %15, align 4
%41 = load i32, ptr %16, align 4
%42 = load i32, ptr %17, align 4
%43 = load i32, ptr %18, align 4
%44 = load i32, ptr %19, align 4
%45 = load i32, ptr %20, align 4
%46 = load i32, ptr %21, align 4
%47 = call i32 @calcsum_9j(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45, i32 noundef %46)
%48 = load ptr, ptr %12, align 8
%49 = load ptr, ptr %22, align 8
%50 = call i32 @eval_calcsum_info_long_double(ptr noundef %48, ptr noundef %49)
br label %51
51: ; preds = %36, %34
ret void
}
declare i64 @trivial_zero_9j(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @calcsum_9j(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @eval_calcsum_info_long_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"}
|
; ModuleID = '/tmp/tmpc6sspzxg.c'
source_filename = "/tmp/tmpc6sspzxg.c"
target datalayout = "e-m:e-p270: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/tmpc6sspzxg.c"
target datalayout = "e-m:e-p270: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/tmp2586ld4m.c'
source_filename = "/tmp/tmp2586ld4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_comigt_sd(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_comigt_sd(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_comigt_sd(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/tmp2586ld4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_comigt_sd(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_comigt_sd(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_comigt_sd(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/tmpejr2q0tt.c'
source_filename = "/tmp/tmpejr2q0tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"1. Login\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"2. Change username\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"3. Add todo\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"4. Change todo\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"5. Delete todo\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"6. Check todo done\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"7. Check todo undone\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"8. Add object\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"9. Change object\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"A. Delete object\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"B. Show all todos\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"C. Show todo\0A\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"D. contact to admin\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"E. Quit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu() #0 {
%1 = call i32 @write_string(ptr noundef @.str)
%2 = call i32 @write_string(ptr noundef @.str.1)
%3 = call i32 @write_string(ptr noundef @.str.2)
%4 = call i32 @write_string(ptr noundef @.str.3)
%5 = call i32 @write_string(ptr noundef @.str.4)
%6 = call i32 @write_string(ptr noundef @.str.5)
%7 = call i32 @write_string(ptr noundef @.str.6)
%8 = call i32 @write_string(ptr noundef @.str.7)
%9 = call i32 @write_string(ptr noundef @.str.8)
%10 = call i32 @write_string(ptr noundef @.str.9)
%11 = call i32 @write_string(ptr noundef @.str.10)
%12 = call i32 @write_string(ptr noundef @.str.11)
%13 = call i32 @write_string(ptr noundef @.str.12)
%14 = call i32 @write_string(ptr noundef @.str.13)
ret void
}
declare i32 @write_string(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/tmpejr2q0tt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"1. Login\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"2. Change username\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"3. Add todo\0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"4. Change todo\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"5. Delete todo\0A\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"6. Check todo done\0A\00", align 1
@.str.6 = private unnamed_addr constant [22 x i8] c"7. Check todo undone\0A\00", align 1
@.str.7 = private unnamed_addr constant [15 x i8] c"8. Add object\0A\00", align 1
@.str.8 = private unnamed_addr constant [18 x i8] c"9. Change object\0A\00", align 1
@.str.9 = private unnamed_addr constant [18 x i8] c"A. Delete object\0A\00", align 1
@.str.10 = private unnamed_addr constant [19 x i8] c"B. Show all todos\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"C. Show todo\0A\00", align 1
@.str.12 = private unnamed_addr constant [21 x i8] c"D. contact to admin\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"E. Quit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @menu() #0 {
%1 = call i32 @write_string(ptr noundef @.str)
%2 = call i32 @write_string(ptr noundef @.str.1)
%3 = call i32 @write_string(ptr noundef @.str.2)
%4 = call i32 @write_string(ptr noundef @.str.3)
%5 = call i32 @write_string(ptr noundef @.str.4)
%6 = call i32 @write_string(ptr noundef @.str.5)
%7 = call i32 @write_string(ptr noundef @.str.6)
%8 = call i32 @write_string(ptr noundef @.str.7)
%9 = call i32 @write_string(ptr noundef @.str.8)
%10 = call i32 @write_string(ptr noundef @.str.9)
%11 = call i32 @write_string(ptr noundef @.str.10)
%12 = call i32 @write_string(ptr noundef @.str.11)
%13 = call i32 @write_string(ptr noundef @.str.12)
%14 = call i32 @write_string(ptr noundef @.str.13)
ret void
}
declare i32 @write_string(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_m7z_d92.c'
source_filename = "/tmp/tmp_m7z_d92.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_m7z_d92.c"
target datalayout = "e-m:e-p270: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/tmpz6idif5l.c'
source_filename = "/tmp/tmpz6idif5l.c"
target datalayout = "e-m:e-p270: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/tmpz6idif5l.c"
target datalayout = "e-m:e-p270: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/tmpfuefcwug.c'
source_filename = "/tmp/tmpfuefcwug.c"
target datalayout = "e-m:e-p270: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/tmpfuefcwug.c"
target datalayout = "e-m:e-p270: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/tmp359oqiom.c'
source_filename = "/tmp/tmp359oqiom.c"
target datalayout = "e-m:e-p270: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/tmp359oqiom.c"
target datalayout = "e-m:e-p270: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/tmplc1maa5j.c'
source_filename = "/tmp/tmplc1maa5j.c"
target datalayout = "e-m:e-p270: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/tmplc1maa5j.c"
target datalayout = "e-m:e-p270: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/tmpo7ze9_jq.c'
source_filename = "/tmp/tmpo7ze9_jq.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @mkdir(ptr noundef %8, i32 noundef 493)
br label %10
10: ; preds = %7, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo7ze9_jq.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @make_dir(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.stat, align 4
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 4, i1 false)
%4 = load ptr, ptr %2, align 8
%5 = call i32 @stat(ptr noundef %4, ptr noundef %3)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @mkdir(ptr noundef %8, i32 noundef 493)
br label %10
10: ; preds = %7, %1
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @stat(ptr noundef, ptr noundef) #2
declare i32 @mkdir(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"}
|
; ModuleID = '/tmp/tmp2g6llath.c'
source_filename = "/tmp/tmp2g6llath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RSA_padding_check_PKCS1_OAEP(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @RSA_padding_check_PKCS1_OAEP_mgf1(ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef null)
ret i32 %22
}
declare i32 @RSA_padding_check_PKCS1_OAEP_mgf1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2g6llath.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RSA_padding_check_PKCS1_OAEP(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %9, align 4
%17 = load ptr, ptr %10, align 8
%18 = load i32, ptr %11, align 4
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @RSA_padding_check_PKCS1_OAEP_mgf1(ptr noundef %15, i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef null)
ret i32 %22
}
declare i32 @RSA_padding_check_PKCS1_OAEP_mgf1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8igirsmg.c'
source_filename = "/tmp/tmp8igirsmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uintbsearch(i32 noundef %0, ptr noundef %1, i32 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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
store i64 %13, ptr %9, align 8
br label %14
14: ; preds = %40, %3
%15 = load i64, ptr %9, align 8
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %43
17: ; preds = %14
%18 = load ptr, ptr %8, align 8
%19 = load i64, ptr %9, align 8
%20 = lshr i64 %19, 1
%21 = mul i64 %20, 4
%22 = getelementptr inbounds i8, ptr %18, i64 %21
store ptr %22, ptr %10, align 8
%23 = load i32, ptr %5, align 4
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %24, align 4
%26 = icmp eq i32 %23, %25
br i1 %26, label %27, label %29
27: ; preds = %17
%28 = load ptr, ptr %10, align 8
store ptr %28, ptr %4, align 8
br label %44
29: ; preds = %17
%30 = load i32, ptr %5, align 4
%31 = load ptr, ptr %10, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp ugt i32 %30, %32
br i1 %33, label %34, label %39
34: ; preds = %29
%35 = load ptr, ptr %10, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 4
store ptr %36, ptr %8, align 8
%37 = load i64, ptr %9, align 8
%38 = add i64 %37, -1
store i64 %38, ptr %9, align 8
br label %39
39: ; preds = %34, %29
br label %40
40: ; preds = %39
%41 = load i64, ptr %9, align 8
%42 = lshr i64 %41, 1
store i64 %42, ptr %9, align 8
br label %14, !llvm.loop !6
43: ; preds = %14
store ptr null, ptr %4, align 8
br label %44
44: ; preds = %43, %27
%45 = load ptr, ptr %4, align 8
ret ptr %45
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8igirsmg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uintbsearch(i32 noundef %0, ptr noundef %1, i32 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 ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %8, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
store i64 %13, ptr %9, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %.lr.ph, label %44
.lr.ph: ; preds = %3
br label %16
16: ; preds = %.lr.ph, %39
%17 = load ptr, ptr %8, align 8
%18 = load i64, ptr %9, align 8
%19 = lshr i64 %18, 1
%20 = mul i64 %19, 4
%21 = getelementptr inbounds i8, ptr %17, i64 %20
store ptr %21, ptr %10, align 8
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = load i32, ptr %23, align 4
%25 = icmp eq i32 %22, %24
br i1 %25, label %26, label %28
26: ; preds = %16
%27 = load ptr, ptr %10, align 8
store ptr %27, ptr %4, align 8
br label %45
28: ; preds = %16
%29 = load i32, ptr %5, align 4
%30 = load ptr, ptr %10, align 8
%31 = load i32, ptr %30, align 4
%32 = icmp ugt i32 %29, %31
br i1 %32, label %33, label %38
33: ; preds = %28
%34 = load ptr, ptr %10, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 4
store ptr %35, ptr %8, align 8
%36 = load i64, ptr %9, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %9, align 8
br label %38
38: ; preds = %33, %28
br label %39
39: ; preds = %38
%40 = load i64, ptr %9, align 8
%41 = lshr i64 %40, 1
store i64 %41, ptr %9, align 8
%42 = load i64, ptr %9, align 8
%43 = icmp ne i64 %42, 0
br i1 %43, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %44
44: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %45
45: ; preds = %44, %26
%46 = load ptr, ptr %4, align 8
ret ptr %46
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpohxys5c1.c'
source_filename = "/tmp/tmpohxys5c1.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ss_regular_file_p(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @fstat(i32 noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i64 @S_ISREG(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/tmpohxys5c1.c"
target datalayout = "e-m:e-p270: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 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ss_regular_file_p(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.stat, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @fstat(i32 noundef %5, ptr noundef %4)
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %16
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISREG(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %15
14: ; preds = %9
store i32 1, ptr %2, align 4
br label %16
15: ; preds = %9
store i32 0, ptr %2, align 4
br label %16
16: ; preds = %15, %14, %8
%17 = load i32, ptr %2, align 4
ret i32 %17
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i64 @S_ISREG(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/tmprgi9yqtk.c'
source_filename = "/tmp/tmprgi9yqtk.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @die(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 ptr, ptr %3, align 8
%6 = call i32 @perror(ptr noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprgi9yqtk.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @die(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 ptr, ptr %3, align 8
%6 = call i32 @perror(ptr noundef %5)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fflush(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = call i32 @exit(i32 noundef %9) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
declare i32 @fflush(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk4idatrx.c'
source_filename = "/tmp/tmpk4idatrx.c"
target datalayout = "e-m:e-p270: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/tmpk4idatrx.c"
target datalayout = "e-m:e-p270: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/tmpjewmj43a.c'
source_filename = "/tmp/tmpjewmj43a.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Inode Bitmap End == %ld\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_inode_bitmap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @write(i32 noundef %6, ptr noundef %7, i32 noundef 4096)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SEEK_CUR, align 4
%11 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @lseek(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/tmpjewmj43a.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"Inode Bitmap End == %ld\0A\00", align 1
@SEEK_CUR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @make_inode_bitmap(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
%7 = load ptr, ptr %4, align 8
%8 = call i32 @write(i32 noundef %6, ptr noundef %7, i32 noundef 4096)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr @SEEK_CUR, align 4
%11 = call i32 @lseek(i32 noundef %9, i32 noundef 0, i32 noundef %10)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @lseek(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/tmpe0wuzymp.c'
source_filename = "/tmp/tmpe0wuzymp.c"
target datalayout = "e-m:e-p270: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/tmpe0wuzymp.c"
target datalayout = "e-m:e-p270: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/tmpks94yrii.c'
source_filename = "/tmp/tmpks94yrii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__start_kmc_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %35
13: ; preds = %1
br label %14
14: ; preds = %24, %13
%15 = load i32, ptr %3, align 4
%16 = call i32 @waitpid(i32 noundef %15, ptr noundef %4, i32 noundef 0)
store i32 %16, ptr %5, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EINTR, align 8
%21 = icmp eq i64 %19, %20
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %24, label %25
24: ; preds = %22
br label %14, !llvm.loop !6
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %26, %27
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load i32, ptr %4, align 4
%32 = icmp eq i32 %31, 0
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
br label %44
35: ; preds = %1
%36 = load ptr, ptr %2, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 0
%38 = load ptr, ptr %37, align 8
%39 = load ptr, ptr %2, align 8
%40 = call i64 @execv(ptr noundef %38, ptr noundef %39)
%41 = icmp eq i64 %40, 0
%42 = zext i1 %41 to i32
%43 = call i32 @assert(i32 noundef %42)
br label %44
44: ; preds = %35, %25
ret void
}
declare i32 @fork(...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @execv(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/tmpks94yrii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__start_kmc_server(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = call i32 (...) @fork()
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp ne i32 %7, -1
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 0
br i1 %12, label %13, label %34
13: ; preds = %1
br label %14
14: ; preds = %22, %13
%15 = load i32, ptr %3, align 4
%16 = call i32 @waitpid(i32 noundef %15, ptr noundef %4, i32 noundef 0)
store i32 %16, ptr %5, align 4
%17 = icmp eq i32 %16, -1
br i1 %17, label %18, label %22
18: ; preds = %14
%19 = load i64, ptr @errno, align 8
%20 = load i64, ptr @EINTR, align 8
%21 = icmp eq i64 %19, %20
br label %22
22: ; preds = %18, %14
%23 = phi i1 [ false, %14 ], [ %21, %18 ]
br i1 %23, label %14, label %24, !llvm.loop !6
24: ; preds = %22
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp eq i32 %25, %26
%28 = zext i1 %27 to i32
%29 = call i32 @assert(i32 noundef %28)
%30 = load i32, ptr %4, align 4
%31 = icmp eq i32 %30, 0
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
br label %43
34: ; preds = %1
%35 = load ptr, ptr %2, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 0
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %2, align 8
%39 = call i64 @execv(ptr noundef %37, ptr noundef %38)
%40 = icmp eq i64 %39, 0
%41 = zext i1 %40 to i32
%42 = call i32 @assert(i32 noundef %41)
br label %43
43: ; preds = %34, %24
ret void
}
declare i32 @fork(...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @execv(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/tmpqkuvg5at.c'
source_filename = "/tmp/tmpqkuvg5at.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogStr(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %3
br label %16
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fflush(ptr noundef %14)
br label %16
16: ; preds = %10, %9
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(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/tmpqkuvg5at.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @LogStr(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %3
br label %16
10: ; preds = %3
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str, ptr noundef %12)
%14 = load ptr, ptr %4, align 8
%15 = call i32 @fflush(ptr noundef %14)
br label %16
16: ; preds = %10, %9
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fflush(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/tmppq36vbxv.c'
source_filename = "/tmp/tmppq36vbxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sms_spectrumMag(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load i32, ptr %10, align 4
%19 = shl i32 %18, 1
store i32 %19, ptr %15, align 4
store i32 0, ptr %13, align 4
br label %20
20: ; preds = %40, %6
%21 = load i32, ptr %13, align 4
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %43
24: ; preds = %20
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %13, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %13, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, ptr %30, i64 %32
%34 = load double, ptr %33, align 8
%35 = fmul double %29, %34
%36 = load ptr, ptr %12, align 8
%37 = load i32, ptr %13, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %36, i64 %38
store double %35, ptr %39, align 8
br label %40
40: ; preds = %24
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %13, align 4
br label %20, !llvm.loop !6
43: ; preds = %20
%44 = load i32, ptr %7, align 4
store i32 %44, ptr %13, align 4
br label %45
45: ; preds = %54, %43
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %15, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %57
49: ; preds = %45
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %13, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
store double 0.000000e+00, ptr %53, align 8
br label %54
54: ; preds = %49
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
br label %45, !llvm.loop !8
57: ; preds = %45
%58 = load i32, ptr %15, align 4
%59 = load ptr, ptr %12, align 8
%60 = call i32 @sms_fft(i32 noundef %58, ptr noundef %59)
store i32 0, ptr %13, align 4
br label %61
61: ; preds = %90, %57
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %10, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %65, label %93
65: ; preds = %61
%66 = load i32, ptr %13, align 4
%67 = shl i32 %66, 1
store i32 %67, ptr %14, align 4
%68 = load ptr, ptr %12, align 8
%69 = load i32, ptr %14, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
%72 = load double, ptr %71, align 8
store double %72, ptr %16, align 8
%73 = load ptr, ptr %12, align 8
%74 = load i32, ptr %14, align 4
%75 = add nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds double, ptr %73, i64 %76
%78 = load double, ptr %77, align 8
store double %78, ptr %17, align 8
%79 = load double, ptr %16, align 8
%80 = load double, ptr %16, align 8
%81 = load double, ptr %17, align 8
%82 = load double, ptr %17, align 8
%83 = fmul double %81, %82
%84 = call double @llvm.fmuladd.f64(double %79, double %80, double %83)
%85 = call double @sqrtf(double noundef %84)
%86 = load ptr, ptr %11, align 8
%87 = load i32, ptr %13, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
store double %85, ptr %89, align 8
br label %90
90: ; preds = %65
%91 = load i32, ptr %13, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %13, align 4
br label %61, !llvm.loop !9
93: ; preds = %61
%94 = load i32, ptr %15, align 4
ret i32 %94
}
declare i32 @sms_fft(i32 noundef, ptr noundef) #1
declare double @sqrtf(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppq36vbxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sms_spectrumMag(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%18 = load i32, ptr %10, align 4
%19 = shl i32 %18, 1
store i32 %19, ptr %15, align 4
store i32 0, ptr %13, align 4
%20 = load i32, ptr %13, align 4
%21 = load i32, ptr %7, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %45
.lr.ph: ; preds = %6
br label %23
23: ; preds = %.lr.ph, %39
%24 = load ptr, ptr %8, align 8
%25 = load i32, ptr %13, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
%28 = load double, ptr %27, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = fmul double %28, %33
%35 = load ptr, ptr %12, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds double, ptr %35, i64 %37
store double %34, ptr %38, align 8
br label %39
39: ; preds = %23
%40 = load i32, ptr %13, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %13, align 4
%42 = load i32, ptr %13, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %45
45: ; preds = %._crit_edge, %6
%46 = load i32, ptr %7, align 4
store i32 %46, ptr %13, align 4
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr %15, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph2, label %61
.lr.ph2: ; preds = %45
br label %50
50: ; preds = %.lr.ph2, %55
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %13, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
store double 0.000000e+00, ptr %54, align 8
br label %55
55: ; preds = %50
%56 = load i32, ptr %13, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %13, align 4
%58 = load i32, ptr %13, align 4
%59 = load i32, ptr %15, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %45
%62 = load i32, ptr %15, align 4
%63 = load ptr, ptr %12, align 8
%64 = call i32 @sms_fft(i32 noundef %62, ptr noundef %63)
store i32 0, ptr %13, align 4
%65 = load i32, ptr %13, align 4
%66 = load i32, ptr %10, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %.lr.ph5, label %99
.lr.ph5: ; preds = %61
br label %68
68: ; preds = %.lr.ph5, %93
%69 = load i32, ptr %13, align 4
%70 = shl i32 %69, 1
store i32 %70, ptr %14, align 4
%71 = load ptr, ptr %12, align 8
%72 = load i32, ptr %14, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds double, ptr %71, i64 %73
%75 = load double, ptr %74, align 8
store double %75, ptr %16, align 8
%76 = load ptr, ptr %12, align 8
%77 = load i32, ptr %14, align 4
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds double, ptr %76, i64 %79
%81 = load double, ptr %80, align 8
store double %81, ptr %17, align 8
%82 = load double, ptr %16, align 8
%83 = load double, ptr %16, align 8
%84 = load double, ptr %17, align 8
%85 = load double, ptr %17, align 8
%86 = fmul double %84, %85
%87 = call double @llvm.fmuladd.f64(double %82, double %83, double %86)
%88 = call double @sqrtf(double noundef %87)
%89 = load ptr, ptr %11, align 8
%90 = load i32, ptr %13, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
store double %88, ptr %92, align 8
br label %93
93: ; preds = %68
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = load i32, ptr %10, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %68, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %93
br label %99
99: ; preds = %._crit_edge6, %61
%100 = load i32, ptr %15, align 4
ret i32 %100
}
declare i32 @sms_fft(i32 noundef, ptr noundef) #1
declare double @sqrtf(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpziaztbv7.c'
source_filename = "/tmp/tmpziaztbv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanger_stm_thread_shutdown() #0 {
%1 = call i32 (...) @_ITM_finalizeThread()
ret void
}
declare i32 @_ITM_finalizeThread(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpziaztbv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tanger_stm_thread_shutdown() #0 {
%1 = call i32 (...) @_ITM_finalizeThread()
ret void
}
declare i32 @_ITM_finalizeThread(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwy4l060y.c'
source_filename = "/tmp/tmpwy4l060y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"mov\09ax,dx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgmod() #0 {
%1 = call i32 (...) @cgdiv()
%2 = call i32 @gen(ptr noundef @.str)
ret void
}
declare i32 @cgdiv(...) #1
declare i32 @gen(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/tmpwy4l060y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"mov\09ax,dx\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cgmod() #0 {
%1 = call i32 (...) @cgdiv()
%2 = call i32 @gen(ptr noundef @.str)
ret void
}
declare i32 @cgdiv(...) #1
declare i32 @gen(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/tmpgty3v27q.c'
source_filename = "/tmp/tmpgty3v27q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @column(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
br label %12
12: ; preds = %21, %4
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load ptr, ptr %9, align 8
%17 = call ptr @strchr(ptr noundef %16, i8 noundef signext 44)
store ptr %17, ptr %10, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %20, label %19
19: ; preds = %15
br label %26
20: ; preds = %15
br label %21
21: ; preds = %20
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, -1
store i32 %23, ptr %5, align 4
%24 = load ptr, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
store ptr %25, ptr %9, align 8
br label %12, !llvm.loop !6
26: ; preds = %19, %12
%27 = load ptr, ptr %9, align 8
%28 = load ptr, ptr %6, align 8
%29 = ptrtoint ptr %27 to i64
%30 = ptrtoint ptr %28 to i64
%31 = sub i64 %29, %30
%32 = trunc i64 %31 to i32
%33 = load ptr, ptr %7, align 8
store i32 %32, ptr %33, align 4
%34 = load ptr, ptr %9, align 8
%35 = call ptr @strchr(ptr noundef %34, i8 noundef signext 44)
store ptr %35, ptr %9, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %49, label %37
37: ; preds = %26
%38 = load ptr, ptr %10, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 1
store ptr %39, ptr %9, align 8
br label %40
40: ; preds = %45, %37
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %40
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %9, align 8
br label %40, !llvm.loop !8
48: ; preds = %40
br label %49
49: ; preds = %48, %26
%50 = load ptr, ptr %9, align 8
%51 = load ptr, ptr %6, align 8
%52 = ptrtoint ptr %50 to i64
%53 = ptrtoint ptr %51 to i64
%54 = sub i64 %52, %53
%55 = trunc i64 %54 to i32
%56 = load ptr, ptr %8, align 8
store i32 %55, ptr %56, align 4
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgty3v27q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @column(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load i32, ptr %5, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %20
%15 = load ptr, ptr %9, align 8
%16 = call ptr @strchr(ptr noundef %15, i8 noundef signext 44)
store ptr %16, ptr %10, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %14
br label %27
19: ; preds = %14
br label %20
20: ; preds = %19
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %5, align 4
%23 = load ptr, ptr %10, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 1
store ptr %24, ptr %9, align 8
%25 = load i32, ptr %5, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %20
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %4
br label %27
27: ; preds = %.loopexit, %18
%28 = load ptr, ptr %9, align 8
%29 = load ptr, ptr %6, align 8
%30 = ptrtoint ptr %28 to i64
%31 = ptrtoint ptr %29 to i64
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = load ptr, ptr %7, align 8
store i32 %33, ptr %34, align 4
%35 = load ptr, ptr %9, align 8
%36 = call ptr @strchr(ptr noundef %35, i8 noundef signext 44)
store ptr %36, ptr %9, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %53, label %38
38: ; preds = %27
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 1
store ptr %40, ptr %9, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %.lr.ph1, label %52
.lr.ph1: ; preds = %38
br label %45
45: ; preds = %.lr.ph1, %45
%46 = load ptr, ptr %9, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %9, align 8
%48 = load ptr, ptr %9, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %45, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %45
br label %52
52: ; preds = %._crit_edge, %38
br label %53
53: ; preds = %52, %27
%54 = load ptr, ptr %9, align 8
%55 = load ptr, ptr %6, align 8
%56 = ptrtoint ptr %54 to i64
%57 = ptrtoint ptr %55 to i64
%58 = sub i64 %56, %57
%59 = trunc i64 %58 to i32
%60 = load ptr, ptr %8, align 8
store i32 %59, ptr %60, align 4
ret void
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0t2e8a8k.c'
source_filename = "/tmp/tmp0t2e8a8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drc_is_inside(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %14, align 4
%20 = icmp sge i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %8
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %15, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %42
25: ; preds = %21
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %12, align 4
%28 = add nsw i32 %26, %27
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %16, align 4
%31 = add nsw i32 %29, %30
%32 = icmp sle i32 %28, %31
br i1 %32, label %33, label %42
33: ; preds = %25
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %34, %35
%37 = load i32, ptr %15, align 4
%38 = load i32, ptr %17, align 4
%39 = add nsw i32 %37, %38
%40 = icmp sle i32 %36, %39
br i1 %40, label %41, label %42
41: ; preds = %33
store i32 1, ptr %9, align 4
br label %43
42: ; preds = %33, %25, %21, %8
store i32 0, ptr %9, align 4
br label %43
43: ; preds = %42, %41
%44 = load i32, ptr %9, align 4
ret i32 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0t2e8a8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drc_is_inside(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%18 = load i32, ptr %10, align 4
%19 = load i32, ptr %14, align 4
%20 = icmp sge i32 %18, %19
br i1 %20, label %21, label %42
21: ; preds = %8
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %15, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %42
25: ; preds = %21
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %12, align 4
%28 = add nsw i32 %26, %27
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %16, align 4
%31 = add nsw i32 %29, %30
%32 = icmp sle i32 %28, %31
br i1 %32, label %33, label %42
33: ; preds = %25
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %13, align 4
%36 = add nsw i32 %34, %35
%37 = load i32, ptr %15, align 4
%38 = load i32, ptr %17, align 4
%39 = add nsw i32 %37, %38
%40 = icmp sle i32 %36, %39
br i1 %40, label %41, label %42
41: ; preds = %33
store i32 1, ptr %9, align 4
br label %43
42: ; preds = %33, %25, %21, %8
store i32 0, ptr %9, align 4
br label %43
43: ; preds = %42, %41
%44 = load i32, ptr %9, align 4
ret i32 %44
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyqidtlo4.c'
source_filename = "/tmp/tmpyqidtlo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\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 (...) @smile()
%3 = call i32 (...) @smile()
%4 = call i32 (...) @smile()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @smile()
%7 = call i32 (...) @smile()
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 (...) @smile()
%10 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @smile(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyqidtlo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\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 (...) @smile()
%3 = call i32 (...) @smile()
%4 = call i32 (...) @smile()
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @smile()
%7 = call i32 (...) @smile()
%8 = call i32 @printf(ptr noundef @.str)
%9 = call i32 (...) @smile()
%10 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @smile(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgjp9fmgn.c'
source_filename = "/tmp/tmpgjp9fmgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_61() #0 {
%1 = call i32 @handle_61(i32 noundef 0)
ret i32 0
}
declare i32 @handle_61(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/tmpgjp9fmgn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gen_61() #0 {
%1 = call i32 @handle_61(i32 noundef 0)
ret i32 0
}
declare i32 @handle_61(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/tmpfgx_gmsk.c'
source_filename = "/tmp/tmpfgx_gmsk.c"
target datalayout = "e-m:e-p270: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/tmpfgx_gmsk.c"
target datalayout = "e-m:e-p270: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/tmpu8drc7j8.c'
source_filename = "/tmp/tmpu8drc7j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"O resultado da express\C3\A3o \C3\A9 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 5.000000e-01, ptr %2, align 4
store float 5.000000e-01, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 1024, %6
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load float, ptr %2, align 4
%10 = fdiv float %9, 2.000000e+00
store float %10, ptr %2, align 4
%11 = load float, ptr %3, align 4
%12 = load float, ptr %2, align 4
%13 = fadd float %11, %12
store float %13, ptr %3, align 4
br label %14
14: ; preds = %8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load float, ptr %3, align 4
%19 = call i32 @printf(ptr noundef @.str, float noundef %18)
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu8drc7j8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"O resultado da express\C3\A3o \C3\A9 %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 5.000000e-01, ptr %2, align 4
store float 5.000000e-01, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = icmp sgt i32 1024, %5
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load float, ptr %2, align 4
%9 = fdiv float %8, 2.000000e+00
store float %9, ptr %2, align 4
%10 = load float, ptr %3, align 4
%11 = load float, ptr %2, align 4
%12 = fadd float %10, %11
store float %12, ptr %3, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sgt i32 1024, %16
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = load float, ptr %3, align 4
%20 = call i32 @printf(ptr noundef @.str, float noundef %19)
ret i32 0
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_y7uozed.c'
source_filename = "/tmp/tmp_y7uozed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawString(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %11, align 4
br label %13
13: ; preds = %35, %5
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 128
br label %21
21: ; preds = %18, %13
%22 = phi i1 [ false, %13 ], [ %20, %18 ]
br i1 %22, label %23, label %38
23: ; preds = %21
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = call i64 @DrawChar(i32 noundef %24, i32 noundef %25, i8 noundef signext %27, i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = add nsw i64 %32, %30
%34 = trunc i64 %33 to i32
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %23
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %8, align 8
br label %13, !llvm.loop !6
38: ; preds = %21
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %11, align 4
%41 = sub nsw i32 %39, %40
ret i32 %41
}
declare i64 @DrawChar(i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_y7uozed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DrawString(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %6, align 4
store i32 %12, ptr %11, align 4
br label %13
13: ; preds = %35, %5
%14 = load ptr, ptr %8, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %13
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 128
br label %21
21: ; preds = %18, %13
%22 = phi i1 [ false, %13 ], [ %20, %18 ]
br i1 %22, label %23, label %38
23: ; preds = %21
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %10, align 4
%30 = call i64 @DrawChar(i32 noundef %24, i32 noundef %25, i8 noundef signext %27, i32 noundef %28, i32 noundef %29)
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = add nsw i64 %32, %30
%34 = trunc i64 %33 to i32
store i32 %34, ptr %6, align 4
br label %35
35: ; preds = %23
%36 = load ptr, ptr %8, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %8, align 8
br label %13, !llvm.loop !6
38: ; preds = %21
%39 = load i32, ptr %6, align 4
%40 = load i32, ptr %11, align 4
%41 = sub nsw i32 %39, %40
ret i32 %41
}
declare i64 @DrawChar(i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpruiwhkn1.c'
source_filename = "/tmp/tmpruiwhkn1.c"
target datalayout = "e-m:e-p270: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/tmpruiwhkn1.c"
target datalayout = "e-m:e-p270: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/tmpg2zppbeq.c'
source_filename = "/tmp/tmpg2zppbeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync_close_child(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 i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = call i32 @closep(ptr noundef %9)
br label %11
11: ; preds = %7, %1
ret void
}
declare i32 @closep(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/tmpg2zppbeq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sync_close_child(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 i32, ptr %3, i64 0
%5 = load i32, ptr %4, align 4
%6 = icmp ne i32 %5, -1
br i1 %6, label %7, label %11
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i32, ptr %8, i64 0
%10 = call i32 @closep(ptr noundef %9)
br label %11
11: ; preds = %7, %1
ret void
}
declare i32 @closep(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/tmp9f5cxgqs.c'
source_filename = "/tmp/tmp9f5cxgqs.c"
target datalayout = "e-m:e-p270: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/tmp9f5cxgqs.c"
target datalayout = "e-m:e-p270: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/tmp5zk463ur.c'
source_filename = "/tmp/tmp5zk463ur.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"This is tutorialspoint.com\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str.2, ptr noundef @.str.3)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fclose(ptr noundef %6)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5zk463ur.c"
target datalayout = "e-m:e-p270: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
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"This is tutorialspoint.com\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %3, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(ptr noundef %4, ptr noundef @.str.2, ptr noundef @.str.3)
%6 = load ptr, ptr %2, align 8
%7 = call i32 @fclose(ptr noundef %6)
ret i32 0
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpabynkn4v.c'
source_filename = "/tmp/tmpabynkn4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_bit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%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
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %42
13: ; preds = %2
store i32 0, ptr %7, align 4
br label %14
14: ; preds = %34, %13
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %5, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %39
18: ; preds = %14
store i32 7, ptr %8, align 4
br label %19
19: ; preds = %30, %18
%20 = load i32, ptr %8, align 4
%21 = icmp sge i32 %20, 0
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load ptr, ptr %6, align 8
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = load i32, ptr %8, align 4
%27 = ashr i32 %25, %26
%28 = and i32 %27, 1
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %28)
br label %30
30: ; preds = %22
%31 = load i32, ptr %8, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %8, align 4
br label %19, !llvm.loop !6
33: ; preds = %19
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
br label %14, !llvm.loop !8
39: ; preds = %14
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%41 = load i32, ptr %7, align 4
store i32 %41, ptr %3, align 4
br label %42
42: ; preds = %39, %12
%43 = load i32, ptr %3, align 4
ret i32 %43
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpabynkn4v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @print_bit(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%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
%9 = load ptr, ptr %4, align 8
store ptr %9, ptr %6, align 8
store i32 0, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = icmp eq ptr %10, null
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %45
13: ; preds = %2
store i32 0, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %42
.lr.ph2: ; preds = %13
br label %17
17: ; preds = %.lr.ph2, %34
store i32 7, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %.lr.ph, label %33
.lr.ph: ; preds = %17
br label %20
20: ; preds = %.lr.ph, %28
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = zext i8 %22 to i32
%24 = load i32, ptr %8, align 4
%25 = ashr i32 %23, %24
%26 = and i32 %25, 1
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26)
br label %28
28: ; preds = %20
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
%32 = icmp sge i32 %31, 0
br i1 %32, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %33
33: ; preds = %._crit_edge, %17
br label %34
34: ; preds = %33
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %42
42: ; preds = %._crit_edge3, %13
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%44 = load i32, ptr %7, align 4
store i32 %44, ptr %3, align 4
br label %45
45: ; preds = %42, %12
%46 = load i32, ptr %3, align 4
ret i32 %46
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuwyu5w32.c'
source_filename = "/tmp/tmpuwyu5w32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evtag_marshal_run(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = call ptr (...) @evbuffer_new()
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @run_marshal(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @evtag_marshal_buffer(ptr noundef %16, i32 noundef %17, ptr noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @evbuffer_free(ptr noundef %20)
ret void
}
declare ptr @evbuffer_new(...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @run_marshal(ptr noundef, ptr noundef) #1
declare i32 @evtag_marshal_buffer(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @evbuffer_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuwyu5w32.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @evtag_marshal_run(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 ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = call ptr (...) @evbuffer_new()
store ptr %8, ptr %7, align 8
%9 = load ptr, ptr %7, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %6, align 8
%15 = call i32 @run_marshal(ptr noundef %13, ptr noundef %14)
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %7, align 8
%19 = call i32 @evtag_marshal_buffer(ptr noundef %16, i32 noundef %17, ptr noundef %18)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @evbuffer_free(ptr noundef %20)
ret void
}
declare ptr @evbuffer_new(...) #1
declare i32 @assert(i32 noundef) #1
declare i32 @run_marshal(ptr noundef, ptr noundef) #1
declare i32 @evtag_marshal_buffer(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @evbuffer_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppwttj1o0.c'
source_filename = "/tmp/tmppwttj1o0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @foo(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp sge i32 %9, 5
%11 = zext i1 %10 to i32
%12 = call i32 @__CRAB_assert(i32 noundef %11)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @foo(ptr noundef) #1
declare i32 @__CRAB_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppwttj1o0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 4)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @foo(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp sge i32 %9, 5
%11 = zext i1 %10 to i32
%12 = call i32 @__CRAB_assert(i32 noundef %11)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare ptr @foo(ptr noundef) #1
declare i32 @__CRAB_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8jvdghzx.c'
source_filename = "/tmp/tmp8jvdghzx.c"
target datalayout = "e-m:e-p270: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/tmp8jvdghzx.c"
target datalayout = "e-m:e-p270: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/tmprx5m_oj7.c'
source_filename = "/tmp/tmprx5m_oj7.c"
target datalayout = "e-m:e-p270: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"1024\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"-1024\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"FF\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-ff\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"123a\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"1012\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 @test_str_to_int(ptr noundef @.str, i32 noundef 10)
%3 = call i32 @test_str_to_int(ptr noundef @.str.1, i32 noundef 10)
%4 = call i32 @test_str_to_int(ptr noundef @.str.2, i32 noundef 16)
%5 = call i32 @test_str_to_int(ptr noundef @.str.3, i32 noundef 16)
%6 = call i32 @test_str_to_int(ptr noundef @.str.4, i32 noundef 2)
%7 = call i32 @test_str_to_int(ptr noundef @.str.5, i32 noundef 10)
%8 = call i32 @test_str_to_int(ptr noundef @.str.6, i32 noundef 2)
%9 = call i32 @test_int_to_str(i32 noundef 1024, i32 noundef 10)
%10 = call i32 @test_int_to_str(i32 noundef -1024, i32 noundef 10)
%11 = call i32 @test_int_to_str(i32 noundef 5, i32 noundef 2)
%12 = call i32 @test_int_to_str(i32 noundef -5, i32 noundef 2)
%13 = call i32 @test_int_to_str(i32 noundef 48879, i32 noundef 16)
%14 = call i32 @test_int_to_str(i32 noundef -48879, i32 noundef 16)
%15 = call i32 @test_int_to_str(i32 noundef 1023, i32 noundef 2)
%16 = call i32 @test_int_to_str(i32 noundef 1024, i32 noundef 2)
ret i32 0
}
declare i32 @test_str_to_int(ptr noundef, i32 noundef) #1
declare i32 @test_int_to_str(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/tmprx5m_oj7.c"
target datalayout = "e-m:e-p270: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"1024\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"-1024\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"FF\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-ff\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.5 = private unnamed_addr constant [5 x i8] c"123a\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"1012\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 @test_str_to_int(ptr noundef @.str, i32 noundef 10)
%3 = call i32 @test_str_to_int(ptr noundef @.str.1, i32 noundef 10)
%4 = call i32 @test_str_to_int(ptr noundef @.str.2, i32 noundef 16)
%5 = call i32 @test_str_to_int(ptr noundef @.str.3, i32 noundef 16)
%6 = call i32 @test_str_to_int(ptr noundef @.str.4, i32 noundef 2)
%7 = call i32 @test_str_to_int(ptr noundef @.str.5, i32 noundef 10)
%8 = call i32 @test_str_to_int(ptr noundef @.str.6, i32 noundef 2)
%9 = call i32 @test_int_to_str(i32 noundef 1024, i32 noundef 10)
%10 = call i32 @test_int_to_str(i32 noundef -1024, i32 noundef 10)
%11 = call i32 @test_int_to_str(i32 noundef 5, i32 noundef 2)
%12 = call i32 @test_int_to_str(i32 noundef -5, i32 noundef 2)
%13 = call i32 @test_int_to_str(i32 noundef 48879, i32 noundef 16)
%14 = call i32 @test_int_to_str(i32 noundef -48879, i32 noundef 16)
%15 = call i32 @test_int_to_str(i32 noundef 1023, i32 noundef 2)
%16 = call i32 @test_int_to_str(i32 noundef 1024, i32 noundef 2)
ret i32 0
}
declare i32 @test_str_to_int(ptr noundef, i32 noundef) #1
declare i32 @test_int_to_str(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/tmpvvdqj61x.c'
source_filename = "/tmp/tmpvvdqj61x.c"
target datalayout = "e-m:e-p270: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/tmpvvdqj61x.c"
target datalayout = "e-m:e-p270: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/tmpnsvxatur.c'
source_filename = "/tmp/tmpnsvxatur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@md_double2string01.str = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md_double2string01(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i32, align 4
store double %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 2048
br i1 %6, label %7, label %14
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [2048 x i8], ptr @md_double2string01.str, i64 0, i64 %9
store i8 0, ptr %10, align 1
br label %11
11: ; preds = %7
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load double, ptr %2, align 8
%16 = call i32 @sprintf(ptr noundef @md_double2string01.str, ptr noundef @.str, double noundef %15)
ret ptr @md_double2string01.str
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnsvxatur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@md_double2string01.str = internal global [2048 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @md_double2string01(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca i32, align 4
store double %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 2048
br i1 %5, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %10
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = getelementptr inbounds [2048 x i8], ptr @md_double2string01.str, i64 0, i64 %8
store i8 0, ptr %9, align 1
br label %10
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp slt i32 %13, 2048
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %1
%16 = load double, ptr %2, align 8
%17 = call i32 @sprintf(ptr noundef @md_double2string01.str, ptr noundef @.str, double noundef %16)
ret ptr @md_double2string01.str
}
declare i32 @sprintf(ptr noundef, ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp1f_qaumb.c'
source_filename = "/tmp/tmp1f_qaumb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @_strto_l(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1)
ret i64 %10
}
declare i64 @_strto_l(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1f_qaumb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @strtol(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i64 @_strto_l(ptr noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 1)
ret i64 %10
}
declare i64 @_strto_l(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuy4m67sk.c'
source_filename = "/tmp/tmpuy4m67sk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%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
store i64 0, ptr %8, align 8
br label %9
9: ; preds = %49, %3
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %8, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %9
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br label %20
20: ; preds = %16, %9
%21 = phi i1 [ false, %9 ], [ %19, %16 ]
br i1 %21, label %22, label %52
22: ; preds = %20
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp slt i32 %27, %32
br i1 %33, label %34, label %35
34: ; preds = %22
store i32 -1, ptr %4, align 4
br label %53
35: ; preds = %22
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sgt i32 %40, %45
br i1 %46, label %47, label %48
47: ; preds = %35
store i32 1, ptr %4, align 4
br label %53
48: ; preds = %35
br label %49
49: ; preds = %48
%50 = load i64, ptr %8, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %8, align 8
br label %9, !llvm.loop !6
52: ; preds = %20
store i32 0, ptr %4, align 4
br label %53
53: ; preds = %52, %47, %34
%54 = load i32, ptr %4, align 4
ret i32 %54
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpuy4m67sk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncmp1(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%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
store i64 0, ptr %8, align 8
br label %9
9: ; preds = %49, %3
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %8, align 8
%12 = getelementptr inbounds i8, ptr %10, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %9
%17 = load i64, ptr %8, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br label %20
20: ; preds = %16, %9
%21 = phi i1 [ false, %9 ], [ %19, %16 ]
br i1 %21, label %22, label %52
22: ; preds = %20
%23 = load ptr, ptr %5, align 8
%24 = load i64, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %23, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %8, align 8
%30 = getelementptr inbounds i8, ptr %28, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp slt i32 %27, %32
br i1 %33, label %34, label %35
34: ; preds = %22
store i32 -1, ptr %4, align 4
br label %53
35: ; preds = %22
%36 = load ptr, ptr %5, align 8
%37 = load i64, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = load ptr, ptr %6, align 8
%42 = load i64, ptr %8, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp sgt i32 %40, %45
br i1 %46, label %47, label %48
47: ; preds = %35
store i32 1, ptr %4, align 4
br label %53
48: ; preds = %35
br label %49
49: ; preds = %48
%50 = load i64, ptr %8, align 8
%51 = add i64 %50, 1
store i64 %51, ptr %8, align 8
br label %9, !llvm.loop !6
52: ; preds = %20
store i32 0, ptr %4, align 4
br label %53
53: ; preds = %52, %47, %34
%54 = load i32, ptr %4, align 4
ret i32 %54
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpayfg4d65.c'
source_filename = "/tmp/tmpayfg4d65.c"
target datalayout = "e-m:e-p270: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"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strtol(ptr noundef %9, i32 noundef 0, i32 noundef 10)
store i64 %10, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = call i32 @fib(i64 noundef %11)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
ret i32 0
}
declare i64 @strtol(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fib(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/tmpayfg4d65.c"
target datalayout = "e-m:e-p270: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"%ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i64 @strtol(ptr noundef %9, i32 noundef 0, i32 noundef 10)
store i64 %10, ptr %6, align 8
%11 = load i64, ptr %6, align 8
%12 = call i32 @fib(i64 noundef %11)
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
ret i32 0
}
declare i64 @strtol(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fib(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/tmp5iafvj27.c'
source_filename = "/tmp/tmp5iafvj27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neuralops_logistic_fwd(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca float, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
br label %11
11: ; preds = %30, %4
%12 = load i64, ptr %9, align 8
%13 = load i64, ptr %5, align 8
%14 = load i64, ptr %6, align 8
%15 = mul i64 %13, %14
%16 = icmp ult i64 %12, %15
br i1 %16, label %17, label %33
17: ; preds = %11
%18 = load ptr, ptr %7, align 8
%19 = load i64, ptr %9, align 8
%20 = getelementptr inbounds float, ptr %18, i64 %19
%21 = load float, ptr %20, align 4
store float %21, ptr %10, align 4
%22 = load float, ptr %10, align 4
%23 = fneg float %22
%24 = call float @expf(float noundef %23) #2
%25 = fadd float 1.000000e+00, %24
%26 = fdiv float 1.000000e+00, %25
%27 = load ptr, ptr %8, align 8
%28 = load i64, ptr %9, align 8
%29 = getelementptr inbounds float, ptr %27, i64 %28
store float %26, ptr %29, align 4
br label %30
30: ; preds = %17
%31 = load i64, ptr %9, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %9, align 8
br label %11, !llvm.loop !6
33: ; preds = %11
ret void
}
; Function Attrs: nounwind
declare float @expf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5iafvj27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @neuralops_logistic_fwd(i64 noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca float, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
%11 = load i64, ptr %9, align 8
%12 = load i64, ptr %5, align 8
%13 = load i64, ptr %6, align 8
%14 = mul i64 %12, %13
%15 = icmp ult i64 %11, %14
br i1 %15, label %.lr.ph, label %37
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %29
%17 = load ptr, ptr %7, align 8
%18 = load i64, ptr %9, align 8
%19 = getelementptr inbounds float, ptr %17, i64 %18
%20 = load float, ptr %19, align 4
store float %20, ptr %10, align 4
%21 = load float, ptr %10, align 4
%22 = fneg float %21
%23 = call float @expf(float noundef %22) #2
%24 = fadd float 1.000000e+00, %23
%25 = fdiv float 1.000000e+00, %24
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %9, align 8
%28 = getelementptr inbounds float, ptr %26, i64 %27
store float %25, ptr %28, align 4
br label %29
29: ; preds = %16
%30 = load i64, ptr %9, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %9, align 8
%32 = load i64, ptr %9, align 8
%33 = load i64, ptr %5, align 8
%34 = load i64, ptr %6, align 8
%35 = mul i64 %33, %34
%36 = icmp ult i64 %32, %35
br i1 %36, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %37
37: ; preds = %._crit_edge, %4
ret void
}
; Function Attrs: nounwind
declare float @expf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpexc6f1yz.c'
source_filename = "/tmp/tmpexc6f1yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @target_step() #0 {
%1 = call i32 (...) @DwTrace()
ret i32 0
}
declare i32 @DwTrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpexc6f1yz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @target_step() #0 {
%1 = call i32 (...) @DwTrace()
ret i32 0
}
declare i32 @DwTrace(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa39d49o4.c'
source_filename = "/tmp/tmpa39d49o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @img_setpixel4i(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [4 x i8], align 1
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%16 = load ptr, ptr %8, align 8
%17 = call i64 @img_is_float(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %40
19: ; preds = %7
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %11, align 4
%24 = sitofp i32 %23 to double
%25 = fdiv double %24, 2.550000e+02
%26 = fptosi double %25 to i32
%27 = load i32, ptr %12, align 4
%28 = sitofp i32 %27 to double
%29 = fdiv double %28, 2.550000e+02
%30 = fptosi double %29 to i32
%31 = load i32, ptr %13, align 4
%32 = sitofp i32 %31 to double
%33 = fdiv double %32, 2.550000e+02
%34 = fptosi double %33 to i32
%35 = load i32, ptr %14, align 4
%36 = sitofp i32 %35 to double
%37 = fdiv double %36, 2.550000e+02
%38 = fptosi double %37 to i32
%39 = call i32 @img_setpixel4f(ptr noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %26, i32 noundef %30, i32 noundef %34, i32 noundef %38)
br label %58
40: ; preds = %7
%41 = load i32, ptr %11, align 4
%42 = trunc i32 %41 to i8
%43 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0
store i8 %42, ptr %43, align 1
%44 = load i32, ptr %12, align 4
%45 = trunc i32 %44 to i8
%46 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 1
store i8 %45, ptr %46, align 1
%47 = load i32, ptr %13, align 4
%48 = trunc i32 %47 to i8
%49 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 2
store i8 %48, ptr %49, align 1
%50 = load i32, ptr %14, align 4
%51 = trunc i32 %50 to i8
%52 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 3
store i8 %51, ptr %52, align 1
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %10, align 4
%56 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0
%57 = call i32 @img_setpixel(ptr noundef %53, i32 noundef %54, i32 noundef %55, ptr noundef %56)
br label %58
58: ; preds = %40, %19
ret void
}
declare i64 @img_is_float(ptr noundef) #1
declare i32 @img_setpixel4f(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @img_setpixel(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa39d49o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @img_setpixel4i(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca [4 x i8], align 1
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%16 = load ptr, ptr %8, align 8
%17 = call i64 @img_is_float(ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %40
19: ; preds = %7
%20 = load ptr, ptr %8, align 8
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %11, align 4
%24 = sitofp i32 %23 to double
%25 = fdiv double %24, 2.550000e+02
%26 = fptosi double %25 to i32
%27 = load i32, ptr %12, align 4
%28 = sitofp i32 %27 to double
%29 = fdiv double %28, 2.550000e+02
%30 = fptosi double %29 to i32
%31 = load i32, ptr %13, align 4
%32 = sitofp i32 %31 to double
%33 = fdiv double %32, 2.550000e+02
%34 = fptosi double %33 to i32
%35 = load i32, ptr %14, align 4
%36 = sitofp i32 %35 to double
%37 = fdiv double %36, 2.550000e+02
%38 = fptosi double %37 to i32
%39 = call i32 @img_setpixel4f(ptr noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %26, i32 noundef %30, i32 noundef %34, i32 noundef %38)
br label %58
40: ; preds = %7
%41 = load i32, ptr %11, align 4
%42 = trunc i32 %41 to i8
%43 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0
store i8 %42, ptr %43, align 1
%44 = load i32, ptr %12, align 4
%45 = trunc i32 %44 to i8
%46 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 1
store i8 %45, ptr %46, align 1
%47 = load i32, ptr %13, align 4
%48 = trunc i32 %47 to i8
%49 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 2
store i8 %48, ptr %49, align 1
%50 = load i32, ptr %14, align 4
%51 = trunc i32 %50 to i8
%52 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 3
store i8 %51, ptr %52, align 1
%53 = load ptr, ptr %8, align 8
%54 = load i32, ptr %9, align 4
%55 = load i32, ptr %10, align 4
%56 = getelementptr inbounds [4 x i8], ptr %15, i64 0, i64 0
%57 = call i32 @img_setpixel(ptr noundef %53, i32 noundef %54, i32 noundef %55, ptr noundef %56)
br label %58
58: ; preds = %40, %19
ret void
}
declare i64 @img_is_float(ptr noundef) #1
declare i32 @img_setpixel4f(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @img_setpixel(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprm61rb8c.c'
source_filename = "/tmp/tmprm61rb8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"arr : %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"&arr : %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"*(&arr) : %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"sizeof(arr): %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(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 ptr, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %3)
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 8)
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/tmprm61rb8c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"arr : %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"&arr : %p\0A\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"*(&arr) : %p\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"sizeof(arr): %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func(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 ptr, ptr %3, align 8
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %3)
%8 = load ptr, ptr %3, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef 8)
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/tmpz0w54t36.c'
source_filename = "/tmp/tmpz0w54t36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_app_max6682mean() #0 {
%1 = call i32 @ParamWrite(i32 noundef 0, i32 noundef 0)
%2 = call i32 @ParamWrite(i32 noundef 1, i32 noundef 0)
%3 = call i32 @ParamWrite(i32 noundef 2, i32 noundef 80)
%4 = call i32 @ParamWrite(i32 noundef 3, i32 noundef 0)
%5 = call i32 @ParamWrite(i32 noundef 4, i32 noundef 1000)
%6 = call i32 @ParamWrite(i32 noundef 5, i32 noundef 40)
ret void
}
declare i32 @ParamWrite(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/tmpz0w54t36.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_app_max6682mean() #0 {
%1 = call i32 @ParamWrite(i32 noundef 0, i32 noundef 0)
%2 = call i32 @ParamWrite(i32 noundef 1, i32 noundef 0)
%3 = call i32 @ParamWrite(i32 noundef 2, i32 noundef 80)
%4 = call i32 @ParamWrite(i32 noundef 3, i32 noundef 0)
%5 = call i32 @ParamWrite(i32 noundef 4, i32 noundef 1000)
%6 = call i32 @ParamWrite(i32 noundef 5, i32 noundef 40)
ret void
}
declare i32 @ParamWrite(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/tmp10yc1gw2.c'
source_filename = "/tmp/tmp10yc1gw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x9c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x9c() #0 {
%1 = call i64 @isalpha(i32 noundef 156)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 785, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp10yc1gw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isalpha.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isalpha should be 0 for 0x9c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isalpha_0x9c() #0 {
%1 = call i64 @isalpha(i32 noundef 156)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 785, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isalpha(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpayum7jaw.c'
source_filename = "/tmp/tmpayum7jaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dfloor(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i64 @mod(double noundef %4, i32 noundef 1)
%6 = sitofp i64 %5 to double
%7 = fsub double %3, %6
%8 = fptosi double %7 to i32
ret i32 %8
}
declare i64 @mod(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpayum7jaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dfloor(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i64 @mod(double noundef %4, i32 noundef 1)
%6 = sitofp i64 %5 to double
%7 = fsub double %3, %6
%8 = fptosi double %7 to i32
ret i32 %8
}
declare i64 @mod(double noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5m_8cj0_.c'
source_filename = "/tmp/tmp5m_8cj0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @add_all_int8(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8, i64 noundef %9) #0 {
%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 i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
store i64 %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i64 %2, ptr %13, align 8
store i64 %3, ptr %14, align 8
store i64 %4, ptr %15, align 8
store i64 %5, ptr %16, align 8
store i64 %6, ptr %17, align 8
store i64 %7, ptr %18, align 8
store i64 %8, ptr %19, align 8
store i64 %9, ptr %20, align 8
%21 = load i64, ptr %11, align 8
%22 = load i64, ptr %12, align 8
%23 = add nsw i64 %21, %22
%24 = load i64, ptr %13, align 8
%25 = add nsw i64 %23, %24
%26 = load i64, ptr %14, align 8
%27 = add nsw i64 %25, %26
%28 = load i64, ptr %15, align 8
%29 = add nsw i64 %27, %28
%30 = load i64, ptr %16, align 8
%31 = add nsw i64 %29, %30
%32 = load i64, ptr %17, align 8
%33 = add nsw i64 %31, %32
%34 = load i64, ptr %18, align 8
%35 = add nsw i64 %33, %34
%36 = load i64, ptr %19, align 8
%37 = add nsw i64 %35, %36
%38 = load i64, ptr %20, align 8
%39 = add nsw i64 %37, %38
ret i64 %39
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5m_8cj0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @add_all_int8(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8, i64 noundef %9) #0 {
%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 i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
store i64 %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i64 %2, ptr %13, align 8
store i64 %3, ptr %14, align 8
store i64 %4, ptr %15, align 8
store i64 %5, ptr %16, align 8
store i64 %6, ptr %17, align 8
store i64 %7, ptr %18, align 8
store i64 %8, ptr %19, align 8
store i64 %9, ptr %20, align 8
%21 = load i64, ptr %11, align 8
%22 = load i64, ptr %12, align 8
%23 = add nsw i64 %21, %22
%24 = load i64, ptr %13, align 8
%25 = add nsw i64 %23, %24
%26 = load i64, ptr %14, align 8
%27 = add nsw i64 %25, %26
%28 = load i64, ptr %15, align 8
%29 = add nsw i64 %27, %28
%30 = load i64, ptr %16, align 8
%31 = add nsw i64 %29, %30
%32 = load i64, ptr %17, align 8
%33 = add nsw i64 %31, %32
%34 = load i64, ptr %18, align 8
%35 = add nsw i64 %33, %34
%36 = load i64, ptr %19, align 8
%37 = add nsw i64 %35, %36
%38 = load i64, ptr %20, align 8
%39 = add nsw i64 %37, %38
ret i64 %39
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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 saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.