llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpo18nqsvs.c'
source_filename = "/tmp/tmpo18nqsvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractnz_boundaries_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i64 %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store i64 %3, ptr %12, align 8
store i64 %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store double %7, ptr %16, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = load i64, ptr %12, align 8
%27 = load i64, ptr %13, align 8
%28 = load double, ptr %16, align 8
%29 = call i32 @extractnz_boundaries_dvector(ptr noundef %25, i64 noundef %26, i64 noundef %27, ptr noundef %20, ptr noundef %21, double noundef %28)
%30 = load i64, ptr %10, align 8
%31 = add nsw i64 %30, 1
%32 = trunc i64 %31 to i32
store i32 %32, ptr %17, align 4
br label %33
33: ; preds = %60, %8
%34 = load i32, ptr %17, align 4
%35 = sext i32 %34 to i64
%36 = load i64, ptr %11, align 8
%37 = icmp sle i64 %35, %36
br i1 %37, label %38, label %63
38: ; preds = %33
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %17, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i64, ptr %12, align 8
%45 = load i64, ptr %13, align 8
%46 = load double, ptr %16, align 8
%47 = call i32 @extractnz_boundaries_dvector(ptr noundef %43, i64 noundef %44, i64 noundef %45, ptr noundef %18, ptr noundef %19, double noundef %46)
%48 = load i64, ptr %18, align 8
%49 = load i64, ptr %20, align 8
%50 = icmp slt i64 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %38
%52 = load i64, ptr %18, align 8
store i64 %52, ptr %20, align 8
br label %53
53: ; preds = %51, %38
%54 = load i64, ptr %19, align 8
%55 = load i64, ptr %21, align 8
%56 = icmp sgt i64 %54, %55
br i1 %56, label %57, label %59
57: ; preds = %53
%58 = load i64, ptr %19, align 8
store i64 %58, ptr %21, align 8
br label %59
59: ; preds = %57, %53
br label %60
60: ; preds = %59
%61 = load i32, ptr %17, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %17, align 4
br label %33, !llvm.loop !6
63: ; preds = %33
%64 = load i64, ptr %20, align 8
%65 = load ptr, ptr %14, align 8
store i64 %64, ptr %65, align 8
%66 = load i64, ptr %21, align 8
%67 = load ptr, ptr %15, align 8
store i64 %66, ptr %67, align 8
ret void
}
declare i32 @extractnz_boundaries_dvector(ptr noundef, i64 noundef, i64 noundef, 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/tmpo18nqsvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractnz_boundaries_dmatrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, ptr noundef %6, double noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
store ptr %0, ptr %9, align 8
store i64 %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store i64 %3, ptr %12, align 8
store i64 %4, ptr %13, align 8
store ptr %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
store double %7, ptr %16, align 8
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds ptr, ptr %22, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = load i64, ptr %12, align 8
%27 = load i64, ptr %13, align 8
%28 = load double, ptr %16, align 8
%29 = call i32 @extractnz_boundaries_dvector(ptr noundef %25, i64 noundef %26, i64 noundef %27, ptr noundef %20, ptr noundef %21, double noundef %28)
%30 = load i64, ptr %10, align 8
%31 = add nsw i64 %30, 1
%32 = trunc i64 %31 to i32
store i32 %32, ptr %17, align 4
%33 = load i32, ptr %17, align 4
%34 = sext i32 %33 to i64
%35 = load i64, ptr %11, align 8
%36 = icmp sle i64 %34, %35
br i1 %36, label %.lr.ph, label %66
.lr.ph: ; preds = %8
br label %37
37: ; preds = %.lr.ph, %59
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %17, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load i64, ptr %12, align 8
%44 = load i64, ptr %13, align 8
%45 = load double, ptr %16, align 8
%46 = call i32 @extractnz_boundaries_dvector(ptr noundef %42, i64 noundef %43, i64 noundef %44, ptr noundef %18, ptr noundef %19, double noundef %45)
%47 = load i64, ptr %18, align 8
%48 = load i64, ptr %20, align 8
%49 = icmp slt i64 %47, %48
br i1 %49, label %50, label %52
50: ; preds = %37
%51 = load i64, ptr %18, align 8
store i64 %51, ptr %20, align 8
br label %52
52: ; preds = %50, %37
%53 = load i64, ptr %19, align 8
%54 = load i64, ptr %21, align 8
%55 = icmp sgt i64 %53, %54
br i1 %55, label %56, label %58
56: ; preds = %52
%57 = load i64, ptr %19, align 8
store i64 %57, ptr %21, align 8
br label %58
58: ; preds = %56, %52
br label %59
59: ; preds = %58
%60 = load i32, ptr %17, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %17, align 4
%62 = load i32, ptr %17, align 4
%63 = sext i32 %62 to i64
%64 = load i64, ptr %11, align 8
%65 = icmp sle i64 %63, %64
br i1 %65, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %66
66: ; preds = %._crit_edge, %8
%67 = load i64, ptr %20, align 8
%68 = load ptr, ptr %14, align 8
store i64 %67, ptr %68, align 8
%69 = load i64, ptr %21, align 8
%70 = load ptr, ptr %15, align 8
store i64 %69, ptr %70, align 8
ret void
}
declare i32 @extractnz_boundaries_dvector(ptr noundef, i64 noundef, i64 noundef, 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/tmphzkk5h1e.c'
source_filename = "/tmp/tmphzkk5h1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"log\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"linear\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"log-zero\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Scale specified but not recognized: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scale_parse(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 %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
store i32 1, ptr %8, align 4
br label %34
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
store i32 2, ptr %14, align 4
br label %33
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
store i32 1, ptr %20, align 4
br label %32
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
store i32 3, ptr %26, align 4
br label %31
27: ; preds = %21
%28 = load ptr, ptr %3, align 8
store i32 -1, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = call i32 @error(ptr noundef @.str.3, ptr noundef %29)
br label %31
31: ; preds = %27, %25
br label %32
32: ; preds = %31, %19
br label %33
33: ; preds = %32, %13
br label %34
34: ; preds = %33, %7
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp eq i32 %36, -1
%38 = zext i1 %37 to i32
ret i32 %38
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @error(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/tmphzkk5h1e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"log\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"linear\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"log-zero\00", align 1
@.str.3 = private unnamed_addr constant [40 x i8] c"Scale specified but not recognized: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @scale_parse(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 %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
store i32 1, ptr %8, align 4
br label %34
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcmp(ptr noundef %10, ptr noundef @.str)
%12 = icmp ne i32 %11, 0
br i1 %12, label %15, label %13
13: ; preds = %9
%14 = load ptr, ptr %3, align 8
store i32 2, ptr %14, align 4
br label %33
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = call i32 @strcmp(ptr noundef %16, ptr noundef @.str.1)
%18 = icmp ne i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
store i32 1, ptr %20, align 4
br label %32
21: ; preds = %15
%22 = load ptr, ptr %4, align 8
%23 = call i32 @strcmp(ptr noundef %22, ptr noundef @.str.2)
%24 = icmp ne i32 %23, 0
br i1 %24, label %27, label %25
25: ; preds = %21
%26 = load ptr, ptr %3, align 8
store i32 3, ptr %26, align 4
br label %31
27: ; preds = %21
%28 = load ptr, ptr %3, align 8
store i32 -1, ptr %28, align 4
%29 = load ptr, ptr %4, align 8
%30 = call i32 @error(ptr noundef @.str.3, ptr noundef %29)
br label %31
31: ; preds = %27, %25
br label %32
32: ; preds = %31, %19
br label %33
33: ; preds = %32, %13
br label %34
34: ; preds = %33, %7
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %35, align 4
%37 = icmp eq i32 %36, -1
%38 = zext i1 %37 to i32
ret i32 %38
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @error(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/tmpw9a_pj29.c'
source_filename = "/tmp/tmpw9a_pj29.c"
target datalayout = "e-m:e-p270: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"++get_backtrace\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"--get_backtrace %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"++print_backtrace\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"--print_backtrace\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 [32 x ptr], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 0
%10 = call i32 @get_backtrace(ptr noundef %9, i32 noundef 32)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 0
%15 = load i32, ptr %6, align 4
%16 = call i32 @print_backtrace(ptr noundef %14, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%18 = call i32 (...) @f1()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_backtrace(ptr noundef, i32 noundef) #1
declare i32 @print_backtrace(ptr noundef, i32 noundef) #1
declare i32 @f1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw9a_pj29.c"
target datalayout = "e-m:e-p270: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"++get_backtrace\0A\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"--get_backtrace %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"++print_backtrace\0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"--print_backtrace\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 [32 x ptr], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 0
%10 = call i32 @get_backtrace(ptr noundef %9, i32 noundef 32)
store i32 %10, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = getelementptr inbounds [32 x ptr], ptr %7, i64 0, i64 0
%15 = load i32, ptr %6, align 4
%16 = call i32 @print_backtrace(ptr noundef %14, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%18 = call i32 (...) @f1()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @get_backtrace(ptr noundef, i32 noundef) #1
declare i32 @print_backtrace(ptr noundef, i32 noundef) #1
declare i32 @f1(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnf5xaij2.c'
source_filename = "/tmp/tmpnf5xaij2.c"
target datalayout = "e-m:e-p270: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/tmpnf5xaij2.c"
target datalayout = "e-m:e-p270: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/tmpxqzdkb1f.c'
source_filename = "/tmp/tmpxqzdkb1f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/proc/mounts\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%%*s %%%ds %%99s %%*s %%*d %%*d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_mountpoint(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca [100 x i8], align 16
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %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
%16 = load ptr, ptr %11, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %47
18: ; preds = %5
%19 = load ptr, ptr %11, align 8
store ptr %19, ptr %12, align 8
br label %20
20: ; preds = %43, %18
%21 = load ptr, ptr %12, align 8
%22 = load ptr, ptr %21, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %24, label %46
24: ; preds = %20
%25 = load ptr, ptr %12, align 8
%26 = load ptr, ptr %25, align 8
%27 = load i64, ptr %8, align 8
%28 = call i64 @valid_mountpoint(ptr noundef %26, i64 noundef %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %43
30: ; preds = %24
%31 = load ptr, ptr %9, align 8
%32 = load ptr, ptr %12, align 8
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %34, 1
%36 = call i32 @strncpy(ptr noundef %31, ptr noundef %33, i32 noundef %35)
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %10, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %37, i64 %40
store i8 0, ptr %41, align 1
%42 = load ptr, ptr %9, align 8
store ptr %42, ptr %6, align 8
br label %80
43: ; preds = %24
%44 = load ptr, ptr %12, align 8
%45 = getelementptr inbounds ptr, ptr %44, i32 1
store ptr %45, ptr %12, align 8
br label %20, !llvm.loop !6
46: ; preds = %20
br label %47
47: ; preds = %46, %5
%48 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %48, ptr %15, align 8
%49 = load ptr, ptr %15, align 8
%50 = icmp eq ptr %49, null
br i1 %50, label %51, label %52
51: ; preds = %47
store ptr null, ptr %6, align 8
br label %80
52: ; preds = %47
%53 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%54 = load i32, ptr %10, align 4
%55 = call i32 @snprintf(ptr noundef %53, i32 noundef 128, ptr noundef @.str.2, i32 noundef %54)
br label %56
56: ; preds = %69, %52
%57 = load ptr, ptr %15, align 8
%58 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%61 = call i32 @fscanf(ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = icmp eq i32 %61, 2
br i1 %62, label %63, label %70
63: ; preds = %56
%64 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%65 = load ptr, ptr %7, align 8
%66 = call i64 @strcmp(ptr noundef %64, ptr noundef %65)
%67 = icmp eq i64 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %63
br label %70
69: ; preds = %63
br label %56, !llvm.loop !8
70: ; preds = %68, %56
%71 = load ptr, ptr %15, align 8
%72 = call i32 @fclose(ptr noundef %71)
%73 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%74 = load ptr, ptr %7, align 8
%75 = call i64 @strcmp(ptr noundef %73, ptr noundef %74)
%76 = icmp ne i64 %75, 0
br i1 %76, label %77, label %78
77: ; preds = %70
store ptr null, ptr %6, align 8
br label %80
78: ; preds = %70
%79 = load ptr, ptr %9, align 8
store ptr %79, ptr %6, align 8
br label %80
80: ; preds = %78, %77, %51, %30
%81 = load ptr, ptr %6, align 8
ret ptr %81
}
declare i64 @valid_mountpoint(ptr noundef, i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxqzdkb1f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/proc/mounts\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"%%*s %%%ds %%99s %%*s %%*d %%*d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @find_mountpoint(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca [100 x i8], align 16
%15 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i64 %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
%16 = load ptr, ptr %11, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %49
18: ; preds = %5
%19 = load ptr, ptr %11, align 8
store ptr %19, ptr %12, align 8
%20 = load ptr, ptr %12, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %.lr.ph, label %48
.lr.ph: ; preds = %18
br label %23
23: ; preds = %.lr.ph, %42
%24 = load ptr, ptr %12, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i64, ptr %8, align 8
%27 = call i64 @valid_mountpoint(ptr noundef %25, i64 noundef %26)
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %42
29: ; preds = %23
%30 = load ptr, ptr %9, align 8
%31 = load ptr, ptr %12, align 8
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %10, align 4
%34 = sub nsw i32 %33, 1
%35 = call i32 @strncpy(ptr noundef %30, ptr noundef %32, i32 noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = load i32, ptr %10, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %36, i64 %39
store i8 0, ptr %40, align 1
%41 = load ptr, ptr %9, align 8
store ptr %41, ptr %6, align 8
br label %85
42: ; preds = %23
%43 = load ptr, ptr %12, align 8
%44 = getelementptr inbounds ptr, ptr %43, i32 1
store ptr %44, ptr %12, align 8
%45 = load ptr, ptr %12, align 8
%46 = load ptr, ptr %45, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %18
br label %49
49: ; preds = %48, %5
%50 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %50, ptr %15, align 8
%51 = load ptr, ptr %15, align 8
%52 = icmp eq ptr %51, null
br i1 %52, label %53, label %54
53: ; preds = %49
store ptr null, ptr %6, align 8
br label %85
54: ; preds = %49
%55 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%56 = load i32, ptr %10, align 4
%57 = call i32 @snprintf(ptr noundef %55, i32 noundef 128, ptr noundef @.str.2, i32 noundef %56)
%58 = load ptr, ptr %15, align 8
%59 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%60 = load ptr, ptr %9, align 8
%61 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%62 = call i32 @fscanf(ptr noundef %58, ptr noundef %59, ptr noundef %60, ptr noundef %61)
%63 = icmp eq i32 %62, 2
br i1 %63, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %54
br label %69
64: ; preds = %69
%65 = load ptr, ptr %15, align 8
%66 = load ptr, ptr %9, align 8
%67 = call i32 @fscanf(ptr noundef %65, ptr noundef %59, ptr noundef %66, ptr noundef %61)
%68 = icmp eq i32 %67, 2
br i1 %68, label %69, label %..loopexit_crit_edge, !llvm.loop !8
69: ; preds = %.lr.ph2, %64
%70 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%71 = load ptr, ptr %7, align 8
%72 = call i64 @strcmp(ptr noundef %70, ptr noundef %71)
%73 = icmp eq i64 %72, 0
br i1 %73, label %74, label %64
74: ; preds = %69
br label %75
..loopexit_crit_edge: ; preds = %64
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %54
br label %75
75: ; preds = %.loopexit, %74
%76 = load ptr, ptr %15, align 8
%77 = call i32 @fclose(ptr noundef %76)
%78 = getelementptr inbounds [100 x i8], ptr %14, i64 0, i64 0
%79 = load ptr, ptr %7, align 8
%80 = call i64 @strcmp(ptr noundef %78, ptr noundef %79)
%81 = icmp ne i64 %80, 0
br i1 %81, label %82, label %83
82: ; preds = %75
store ptr null, ptr %6, align 8
br label %85
83: ; preds = %75
%84 = load ptr, ptr %9, align 8
store ptr %84, ptr %6, align 8
br label %85
85: ; preds = %83, %82, %53, %29
%86 = load ptr, ptr %6, align 8
ret ptr %86
}
declare i64 @valid_mountpoint(ptr noundef, i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @strcmp(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7eyesk8g.c'
source_filename = "/tmp/tmp7eyesk8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_field(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %27, %3
%10 = load ptr, ptr %4, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = trunc i32 %12 to i8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 %13, ptr %18, align 1
br label %19
19: ; preds = %9
%20 = load i32, ptr %8, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = load i64, ptr %6, align 8
%26 = icmp ne i64 %24, %25
br label %27
27: ; preds = %22, %19
%28 = phi i1 [ false, %19 ], [ %26, %22 ]
br i1 %28, label %9, label %29, !llvm.loop !6
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = call i32 @getc(ptr noundef %30)
ret void
}
declare i32 @getc(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/tmp7eyesk8g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_field(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %9
9: ; preds = %27, %3
%10 = load ptr, ptr %4, align 8
%11 = call i32 @getc(ptr noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = trunc i32 %12 to i8
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %7, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store i8 %13, ptr %18, align 1
br label %19
19: ; preds = %9
%20 = load i32, ptr %8, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %27
22: ; preds = %19
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = load i64, ptr %6, align 8
%26 = icmp ne i64 %24, %25
br label %27
27: ; preds = %22, %19
%28 = phi i1 [ false, %19 ], [ %26, %22 ]
br i1 %28, label %9, label %29, !llvm.loop !6
29: ; preds = %27
%30 = load ptr, ptr %4, align 8
%31 = call i32 @getc(ptr noundef %30)
ret void
}
declare i32 @getc(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/tmp19o5sklu.c'
source_filename = "/tmp/tmp19o5sklu.c"
target datalayout = "e-m:e-p270: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/tmp19o5sklu.c"
target datalayout = "e-m:e-p270: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/tmpr8g64p6p.c'
source_filename = "/tmp/tmpr8g64p6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testFuncShortCircuit(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 0, %6
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 1, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @im_a_dummy()
br label %14
14: ; preds = %12, %8, %2
%15 = load i8, ptr %4, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 1, %16
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = icmp eq i32 0, %20
br i1 %21, label %22, label %24
22: ; preds = %18, %14
%23 = call i32 (...) @im_a_dummy()
br label %24
24: ; preds = %22, %18
ret void
}
declare i32 @im_a_dummy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr8g64p6p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @testFuncShortCircuit(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = zext i8 %5 to i32
%7 = icmp eq i32 0, %6
br i1 %7, label %8, label %14
8: ; preds = %2
%9 = load i8, ptr %4, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 1, %10
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @im_a_dummy()
br label %14
14: ; preds = %12, %8, %2
%15 = load i8, ptr %4, align 1
%16 = zext i8 %15 to i32
%17 = icmp eq i32 1, %16
br i1 %17, label %22, label %18
18: ; preds = %14
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = icmp eq i32 0, %20
br i1 %21, label %22, label %24
22: ; preds = %18, %14
%23 = call i32 (...) @im_a_dummy()
br label %24
24: ; preds = %22, %18
ret void
}
declare i32 @im_a_dummy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb4xevxyj.c'
source_filename = "/tmp/tmpb4xevxyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"What is the price of the sold item \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"what is the quantity for the item sold\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"total cost is:%4.2f \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 i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x400928F5C0000000, ptr %2, align 4
store i32 10, ptr %3, align 4
store float 0x403F733340000000, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to float
%11 = load float, ptr %4, align 4
%12 = fmul float %10, %11
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
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/tmpb4xevxyj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"What is the price of the sold item \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [40 x i8] c"what is the quantity for the item sold\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"total cost is:%4.2f \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 i32, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x400928F5C0000000, ptr %2, align 4
store i32 10, ptr %3, align 4
store float 0x403F733340000000, ptr %4, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %3)
%9 = load i32, ptr %3, align 4
%10 = sitofp i32 %9 to float
%11 = load float, ptr %4, align 4
%12 = fmul float %10, %11
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = fpext float %13 to double
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
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/tmp1q2v7eqm.c'
source_filename = "/tmp/tmp1q2v7eqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [128 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%8 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%9 = load i32, ptr %6, align 4
%10 = call i32 @utoa(ptr noundef %8, i32 noundef %9, i8 noundef signext 117)
%11 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = call i32 @utoa(ptr noundef %13, i32 noundef %14, i8 noundef signext 111)
%16 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%19 = load i32, ptr %6, align 4
%20 = call i32 @utoa(ptr noundef %18, i32 noundef %19, i8 noundef signext 120)
%21 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%22 = call i32 @printf(ptr noundef @.str, ptr noundef %21)
%23 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%24 = load i32, ptr %6, align 4
%25 = call i32 @utoa(ptr noundef %23, i32 noundef %24, i8 noundef signext 88)
%26 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%27 = call i32 @printf(ptr noundef @.str, ptr noundef %26)
store i32 1737075661, ptr %6, align 4
%28 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%29 = load i32, ptr %6, align 4
%30 = call i32 @utoa(ptr noundef %28, i32 noundef %29, i8 noundef signext 117)
%31 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @printf(ptr noundef @.str, ptr noundef %31)
%33 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%34 = load i32, ptr %6, align 4
%35 = call i32 @utoa(ptr noundef %33, i32 noundef %34, i8 noundef signext 111)
%36 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %36)
%38 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%39 = load i32, ptr %6, align 4
%40 = call i32 @utoa(ptr noundef %38, i32 noundef %39, i8 noundef signext 120)
%41 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%42 = call i32 @printf(ptr noundef @.str, ptr noundef %41)
%43 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%44 = load i32, ptr %6, align 4
%45 = call i32 @utoa(ptr noundef %43, i32 noundef %44, i8 noundef signext 88)
%46 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%47 = call i32 @printf(ptr noundef @.str, ptr noundef %46)
ret i32 0
}
declare i32 @utoa(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1q2v7eqm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local 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 [128 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %6, align 4
%8 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%9 = load i32, ptr %6, align 4
%10 = call i32 @utoa(ptr noundef %8, i32 noundef %9, i8 noundef signext 117)
%11 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
%13 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%14 = load i32, ptr %6, align 4
%15 = call i32 @utoa(ptr noundef %13, i32 noundef %14, i8 noundef signext 111)
%16 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%17 = call i32 @printf(ptr noundef @.str, ptr noundef %16)
%18 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%19 = load i32, ptr %6, align 4
%20 = call i32 @utoa(ptr noundef %18, i32 noundef %19, i8 noundef signext 120)
%21 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%22 = call i32 @printf(ptr noundef @.str, ptr noundef %21)
%23 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%24 = load i32, ptr %6, align 4
%25 = call i32 @utoa(ptr noundef %23, i32 noundef %24, i8 noundef signext 88)
%26 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%27 = call i32 @printf(ptr noundef @.str, ptr noundef %26)
store i32 1737075661, ptr %6, align 4
%28 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%29 = load i32, ptr %6, align 4
%30 = call i32 @utoa(ptr noundef %28, i32 noundef %29, i8 noundef signext 117)
%31 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%32 = call i32 @printf(ptr noundef @.str, ptr noundef %31)
%33 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%34 = load i32, ptr %6, align 4
%35 = call i32 @utoa(ptr noundef %33, i32 noundef %34, i8 noundef signext 111)
%36 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%37 = call i32 @printf(ptr noundef @.str, ptr noundef %36)
%38 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%39 = load i32, ptr %6, align 4
%40 = call i32 @utoa(ptr noundef %38, i32 noundef %39, i8 noundef signext 120)
%41 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%42 = call i32 @printf(ptr noundef @.str, ptr noundef %41)
%43 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%44 = load i32, ptr %6, align 4
%45 = call i32 @utoa(ptr noundef %43, i32 noundef %44, i8 noundef signext 88)
%46 = getelementptr inbounds [128 x i8], ptr %7, i64 0, i64 0
%47 = call i32 @printf(ptr noundef @.str, ptr noundef %46)
ret i32 0
}
declare i32 @utoa(ptr noundef, i32 noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphabhxs2r.c'
source_filename = "/tmp/tmphabhxs2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_all_lights(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %13, align 4
br label %16
16: ; preds = %36, %6
%17 = load i32, ptr %13, align 4
%18 = load i32, ptr %10, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %39
20: ; preds = %16
%21 = load i32, ptr %9, align 4
store i32 %21, ptr %14, align 4
br label %22
22: ; preds = %32, %20
%23 = load i32, ptr %14, align 4
%24 = load i32, ptr %11, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %35
26: ; preds = %22
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %13, align 4
%29 = load i32, ptr %14, align 4
%30 = load i32, ptr %12, align 4
%31 = call i32 @setlight(ptr noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %26
%33 = load i32, ptr %14, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %14, align 4
br label %22, !llvm.loop !6
35: ; preds = %22
br label %36
36: ; preds = %35
%37 = load i32, ptr %13, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %13, align 4
br label %16, !llvm.loop !8
39: ; preds = %16
ret void
}
declare i32 @setlight(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphabhxs2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_all_lights(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %13, align 4
%16 = load i32, ptr %13, align 4
%17 = load i32, ptr %10, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %.lr.ph2, label %43
.lr.ph2: ; preds = %6
br label %19
19: ; preds = %.lr.ph2, %37
%20 = load i32, ptr %9, align 4
store i32 %20, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %36
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %30
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %13, align 4
%27 = load i32, ptr %14, align 4
%28 = load i32, ptr %12, align 4
%29 = call i32 @setlight(ptr noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %14, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %14, align 4
%33 = load i32, ptr %14, align 4
%34 = load i32, ptr %11, align 4
%35 = icmp sle i32 %33, %34
br i1 %35, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %19
br label %37
37: ; preds = %36
%38 = load i32, ptr %13, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %13, align 4
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %10, align 4
%42 = icmp sle i32 %40, %41
br i1 %42, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %43
43: ; preds = %._crit_edge3, %6
ret void
}
declare i32 @setlight(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpd1rjnxoy.c'
source_filename = "/tmp/tmpd1rjnxoy.c"
target datalayout = "e-m:e-p270: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/tmpd1rjnxoy.c"
target datalayout = "e-m:e-p270: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/tmp_74jlsrz.c'
source_filename = "/tmp/tmp_74jlsrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %6, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 45
br i1 %11, label %12, label %15
12: ; preds = %1
store i32 -1, ptr %5, align 4
%13 = load i64, ptr %3, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %3, align 8
br label %15
15: ; preds = %12, %1
br label %16
16: ; preds = %23, %15
%17 = load ptr, ptr %2, align 8
%18 = load i64, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %17, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = mul nsw i32 %24, 10
%26 = load ptr, ptr %2, align 8
%27 = load i64, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i8, ptr %28, align 1
%30 = call i32 @char_to_digit(i8 noundef signext %29)
%31 = add nsw i32 %25, %30
store i32 %31, ptr %4, align 4
%32 = load i64, ptr %3, align 8
%33 = add i64 %32, 1
store i64 %33, ptr %3, align 8
br label %16, !llvm.loop !6
34: ; preds = %16
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = mul nsw i32 %35, %36
ret i32 %37
}
declare i32 @char_to_digit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_74jlsrz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_to_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i64 0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 1, ptr %5, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %3, align 8
%8 = getelementptr inbounds i8, ptr %6, i64 %7
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp eq i32 %10, 45
br i1 %11, label %12, label %15
12: ; preds = %1
store i32 -1, ptr %5, align 4
%13 = load i64, ptr %3, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %3, align 8
br label %15
15: ; preds = %12, %1
%16 = load ptr, ptr %2, align 8
%17 = load i64, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %16, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph, label %39
.lr.ph: ; preds = %15
br label %22
22: ; preds = %.lr.ph, %22
%23 = load i32, ptr %4, align 4
%24 = mul nsw i32 %23, 10
%25 = load ptr, ptr %2, align 8
%26 = load i64, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
%28 = load i8, ptr %27, align 1
%29 = call i32 @char_to_digit(i8 noundef signext %28)
%30 = add nsw i32 %24, %29
store i32 %30, ptr %4, align 4
%31 = load i64, ptr %3, align 8
%32 = add i64 %31, 1
store i64 %32, ptr %3, align 8
%33 = load ptr, ptr %2, align 8
%34 = load i64, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp ne i32 %37, 0
br i1 %38, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %39
39: ; preds = %._crit_edge, %15
%40 = load i32, ptr %4, align 4
%41 = load i32, ptr %5, align 4
%42 = mul nsw i32 %40, %41
ret i32 %42
}
declare i32 @char_to_digit(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnwjnfna4.c'
source_filename = "/tmp/tmpnwjnfna4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 600, ptr %8, align 4
store ptr null, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 3
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load i32, ptr @AF_UNIX, align 4
%18 = load i32, ptr @SOCK_SEQPACKET, align 4
%19 = load i32, ptr @IPPROTO_UDP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %21
21: ; preds = %34, %2
%22 = load i32, ptr %12, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %37
25: ; preds = %21
%26 = load i32, ptr %8, align 4
%27 = call ptr @svcudp_create(i32 noundef %26)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = load i32, ptr %11, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %11, align 4
br label %33
33: ; preds = %30, %25
br label %34
34: ; preds = %33
%35 = load i32, ptr %12, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %12, align 4
br label %21, !llvm.loop !6
37: ; preds = %21
%38 = load i32, ptr %6, align 4
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %45
40: ; preds = %37
%41 = load i32, ptr %10, align 4
%42 = call i32 @printf(ptr noundef @.str, i32 noundef %41)
%43 = load i32, ptr %11, align 4
%44 = call i32 @printf(ptr noundef @.str.1, i32 noundef %43)
br label %45
45: ; preds = %40, %37
%46 = load i32, ptr %11, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp eq i32 %46, %47
%49 = zext i1 %48 to i64
%50 = select i1 %48, i32 0, i32 1
store i32 %50, ptr %7, align 4
%51 = load ptr, ptr %9, align 8
%52 = call i32 @svc_destroy(ptr noundef %51)
%53 = load i32, ptr %7, align 4
%54 = call i32 @printf(ptr noundef @.str.2, i32 noundef %53)
%55 = load i32, ptr %7, align 4
ret i32 %55
}
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @svcudp_create(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @svc_destroy(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/tmpnwjnfna4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@SOCK_SEQPACKET = dso_local global i32 0, align 4
@IPPROTO_UDP = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
store i32 600, ptr %8, align 4
store ptr null, ptr %9, align 8
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 3
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atoi(ptr noundef %15)
store i32 %16, ptr %10, align 4
store i32 0, ptr %11, align 4
%17 = load i32, ptr @AF_UNIX, align 4
%18 = load i32, ptr @SOCK_SEQPACKET, align 4
%19 = load i32, ptr @IPPROTO_UDP, align 4
%20 = call i32 @socket(i32 noundef %17, i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %8, align 4
store i32 0, ptr %12, align 4
%21 = load i32, ptr %12, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %24
24: ; preds = %.lr.ph, %33
%25 = load i32, ptr %8, align 4
%26 = call ptr @svcudp_create(i32 noundef %25)
store ptr %26, ptr %9, align 8
%27 = load ptr, ptr %9, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %32
29: ; preds = %24
%30 = load i32, ptr %11, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %11, align 4
br label %32
32: ; preds = %29, %24
br label %33
33: ; preds = %32
%34 = load i32, ptr %12, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %12, align 4
%37 = load i32, ptr %10, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %33
br label %39
39: ; preds = %._crit_edge, %2
%40 = load i32, ptr %6, align 4
%41 = icmp eq i32 %40, 1
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = call i32 @printf(ptr noundef @.str, i32 noundef %43)
%45 = load i32, ptr %11, align 4
%46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45)
br label %47
47: ; preds = %42, %39
%48 = load i32, ptr %11, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
%51 = zext i1 %50 to i64
%52 = select i1 %50, i32 0, i32 1
store i32 %52, ptr %7, align 4
%53 = load ptr, ptr %9, align 8
%54 = call i32 @svc_destroy(ptr noundef %53)
%55 = load i32, ptr %7, align 4
%56 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %7, align 4
ret i32 %57
}
declare i32 @atoi(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @svcudp_create(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @svc_destroy(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/tmpy0_w0iku.c'
source_filename = "/tmp/tmpy0_w0iku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy0_w0iku.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo4bxv9uo.c'
source_filename = "/tmp/tmpo4bxv9uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [500 x i8], align 16
%3 = alloca [500 x i8], align 16
%4 = alloca [500 x i32], align 16
%5 = alloca [500 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca 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
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 500, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 500, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2000, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 2000, i1 false)
%19 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
%21 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%25 = call i64 @strlen(ptr noundef %24)
%26 = trunc i64 %25 to i32
%27 = call i32 @DecideSmallBit(ptr noundef %23, i32 noundef %26)
store i32 %27, ptr %6, align 4
%28 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%30 = call i64 @strlen(ptr noundef %29)
%31 = trunc i64 %30 to i32
%32 = call i32 @DecideSmallBit(ptr noundef %28, i32 noundef %31)
store i32 %32, ptr %7, align 4
%33 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%34 = call i64 @strlen(ptr noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %8, align 4
%36 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%37 = call i64 @strlen(ptr noundef %36)
%38 = trunc i64 %37 to i32
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %39, %40
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %7, align 4
%44 = sub nsw i32 %42, %43
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %7, align 4
%47 = call i32 @Maximum(i32 noundef %45, i32 noundef %46)
store i32 %47, ptr %12, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = call i32 @Maximum(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %13, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %51, %52
store i32 %53, ptr %14, align 4
%54 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%55 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %12, align 4
%58 = call i32 @ReverseNumber(ptr noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57)
%59 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%60 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 0
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %12, align 4
%63 = call i32 @ReverseNumber(ptr noundef %59, ptr noundef %60, i32 noundef %61, i32 noundef %62)
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
br label %64
64: ; preds = %132, %0
%65 = load i32, ptr %16, align 4
%66 = load i32, ptr %12, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %68, label %135
68: ; preds = %64
%69 = load i32, ptr %16, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = load i32, ptr %16, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %74
%76 = load i32, ptr %75, align 4
%77 = add nsw i32 %72, %76
%78 = load i32, ptr %16, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %79
store i32 %77, ptr %80, align 4
%81 = load i32, ptr %16, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = icmp sge i32 %84, 10
br i1 %85, label %86, label %111
86: ; preds = %68
%87 = load i32, ptr %16, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %88
%90 = load i32, ptr %89, align 4
%91 = sub nsw i32 %90, 10
store i32 %91, ptr %89, align 4
%92 = load i32, ptr %16, align 4
%93 = load i32, ptr %12, align 4
%94 = sub nsw i32 %93, 1
%95 = icmp eq i32 %92, %94
br i1 %95, label %96, label %103
96: ; preds = %86
%97 = load i32, ptr %16, align 4
%98 = add nsw i32 %97, 2
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %99
%101 = load i32, ptr %100, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %100, align 4
br label %110
103: ; preds = %86
%104 = load i32, ptr %16, align 4
%105 = add nsw i32 %104, 1
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %106
%108 = load i32, ptr %107, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %107, align 4
br label %110
110: ; preds = %103, %96
br label %111
111: ; preds = %110, %68
%112 = load i32, ptr %16, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %113
%115 = load i32, ptr %114, align 4
%116 = icmp ne i32 %115, 0
br i1 %116, label %117, label %118
117: ; preds = %111
store i32 1, ptr %15, align 4
br label %118
118: ; preds = %117, %111
%119 = load i32, ptr %16, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %120
%122 = load i32, ptr %121, align 4
%123 = icmp eq i32 %122, 0
br i1 %123, label %124, label %131
124: ; preds = %118
%125 = load i32, ptr %15, align 4
%126 = icmp eq i32 %125, 0
br i1 %126, label %127, label %131
127: ; preds = %124
%128 = load i32, ptr %16, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %129
store i32 97, ptr %130, align 4
br label %131
131: ; preds = %127, %124, %118
br label %132
132: ; preds = %131
%133 = load i32, ptr %16, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %16, align 4
br label %64, !llvm.loop !6
135: ; preds = %64
%136 = load i32, ptr %12, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %17, align 4
br label %138
138: ; preds = %181, %135
%139 = load i32, ptr %17, align 4
%140 = load i32, ptr %14, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %142, label %184
142: ; preds = %138
%143 = load i32, ptr %17, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %144
%146 = load i32, ptr %145, align 4
%147 = load i32, ptr %17, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %148
%150 = load i32, ptr %149, align 4
%151 = add nsw i32 %146, %150
%152 = load i32, ptr %17, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %153
store i32 %151, ptr %154, align 4
%155 = load i32, ptr %17, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %156
%158 = load i32, ptr %157, align 4
%159 = icmp sge i32 %158, 10
br i1 %159, label %160, label %180
160: ; preds = %142
%161 = load i32, ptr %17, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %162
%164 = load i32, ptr %163, align 4
%165 = sub nsw i32 %164, 10
store i32 %165, ptr %163, align 4
%166 = load i32, ptr %17, align 4
%167 = add nsw i32 %166, 1
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %168
%170 = load i32, ptr %169, align 4
%171 = add nsw i32 %170, 1
store i32 %171, ptr %169, align 4
%172 = load i32, ptr %17, align 4
%173 = load i32, ptr %14, align 4
%174 = sub nsw i32 %173, 1
%175 = icmp eq i32 %172, %174
br i1 %175, label %176, label %179
176: ; preds = %160
%177 = load i32, ptr %14, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %14, align 4
br label %184
179: ; preds = %160
br label %180
180: ; preds = %179, %142
br label %181
181: ; preds = %180
%182 = load i32, ptr %17, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %17, align 4
br label %138, !llvm.loop !8
184: ; preds = %176, %138
%185 = load i32, ptr %14, align 4
%186 = sub nsw i32 %185, 1
store i32 %186, ptr %18, align 4
br label %187
187: ; preds = %217, %184
%188 = load i32, ptr %18, align 4
%189 = icmp sge i32 %188, 0
br i1 %189, label %190, label %220
190: ; preds = %187
%191 = load i32, ptr %18, align 4
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %192
%194 = load i32, ptr %193, align 4
%195 = icmp eq i32 %194, 97
br i1 %195, label %196, label %197
196: ; preds = %190
br label %220
197: ; preds = %190
%198 = load i32, ptr %18, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %199
%201 = load i32, ptr %200, align 4
%202 = icmp eq i32 %201, 46
br i1 %202, label %203, label %209
203: ; preds = %197
%204 = load i32, ptr %15, align 4
%205 = icmp eq i32 %204, 0
br i1 %205, label %206, label %207
206: ; preds = %203
br label %217
207: ; preds = %203
%208 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %215
209: ; preds = %197
%210 = load i32, ptr %18, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %211
%213 = load i32, ptr %212, align 4
%214 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %213)
br label %215
215: ; preds = %209, %207
br label %216
216: ; preds = %215
br label %217
217: ; preds = %216, %206
%218 = load i32, ptr %18, align 4
%219 = add nsw i32 %218, -1
store i32 %219, ptr %18, align 4
br label %187, !llvm.loop !9
220: ; preds = %196, %187
%221 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @DecideSmallBit(ptr noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Maximum(i32 noundef, i32 noundef) #2
declare i32 @ReverseNumber(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo4bxv9uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [500 x i8], align 16
%3 = alloca [500 x i8], align 16
%4 = alloca [500 x i32], align 16
%5 = alloca [500 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca 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
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 500, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 500, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2000, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 2000, i1 false)
%19 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
%21 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
%23 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%24 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%25 = call i64 @strlen(ptr noundef %24)
%26 = trunc i64 %25 to i32
%27 = call i32 @DecideSmallBit(ptr noundef %23, i32 noundef %26)
store i32 %27, ptr %6, align 4
%28 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%29 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%30 = call i64 @strlen(ptr noundef %29)
%31 = trunc i64 %30 to i32
%32 = call i32 @DecideSmallBit(ptr noundef %28, i32 noundef %31)
store i32 %32, ptr %7, align 4
%33 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%34 = call i64 @strlen(ptr noundef %33)
%35 = trunc i64 %34 to i32
store i32 %35, ptr %8, align 4
%36 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%37 = call i64 @strlen(ptr noundef %36)
%38 = trunc i64 %37 to i32
store i32 %38, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = sub nsw i32 %39, %40
store i32 %41, ptr %10, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %7, align 4
%44 = sub nsw i32 %42, %43
store i32 %44, ptr %11, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %7, align 4
%47 = call i32 @Maximum(i32 noundef %45, i32 noundef %46)
store i32 %47, ptr %12, align 4
%48 = load i32, ptr %10, align 4
%49 = load i32, ptr %11, align 4
%50 = call i32 @Maximum(i32 noundef %48, i32 noundef %49)
store i32 %50, ptr %13, align 4
%51 = load i32, ptr %12, align 4
%52 = load i32, ptr %13, align 4
%53 = add nsw i32 %51, %52
store i32 %53, ptr %14, align 4
%54 = getelementptr inbounds [500 x i8], ptr %2, i64 0, i64 0
%55 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 0
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %12, align 4
%58 = call i32 @ReverseNumber(ptr noundef %54, ptr noundef %55, i32 noundef %56, i32 noundef %57)
%59 = getelementptr inbounds [500 x i8], ptr %3, i64 0, i64 0
%60 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 0
%61 = load i32, ptr %7, align 4
%62 = load i32, ptr %12, align 4
%63 = call i32 @ReverseNumber(ptr noundef %59, ptr noundef %60, i32 noundef %61, i32 noundef %62)
store i32 0, ptr %15, align 4
store i32 0, ptr %16, align 4
%64 = load i32, ptr %16, align 4
%65 = load i32, ptr %12, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %.lr.ph, label %137
.lr.ph: ; preds = %0
br label %67
67: ; preds = %.lr.ph, %131
%68 = load i32, ptr %16, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %16, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %73
%75 = load i32, ptr %74, align 4
%76 = add nsw i32 %71, %75
%77 = load i32, ptr %16, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %78
store i32 %76, ptr %79, align 4
%80 = load i32, ptr %16, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %81
%83 = load i32, ptr %82, align 4
%84 = icmp sge i32 %83, 10
br i1 %84, label %85, label %110
85: ; preds = %67
%86 = load i32, ptr %16, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %87
%89 = load i32, ptr %88, align 4
%90 = sub nsw i32 %89, 10
store i32 %90, ptr %88, align 4
%91 = load i32, ptr %16, align 4
%92 = load i32, ptr %12, align 4
%93 = sub nsw i32 %92, 1
%94 = icmp eq i32 %91, %93
br i1 %94, label %95, label %102
95: ; preds = %85
%96 = load i32, ptr %16, align 4
%97 = add nsw i32 %96, 2
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %98
%100 = load i32, ptr %99, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %99, align 4
br label %109
102: ; preds = %85
%103 = load i32, ptr %16, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %105
%107 = load i32, ptr %106, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %106, align 4
br label %109
109: ; preds = %102, %95
br label %110
110: ; preds = %109, %67
%111 = load i32, ptr %16, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %112
%114 = load i32, ptr %113, align 4
%115 = icmp ne i32 %114, 0
br i1 %115, label %116, label %117
116: ; preds = %110
store i32 1, ptr %15, align 4
br label %117
117: ; preds = %116, %110
%118 = load i32, ptr %16, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %119
%121 = load i32, ptr %120, align 4
%122 = icmp eq i32 %121, 0
br i1 %122, label %123, label %130
123: ; preds = %117
%124 = load i32, ptr %15, align 4
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %130
126: ; preds = %123
%127 = load i32, ptr %16, align 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %128
store i32 97, ptr %129, align 4
br label %130
130: ; preds = %126, %123, %117
br label %131
131: ; preds = %130
%132 = load i32, ptr %16, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %16, align 4
%134 = load i32, ptr %16, align 4
%135 = load i32, ptr %12, align 4
%136 = icmp slt i32 %134, %135
br i1 %136, label %67, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %131
br label %137
137: ; preds = %._crit_edge, %0
%138 = load i32, ptr %12, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %17, align 4
%140 = load i32, ptr %17, align 4
%141 = load i32, ptr %14, align 4
%142 = icmp slt i32 %140, %141
br i1 %142, label %.lr.ph3, label %.loopexit1
.lr.ph3: ; preds = %137
br label %143
143: ; preds = %.lr.ph3, %182
%144 = load i32, ptr %17, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %145
%147 = load i32, ptr %146, align 4
%148 = load i32, ptr %17, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds [500 x i32], ptr %5, i64 0, i64 %149
%151 = load i32, ptr %150, align 4
%152 = add nsw i32 %147, %151
%153 = load i32, ptr %17, align 4
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %154
store i32 %152, ptr %155, align 4
%156 = load i32, ptr %17, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %157
%159 = load i32, ptr %158, align 4
%160 = icmp sge i32 %159, 10
br i1 %160, label %161, label %181
161: ; preds = %143
%162 = load i32, ptr %17, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %163
%165 = load i32, ptr %164, align 4
%166 = sub nsw i32 %165, 10
store i32 %166, ptr %164, align 4
%167 = load i32, ptr %17, align 4
%168 = add nsw i32 %167, 1
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %169
%171 = load i32, ptr %170, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %170, align 4
%173 = load i32, ptr %17, align 4
%174 = load i32, ptr %14, align 4
%175 = sub nsw i32 %174, 1
%176 = icmp eq i32 %173, %175
br i1 %176, label %177, label %180
177: ; preds = %161
%178 = load i32, ptr %14, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %14, align 4
br label %188
180: ; preds = %161
br label %181
181: ; preds = %180, %143
br label %182
182: ; preds = %181
%183 = load i32, ptr %17, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %17, align 4
%185 = load i32, ptr %17, align 4
%186 = load i32, ptr %14, align 4
%187 = icmp slt i32 %185, %186
br i1 %187, label %143, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %182
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %137
br label %188
188: ; preds = %.loopexit1, %177
%189 = load i32, ptr %14, align 4
%190 = sub nsw i32 %189, 1
store i32 %190, ptr %18, align 4
%191 = load i32, ptr %18, align 4
%192 = icmp sge i32 %191, 0
br i1 %192, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %188
br label %193
193: ; preds = %.lr.ph5, %220
%194 = load i32, ptr %18, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %195
%197 = load i32, ptr %196, align 4
%198 = icmp eq i32 %197, 97
br i1 %198, label %199, label %200
199: ; preds = %193
br label %225
200: ; preds = %193
%201 = load i32, ptr %18, align 4
%202 = sext i32 %201 to i64
%203 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %202
%204 = load i32, ptr %203, align 4
%205 = icmp eq i32 %204, 46
br i1 %205, label %206, label %212
206: ; preds = %200
%207 = load i32, ptr %15, align 4
%208 = icmp eq i32 %207, 0
br i1 %208, label %209, label %210
209: ; preds = %206
br label %220
210: ; preds = %206
%211 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %218
212: ; preds = %200
%213 = load i32, ptr %18, align 4
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [500 x i32], ptr %4, i64 0, i64 %214
%216 = load i32, ptr %215, align 4
%217 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %216)
br label %218
218: ; preds = %212, %210
br label %219
219: ; preds = %218
br label %220
220: ; preds = %219, %209
%221 = load i32, ptr %18, align 4
%222 = add nsw i32 %221, -1
store i32 %222, ptr %18, align 4
%223 = load i32, ptr %18, align 4
%224 = icmp sge i32 %223, 0
br i1 %224, label %193, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %220
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %188
br label %225
225: ; preds = %.loopexit, %199
%226 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @scanf(ptr noundef, ptr noundef) #2
declare i32 @DecideSmallBit(ptr noundef, i32 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @Maximum(i32 noundef, i32 noundef) #2
declare i32 @ReverseNumber(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbvp8__o5.c'
source_filename = "/tmp/tmpbvp8__o5.c"
target datalayout = "e-m:e-p270: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/tmpbvp8__o5.c"
target datalayout = "e-m:e-p270: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/tmpndc6a405.c'
source_filename = "/tmp/tmpndc6a405.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scope_benchmark() #0 {
%1 = call i32 (...) @scope_benchmark1()
%2 = call i32 (...) @scope_benchmark2()
%3 = call i32 (...) @scope_benchmark4()
%4 = call i32 (...) @scope_benchmark3()
%5 = call i32 (...) @scope_benchmark5()
ret void
}
declare i32 @scope_benchmark1(...) #1
declare i32 @scope_benchmark2(...) #1
declare i32 @scope_benchmark4(...) #1
declare i32 @scope_benchmark3(...) #1
declare i32 @scope_benchmark5(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpndc6a405.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scope_benchmark() #0 {
%1 = call i32 (...) @scope_benchmark1()
%2 = call i32 (...) @scope_benchmark2()
%3 = call i32 (...) @scope_benchmark4()
%4 = call i32 (...) @scope_benchmark3()
%5 = call i32 (...) @scope_benchmark5()
ret void
}
declare i32 @scope_benchmark1(...) #1
declare i32 @scope_benchmark2(...) #1
declare i32 @scope_benchmark4(...) #1
declare i32 @scope_benchmark3(...) #1
declare i32 @scope_benchmark5(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8d2sl_n7.c'
source_filename = "/tmp/tmp8d2sl_n7.c"
target datalayout = "e-m:e-p270: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"./input.txt\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"/sandbox/subdir/test_link\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [128 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i64 128, ptr %5, align 8
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i64 @symlink(ptr noundef %9, ptr noundef %10)
%12 = icmp eq i64 0, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%17 = load i64, ptr %5, align 8
%18 = call i64 @readlink(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = add nsw i64 %20, 1
%22 = icmp eq i64 %18, %21
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%26 = load ptr, ptr %2, align 8
%27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i64 0, %27
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fgetc(ptr noundef %37)
store i32 %38, ptr %7, align 4
br label %39
39: ; preds = %43, %0
%40 = load i32, ptr %7, align 4
%41 = load i32, ptr @EOF, align 4
%42 = icmp ne i32 %40, %41
br i1 %42, label %43, label %54
43: ; preds = %39
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr @stdout, align 4
%46 = call i32 @fputc(i32 noundef %44, i32 noundef %45)
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr @EOF, align 4
%49 = icmp ne i32 %47, %48
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 noundef %50)
%52 = load ptr, ptr %6, align 8
%53 = call i32 @fgetc(ptr noundef %52)
store i32 %53, ptr %7, align 4
br label %39, !llvm.loop !6
54: ; preds = %39
%55 = load i32, ptr %1, align 4
ret i32 %55
}
declare i32 @assert(i32 noundef) #1
declare i64 @symlink(ptr noundef, ptr noundef) #1
declare i64 @readlink(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fputc(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/tmp8d2sl_n7.c"
target datalayout = "e-m:e-p270: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"./input.txt\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"/sandbox/subdir/test_link\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@EOF = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca [128 x i8], align 16
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str.1, ptr %3, align 8
store i64 128, ptr %5, align 8
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %3, align 8
%11 = call i64 @symlink(ptr noundef %9, ptr noundef %10)
%12 = icmp eq i64 0, %11
%13 = zext i1 %12 to i32
%14 = call i32 @assert(i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%17 = load i64, ptr %5, align 8
%18 = call i64 @readlink(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = call i64 @strlen(ptr noundef %19)
%21 = add nsw i64 %20, 1
%22 = icmp eq i64 %18, %21
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%26 = load ptr, ptr %2, align 8
%27 = call i64 @strcmp(ptr noundef %25, ptr noundef %26)
%28 = icmp eq i64 0, %27
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.2)
store ptr %32, ptr %6, align 8
%33 = load ptr, ptr %6, align 8
%34 = icmp ne ptr %33, null
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fgetc(ptr noundef %37)
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr @EOF, align 4
%41 = icmp ne i32 %39, %40
br i1 %41, label %.lr.ph, label %56
.lr.ph: ; preds = %0
br label %42
42: ; preds = %.lr.ph, %42
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr @stdout, align 4
%45 = call i32 @fputc(i32 noundef %43, i32 noundef %44)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr @EOF, align 4
%48 = icmp ne i32 %46, %47
%49 = zext i1 %48 to i32
%50 = call i32 @assert(i32 noundef %49)
%51 = load ptr, ptr %6, align 8
%52 = call i32 @fgetc(ptr noundef %51)
store i32 %52, ptr %7, align 4
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr @EOF, align 4
%55 = icmp ne i32 %53, %54
br i1 %55, label %42, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %56
56: ; preds = %._crit_edge, %0
%57 = load i32, ptr %1, align 4
ret i32 %57
}
declare i32 @assert(i32 noundef) #1
declare i64 @symlink(ptr noundef, ptr noundef) #1
declare i64 @readlink(ptr noundef, ptr noundef, i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fputc(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/tmp_j8az7zt.c'
source_filename = "/tmp/tmp_j8az7zt.c"
target datalayout = "e-m:e-p270: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_j8az7zt.c"
target datalayout = "e-m:e-p270: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/tmp_q2ieeak.c'
source_filename = "/tmp/tmp_q2ieeak.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"*** CDFLIB ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftnstop(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_q2ieeak.c"
target datalayout = "e-m:e-p270: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 [22 x i8] c"*** CDFLIB ERROR: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ftnstop(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %9
5: ; preds = %1
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str, ptr noundef %7)
br label %9
9: ; preds = %5, %1
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5bayyge6.c'
source_filename = "/tmp/tmp5bayyge6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" %c %lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"FEJL!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan_data(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %2
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5bayyge6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" %c %lf\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"FEJL!!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @scan_data(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %2
ret void
}
declare i32 @scanf(ptr noundef, ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpn2aqo6y0.c'
source_filename = "/tmp/tmpn2aqo6y0.c"
target datalayout = "e-m:e-p270: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/tmpn2aqo6y0.c"
target datalayout = "e-m:e-p270: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/tmpwresdjnb.c'
source_filename = "/tmp/tmpwresdjnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @loop_fibonacci(i32 noundef 10)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @recursive_fibonacci(i32 noundef 10)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @loop_fibonacci(i32 noundef) #1
declare i32 @recursive_fibonacci(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/tmpwresdjnb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @loop_fibonacci(i32 noundef 10)
%2 = call i32 @printf(ptr noundef @.str, i32 noundef %1)
%3 = call i32 @recursive_fibonacci(i32 noundef 10)
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @loop_fibonacci(i32 noundef) #1
declare i32 @recursive_fibonacci(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/tmpbxzfu79m.c'
source_filename = "/tmp/tmpbxzfu79m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_token(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %5
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16, %5
store i64 0, ptr %6, align 8
br label %89
20: ; preds = %16
br label %21
21: ; preds = %29, %20
%22 = load ptr, ptr %11, align 8
%23 = call i32 @getc(ptr noundef %22)
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %12, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i64 0, ptr %6, align 8
br label %89
28: ; preds = %21
br label %29
29: ; preds = %28
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %12, align 4
%32 = call i64 @strchr(ptr noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %21, label %34, !llvm.loop !6
34: ; preds = %29
%35 = load i32, ptr %12, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
store i8 %36, ptr %38, align 1
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %12, align 4
%41 = call i64 @strchr(ptr noundef %39, i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %34
%44 = load i64, ptr %8, align 8
%45 = icmp ugt i64 %44, 1
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 1
store i8 0, ptr %48, align 1
br label %49
49: ; preds = %46, %43
store i64 1, ptr %6, align 8
br label %89
50: ; preds = %34
store i64 0, ptr %13, align 8
br label %51
51: ; preds = %78, %50
%52 = load i64, ptr %13, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %13, align 8
%54 = load i64, ptr %8, align 8
%55 = sub i64 %54, 1
%56 = icmp ult i64 %53, %55
br i1 %56, label %57, label %84
57: ; preds = %51
%58 = load ptr, ptr %11, align 8
%59 = call i32 @getc(ptr noundef %58)
store i32 %59, ptr %12, align 4
%60 = load i32, ptr %12, align 4
%61 = load i32, ptr @EOF, align 4
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %64
63: ; preds = %57
br label %84
64: ; preds = %57
%65 = load ptr, ptr %10, align 8
%66 = load i32, ptr %12, align 4
%67 = call i64 @strchr(ptr noundef %65, i32 noundef %66)
%68 = icmp ne i64 %67, 0
br i1 %68, label %74, label %69
69: ; preds = %64
%70 = load ptr, ptr %9, align 8
%71 = load i32, ptr %12, align 4
%72 = call i64 @strchr(ptr noundef %70, i32 noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %78
74: ; preds = %69, %64
%75 = load i32, ptr %12, align 4
%76 = load ptr, ptr %11, align 8
%77 = call i32 @ungetc(i32 noundef %75, ptr noundef %76)
br label %84
78: ; preds = %69
%79 = load i32, ptr %12, align 4
%80 = trunc i32 %79 to i8
%81 = load ptr, ptr %7, align 8
%82 = load i64, ptr %13, align 8
%83 = getelementptr inbounds i8, ptr %81, i64 %82
store i8 %80, ptr %83, align 1
br label %51, !llvm.loop !8
84: ; preds = %74, %63, %51
%85 = load ptr, ptr %7, align 8
%86 = load i64, ptr %13, align 8
%87 = getelementptr inbounds i8, ptr %85, i64 %86
store i8 0, ptr %87, align 1
%88 = load i64, ptr %13, align 8
store i64 %88, ptr %6, align 8
br label %89
89: ; preds = %84, %49, %27, %19
%90 = load i64, ptr %6, align 8
ret i64 %90
}
declare i32 @getc(ptr noundef) #1
declare i64 @strchr(ptr noundef, i32 noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbxzfu79m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @read_token(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i64, ptr %8, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %5
%17 = load ptr, ptr %7, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %20
19: ; preds = %16, %5
store i64 0, ptr %6, align 8
br label %93
20: ; preds = %16
br label %21
21: ; preds = %29, %20
%22 = load ptr, ptr %11, align 8
%23 = call i32 @getc(ptr noundef %22)
store i32 %23, ptr %12, align 4
%24 = load i32, ptr %12, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %21
store i64 0, ptr %6, align 8
br label %93
28: ; preds = %21
br label %29
29: ; preds = %28
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %12, align 4
%32 = call i64 @strchr(ptr noundef %30, i32 noundef %31)
%33 = icmp ne i64 %32, 0
br i1 %33, label %21, label %34, !llvm.loop !6
34: ; preds = %29
%35 = load i32, ptr %12, align 4
%36 = trunc i32 %35 to i8
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 0
store i8 %36, ptr %38, align 1
%39 = load ptr, ptr %10, align 8
%40 = load i32, ptr %12, align 4
%41 = call i64 @strchr(ptr noundef %39, i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %34
%44 = load i64, ptr %8, align 8
%45 = icmp ugt i64 %44, 1
br i1 %45, label %46, label %49
46: ; preds = %43
%47 = load ptr, ptr %7, align 8
%48 = getelementptr inbounds i8, ptr %47, i64 1
store i8 0, ptr %48, align 1
br label %49
49: ; preds = %46, %43
store i64 1, ptr %6, align 8
br label %93
50: ; preds = %34
store i64 0, ptr %13, align 8
%51 = load i64, ptr %13, align 8
%52 = add i64 %51, 1
store i64 %52, ptr %13, align 8
%53 = load i64, ptr %8, align 8
%54 = sub i64 %53, 1
%55 = icmp ult i64 %52, %54
br i1 %55, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %50
br label %56
56: ; preds = %.lr.ph, %77
%57 = load ptr, ptr %11, align 8
%58 = call i32 @getc(ptr noundef %57)
store i32 %58, ptr %12, align 4
%59 = load i32, ptr %12, align 4
%60 = load i32, ptr @EOF, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %63
62: ; preds = %56
br label %88
63: ; preds = %56
%64 = load ptr, ptr %10, align 8
%65 = load i32, ptr %12, align 4
%66 = call i64 @strchr(ptr noundef %64, i32 noundef %65)
%67 = icmp ne i64 %66, 0
br i1 %67, label %73, label %68
68: ; preds = %63
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %12, align 4
%71 = call i64 @strchr(ptr noundef %69, i32 noundef %70)
%72 = icmp ne i64 %71, 0
br i1 %72, label %73, label %77
73: ; preds = %68, %63
%74 = load i32, ptr %12, align 4
%75 = load ptr, ptr %11, align 8
%76 = call i32 @ungetc(i32 noundef %74, ptr noundef %75)
br label %88
77: ; preds = %68
%78 = load i32, ptr %12, align 4
%79 = trunc i32 %78 to i8
%80 = load ptr, ptr %7, align 8
%81 = load i64, ptr %13, align 8
%82 = getelementptr inbounds i8, ptr %80, i64 %81
store i8 %79, ptr %82, align 1
%83 = load i64, ptr %13, align 8
%84 = add i64 %83, 1
store i64 %84, ptr %13, align 8
%85 = load i64, ptr %8, align 8
%86 = sub i64 %85, 1
%87 = icmp ult i64 %84, %86
br i1 %87, label %56, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %77
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %50
br label %88
88: ; preds = %.loopexit, %73, %62
%89 = load ptr, ptr %7, align 8
%90 = load i64, ptr %13, align 8
%91 = getelementptr inbounds i8, ptr %89, i64 %90
store i8 0, ptr %91, align 1
%92 = load i64, ptr %13, align 8
store i64 %92, ptr %6, align 8
br label %93
93: ; preds = %88, %49, %27, %19
%94 = load i64, ptr %6, align 8
ret i64 %94
}
declare i32 @getc(ptr noundef) #1
declare i64 @strchr(ptr noundef, i32 noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpfaygbccp.c'
source_filename = "/tmp/tmpfaygbccp.c"
target datalayout = "e-m:e-p270: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 [2277 x i8] c"Usage: train [options] training_set_file [model_file]\0Aoptions:\0A-s type : set type of solver (default 1)\0A for multi-class classification\0A 0 -- L2-regularized logistic regression (primal)\0A 1 -- L2-regularized L2-loss support vector classification (dual)\0A 2 -- L2-regularized L2-loss support vector classification (primal)\0A 3 -- L2-regularized L1-loss support vector classification (dual)\0A 4 -- support vector classification by Crammer and Singer\0A 5 -- L1-regularized L2-loss support vector classification\0A 6 -- L1-regularized logistic regression\0A 7 -- L2-regularized logistic regression (dual)\0A for regression\0A 11 -- L2-regularized L2-loss support vector regression (primal)\0A 12 -- L2-regularized L2-loss support vector regression (dual)\0A 13 -- L2-regularized L1-loss support vector regression (dual)\0A for outlier detection\0A 21 -- one-class support vector machine (dual)\0A-c cost : set the parameter C (default 1)\0A-p epsilon : set the epsilon in loss function of SVR (default 0.1)\0A-n nu : set the parameter nu of one-class SVM (default 0.5)\0A-e epsilon : set tolerance of termination criterion\0A -s 0 and 2\0A |f'(w)|_2 <= eps*min(pos,neg)/l*|f'(w0)|_2,\0A where f is the primal function and pos/neg are # of\0A positive/negative data (default 0.01)\0A -s 11\0A |f'(w)|_2 <= eps*|f'(w0)|_2 (default 0.0001)\0A -s 1, 3, 4, 7, and 21\0A Dual maximal violation <= eps; similar to libsvm (default 0.1 except 0.01 for -s 21)\0A -s 5 and 6\0A |f'(w)|_1 <= eps*min(pos,neg)/l*|f'(w0)|_1,\0A where f is the primal function (default 0.01)\0A -s 12 and 13\0A |f'(alpha)|_1 <= eps |f'(alpha0)|,\0A where f is the dual function (default 0.1)\0A-B bias : if bias >= 0, instance x becomes [x; bias]; if < 0, no bias term added (default -1)\0A-R : not regularize the bias; must with -B 1 to have the bias; DON'T use this unless you know what it is\0A (for -s 0, 2, 5, 6, 11)\0A-wi weight: weights adjust the parameter C of different classes (see README for details)\0A-v n: n-fold cross validation mode\0A-C : find parameters (C for -s 0, 2 and C, p for -s 11)\0A-q : quiet mode (no outputs)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_with_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfaygbccp.c"
target datalayout = "e-m:e-p270: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 [2277 x i8] c"Usage: train [options] training_set_file [model_file]\0Aoptions:\0A-s type : set type of solver (default 1)\0A for multi-class classification\0A 0 -- L2-regularized logistic regression (primal)\0A 1 -- L2-regularized L2-loss support vector classification (dual)\0A 2 -- L2-regularized L2-loss support vector classification (primal)\0A 3 -- L2-regularized L1-loss support vector classification (dual)\0A 4 -- support vector classification by Crammer and Singer\0A 5 -- L1-regularized L2-loss support vector classification\0A 6 -- L1-regularized logistic regression\0A 7 -- L2-regularized logistic regression (dual)\0A for regression\0A 11 -- L2-regularized L2-loss support vector regression (primal)\0A 12 -- L2-regularized L2-loss support vector regression (dual)\0A 13 -- L2-regularized L1-loss support vector regression (dual)\0A for outlier detection\0A 21 -- one-class support vector machine (dual)\0A-c cost : set the parameter C (default 1)\0A-p epsilon : set the epsilon in loss function of SVR (default 0.1)\0A-n nu : set the parameter nu of one-class SVM (default 0.5)\0A-e epsilon : set tolerance of termination criterion\0A -s 0 and 2\0A |f'(w)|_2 <= eps*min(pos,neg)/l*|f'(w0)|_2,\0A where f is the primal function and pos/neg are # of\0A positive/negative data (default 0.01)\0A -s 11\0A |f'(w)|_2 <= eps*|f'(w0)|_2 (default 0.0001)\0A -s 1, 3, 4, 7, and 21\0A Dual maximal violation <= eps; similar to libsvm (default 0.1 except 0.01 for -s 21)\0A -s 5 and 6\0A |f'(w)|_1 <= eps*min(pos,neg)/l*|f'(w0)|_1,\0A where f is the primal function (default 0.01)\0A -s 12 and 13\0A |f'(alpha)|_1 <= eps |f'(alpha0)|,\0A where f is the dual function (default 0.1)\0A-B bias : if bias >= 0, instance x becomes [x; bias]; if < 0, no bias term added (default -1)\0A-R : not regularize the bias; must with -B 1 to have the bias; DON'T use this unless you know what it is\0A (for -s 0, 2, 5, 6, 11)\0A-wi weight: weights adjust the parameter C of different classes (see README for details)\0A-v n: n-fold cross validation mode\0A-C : find parameters (C for -s 0, 2 and C, p for -s 11)\0A-q : quiet mode (no outputs)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @exit_with_help() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplfcve3ro.c'
source_filename = "/tmp/tmplfcve3ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = or i64 %4, 3
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplfcve3ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag3(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i64
%5 = or i64 %4, 3
ret i64 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgf03edp3.c'
source_filename = "/tmp/tmpgf03edp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @__builtin_ia32_rdseed_si_step(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @bar(i32 noundef %6)
ret void
}
declare i32 @__builtin_ia32_rdseed_si_step(ptr noundef) #1
declare i32 @bar(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/tmpgf03edp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @__builtin_ia32_rdseed_si_step(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @bar(i32 noundef %6)
ret void
}
declare i32 @__builtin_ia32_rdseed_si_step(ptr noundef) #1
declare i32 @bar(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/tmpnjjem9p6.c'
source_filename = "/tmp/tmpnjjem9p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGKILL = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@SIG_SETMASK = 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/tmpnjjem9p6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGKILL = dso_local global i32 0, align 4
@SIGSTOP = dso_local global i32 0, align 4
@SIG_SETMASK = 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/tmp9n7iwz4o.c'
source_filename = "/tmp/tmp9n7iwz4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAX_MACHINE_NAME = dso_local global i32 0, align 4
@_SC_NGROUPS_MAX = dso_local global i32 0, align 4
@NGRPS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @authunix_create_default() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = load i32, ptr @MAX_MACHINE_NAME, align 4
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %2, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %3, align 8
%13 = load i32, ptr @_SC_NGROUPS_MAX, align 4
%14 = call i32 @sysconf(i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = alloca i32, i64 %16, align 16
store i64 %16, ptr %7, align 8
%18 = load i32, ptr @MAX_MACHINE_NAME, align 4
%19 = call i32 @gethostname(ptr noundef %12, i32 noundef %18)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 (...) @abort() #4
unreachable
23: ; preds = %0
%24 = load i32, ptr @MAX_MACHINE_NAME, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %12, i64 %25
store i8 0, ptr %26, align 1
%27 = call i32 (...) @geteuid()
store i32 %27, ptr %4, align 4
%28 = call i32 (...) @getegid()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 @getgroups(i32 noundef %29, ptr noundef %17)
store i32 %30, ptr %1, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %23
%33 = call i32 (...) @abort() #4
unreachable
34: ; preds = %23
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr @NGRPS, align 4
%38 = load i32, ptr %1, align 4
%39 = call i32 @MIN(i32 noundef %37, i32 noundef %38)
%40 = call ptr @authunix_create(ptr noundef %12, i32 noundef %35, i32 noundef %36, i32 noundef %39, ptr noundef %17)
%41 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %41)
ret ptr %40
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysconf(i32 noundef) #2
declare i32 @gethostname(ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @geteuid(...) #2
declare i32 @getegid(...) #2
declare i32 @getgroups(i32 noundef, ptr noundef) #2
declare ptr @authunix_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @MIN(i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9n7iwz4o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAX_MACHINE_NAME = dso_local global i32 0, align 4
@_SC_NGROUPS_MAX = dso_local global i32 0, align 4
@NGRPS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @authunix_create_default() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = load i32, ptr @MAX_MACHINE_NAME, align 4
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %2, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %3, align 8
%13 = load i32, ptr @_SC_NGROUPS_MAX, align 4
%14 = call i32 @sysconf(i32 noundef %13)
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = zext i32 %15 to i64
%17 = alloca i32, i64 %16, align 16
store i64 %16, ptr %7, align 8
%18 = load i32, ptr @MAX_MACHINE_NAME, align 4
%19 = call i32 @gethostname(ptr noundef %12, i32 noundef %18)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %23
21: ; preds = %0
%22 = call i32 (...) @abort() #4
unreachable
23: ; preds = %0
%24 = load i32, ptr @MAX_MACHINE_NAME, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %12, i64 %25
store i8 0, ptr %26, align 1
%27 = call i32 (...) @geteuid()
store i32 %27, ptr %4, align 4
%28 = call i32 (...) @getegid()
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = call i32 @getgroups(i32 noundef %29, ptr noundef %17)
store i32 %30, ptr %1, align 4
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %23
%33 = call i32 (...) @abort() #4
unreachable
34: ; preds = %23
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = load i32, ptr @NGRPS, align 4
%38 = load i32, ptr %1, align 4
%39 = call i32 @MIN(i32 noundef %37, i32 noundef %38)
%40 = call ptr @authunix_create(ptr noundef %12, i32 noundef %35, i32 noundef %36, i32 noundef %39, ptr noundef %17)
%41 = load ptr, ptr %2, align 8
call void @llvm.stackrestore(ptr %41)
ret ptr %40
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @sysconf(i32 noundef) #2
declare i32 @gethostname(ptr noundef, i32 noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @geteuid(...) #2
declare i32 @getegid(...) #2
declare i32 @getgroups(i32 noundef, ptr noundef) #2
declare ptr @authunix_create(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @MIN(i32 noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4_diifjc.c'
source_filename = "/tmp/tmp4_diifjc.c"
target datalayout = "e-m:e-p270: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"please input the width and height: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"The area is: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load float, ptr %6, align 4
%13 = load float, ptr %7, align 4
%14 = fmul float %12, %13
store float %14, ptr %8, align 4
%15 = load float, ptr %8, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4_diifjc.c"
target datalayout = "e-m:e-p270: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"please input the width and height: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"The area is: %.2f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %7)
%12 = load float, ptr %6, align 4
%13 = load float, ptr %7, align 4
%14 = fmul float %12, %13
store float %14, ptr %8, align 4
%15 = load float, ptr %8, align 4
%16 = fpext float %15 to double
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy0wjswy8.c'
source_filename = "/tmp/tmpy0wjswy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SAL_Thread_Yield() #0 {
%1 = call i32 (...) @pthread_yield()
ret void
}
declare i32 @pthread_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy0wjswy8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SAL_Thread_Yield() #0 {
%1 = call i32 (...) @pthread_yield()
ret void
}
declare i32 @pthread_yield(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvputef7a.c'
source_filename = "/tmp/tmpvputef7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SkipListDBClose(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @SkipListFree(ptr noundef %3)
ret void
}
declare i32 @SkipListFree(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/tmpvputef7a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SkipListDBClose(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @SkipListFree(ptr noundef %3)
ret void
}
declare i32 @SkipListFree(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/tmpp8fyqqg8.c'
source_filename = "/tmp/tmpp8fyqqg8.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [47 x i8] c"Fail to create udp server: Invalid ip or port\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Fail to bind\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_create(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 -1, ptr %8, align 4
store i32 -1, ptr %9, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 1024
br i1 %18, label %19, label %21
19: ; preds = %16, %13
%20 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %52
21: ; preds = %16, %3
%22 = load i32, ptr @AF_INET, align 4
%23 = load i32, ptr @SOCK_DGRAM, align 4
%24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %52
29: ; preds = %21
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %50
32: ; preds = %29
%33 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12)
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %5, align 8
%37 = call i32 @inet_addr(ptr noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @htons(i32 noundef %40)
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %8, align 4
%44 = call i32 @bind(i32 noundef %43, ptr noundef %10, i32 noundef 12)
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %32
%48 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %52
49: ; preds = %32
br label %50
50: ; preds = %49, %29
%51 = load i32, ptr %8, align 4
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %50, %47, %27, %19
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp8fyqqg8.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [47 x i8] c"Fail to create udp server: Invalid ip or port\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [14 x i8] c"socket failed\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Fail to bind\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @udp_socket_create(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 -1, ptr %8, align 4
store i32 -1, ptr %9, align 4
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %21
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 1024
br i1 %18, label %19, label %21
19: ; preds = %16, %13
%20 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %4, align 4
br label %52
21: ; preds = %16, %3
%22 = load i32, ptr @AF_INET, align 4
%23 = load i32, ptr @SOCK_DGRAM, align 4
%24 = call i32 @socket(i32 noundef %22, i32 noundef %23, i32 noundef 0)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %52
29: ; preds = %21
%30 = load i32, ptr %7, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %50
32: ; preds = %29
%33 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 12)
%34 = load i32, ptr @AF_INET, align 4
%35 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %34, ptr %35, align 4
%36 = load ptr, ptr %5, align 8
%37 = call i32 @inet_addr(ptr noundef %36)
%38 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
store i32 %37, ptr %39, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @htons(i32 noundef %40)
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %8, align 4
%44 = call i32 @bind(i32 noundef %43, ptr noundef %10, i32 noundef 12)
store i32 %44, ptr %9, align 4
%45 = load i32, ptr %9, align 4
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %32
%48 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %4, align 4
br label %52
49: ; preds = %32
br label %50
50: ; preds = %49, %29
%51 = load i32, ptr %8, align 4
store i32 %51, ptr %4, align 4
br label %52
52: ; preds = %50, %47, %27, %19
%53 = load i32, ptr %4, align 4
ret i32 %53
}
declare i32 @printf(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwyocaayw.c'
source_filename = "/tmp/tmpwyocaayw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_named_tobject_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %8, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %4
store ptr null, ptr %5, align 8
br label %29
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = call ptr @find_name_type_katcp(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store ptr null, ptr %5, align 8
br label %29
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %9, align 4
%28 = call ptr @create_tobject_katcp(ptr noundef %25, ptr noundef %26, i32 noundef %27)
store ptr %28, ptr %5, align 8
br label %29
29: ; preds = %24, %23, %16
%30 = load ptr, ptr %5, align 8
ret ptr %30
}
declare ptr @find_name_type_katcp(ptr noundef, ptr noundef) #1
declare ptr @create_tobject_katcp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwyocaayw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_named_tobject_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %8, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %16, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %13, %4
store ptr null, ptr %5, align 8
br label %29
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %8, align 8
%20 = call ptr @find_name_type_katcp(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store ptr null, ptr %5, align 8
br label %29
24: ; preds = %17
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %10, align 8
%27 = load i32, ptr %9, align 4
%28 = call ptr @create_tobject_katcp(ptr noundef %25, ptr noundef %26, i32 noundef %27)
store ptr %28, ptr %5, align 8
br label %29
29: ; preds = %24, %23, %16
%30 = load ptr, ptr %5, align 8
ret ptr %30
}
declare ptr @find_name_type_katcp(ptr noundef, ptr noundef) #1
declare ptr @create_tobject_katcp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjmc6ywf0.c'
source_filename = "/tmp/tmpjmc6ywf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %4, align 4
br label %15
15: ; preds = %12, %3
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %27, %15
%18 = load i32, ptr %9, align 4
%19 = urem i32 %18, 10
%20 = add i32 %19, 48
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 %21, ptr %26, align 1
br label %27
27: ; preds = %17
%28 = load i32, ptr %9, align 4
%29 = udiv i32 %28, 10
store i32 %29, ptr %9, align 4
%30 = icmp ugt i32 %29, 0
br i1 %30, label %17, label %31, !llvm.loop !6
31: ; preds = %27
br label %32
32: ; preds = %40, %31
%33 = load i32, ptr %7, align 4
%34 = load i32, ptr %8, align 4
%35 = icmp slt i32 %34, 0
%36 = zext i1 %35 to i32
%37 = add nsw i32 %33, %36
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %46
40: ; preds = %32
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = sext i32 %42 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
store i8 48, ptr %45, align 1
br label %32, !llvm.loop !8
46: ; preds = %32
%47 = load i32, ptr %8, align 4
%48 = icmp slt i32 %47, 0
br i1 %48, label %49, label %55
49: ; preds = %46
%50 = load ptr, ptr %5, align 8
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds i8, ptr %50, i64 %53
store i8 45, ptr %54, align 1
br label %55
55: ; preds = %49, %46
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
store i8 0, ptr %59, align 1
%60 = load ptr, ptr %5, align 8
%61 = call i32 @reverse(ptr noundef %60)
ret void
}
declare i32 @reverse(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/tmpjmc6ywf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %4, align 4
store i32 %10, ptr %8, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr %4, align 4
%14 = sub nsw i32 0, %13
store i32 %14, ptr %4, align 4
br label %15
15: ; preds = %12, %3
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %17
17: ; preds = %27, %15
%18 = load i32, ptr %9, align 4
%19 = urem i32 %18, 10
%20 = add i32 %19, 48
%21 = trunc i32 %20 to i8
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
store i8 %21, ptr %26, align 1
br label %27
27: ; preds = %17
%28 = load i32, ptr %9, align 4
%29 = udiv i32 %28, 10
store i32 %29, ptr %9, align 4
%30 = icmp ugt i32 %29, 0
br i1 %30, label %17, label %31, !llvm.loop !6
31: ; preds = %27
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp slt i32 %33, 0
%35 = zext i1 %34 to i32
%36 = add nsw i32 %32, %35
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %.lr.ph, label %52
.lr.ph: ; preds = %31
br label %39
39: ; preds = %.lr.ph, %39
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = sext i32 %41 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
store i8 48, ptr %44, align 1
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp slt i32 %46, 0
%48 = zext i1 %47 to i32
%49 = add nsw i32 %45, %48
%50 = load i32, ptr %6, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %39, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %39
br label %52
52: ; preds = %._crit_edge, %31
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %53, 0
br i1 %54, label %55, label %61
55: ; preds = %52
%56 = load ptr, ptr %5, align 8
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
%59 = sext i32 %57 to i64
%60 = getelementptr inbounds i8, ptr %56, i64 %59
store i8 45, ptr %60, align 1
br label %61
61: ; preds = %55, %52
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
store i8 0, ptr %65, align 1
%66 = load ptr, ptr %5, align 8
%67 = call i32 @reverse(ptr noundef %66)
ret void
}
declare i32 @reverse(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/tmp1m2204ne.c'
source_filename = "/tmp/tmp1m2204ne.c"
target datalayout = "e-m:e-p270: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 [196 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaomingPan/wifidog/refs/heads/ar9344/build_dir/target-mips_r2_uClibc-0.9.33.2/wifidog-20130917/src/safe.c\00", align 1
@LOG_CRIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"Failed to malloc %d bytes of memory: %s. Bailing out\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %15, label %8
8: ; preds = %1
%9 = load i32, ptr @LOG_CRIT, align 4
%10 = load i64, ptr %2, align 8
%11 = load i32, ptr @errno, align 4
%12 = call i32 @strerror(i32 noundef %11)
%13 = call i32 @_debug(ptr noundef @.str, i32 noundef 49, i32 noundef %9, ptr noundef @.str.1, i64 noundef %10, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 1) #5
unreachable
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmp1m2204ne.c"
target datalayout = "e-m:e-p270: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 [196 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/GaomingPan/wifidog/refs/heads/ar9344/build_dir/target-mips_r2_uClibc-0.9.33.2/wifidog-20130917/src/safe.c\00", align 1
@LOG_CRIT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [54 x i8] c"Failed to malloc %d bytes of memory: %s. Bailing out\00", align 1
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @safe_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #4
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %15, label %8
8: ; preds = %1
%9 = load i32, ptr @LOG_CRIT, align 4
%10 = load i64, ptr %2, align 8
%11 = load i32, ptr @errno, align 4
%12 = call i32 @strerror(i32 noundef %11)
%13 = call i32 @_debug(ptr noundef @.str, i32 noundef 49, i32 noundef %9, ptr noundef @.str.1, i64 noundef %10, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 1) #5
unreachable
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
ret ptr %16
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @_debug(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i64 noundef, i32 noundef) #2
declare i32 @strerror(i32 noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { allocsize(0) }
attributes #5 = { 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/tmpluckerqn.c'
source_filename = "/tmp/tmpluckerqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"conftest.mmap\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @O_RDWR, align 4
%7 = load i32, ptr @O_CREAT, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_TRUNC, align 4
%10 = or i32 %8, %9
%11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10, i32 noundef 438)
store i32 %11, ptr %4, align 4
store i32 7, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %23, %16
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 10000
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = call i32 @write(i32 noundef %21, ptr noundef %3, i32 noundef 4)
br label %23
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %3, align 4
br label %17, !llvm.loop !6
26: ; preds = %17
%27 = load i32, ptr %4, align 4
%28 = call i32 @close(i32 noundef %27)
%29 = call i64 (...) @fork()
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %69
31: ; preds = %26
%32 = load i32, ptr @O_RDWR, align 4
%33 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %32)
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = call i32 @exit(i32 noundef 1) #3
unreachable
38: ; preds = %31
%39 = load i32, ptr @PROT_READ, align 4
%40 = load i32, ptr @PROT_WRITE, align 4
%41 = or i32 %39, %40
%42 = load i32, ptr @MAP_SHARED, align 4
%43 = or i32 0, %42
%44 = load i32, ptr %4, align 4
%45 = call i64 @mmap(ptr noundef null, i32 noundef 40000, i32 noundef %41, i32 noundef %43, i32 noundef %44, i32 noundef 0)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %2, align 8
br label %47
47: ; preds = %58, %38
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, -1
store i32 %49, ptr %5, align 4
%50 = icmp ne i32 %48, 0
br i1 %50, label %51, label %56
51: ; preds = %47
%52 = load ptr, ptr %2, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 9124
%54 = load i32, ptr %53, align 4
%55 = icmp ne i32 %54, 55732
br label %56
56: ; preds = %51, %47
%57 = phi i1 [ false, %47 ], [ %55, %51 ]
br i1 %57, label %58, label %60
58: ; preds = %56
%59 = call i32 @sleep(i32 noundef 1)
br label %47, !llvm.loop !8
60: ; preds = %56
%61 = load i32, ptr %5, align 4
%62 = icmp sle i32 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %60
%64 = call i32 @exit(i32 noundef 1) #3
unreachable
65: ; preds = %60
%66 = load ptr, ptr %2, align 8
%67 = getelementptr inbounds i32, ptr %66, i64 1763
store i32 7268, ptr %67, align 4
%68 = call i32 @exit(i32 noundef 0) #3
unreachable
69: ; preds = %26
%70 = load i32, ptr @O_RDWR, align 4
%71 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %70)
store i32 %71, ptr %4, align 4
%72 = load i32, ptr %4, align 4
%73 = icmp eq i32 %72, -1
br i1 %73, label %74, label %76
74: ; preds = %69
%75 = call i32 @exit(i32 noundef 1) #3
unreachable
76: ; preds = %69
%77 = load i32, ptr @PROT_READ, align 4
%78 = load i32, ptr @PROT_WRITE, align 4
%79 = or i32 %77, %78
%80 = load i32, ptr @MAP_SHARED, align 4
%81 = or i32 0, %80
%82 = load i32, ptr %4, align 4
%83 = call i64 @mmap(ptr noundef null, i32 noundef 40000, i32 noundef %79, i32 noundef %81, i32 noundef %82, i32 noundef 0)
%84 = inttoptr i64 %83 to ptr
store ptr %84, ptr %2, align 8
%85 = load ptr, ptr %2, align 8
%86 = icmp eq ptr %85, inttoptr (i64 -1 to ptr)
br i1 %86, label %87, label %89
87: ; preds = %76
%88 = call i32 @exit(i32 noundef 1) #3
unreachable
89: ; preds = %76
%90 = load ptr, ptr %2, align 8
%91 = getelementptr inbounds i32, ptr %90, i64 9124
store i32 55732, ptr %91, align 4
br label %92
92: ; preds = %103, %89
%93 = load i32, ptr %5, align 4
%94 = add nsw i32 %93, -1
store i32 %94, ptr %5, align 4
%95 = icmp ne i32 %93, 0
br i1 %95, label %96, label %101
96: ; preds = %92
%97 = load ptr, ptr %2, align 8
%98 = getelementptr inbounds i32, ptr %97, i64 1763
%99 = load i32, ptr %98, align 4
%100 = icmp ne i32 %99, 7268
br label %101
101: ; preds = %96, %92
%102 = phi i1 [ false, %92 ], [ %100, %96 ]
br i1 %102, label %103, label %105
103: ; preds = %101
%104 = call i32 @sleep(i32 noundef 1)
br label %92, !llvm.loop !9
105: ; preds = %101
%106 = call i32 @unlink(ptr noundef @.str)
%107 = load i32, ptr %5, align 4
%108 = icmp sgt i32 %107, 0
br i1 %108, label %109, label %111
109: ; preds = %105
%110 = call i32 @exit(i32 noundef 0) #3
unreachable
111: ; preds = %105
%112 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @fork(...) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @unlink(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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpluckerqn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"conftest.mmap\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = load i32, ptr @O_RDWR, align 4
%7 = load i32, ptr @O_CREAT, align 4
%8 = or i32 %6, %7
%9 = load i32, ptr @O_TRUNC, align 4
%10 = or i32 %8, %9
%11 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %10, i32 noundef 438)
store i32 %11, ptr %4, align 4
store i32 7, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %0
%15 = call i32 @exit(i32 noundef 1) #3
unreachable
16: ; preds = %0
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 10000
br i1 %18, label %.lr.ph, label %27
.lr.ph: ; preds = %16
br label %19
19: ; preds = %.lr.ph, %22
%20 = load i32, ptr %4, align 4
%21 = call i32 @write(i32 noundef %20, ptr noundef %3, i32 noundef 4)
br label %22
22: ; preds = %19
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %25, 10000
br i1 %26, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %27
27: ; preds = %._crit_edge, %16
%28 = load i32, ptr %4, align 4
%29 = call i32 @close(i32 noundef %28)
%30 = call i64 (...) @fork()
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %70
32: ; preds = %27
%33 = load i32, ptr @O_RDWR, align 4
%34 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %33)
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %39
37: ; preds = %32
%38 = call i32 @exit(i32 noundef 1) #3
unreachable
39: ; preds = %32
%40 = load i32, ptr @PROT_READ, align 4
%41 = load i32, ptr @PROT_WRITE, align 4
%42 = or i32 %40, %41
%43 = load i32, ptr @MAP_SHARED, align 4
%44 = or i32 0, %43
%45 = load i32, ptr %4, align 4
%46 = call i64 @mmap(ptr noundef null, i32 noundef 40000, i32 noundef %42, i32 noundef %44, i32 noundef %45, i32 noundef 0)
%47 = inttoptr i64 %46 to ptr
store ptr %47, ptr %2, align 8
br label %48
48: ; preds = %59, %39
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %5, align 4
%51 = icmp ne i32 %49, 0
br i1 %51, label %52, label %57
52: ; preds = %48
%53 = load ptr, ptr %2, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 9124
%55 = load i32, ptr %54, align 4
%56 = icmp ne i32 %55, 55732
br label %57
57: ; preds = %52, %48
%58 = phi i1 [ false, %48 ], [ %56, %52 ]
br i1 %58, label %59, label %61
59: ; preds = %57
%60 = call i32 @sleep(i32 noundef 1)
br label %48, !llvm.loop !8
61: ; preds = %57
%62 = load i32, ptr %5, align 4
%63 = icmp sle i32 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = call i32 @exit(i32 noundef 1) #3
unreachable
66: ; preds = %61
%67 = load ptr, ptr %2, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 1763
store i32 7268, ptr %68, align 4
%69 = call i32 @exit(i32 noundef 0) #3
unreachable
70: ; preds = %27
%71 = load i32, ptr @O_RDWR, align 4
%72 = call i32 (ptr, i32, ...) @open(ptr noundef @.str, i32 noundef %71)
store i32 %72, ptr %4, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %77
75: ; preds = %70
%76 = call i32 @exit(i32 noundef 1) #3
unreachable
77: ; preds = %70
%78 = load i32, ptr @PROT_READ, align 4
%79 = load i32, ptr @PROT_WRITE, align 4
%80 = or i32 %78, %79
%81 = load i32, ptr @MAP_SHARED, align 4
%82 = or i32 0, %81
%83 = load i32, ptr %4, align 4
%84 = call i64 @mmap(ptr noundef null, i32 noundef 40000, i32 noundef %80, i32 noundef %82, i32 noundef %83, i32 noundef 0)
%85 = inttoptr i64 %84 to ptr
store ptr %85, ptr %2, align 8
%86 = load ptr, ptr %2, align 8
%87 = icmp eq ptr %86, inttoptr (i64 -1 to ptr)
br i1 %87, label %88, label %90
88: ; preds = %77
%89 = call i32 @exit(i32 noundef 1) #3
unreachable
90: ; preds = %77
%91 = load ptr, ptr %2, align 8
%92 = getelementptr inbounds i32, ptr %91, i64 9124
store i32 55732, ptr %92, align 4
br label %93
93: ; preds = %104, %90
%94 = load i32, ptr %5, align 4
%95 = add nsw i32 %94, -1
store i32 %95, ptr %5, align 4
%96 = icmp ne i32 %94, 0
br i1 %96, label %97, label %102
97: ; preds = %93
%98 = load ptr, ptr %2, align 8
%99 = getelementptr inbounds i32, ptr %98, i64 1763
%100 = load i32, ptr %99, align 4
%101 = icmp ne i32 %100, 7268
br label %102
102: ; preds = %97, %93
%103 = phi i1 [ false, %93 ], [ %101, %97 ]
br i1 %103, label %104, label %106
104: ; preds = %102
%105 = call i32 @sleep(i32 noundef 1)
br label %93, !llvm.loop !9
106: ; preds = %102
%107 = call i32 @unlink(ptr noundef @.str)
%108 = load i32, ptr %5, align 4
%109 = icmp sgt i32 %108, 0
br i1 %109, label %110, label %112
110: ; preds = %106
%111 = call i32 @exit(i32 noundef 0) #3
unreachable
112: ; preds = %106
%113 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @open(ptr noundef, i32 noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i64 @fork(...) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @unlink(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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpbq7gfali.c'
source_filename = "/tmp/tmpbq7gfali.c"
target datalayout = "e-m:e-p270: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/tmpbq7gfali.c"
target datalayout = "e-m:e-p270: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/tmpjnmn3u3f.c'
source_filename = "/tmp/tmpjnmn3u3f.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i64 0, ptr %7, align 8
br label %9
9: ; preds = %31, %0
%10 = load i64, ptr %7, align 8
%11 = load i64, ptr %6, align 8
%12 = icmp slt i64 %10, %11
br i1 %12, label %13, label %34
13: ; preds = %9
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i64 1, ptr %3, align 8
store i64 1, ptr %4, align 8
br label %15
15: ; preds = %25, %13
%16 = load i64, ptr %4, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp slt i64 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load i64, ptr %4, align 8
%21 = call i64 @pow(i32 noundef 2, i64 noundef %20)
store i64 %21, ptr %2, align 8
%22 = load i64, ptr %2, align 8
%23 = load i64, ptr %3, align 8
%24 = add nsw i64 %23, %22
store i64 %24, ptr %3, align 8
br label %25
25: ; preds = %19
%26 = load i64, ptr %4, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %4, align 8
br label %15, !llvm.loop !6
28: ; preds = %15
%29 = load i64, ptr %3, align 8
%30 = call i32 @printf(ptr noundef @.str.1, i64 noundef %29)
br label %31
31: ; preds = %28
%32 = load i64, ptr %7, align 8
%33 = add nsw i64 %32, 1
store i64 %33, ptr %7, align 8
br label %9, !llvm.loop !8
34: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @pow(i32 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjnmn3u3f.c"
target datalayout = "e-m:e-p270: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"%lld\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 1, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
store i64 0, ptr %7, align 8
%9 = load i64, ptr %7, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp slt i64 %9, %10
br i1 %11, label %.lr.ph2, label %38
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %32
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
store i64 1, ptr %3, align 8
store i64 1, ptr %4, align 8
%14 = load i64, ptr %4, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp slt i64 %14, %15
br i1 %16, label %.lr.ph, label %29
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %23
%18 = load i64, ptr %4, align 8
%19 = call i64 @pow(i32 noundef 2, i64 noundef %18)
store i64 %19, ptr %2, align 8
%20 = load i64, ptr %2, align 8
%21 = load i64, ptr %3, align 8
%22 = add nsw i64 %21, %20
store i64 %22, ptr %3, align 8
br label %23
23: ; preds = %17
%24 = load i64, ptr %4, align 8
%25 = add nsw i64 %24, 1
store i64 %25, ptr %4, align 8
%26 = load i64, ptr %4, align 8
%27 = load i64, ptr %5, align 8
%28 = icmp slt i64 %26, %27
br i1 %28, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %12
%30 = load i64, ptr %3, align 8
%31 = call i32 @printf(ptr noundef @.str.1, i64 noundef %30)
br label %32
32: ; preds = %29
%33 = load i64, ptr %7, align 8
%34 = add nsw i64 %33, 1
store i64 %34, ptr %7, align 8
%35 = load i64, ptr %7, align 8
%36 = load i64, ptr %6, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %38
38: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @pow(i32 noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprlt09q6w.c'
source_filename = "/tmp/tmprlt09q6w.c"
target datalayout = "e-m:e-p270: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
@EAGAIN = dso_local global i64 0, align 8
@EWOULDBLOCK = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @full_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
br label %10
10: ; preds = %36, %33, %3
%11 = load i64, ptr %8, align 8
%12 = load i64, ptr %7, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %14, label %40
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %8, align 8
%18 = getelementptr inbounds i32, ptr %16, i64 %17
%19 = load i64, ptr %7, align 8
%20 = load i64, ptr %8, align 8
%21 = sub i64 %19, %20
%22 = call i64 @read(i32 noundef %15, ptr noundef %18, i64 noundef %21)
store i64 %22, ptr %9, align 8
%23 = load i64, ptr %9, align 8
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %36
25: ; preds = %14
%26 = load i64, ptr @errno, align 8
%27 = load i64, ptr @EAGAIN, align 8
%28 = icmp eq i64 %26, %27
br i1 %28, label %33, label %29
29: ; preds = %25
%30 = load i64, ptr @errno, align 8
%31 = load i64, ptr @EWOULDBLOCK, align 8
%32 = icmp eq i64 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29, %25
br label %10, !llvm.loop !6
34: ; preds = %29
%35 = load i64, ptr %9, align 8
store i64 %35, ptr %4, align 8
br label %42
36: ; preds = %14
%37 = load i64, ptr %9, align 8
%38 = load i64, ptr %8, align 8
%39 = add i64 %38, %37
store i64 %39, ptr %8, align 8
br label %10, !llvm.loop !6
40: ; preds = %10
%41 = load i64, ptr %8, align 8
store i64 %41, ptr %4, align 8
br label %42
42: ; preds = %40, %34
%43 = load i64, ptr %4, align 8
ret i64 %43
}
declare i64 @read(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprlt09q6w.c"
target datalayout = "e-m:e-p270: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
@EAGAIN = dso_local global i64 0, align 8
@EWOULDBLOCK = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @full_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
%10 = load i64, ptr %8, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ult i64 %10, %11
br i1 %12, label %.lr.ph, label %42
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %.backedge
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %8, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
%18 = load i64, ptr %7, align 8
%19 = load i64, ptr %8, align 8
%20 = sub i64 %18, %19
%21 = call i64 @read(i32 noundef %14, ptr noundef %17, i64 noundef %20)
store i64 %21, ptr %9, align 8
%22 = load i64, ptr %9, align 8
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %38
24: ; preds = %13
%25 = load i64, ptr @errno, align 8
%26 = load i64, ptr @EAGAIN, align 8
%27 = icmp eq i64 %25, %26
br i1 %27, label %32, label %28
28: ; preds = %24
%29 = load i64, ptr @errno, align 8
%30 = load i64, ptr @EWOULDBLOCK, align 8
%31 = icmp eq i64 %29, %30
br i1 %31, label %32, label %36
32: ; preds = %28, %24
br label %.backedge
.backedge: ; preds = %32, %38
%33 = load i64, ptr %8, align 8
%34 = load i64, ptr %7, align 8
%35 = icmp ult i64 %33, %34
br i1 %35, label %13, label %._crit_edge, !llvm.loop !6
36: ; preds = %28
%37 = load i64, ptr %9, align 8
store i64 %37, ptr %4, align 8
br label %44
38: ; preds = %13
%39 = load i64, ptr %9, align 8
%40 = load i64, ptr %8, align 8
%41 = add i64 %40, %39
store i64 %41, ptr %8, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %42
42: ; preds = %._crit_edge, %3
%43 = load i64, ptr %8, align 8
store i64 %43, ptr %4, align 8
br label %44
44: ; preds = %42, %36
%45 = load i64, ptr %4, align 8
ret i64 %45
}
declare i64 @read(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq5fhy7fn.c'
source_filename = "/tmp/tmpq5fhy7fn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"\0AType a message:\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"read return an error\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"You typed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @SIGINT, align 4
%5 = call i32 @signal(i32 noundef %4, ptr noundef @inthander)
%6 = load i32, ptr @SIGQUIT, align 4
%7 = call i32 @signal(i32 noundef %6, ptr noundef @quithander)
br label %8
8: ; preds = %23, %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @read(i32 noundef 0, ptr noundef %10, i32 noundef 99)
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, -1
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @perror(ptr noundef @.str.1)
br label %22
16: ; preds = %8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %18
store i8 0, ptr %19, align 1
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %20)
br label %22
22: ; preds = %16, %14
br label %23
23: ; preds = %22
%24 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%25 = call i64 @strncmp(ptr noundef %24, ptr noundef @.str.3, i32 noundef 4)
%26 = icmp ne i64 %25, 0
br i1 %26, label %8, label %27, !llvm.loop !6
27: ; preds = %23
ret i32 0
}
declare i32 @signal(i32 noundef, ptr noundef) #1
declare void @inthander(i32 noundef) #1
declare void @quithander(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5fhy7fn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGINT = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"\0AType a message:\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"read return an error\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"You typed: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @SIGINT, align 4
%5 = call i32 @signal(i32 noundef %4, ptr noundef @inthander)
%6 = load i32, ptr @SIGQUIT, align 4
%7 = call i32 @signal(i32 noundef %6, ptr noundef @quithander)
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
br label %9
9: ; preds = %24, %0
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @read(i32 noundef 0, ptr noundef %11, i32 noundef 99)
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = icmp eq i32 %13, -1
br i1 %14, label %15, label %17
15: ; preds = %9
%16 = call i32 @perror(ptr noundef @.str.1)
br label %23
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %19
store i8 0, ptr %20, align 1
%21 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21)
br label %23
23: ; preds = %17, %15
br label %24
24: ; preds = %23
%25 = call i64 @strncmp(ptr noundef %8, ptr noundef @.str.3, i32 noundef 4)
%26 = icmp ne i64 %25, 0
br i1 %26, label %9, label %27, !llvm.loop !6
27: ; preds = %24
ret i32 0
}
declare i32 @signal(i32 noundef, ptr noundef) #1
declare void @inthander(i32 noundef) #1
declare void @quithander(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp574ryb2w.c'
source_filename = "/tmp/tmp574ryb2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OCESQLConnect(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @_ocesqlConnect(ptr noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef null)
ret i32 %22
}
declare i32 @_ocesqlConnect(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp574ryb2w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @OCESQLConnect(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store ptr %5, ptr %13, align 8
store i32 %6, ptr %14, align 4
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %10, align 4
%18 = load ptr, ptr %11, align 8
%19 = load i32, ptr %12, align 4
%20 = load ptr, ptr %13, align 8
%21 = load i32, ptr %14, align 4
%22 = call i32 @_ocesqlConnect(ptr noundef %15, ptr noundef %16, i32 noundef %17, ptr noundef %18, i32 noundef %19, ptr noundef %20, i32 noundef %21, ptr noundef null)
ret i32 %22
}
declare i32 @_ocesqlConnect(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9_shd8sn.c'
source_filename = "/tmp/tmp9_shd8sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sblat1_() #0 {
%1 = call i32 (...) @MAIN__()
ret i32 0
}
declare i32 @MAIN__(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_shd8sn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sblat1_() #0 {
%1 = call i32 (...) @MAIN__()
ret i32 0
}
declare i32 @MAIN__(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu8imej88.c'
source_filename = "/tmp/tmpu8imej88.c"
target datalayout = "e-m:e-p270: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/tmpu8imej88.c"
target datalayout = "e-m:e-p270: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/tmpm0phcuw5.c'
source_filename = "/tmp/tmpm0phcuw5.c"
target datalayout = "e-m:e-p270: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/tmpm0phcuw5.c"
target datalayout = "e-m:e-p270: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/tmpif5wil8g.c'
source_filename = "/tmp/tmpif5wil8g.c"
target datalayout = "e-m:e-p270: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"len:[%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"retval:[%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isRepeat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %5, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @computeLPSArray(ptr noundef %13, i32 noundef %14, ptr noundef %12)
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %12, i64 %18
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = icmp sgt i32 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %28, %29
%31 = srem i32 %27, %30
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %34, %35
%37 = srem i32 %33, %36
%38 = icmp eq i32 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %39)
%41 = load i32, ptr %6, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %1
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %45, %46
%48 = srem i32 %44, %47
%49 = icmp eq i32 %48, 0
br label %50
50: ; preds = %43, %1
%51 = phi i1 [ false, %1 ], [ %49, %43 ]
%52 = zext i1 %51 to i64
%53 = select i1 %51, i32 1, i32 0
%54 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %54)
ret i32 %53
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @computeLPSArray(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpif5wil8g.c"
target datalayout = "e-m:e-p270: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"len:[%d]\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"retval:[%d]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isRepeat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %5, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = call i32 @computeLPSArray(ptr noundef %13, i32 noundef %14, ptr noundef %12)
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %12, i64 %18
%20 = load i32, ptr %19, align 4
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %21)
%23 = load i32, ptr %6, align 4
%24 = icmp sgt i32 %23, 0
%25 = zext i1 %24 to i32
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %28, %29
%31 = srem i32 %27, %30
%32 = call i32 @printf(ptr noundef @.str.1, i32 noundef %31)
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = load i32, ptr %6, align 4
%36 = sub nsw i32 %34, %35
%37 = srem i32 %33, %36
%38 = icmp eq i32 %37, 0
%39 = zext i1 %38 to i32
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %39)
%41 = load i32, ptr %6, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %50
43: ; preds = %1
%44 = load i32, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %45, %46
%48 = srem i32 %44, %47
%49 = icmp eq i32 %48, 0
br label %50
50: ; preds = %43, %1
%51 = phi i1 [ false, %1 ], [ %49, %43 ]
%52 = zext i1 %51 to i64
%53 = select i1 %51, i32 1, i32 0
%54 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %54)
ret i32 %53
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @computeLPSArray(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8l2y1n2m.c'
source_filename = "/tmp/tmp8l2y1n2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@__const.print_prompt.invite = private unnamed_addr constant [4 x i8] c" > \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_prompt() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca [4 x i8], align 1
%3 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @getcwd(ptr noundef %3, i32 noundef 256)
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.print_prompt.invite, i64 4, i1 false)
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%12 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %13)
ret void
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8l2y1n2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@STDOUT_FILENO = dso_local global i32 0, align 4
@__const.print_prompt.invite = private unnamed_addr constant [4 x i8] c" > \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_prompt() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca [4 x i8], align 1
%3 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @getcwd(ptr noundef %3, i32 noundef 256)
%5 = load i32, ptr @STDOUT_FILENO, align 4
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = call i32 @write(i32 noundef %5, ptr noundef %6, i32 noundef %8)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.print_prompt.invite, i64 4, i1 false)
%10 = load i32, ptr @STDOUT_FILENO, align 4
%11 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%12 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 @write(i32 noundef %10, ptr noundef %11, i32 noundef %13)
ret void
}
declare i32 @getcwd(ptr noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl_6z8uqc.c'
source_filename = "/tmp/tmpl_6z8uqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"[SBCETS] gets used and should not be used\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_gets(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @__softboundcets_abort()
ret ptr null
}
declare i32 @printf(ptr noundef) #1
declare i32 @__softboundcets_abort(...) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl_6z8uqc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"[SBCETS] gets used and should not be used\0A\00", align 1
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local ptr @softboundcets_gets(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @__softboundcets_abort()
ret ptr null
}
declare i32 @printf(ptr noundef) #1
declare i32 @__softboundcets_abort(...) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfrg_q3ta.c'
source_filename = "/tmp/tmpfrg_q3ta.c"
target datalayout = "e-m:e-p270: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"%u\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @candies() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %4, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 4, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %2, align 8
%13 = load i32, ptr %1, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 4, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %3, align 8
store i32 0, ptr %5, align 4
br label %18
18: ; preds = %32, %0
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %1, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %35
22: ; preds = %18
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %26)
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
store i32 0, ptr %31, align 4
br label %32
32: ; preds = %22
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
br label %18, !llvm.loop !6
35: ; preds = %18
store i32 0, ptr %6, align 4
br label %36
36: ; preds = %54, %35
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %1, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %57
40: ; preds = %36
%41 = load ptr, ptr %2, align 8
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %1, align 4
%45 = sub nsw i32 %44, 1
%46 = call i32 @giveCandy(ptr noundef %41, ptr noundef %42, i32 noundef %43, i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %4, align 4
br label %54
54: ; preds = %40
%55 = load i32, ptr %6, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %6, align 4
br label %36, !llvm.loop !8
57: ; preds = %36
%58 = load i32, ptr %4, align 4
%59 = call i32 @printf(ptr noundef @.str.2, i32 noundef %58)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @giveCandy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfrg_q3ta.c"
target datalayout = "e-m:e-p270: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"%u\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @candies() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %4, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 4, %9
%11 = trunc i64 %10 to i32
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %2, align 8
%13 = load i32, ptr %1, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 4, %14
%16 = trunc i64 %15 to i32
%17 = call ptr @malloc(i32 noundef %16)
store ptr %17, ptr %3, align 8
store i32 0, ptr %5, align 4
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %1, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %21
21: ; preds = %.lr.ph, %31
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
store i32 0, ptr %30, align 4
br label %31
31: ; preds = %21
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %1, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %0
store i32 0, ptr %6, align 4
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %1, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %61
.lr.ph2: ; preds = %37
br label %41
41: ; preds = %.lr.ph2, %55
%42 = load ptr, ptr %2, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %1, align 4
%46 = sub nsw i32 %45, 1
%47 = call i32 @giveCandy(ptr noundef %42, ptr noundef %43, i32 noundef %44, i32 noundef %46)
%48 = load ptr, ptr %3, align 8
%49 = load i32, ptr %6, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %4, align 4
br label %55
55: ; preds = %41
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %1, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %37
%62 = load i32, ptr %4, align 4
%63 = call i32 @printf(ptr noundef @.str.2, i32 noundef %62)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @giveCandy(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbcl_z4kc.c'
source_filename = "/tmp/tmpbcl_z4kc.c"
target datalayout = "e-m:e-p270: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/tmpbcl_z4kc.c"
target datalayout = "e-m:e-p270: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/tmpgzk7ds55.c'
source_filename = "/tmp/tmpgzk7ds55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAXPATHLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"execvp\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"Process for \22%s\22 exited with %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca [2 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load i32, ptr @MAXPATHLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %7, align 8
%16 = trunc i64 %13 to i32
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @snprintf(ptr noundef %15, i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = icmp ult i64 %21, %13
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
store ptr %15, ptr %25, align 16
%26 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 1
store ptr null, ptr %26, align 8
%27 = call i32 (...) @fork()
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %2
%31 = call i32 @perror(ptr noundef @.str.1)
%32 = call i32 (...) @abort() #4
unreachable
33: ; preds = %2
%34 = load i32, ptr %8, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
%38 = load ptr, ptr %37, align 16
%39 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
%40 = call i32 @execvp(ptr noundef %38, ptr noundef %39)
%41 = call i32 @perror(ptr noundef @.str.2)
%42 = call i32 (...) @abort() #4
unreachable
43: ; preds = %33
%44 = load i32, ptr %8, align 4
%45 = call i32 @waitpid(i32 noundef %44, ptr noundef %10, i32 noundef 0)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = call i32 @perror(ptr noundef @.str.3)
%50 = call i32 (...) @abort() #4
unreachable
51: ; preds = %43
%52 = load i32, ptr %10, align 4
%53 = call i32 @WEXITSTATUS(i32 noundef %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %51
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %10, align 4
%58 = call i32 @WEXITSTATUS(i32 noundef %57)
%59 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.4, ptr noundef %15, i32 noundef %58)
store i32 -1, ptr %3, align 4
store i32 1, ptr %11, align 4
br label %62
60: ; preds = %51
br label %61
61: ; preds = %60
store i32 0, ptr %3, align 4
store i32 1, ptr %11, align 4
br label %62
62: ; preds = %61, %55
%63 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %63)
%64 = load i32, ptr %3, align 4
ret i32 %64
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @fork(...) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @execvp(ptr noundef, ptr noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @WEXITSTATUS(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgzk7ds55.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAXPATHLEN = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fork\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"execvp\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"waitpid\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [33 x i8] c"Process for \22%s\22 exited with %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca [2 x ptr], align 16
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%12 = load i32, ptr @MAXPATHLEN, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %6, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %7, align 8
%16 = trunc i64 %13 to i32
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %5, align 8
%19 = call i32 @snprintf(ptr noundef %15, i32 noundef %16, ptr noundef @.str, ptr noundef %17, ptr noundef %18)
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %8, align 4
%21 = sext i32 %20 to i64
%22 = icmp ult i64 %21, %13
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 noundef %23)
%25 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
store ptr %15, ptr %25, align 16
%26 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 1
store ptr null, ptr %26, align 8
%27 = call i32 (...) @fork()
store i32 %27, ptr %8, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %2
%31 = call i32 @perror(ptr noundef @.str.1)
%32 = call i32 (...) @abort() #4
unreachable
33: ; preds = %2
%34 = load i32, ptr %8, align 4
%35 = icmp eq i32 %34, 0
br i1 %35, label %36, label %43
36: ; preds = %33
%37 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
%38 = load ptr, ptr %37, align 16
%39 = getelementptr inbounds [2 x ptr], ptr %9, i64 0, i64 0
%40 = call i32 @execvp(ptr noundef %38, ptr noundef %39)
%41 = call i32 @perror(ptr noundef @.str.2)
%42 = call i32 (...) @abort() #4
unreachable
43: ; preds = %33
%44 = load i32, ptr %8, align 4
%45 = call i32 @waitpid(i32 noundef %44, ptr noundef %10, i32 noundef 0)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %51
48: ; preds = %43
%49 = call i32 @perror(ptr noundef @.str.3)
%50 = call i32 (...) @abort() #4
unreachable
51: ; preds = %43
%52 = load i32, ptr %10, align 4
%53 = call i32 @WEXITSTATUS(i32 noundef %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %60
55: ; preds = %51
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr %10, align 4
%58 = call i32 @WEXITSTATUS(i32 noundef %57)
%59 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.4, ptr noundef %15, i32 noundef %58)
store i32 -1, ptr %3, align 4
store i32 1, ptr %11, align 4
br label %62
60: ; preds = %51
br label %61
61: ; preds = %60
store i32 0, ptr %3, align 4
store i32 1, ptr %11, align 4
br label %62
62: ; preds = %61, %55
%63 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %63)
%64 = load i32, ptr %3, align 4
ret i32 %64
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
declare i32 @assert(i32 noundef) #2
declare i32 @fork(...) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @abort(...) #3
declare i32 @execvp(ptr noundef, ptr noundef) #2
declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @WEXITSTATUS(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpybts2gcy.c'
source_filename = "/tmp/tmpybts2gcy.c"
target datalayout = "e-m:e-p270: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.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"usage: %s hostname port\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"recv\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Received: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [100 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca %struct.sockaddr_in, align 4
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %11, align 4
br label %22
21: ; preds = %2
store i32 7838, ptr %11, align 4
br label %22
22: ; preds = %21, %16
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 3
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #4
unreachable
32: ; preds = %22
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call ptr @gethostbyname(ptr noundef %35)
store ptr %36, ptr %9, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = call i32 @herror(ptr noundef @.str.1)
%40 = call i32 @exit(i32 noundef 1) #4
unreachable
41: ; preds = %32
%42 = load i32, ptr @PF_INET, align 4
%43 = load i32, ptr @SOCK_STREAM, align 4
%44 = call i32 @socket(i32 noundef %42, i32 noundef %43, i32 noundef 0)
store i32 %44, ptr %6, align 4
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %49
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.2)
%48 = call i32 @exit(i32 noundef 1) #4
unreachable
49: ; preds = %41
%50 = load i32, ptr @PF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 3
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %11, align 4
%53 = call i32 @htons(i32 noundef %52)
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %53, ptr %54, align 4
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 0
%58 = load i64, ptr %57, align 8
%59 = inttoptr i64 %58 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %59, i64 4, i1 false)
%60 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
%61 = call i32 @bzero(ptr noundef %60, i32 noundef 0)
%62 = load i32, ptr %6, align 4
%63 = call i32 @connect(i32 noundef %62, ptr noundef %10, i32 noundef 4)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %68
65: ; preds = %49
%66 = call i32 @perror(ptr noundef @.str.3)
%67 = call i32 @exit(i32 noundef 1) #4
unreachable
68: ; preds = %49
%69 = load i32, ptr %6, align 4
%70 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%71 = call i32 @recv(i32 noundef %69, ptr noundef %70, i32 noundef 100, i32 noundef 0)
store i32 %71, ptr %7, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = call i32 @perror(ptr noundef @.str.4)
%75 = call i32 @exit(i32 noundef 1) #4
unreachable
76: ; preds = %68
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %78
store i8 0, ptr %79, align 1
%80 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%81 = call i32 @printf(ptr noundef @.str.5, ptr noundef %80)
%82 = load i32, ptr %6, align 4
%83 = call i32 @close(i32 noundef %82)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @herror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpybts2gcy.c"
target datalayout = "e-m:e-p270: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.in_addr, i32, i32 }
%struct.in_addr = type { i32 }
%struct.hostent = type { i64 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"usage: %s hostname port\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"gethostbyname\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [7 x i8] c"socket\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"connect\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"recv\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c"Received: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [100 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca %struct.sockaddr_in, align 4
%11 = 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
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %21
16: ; preds = %2
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 2
%19 = load ptr, ptr %18, align 8
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %11, align 4
br label %22
21: ; preds = %2
store i32 7838, ptr %11, align 4
br label %22
22: ; preds = %21, %16
%23 = load i32, ptr %4, align 4
%24 = icmp ne i32 %23, 3
br i1 %24, label %25, label %32
25: ; preds = %22
%26 = load i32, ptr @stderr, align 4
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 0
%29 = load ptr, ptr %28, align 8
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %29)
%31 = call i32 @exit(i32 noundef 1) #4
unreachable
32: ; preds = %22
%33 = load ptr, ptr %5, align 8
%34 = getelementptr inbounds ptr, ptr %33, i64 1
%35 = load ptr, ptr %34, align 8
%36 = call ptr @gethostbyname(ptr noundef %35)
store ptr %36, ptr %9, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = call i32 @herror(ptr noundef @.str.1)
%40 = call i32 @exit(i32 noundef 1) #4
unreachable
41: ; preds = %32
%42 = load i32, ptr @PF_INET, align 4
%43 = load i32, ptr @SOCK_STREAM, align 4
%44 = call i32 @socket(i32 noundef %42, i32 noundef %43, i32 noundef 0)
store i32 %44, ptr %6, align 4
%45 = icmp eq i32 %44, -1
br i1 %45, label %46, label %49
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.2)
%48 = call i32 @exit(i32 noundef 1) #4
unreachable
49: ; preds = %41
%50 = load i32, ptr @PF_INET, align 4
%51 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 3
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %11, align 4
%53 = call i32 @htons(i32 noundef %52)
%54 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
store i32 %53, ptr %54, align 4
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
%56 = load ptr, ptr %9, align 8
%57 = getelementptr inbounds %struct.hostent, ptr %56, i32 0, i32 0
%58 = load i64, ptr %57, align 8
%59 = inttoptr i64 %58 to ptr
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %59, i64 4, i1 false)
%60 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
%61 = call i32 @bzero(ptr noundef %60, i32 noundef 0)
%62 = load i32, ptr %6, align 4
%63 = call i32 @connect(i32 noundef %62, ptr noundef %10, i32 noundef 4)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %68
65: ; preds = %49
%66 = call i32 @perror(ptr noundef @.str.3)
%67 = call i32 @exit(i32 noundef 1) #4
unreachable
68: ; preds = %49
%69 = load i32, ptr %6, align 4
%70 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%71 = call i32 @recv(i32 noundef %69, ptr noundef %70, i32 noundef 100, i32 noundef 0)
store i32 %71, ptr %7, align 4
%72 = icmp eq i32 %71, -1
br i1 %72, label %73, label %76
73: ; preds = %68
%74 = call i32 @perror(ptr noundef @.str.4)
%75 = call i32 @exit(i32 noundef 1) #4
unreachable
76: ; preds = %68
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 %78
store i8 0, ptr %79, align 1
%80 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%81 = call i32 @printf(ptr noundef @.str.5, ptr noundef %80)
%82 = load i32, ptr %6, align 4
%83 = call i32 @close(i32 noundef %82)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @herror(ptr noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpylbm3suj.c'
source_filename = "/tmp/tmpylbm3suj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaternion_normalize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds float, ptr %6, i64 0
%8 = load float, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds float, ptr %12, i64 1
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds float, ptr %15, i64 1
%17 = load float, ptr %16, align 4
%18 = fmul float %14, %17
%19 = call float @llvm.fmuladd.f32(float %8, float %11, float %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds float, ptr %20, i64 2
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds float, ptr %23, i64 2
%25 = load float, ptr %24, align 4
%26 = call float @llvm.fmuladd.f32(float %22, float %25, float %19)
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds float, ptr %27, i64 3
%29 = load float, ptr %28, align 4
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds float, ptr %30, i64 3
%32 = load float, ptr %31, align 4
%33 = call float @llvm.fmuladd.f32(float %29, float %32, float %26)
%34 = call float @sqrtf(float noundef %33) #3
store float %34, ptr %5, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 0
%37 = load float, ptr %36, align 4
%38 = load float, ptr %5, align 4
%39 = fdiv float %37, %38
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds float, ptr %40, i64 0
store float %39, ptr %41, align 4
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds float, ptr %42, i64 1
%44 = load float, ptr %43, align 4
%45 = load float, ptr %5, align 4
%46 = fdiv float %44, %45
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds float, ptr %47, i64 1
store float %46, ptr %48, align 4
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds float, ptr %49, i64 2
%51 = load float, ptr %50, align 4
%52 = load float, ptr %5, align 4
%53 = fdiv float %51, %52
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds float, ptr %54, i64 2
store float %53, ptr %55, align 4
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds float, ptr %56, i64 3
%58 = load float, ptr %57, align 4
%59 = load float, ptr %5, align 4
%60 = fdiv float %58, %59
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds float, ptr %61, i64 3
store float %60, ptr %62, align 4
%63 = load float, ptr %5, align 4
ret float %63
}
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpylbm3suj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quaternion_normalize(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca float, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = getelementptr inbounds float, ptr %6, i64 0
%8 = load float, ptr %7, align 4
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds float, ptr %9, i64 0
%11 = load float, ptr %10, align 4
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds float, ptr %12, i64 1
%14 = load float, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds float, ptr %15, i64 1
%17 = load float, ptr %16, align 4
%18 = fmul float %14, %17
%19 = call float @llvm.fmuladd.f32(float %8, float %11, float %18)
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds float, ptr %20, i64 2
%22 = load float, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds float, ptr %23, i64 2
%25 = load float, ptr %24, align 4
%26 = call float @llvm.fmuladd.f32(float %22, float %25, float %19)
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds float, ptr %27, i64 3
%29 = load float, ptr %28, align 4
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds float, ptr %30, i64 3
%32 = load float, ptr %31, align 4
%33 = call float @llvm.fmuladd.f32(float %29, float %32, float %26)
%34 = call float @sqrtf(float noundef %33) #3
store float %34, ptr %5, align 4
%35 = load ptr, ptr %4, align 8
%36 = getelementptr inbounds float, ptr %35, i64 0
%37 = load float, ptr %36, align 4
%38 = load float, ptr %5, align 4
%39 = fdiv float %37, %38
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds float, ptr %40, i64 0
store float %39, ptr %41, align 4
%42 = load ptr, ptr %4, align 8
%43 = getelementptr inbounds float, ptr %42, i64 1
%44 = load float, ptr %43, align 4
%45 = load float, ptr %5, align 4
%46 = fdiv float %44, %45
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds float, ptr %47, i64 1
store float %46, ptr %48, align 4
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds float, ptr %49, i64 2
%51 = load float, ptr %50, align 4
%52 = load float, ptr %5, align 4
%53 = fdiv float %51, %52
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds float, ptr %54, i64 2
store float %53, ptr %55, align 4
%56 = load ptr, ptr %4, align 8
%57 = getelementptr inbounds float, ptr %56, i64 3
%58 = load float, ptr %57, align 4
%59 = load float, ptr %5, align 4
%60 = fdiv float %58, %59
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds float, ptr %61, i64 3
store float %60, ptr %62, align 4
%63 = load float, ptr %5, align 4
ret float %63
}
; Function Attrs: nounwind
declare float @sqrtf(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzz5wkcfv.c'
source_filename = "/tmp/tmpzz5wkcfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Enter some text ... Ctrl-d will stop it\0A\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
br label %4
4: ; preds = %8, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = call i32 @putchar(i32 noundef %9)
br label %4, !llvm.loop !6
11: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzz5wkcfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"Enter some text ... Ctrl-d will stop it\0A\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %13
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %2, align 4
%9 = call i32 @putchar(i32 noundef %8)
%10 = call i32 (...) @getchar()
store i32 %10, ptr %2, align 4
%11 = load i32, ptr @EOF, align 4
%12 = icmp ne i32 %10, %11
br i1 %12, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %13
13: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5dqs_i19.c'
source_filename = "/tmp/tmp5dqs_i19.c"
target datalayout = "e-m:e-p270: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/tmp5dqs_i19.c"
target datalayout = "e-m:e-p270: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/tmpznbi__s8.c'
source_filename = "/tmp/tmpznbi__s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmpznbi__s8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET6 = dso_local global i32 0, align 4
@SOCK_DGRAM = 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/tmptj2j5f9e.c'
source_filename = "/tmp/tmptj2j5f9e.c"
target datalayout = "e-m:e-p270: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"\E9\A3\8E\0A\E6\9E\97\0A\E7\81\AB\0A\E5\B1\B1\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptj2j5f9e.c"
target datalayout = "e-m:e-p270: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"\E9\A3\8E\0A\E6\9E\97\0A\E7\81\AB\0A\E5\B1\B1\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw1xr89a2.c'
source_filename = "/tmp/tmpw1xr89a2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t12() #0 {
%1 = alloca [4096 x i32], align 16
%2 = alloca [4096 x i32], align 16
%3 = alloca [4096 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %19, %0
%7 = load i32, ptr %5, align 4
%8 = icmp slt i32 %7, 4096
br i1 %8, label %9, label %22
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %11
store i32 0, ptr %12, align 4
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %14
store i32 0, ptr %15, align 4
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %17
store i32 0, ptr %18, align 4
br label %19
19: ; preds = %9
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %6, !llvm.loop !6
22: ; preds = %6
store i32 0, ptr %5, align 4
br label %23
23: ; preds = %57, %22
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 4096
br i1 %25, label %26, label %60
26: ; preds = %23
%27 = load i32, ptr %5, align 4
%28 = srem i32 %27, 3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %26
%31 = load i32, ptr %5, align 4
%32 = srem i32 %31, 5
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %36
store i32 1, ptr %37, align 4
br label %56
38: ; preds = %30, %26
%39 = load i32, ptr %5, align 4
%40 = srem i32 %39, 3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %44
store i32 1, ptr %45, align 4
br label %55
46: ; preds = %38
%47 = load i32, ptr %5, align 4
%48 = srem i32 %47, 5
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %52
store i32 1, ptr %53, align 4
br label %54
54: ; preds = %50, %46
br label %55
55: ; preds = %54, %42
br label %56
56: ; preds = %55, %34
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
br label %23, !llvm.loop !8
60: ; preds = %23
store i32 0, ptr %4, align 4
br label %61
61: ; preds = %116, %60
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %62, 4096
br i1 %63, label %64, label %119
64: ; preds = %61
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %4, align 4
%70 = srem i32 %69, 3
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %76
72: ; preds = %64
%73 = load i32, ptr %4, align 4
%74 = srem i32 %73, 5
%75 = icmp eq i32 %74, 0
br label %76
76: ; preds = %72, %64
%77 = phi i1 [ false, %64 ], [ %75, %72 ]
%78 = zext i1 %77 to i32
%79 = icmp eq i32 %68, %78
%80 = zext i1 %79 to i32
%81 = call i32 @assert(i32 noundef %80)
%82 = load i32, ptr %4, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %4, align 4
%87 = srem i32 %86, 3
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %76
%90 = load i32, ptr %4, align 4
%91 = srem i32 %90, 5
%92 = icmp ne i32 %91, 0
br label %93
93: ; preds = %89, %76
%94 = phi i1 [ false, %76 ], [ %92, %89 ]
%95 = zext i1 %94 to i32
%96 = icmp eq i32 %85, %95
%97 = zext i1 %96 to i32
%98 = call i32 @assert(i32 noundef %97)
%99 = load i32, ptr %4, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load i32, ptr %4, align 4
%104 = srem i32 %103, 3
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %110
106: ; preds = %93
%107 = load i32, ptr %4, align 4
%108 = srem i32 %107, 5
%109 = icmp eq i32 %108, 0
br label %110
110: ; preds = %106, %93
%111 = phi i1 [ false, %93 ], [ %109, %106 ]
%112 = zext i1 %111 to i32
%113 = icmp eq i32 %102, %112
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 noundef %114)
br label %116
116: ; preds = %110
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %4, align 4
br label %61, !llvm.loop !9
119: ; preds = %61
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1xr89a2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t12() #0 {
%1 = alloca [4096 x i32], align 16
%2 = alloca [4096 x i32], align 16
%3 = alloca [4096 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = icmp slt i32 %6, 4096
br i1 %7, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %18
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %10
store i32 0, ptr %11, align 4
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %13
store i32 0, ptr %14, align 4
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %16
store i32 0, ptr %17, align 4
br label %18
18: ; preds = %8
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %21, 4096
br i1 %22, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 4096
br i1 %25, label %.lr.ph2, label %62
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %57
%27 = load i32, ptr %5, align 4
%28 = srem i32 %27, 3
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %26
%31 = load i32, ptr %5, align 4
%32 = srem i32 %31, 5
%33 = icmp eq i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %30
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %36
store i32 1, ptr %37, align 4
br label %56
38: ; preds = %30, %26
%39 = load i32, ptr %5, align 4
%40 = srem i32 %39, 3
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %46
42: ; preds = %38
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %44
store i32 1, ptr %45, align 4
br label %55
46: ; preds = %38
%47 = load i32, ptr %5, align 4
%48 = srem i32 %47, 5
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %54
50: ; preds = %46
%51 = load i32, ptr %5, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %52
store i32 1, ptr %53, align 4
br label %54
54: ; preds = %50, %46
br label %55
55: ; preds = %54, %42
br label %56
56: ; preds = %55, %34
br label %57
57: ; preds = %56
%58 = load i32, ptr %5, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %60, 4096
br i1 %61, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %57
br label %62
62: ; preds = %._crit_edge3, %23
store i32 0, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %63, 4096
br i1 %64, label %.lr.ph5, label %122
.lr.ph5: ; preds = %62
br label %65
65: ; preds = %.lr.ph5, %117
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [4096 x i32], ptr %3, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = load i32, ptr %4, align 4
%71 = srem i32 %70, 3
%72 = icmp eq i32 %71, 0
br i1 %72, label %73, label %77
73: ; preds = %65
%74 = load i32, ptr %4, align 4
%75 = srem i32 %74, 5
%76 = icmp eq i32 %75, 0
br label %77
77: ; preds = %73, %65
%78 = phi i1 [ false, %65 ], [ %76, %73 ]
%79 = zext i1 %78 to i32
%80 = icmp eq i32 %69, %79
%81 = zext i1 %80 to i32
%82 = call i32 @assert(i32 noundef %81)
%83 = load i32, ptr %4, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [4096 x i32], ptr %1, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = load i32, ptr %4, align 4
%88 = srem i32 %87, 3
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %94
90: ; preds = %77
%91 = load i32, ptr %4, align 4
%92 = srem i32 %91, 5
%93 = icmp ne i32 %92, 0
br label %94
94: ; preds = %90, %77
%95 = phi i1 [ false, %77 ], [ %93, %90 ]
%96 = zext i1 %95 to i32
%97 = icmp eq i32 %86, %96
%98 = zext i1 %97 to i32
%99 = call i32 @assert(i32 noundef %98)
%100 = load i32, ptr %4, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [4096 x i32], ptr %2, i64 0, i64 %101
%103 = load i32, ptr %102, align 4
%104 = load i32, ptr %4, align 4
%105 = srem i32 %104, 3
%106 = icmp ne i32 %105, 0
br i1 %106, label %107, label %111
107: ; preds = %94
%108 = load i32, ptr %4, align 4
%109 = srem i32 %108, 5
%110 = icmp eq i32 %109, 0
br label %111
111: ; preds = %107, %94
%112 = phi i1 [ false, %94 ], [ %110, %107 ]
%113 = zext i1 %112 to i32
%114 = icmp eq i32 %103, %113
%115 = zext i1 %114 to i32
%116 = call i32 @assert(i32 noundef %115)
br label %117
117: ; preds = %111
%118 = load i32, ptr %4, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %4, align 4
%120 = load i32, ptr %4, align 4
%121 = icmp slt i32 %120, 4096
br i1 %121, label %65, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %117
br label %122
122: ; preds = %._crit_edge6, %62
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp454c6lwb.c'
source_filename = "/tmp/tmp454c6lwb.c"
target datalayout = "e-m:e-p270: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/tmp454c6lwb.c"
target datalayout = "e-m:e-p270: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/tmpvk2wi34y.c'
source_filename = "/tmp/tmpvk2wi34y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sshbuf_get_bignum2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sshbuf_get_bignum2_bytes_direct(ptr noundef %9, ptr noundef %6, ptr noundef %7)
store i32 %10, ptr %8, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %8, align 4
store i32 %13, ptr %3, align 4
br label %25
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = call ptr @BN_bin2bn(ptr noundef %18, i64 noundef %19, ptr noundef %20)
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 -2, ptr %3, align 4
br label %25
24: ; preds = %17, %14
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %12
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @sshbuf_get_bignum2_bytes_direct(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @BN_bin2bn(ptr 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/tmpvk2wi34y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sshbuf_get_bignum2(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%9 = load ptr, ptr %4, align 8
%10 = call i32 @sshbuf_get_bignum2_bytes_direct(ptr noundef %9, ptr noundef %6, ptr noundef %7)
store i32 %10, ptr %8, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr %8, align 4
store i32 %13, ptr %3, align 4
br label %25
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load ptr, ptr %6, align 8
%19 = load i64, ptr %7, align 8
%20 = load ptr, ptr %5, align 8
%21 = call ptr @BN_bin2bn(ptr noundef %18, i64 noundef %19, ptr noundef %20)
%22 = icmp eq ptr %21, null
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 -2, ptr %3, align 4
br label %25
24: ; preds = %17, %14
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %23, %12
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i32 @sshbuf_get_bignum2_bytes_direct(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @BN_bin2bn(ptr 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/tmploz8tx15.c'
source_filename = "/tmp/tmploz8tx15.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"usage: %s <port>\0A\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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %9, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @Open_listenfd(i32 noundef %27)
store i32 %28, ptr %6, align 4
%29 = call i32 @FD_ZERO(ptr noundef %11)
%30 = load i32, ptr @STDIN_FILENO, align 4
%31 = call i32 @FD_SET(i32 noundef %30, ptr noundef %11)
%32 = load i32, ptr %6, align 4
%33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %11)
br label %34
34: ; preds = %22, %55
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 @Select(i32 noundef %37, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef null)
%39 = load i32, ptr @STDIN_FILENO, align 4
%40 = call i64 @FD_ISSET(i32 noundef %39, ptr noundef %12)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %34
%43 = call i32 (...) @command()
br label %44
44: ; preds = %42, %34
%45 = load i32, ptr %6, align 4
%46 = call i64 @FD_ISSET(i32 noundef %45, ptr noundef %12)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %55
48: ; preds = %44
%49 = load i32, ptr %6, align 4
%50 = call i32 @Accept(i32 noundef %49, ptr noundef %10, ptr noundef %9)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = call i32 @echo(i32 noundef %51)
%53 = load i32, ptr %7, align 4
%54 = call i32 @Close(i32 noundef %53)
br label %55
55: ; preds = %48, %44
br label %34
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @Open_listenfd(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @Select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @command(...) #1
declare i32 @Accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @echo(i32 noundef) #1
declare i32 @Close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmploz8tx15.c"
target datalayout = "e-m:e-p270: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 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"usage: %s <port>\0A\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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.sockaddr_in, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %9, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp ne i32 %13, 2
br i1 %14, label %15, label %22
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 0
%19 = load ptr, ptr %18, align 8
%20 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
store i32 %26, ptr %8, align 4
%27 = load i32, ptr %8, align 4
%28 = call i32 @Open_listenfd(i32 noundef %27)
store i32 %28, ptr %6, align 4
%29 = call i32 @FD_ZERO(ptr noundef %11)
%30 = load i32, ptr @STDIN_FILENO, align 4
%31 = call i32 @FD_SET(i32 noundef %30, ptr noundef %11)
%32 = load i32, ptr %6, align 4
%33 = call i32 @FD_SET(i32 noundef %32, ptr noundef %11)
br label %34
34: ; preds = %55, %22
%35 = load i32, ptr %11, align 4
store i32 %35, ptr %12, align 4
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 @Select(i32 noundef %37, ptr noundef %12, ptr noundef null, ptr noundef null, ptr noundef null)
%39 = load i32, ptr @STDIN_FILENO, align 4
%40 = call i64 @FD_ISSET(i32 noundef %39, ptr noundef %12)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %34
%43 = call i32 (...) @command()
br label %44
44: ; preds = %42, %34
%45 = load i32, ptr %6, align 4
%46 = call i64 @FD_ISSET(i32 noundef %45, ptr noundef %12)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %55
48: ; preds = %44
%49 = load i32, ptr %6, align 4
%50 = call i32 @Accept(i32 noundef %49, ptr noundef %10, ptr noundef %9)
store i32 %50, ptr %7, align 4
%51 = load i32, ptr %7, align 4
%52 = call i32 @echo(i32 noundef %51)
%53 = load i32, ptr %7, align 4
%54 = call i32 @Close(i32 noundef %53)
br label %55
55: ; preds = %48, %44
br label %34
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @atoi(ptr noundef) #1
declare i32 @Open_listenfd(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @Select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @command(...) #1
declare i32 @Accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @echo(i32 noundef) #1
declare i32 @Close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zuyb5p2.c'
source_filename = "/tmp/tmp8zuyb5p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nc_des_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [8 x i8], align 1
%9 = alloca [8 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i8 0, ptr %11, align 1
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %4, align 4
br label %112
18: ; preds = %3
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 2
%21 = srem i32 %20, 8
%22 = icmp ne i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 2
%26 = icmp slt i32 %25, 16
br i1 %26, label %27, label %28
27: ; preds = %23, %18
store i32 -1, ptr %4, align 4
br label %112
28: ; preds = %23
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, 8
store i32 %30, ptr %6, align 4
%31 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = call i32 (ptr, ...) @memcpy(ptr noundef %31, ptr noundef %35, i32 noundef 8)
store i32 2, ptr %10, align 4
br label %37
37: ; preds = %84, %28
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %87
41: ; preds = %37
store i8 3, ptr %13, align 1
%42 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%43 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%44 = call i32 (ptr, ...) @memcpy(ptr noundef %42, ptr noundef %43, i32 noundef 8)
%45 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = call i32 (ptr, ...) @memcpy(ptr noundef %45, ptr noundef %49, i32 noundef 8)
%51 = load ptr, ptr %7, align 8
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 8
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = call i32 @EuroDes(ptr noundef %51, ptr noundef %53, i8 noundef zeroext 3, i32 noundef 0, ptr noundef %57)
store i8 0, ptr %12, align 1
br label %59
59: ; preds = %80, %41
%60 = load i8, ptr %12, align 1
%61 = zext i8 %60 to i32
%62 = icmp slt i32 %61, 8
br i1 %62, label %63, label %83
63: ; preds = %59
%64 = load i8, ptr %12, align 1
%65 = zext i8 %64 to i64
%66 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = load ptr, ptr %5, align 8
%70 = load i32, ptr %10, align 4
%71 = load i8, ptr %12, align 1
%72 = zext i8 %71 to i32
%73 = add nsw i32 %70, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %69, i64 %74
%76 = load i8, ptr %75, align 1
%77 = zext i8 %76 to i32
%78 = xor i32 %77, %68
%79 = trunc i32 %78 to i8
store i8 %79, ptr %75, align 1
br label %80
80: ; preds = %63
%81 = load i8, ptr %12, align 1
%82 = add i8 %81, 1
store i8 %82, ptr %12, align 1
br label %59, !llvm.loop !6
83: ; preds = %59
br label %84
84: ; preds = %83
%85 = load i32, ptr %10, align 4
%86 = add nsw i32 %85, 8
store i32 %86, ptr %10, align 4
br label %37, !llvm.loop !8
87: ; preds = %37
store i32 2, ptr %10, align 4
br label %88
88: ; preds = %103, %87
%89 = load i32, ptr %10, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %106
92: ; preds = %88
%93 = load ptr, ptr %5, align 8
%94 = load i32, ptr %10, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i8, ptr %93, i64 %95
%97 = load i8, ptr %96, align 1
%98 = zext i8 %97 to i32
%99 = load i8, ptr %11, align 1
%100 = zext i8 %99 to i32
%101 = xor i32 %100, %98
%102 = trunc i32 %101 to i8
store i8 %102, ptr %11, align 1
br label %103
103: ; preds = %92
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %10, align 4
br label %88, !llvm.loop !9
106: ; preds = %88
%107 = load i8, ptr %11, align 1
%108 = icmp ne i8 %107, 0
br i1 %108, label %109, label %110
109: ; preds = %106
store i32 -1, ptr %4, align 4
br label %112
110: ; preds = %106
%111 = load i32, ptr %6, align 4
store i32 %111, ptr %4, align 4
br label %112
112: ; preds = %110, %109, %27, %16
%113 = load i32, ptr %4, align 4
ret i32 %113
}
declare i32 @memcpy(ptr noundef, ...) #1
declare i32 @EuroDes(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zuyb5p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nc_des_decrypt(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [8 x i8], align 1
%9 = alloca [8 x i8], align 1
%10 = alloca i32, align 4
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i8 0, ptr %11, align 1
%14 = load ptr, ptr %7, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %18, label %16
16: ; preds = %3
%17 = load i32, ptr %6, align 4
store i32 %17, ptr %4, align 4
br label %118
18: ; preds = %3
%19 = load i32, ptr %6, align 4
%20 = sub nsw i32 %19, 2
%21 = srem i32 %20, 8
%22 = icmp ne i32 %21, 0
br i1 %22, label %27, label %23
23: ; preds = %18
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %24, 2
%26 = icmp slt i32 %25, 16
br i1 %26, label %27, label %28
27: ; preds = %23, %18
store i32 -1, ptr %4, align 4
br label %118
28: ; preds = %23
%29 = load i32, ptr %6, align 4
%30 = sub nsw i32 %29, 8
store i32 %30, ptr %6, align 4
%31 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = call i32 (ptr, ...) @memcpy(ptr noundef %31, ptr noundef %35, i32 noundef 8)
store i32 2, ptr %10, align 4
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %6, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %.lr.ph2, label %91
.lr.ph2: ; preds = %28
br label %40
40: ; preds = %.lr.ph2, %85
store i8 3, ptr %13, align 1
%41 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 0
%42 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%43 = call i32 (ptr, ...) @memcpy(ptr noundef %41, ptr noundef %42, i32 noundef 8)
%44 = getelementptr inbounds [8 x i8], ptr %9, i64 0, i64 0
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = call i32 (ptr, ...) @memcpy(ptr noundef %44, ptr noundef %48, i32 noundef 8)
%50 = load ptr, ptr %7, align 8
%51 = load ptr, ptr %7, align 8
%52 = getelementptr inbounds i8, ptr %51, i64 8
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %10, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = call i32 @EuroDes(ptr noundef %50, ptr noundef %52, i8 noundef zeroext 3, i32 noundef 0, ptr noundef %56)
store i8 0, ptr %12, align 1
%58 = load i8, ptr %12, align 1
%59 = zext i8 %58 to i32
%60 = icmp slt i32 %59, 8
br i1 %60, label %.lr.ph, label %84
.lr.ph: ; preds = %40
br label %61
61: ; preds = %.lr.ph, %78
%62 = load i8, ptr %12, align 1
%63 = zext i8 %62 to i64
%64 = getelementptr inbounds [8 x i8], ptr %8, i64 0, i64 %63
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %10, align 4
%69 = load i8, ptr %12, align 1
%70 = zext i8 %69 to i32
%71 = add nsw i32 %68, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %67, i64 %72
%74 = load i8, ptr %73, align 1
%75 = zext i8 %74 to i32
%76 = xor i32 %75, %66
%77 = trunc i32 %76 to i8
store i8 %77, ptr %73, align 1
br label %78
78: ; preds = %61
%79 = load i8, ptr %12, align 1
%80 = add i8 %79, 1
store i8 %80, ptr %12, align 1
%81 = load i8, ptr %12, align 1
%82 = zext i8 %81 to i32
%83 = icmp slt i32 %82, 8
br i1 %83, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %84
84: ; preds = %._crit_edge, %40
br label %85
85: ; preds = %84
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 8
store i32 %87, ptr %10, align 4
%88 = load i32, ptr %10, align 4
%89 = load i32, ptr %6, align 4
%90 = icmp slt i32 %88, %89
br i1 %90, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %85
br label %91
91: ; preds = %._crit_edge3, %28
store i32 2, ptr %10, align 4
%92 = load i32, ptr %10, align 4
%93 = load i32, ptr %6, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %.lr.ph5, label %112
.lr.ph5: ; preds = %91
br label %95
95: ; preds = %.lr.ph5, %106
%96 = load ptr, ptr %5, align 8
%97 = load i32, ptr %10, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %96, i64 %98
%100 = load i8, ptr %99, align 1
%101 = zext i8 %100 to i32
%102 = load i8, ptr %11, align 1
%103 = zext i8 %102 to i32
%104 = xor i32 %103, %101
%105 = trunc i32 %104 to i8
store i8 %105, ptr %11, align 1
br label %106
106: ; preds = %95
%107 = load i32, ptr %10, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %10, align 4
%109 = load i32, ptr %10, align 4
%110 = load i32, ptr %6, align 4
%111 = icmp slt i32 %109, %110
br i1 %111, label %95, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %106
br label %112
112: ; preds = %._crit_edge6, %91
%113 = load i8, ptr %11, align 1
%114 = icmp ne i8 %113, 0
br i1 %114, label %115, label %116
115: ; preds = %112
store i32 -1, ptr %4, align 4
br label %118
116: ; preds = %112
%117 = load i32, ptr %6, align 4
store i32 %117, ptr %4, align 4
br label %118
118: ; preds = %116, %115, %27, %16
%119 = load i32, ptr %4, align 4
ret i32 %119
}
declare i32 @memcpy(ptr noundef, ...) #1
declare i32 @EuroDes(ptr noundef, ptr noundef, i8 noundef zeroext, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmprfe_5t7g.c'
source_filename = "/tmp/tmprfe_5t7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
store i32 0, ptr %5, align 16
br label %6
6: ; preds = %225, %0
%7 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%8 = load i32, ptr %7, align 16
%9 = icmp slt i32 %8, 6
br i1 %9, label %10, label %229
10: ; preds = %6
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
store i32 2, ptr %11, align 16
br label %12
12: ; preds = %220, %10
%13 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%14 = load i32, ptr %13, align 16
%15 = icmp sle i32 %14, 6
br i1 %15, label %16, label %224
16: ; preds = %12
%17 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %17, align 16
br label %18
18: ; preds = %215, %16
%19 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%20 = load i32, ptr %19, align 16
%21 = icmp slt i32 %20, 6
br i1 %21, label %22, label %219
22: ; preds = %18
%23 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %210, %22
%25 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
%26 = load i32, ptr %25, align 4
%27 = icmp slt i32 %26, 7
br i1 %27, label %28, label %214
28: ; preds = %24
%29 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
store i32 2, ptr %29, align 4
br label %30
30: ; preds = %205, %28
%31 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
%32 = load i32, ptr %31, align 4
%33 = icmp sle i32 %32, 7
br i1 %33, label %34, label %209
34: ; preds = %30
%35 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
store i32 1, ptr %35, align 4
br label %36
36: ; preds = %200, %34
%37 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%38 = load i32, ptr %37, align 4
%39 = icmp slt i32 %38, 7
br i1 %39, label %40, label %204
40: ; preds = %36
%41 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
store i32 0, ptr %41, align 8
br label %42
42: ; preds = %195, %40
%43 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
%44 = load i32, ptr %43, align 8
%45 = icmp slt i32 %44, 6
br i1 %45, label %46, label %199
46: ; preds = %42
%47 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
store i32 2, ptr %47, align 8
br label %48
48: ; preds = %190, %46
%49 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
%50 = load i32, ptr %49, align 8
%51 = icmp sle i32 %50, 6
br i1 %51, label %52, label %194
52: ; preds = %48
%53 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
store i32 1, ptr %53, align 8
br label %54
54: ; preds = %185, %52
%55 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%56 = load i32, ptr %55, align 8
%57 = icmp slt i32 %56, 6
br i1 %57, label %58, label %189
58: ; preds = %54
%59 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
store i32 0, ptr %59, align 4
br label %60
60: ; preds = %180, %58
%61 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
%62 = load i32, ptr %61, align 4
%63 = icmp slt i32 %62, 3
br i1 %63, label %64, label %184
64: ; preds = %60
%65 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
store i32 2, ptr %65, align 4
br label %66
66: ; preds = %175, %64
%67 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
%68 = load i32, ptr %67, align 4
%69 = icmp sle i32 %68, 3
br i1 %69, label %70, label %179
70: ; preds = %66
%71 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
store i32 1, ptr %71, align 4
br label %72
72: ; preds = %170, %70
%73 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%74 = load i32, ptr %73, align 4
%75 = icmp slt i32 %74, 3
br i1 %75, label %76, label %174
76: ; preds = %72
%77 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
store i32 0, ptr %77, align 16
br label %78
78: ; preds = %165, %76
%79 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
%80 = load i32, ptr %79, align 16
%81 = icmp slt i32 %80, 6
br i1 %81, label %82, label %169
82: ; preds = %78
%83 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
store i32 2, ptr %83, align 16
br label %84
84: ; preds = %160, %82
%85 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
%86 = load i32, ptr %85, align 16
%87 = icmp sle i32 %86, 6
br i1 %87, label %88, label %164
88: ; preds = %84
%89 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
store i32 1, ptr %89, align 16
br label %90
90: ; preds = %155, %88
%91 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
%92 = load i32, ptr %91, align 16
%93 = icmp slt i32 %92, 6
br i1 %93, label %94, label %159
94: ; preds = %90
%95 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%96 = load i32, ptr %95, align 16
%97 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%98 = load i32, ptr %97, align 16
%99 = sub nsw i32 %98, 1
%100 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%101 = load i32, ptr %100, align 16
%102 = mul nsw i32 %99, %101
%103 = add nsw i32 %96, %102
%104 = icmp slt i32 %103, 6
br i1 %104, label %105, label %154
105: ; preds = %94
%106 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
%107 = load i32, ptr %106, align 4
%108 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
%109 = load i32, ptr %108, align 4
%110 = sub nsw i32 %109, 1
%111 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%112 = load i32, ptr %111, align 4
%113 = mul nsw i32 %110, %112
%114 = add nsw i32 %107, %113
%115 = icmp slt i32 %114, 7
br i1 %115, label %116, label %154
116: ; preds = %105
%117 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
%118 = load i32, ptr %117, align 8
%119 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
%120 = load i32, ptr %119, align 8
%121 = sub nsw i32 %120, 1
%122 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%123 = load i32, ptr %122, align 8
%124 = mul nsw i32 %121, %123
%125 = add nsw i32 %118, %124
%126 = icmp slt i32 %125, 6
br i1 %126, label %127, label %154
127: ; preds = %116
%128 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
%129 = load i32, ptr %128, align 4
%130 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
%131 = load i32, ptr %130, align 4
%132 = sub nsw i32 %131, 1
%133 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%134 = load i32, ptr %133, align 4
%135 = mul nsw i32 %132, %134
%136 = add nsw i32 %129, %135
%137 = icmp slt i32 %136, 3
br i1 %137, label %138, label %154
138: ; preds = %127
%139 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
%140 = load i32, ptr %139, align 16
%141 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
%142 = load i32, ptr %141, align 16
%143 = sub nsw i32 %142, 1
%144 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
%145 = load i32, ptr %144, align 16
%146 = mul nsw i32 %143, %145
%147 = add nsw i32 %140, %146
%148 = icmp slt i32 %147, 6
br i1 %148, label %149, label %154
149: ; preds = %138
%150 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%151 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%152 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%153 = call i32 @test(ptr noundef %150, ptr noundef %151, ptr noundef %152)
br label %154
154: ; preds = %149, %138, %127, %116, %105, %94
br label %155
155: ; preds = %154
%156 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
%157 = load i32, ptr %156, align 16
%158 = add nsw i32 %157, 1
store i32 %158, ptr %156, align 16
br label %90, !llvm.loop !6
159: ; preds = %90
br label %160
160: ; preds = %159
%161 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
%162 = load i32, ptr %161, align 16
%163 = add nsw i32 %162, 1
store i32 %163, ptr %161, align 16
br label %84, !llvm.loop !8
164: ; preds = %84
br label %165
165: ; preds = %164
%166 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
%167 = load i32, ptr %166, align 16
%168 = add nsw i32 %167, 1
store i32 %168, ptr %166, align 16
br label %78, !llvm.loop !9
169: ; preds = %78
br label %170
170: ; preds = %169
%171 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%172 = load i32, ptr %171, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %171, align 4
br label %72, !llvm.loop !10
174: ; preds = %72
br label %175
175: ; preds = %174
%176 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
%177 = load i32, ptr %176, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %176, align 4
br label %66, !llvm.loop !11
179: ; preds = %66
br label %180
180: ; preds = %179
%181 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
%182 = load i32, ptr %181, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %181, align 4
br label %60, !llvm.loop !12
184: ; preds = %60
br label %185
185: ; preds = %184
%186 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%187 = load i32, ptr %186, align 8
%188 = add nsw i32 %187, 1
store i32 %188, ptr %186, align 8
br label %54, !llvm.loop !13
189: ; preds = %54
br label %190
190: ; preds = %189
%191 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
%192 = load i32, ptr %191, align 8
%193 = add nsw i32 %192, 1
store i32 %193, ptr %191, align 8
br label %48, !llvm.loop !14
194: ; preds = %48
br label %195
195: ; preds = %194
%196 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
%197 = load i32, ptr %196, align 8
%198 = add nsw i32 %197, 1
store i32 %198, ptr %196, align 8
br label %42, !llvm.loop !15
199: ; preds = %42
br label %200
200: ; preds = %199
%201 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%202 = load i32, ptr %201, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %201, align 4
br label %36, !llvm.loop !16
204: ; preds = %36
br label %205
205: ; preds = %204
%206 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
%207 = load i32, ptr %206, align 4
%208 = add nsw i32 %207, 1
store i32 %208, ptr %206, align 4
br label %30, !llvm.loop !17
209: ; preds = %30
br label %210
210: ; preds = %209
%211 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
%212 = load i32, ptr %211, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %211, align 4
br label %24, !llvm.loop !18
214: ; preds = %24
br label %215
215: ; preds = %214
%216 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%217 = load i32, ptr %216, align 16
%218 = add nsw i32 %217, 1
store i32 %218, ptr %216, align 16
br label %18, !llvm.loop !19
219: ; preds = %18
br label %220
220: ; preds = %219
%221 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%222 = load i32, ptr %221, align 16
%223 = add nsw i32 %222, 1
store i32 %223, ptr %221, align 16
br label %12, !llvm.loop !20
224: ; preds = %12
br label %225
225: ; preds = %224
%226 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%227 = load i32, ptr %226, align 16
%228 = add nsw i32 %227, 1
store i32 %228, ptr %226, align 16
br label %6, !llvm.loop !21
229: ; preds = %6
ret i32 0
}
declare i32 @test(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprfe_5t7g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
%5 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
store i32 0, ptr %5, align 16
%6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%7 = load i32, ptr %6, align 16
%8 = icmp slt i32 %7, 6
br i1 %8, label %.lr.ph41, label %244
.lr.ph41: ; preds = %0
%9 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
br label %10
10: ; preds = %.lr.ph41, %239
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
store i32 2, ptr %11, align 16
%12 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%13 = load i32, ptr %12, align 16
%14 = icmp sle i32 %13, 6
br i1 %14, label %.lr.ph38, label %238
.lr.ph38: ; preds = %10
%15 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
br label %16
16: ; preds = %.lr.ph38, %233
%17 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
store i32 1, ptr %17, align 16
%18 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%19 = load i32, ptr %18, align 16
%20 = icmp slt i32 %19, 6
br i1 %20, label %.lr.ph35, label %232
.lr.ph35: ; preds = %16
%21 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
br label %22
22: ; preds = %.lr.ph35, %227
%23 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
store i32 0, ptr %23, align 4
%24 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 %25, 7
br i1 %26, label %.lr.ph32, label %226
.lr.ph32: ; preds = %22
%27 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
br label %28
28: ; preds = %.lr.ph32, %221
%29 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
store i32 2, ptr %29, align 4
%30 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
%31 = load i32, ptr %30, align 4
%32 = icmp sle i32 %31, 7
br i1 %32, label %.lr.ph29, label %220
.lr.ph29: ; preds = %28
%33 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
br label %34
34: ; preds = %.lr.ph29, %215
%35 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
store i32 1, ptr %35, align 4
%36 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%37 = load i32, ptr %36, align 4
%38 = icmp slt i32 %37, 7
br i1 %38, label %.lr.ph26, label %214
.lr.ph26: ; preds = %34
%39 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
br label %40
40: ; preds = %.lr.ph26, %209
%41 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
store i32 0, ptr %41, align 8
%42 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
%43 = load i32, ptr %42, align 8
%44 = icmp slt i32 %43, 6
br i1 %44, label %.lr.ph23, label %208
.lr.ph23: ; preds = %40
%45 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
br label %46
46: ; preds = %.lr.ph23, %203
%47 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
store i32 2, ptr %47, align 8
%48 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
%49 = load i32, ptr %48, align 8
%50 = icmp sle i32 %49, 6
br i1 %50, label %.lr.ph20, label %202
.lr.ph20: ; preds = %46
%51 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
br label %52
52: ; preds = %.lr.ph20, %197
%53 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
store i32 1, ptr %53, align 8
%54 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%55 = load i32, ptr %54, align 8
%56 = icmp slt i32 %55, 6
br i1 %56, label %.lr.ph17, label %196
.lr.ph17: ; preds = %52
%57 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
br label %58
58: ; preds = %.lr.ph17, %191
%59 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
store i32 0, ptr %59, align 4
%60 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
%61 = load i32, ptr %60, align 4
%62 = icmp slt i32 %61, 3
br i1 %62, label %.lr.ph14, label %190
.lr.ph14: ; preds = %58
%63 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
br label %64
64: ; preds = %.lr.ph14, %185
%65 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
store i32 2, ptr %65, align 4
%66 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
%67 = load i32, ptr %66, align 4
%68 = icmp sle i32 %67, 3
br i1 %68, label %.lr.ph11, label %184
.lr.ph11: ; preds = %64
%69 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
br label %70
70: ; preds = %.lr.ph11, %179
%71 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
store i32 1, ptr %71, align 4
%72 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%73 = load i32, ptr %72, align 4
%74 = icmp slt i32 %73, 3
br i1 %74, label %.lr.ph8, label %178
.lr.ph8: ; preds = %70
%75 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
br label %76
76: ; preds = %.lr.ph8, %173
%77 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
store i32 0, ptr %77, align 16
%78 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
%79 = load i32, ptr %78, align 16
%80 = icmp slt i32 %79, 6
br i1 %80, label %.lr.ph5, label %172
.lr.ph5: ; preds = %76
%81 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
br label %82
82: ; preds = %.lr.ph5, %167
%83 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
store i32 2, ptr %83, align 16
%84 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
%85 = load i32, ptr %84, align 16
%86 = icmp sle i32 %85, 6
br i1 %86, label %.lr.ph2, label %166
.lr.ph2: ; preds = %82
%87 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
br label %88
88: ; preds = %.lr.ph2, %161
%89 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
store i32 1, ptr %89, align 16
%90 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
%91 = load i32, ptr %90, align 16
%92 = icmp slt i32 %91, 6
br i1 %92, label %.lr.ph, label %160
.lr.ph: ; preds = %88
%93 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
br label %94
94: ; preds = %.lr.ph, %155
%95 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%96 = load i32, ptr %95, align 16
%97 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%98 = load i32, ptr %97, align 16
%99 = sub nsw i32 %98, 1
%100 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%101 = load i32, ptr %100, align 16
%102 = mul nsw i32 %99, %101
%103 = add nsw i32 %96, %102
%104 = icmp slt i32 %103, 6
br i1 %104, label %105, label %154
105: ; preds = %94
%106 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 1
%107 = load i32, ptr %106, align 4
%108 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 1
%109 = load i32, ptr %108, align 4
%110 = sub nsw i32 %109, 1
%111 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 1
%112 = load i32, ptr %111, align 4
%113 = mul nsw i32 %110, %112
%114 = add nsw i32 %107, %113
%115 = icmp slt i32 %114, 7
br i1 %115, label %116, label %154
116: ; preds = %105
%117 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 2
%118 = load i32, ptr %117, align 8
%119 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 2
%120 = load i32, ptr %119, align 8
%121 = sub nsw i32 %120, 1
%122 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 2
%123 = load i32, ptr %122, align 8
%124 = mul nsw i32 %121, %123
%125 = add nsw i32 %118, %124
%126 = icmp slt i32 %125, 6
br i1 %126, label %127, label %154
127: ; preds = %116
%128 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 3
%129 = load i32, ptr %128, align 4
%130 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 3
%131 = load i32, ptr %130, align 4
%132 = sub nsw i32 %131, 1
%133 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 3
%134 = load i32, ptr %133, align 4
%135 = mul nsw i32 %132, %134
%136 = add nsw i32 %129, %135
%137 = icmp slt i32 %136, 3
br i1 %137, label %138, label %154
138: ; preds = %127
%139 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 4
%140 = load i32, ptr %139, align 16
%141 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 4
%142 = load i32, ptr %141, align 16
%143 = sub nsw i32 %142, 1
%144 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 4
%145 = load i32, ptr %144, align 16
%146 = mul nsw i32 %143, %145
%147 = add nsw i32 %140, %146
%148 = icmp slt i32 %147, 6
br i1 %148, label %149, label %154
149: ; preds = %138
%150 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%151 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 0
%152 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%153 = call i32 @test(ptr noundef %150, ptr noundef %151, ptr noundef %152)
br label %154
154: ; preds = %149, %138, %127, %116, %105, %94
br label %155
155: ; preds = %154
%156 = load i32, ptr %93, align 16
%157 = add nsw i32 %156, 1
store i32 %157, ptr %93, align 16
%158 = load i32, ptr %90, align 16
%159 = icmp slt i32 %158, 6
br i1 %159, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %155
br label %160
160: ; preds = %._crit_edge, %88
br label %161
161: ; preds = %160
%162 = load i32, ptr %87, align 16
%163 = add nsw i32 %162, 1
store i32 %163, ptr %87, align 16
%164 = load i32, ptr %84, align 16
%165 = icmp sle i32 %164, 6
br i1 %165, label %88, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %161
br label %166
166: ; preds = %._crit_edge3, %82
br label %167
167: ; preds = %166
%168 = load i32, ptr %81, align 16
%169 = add nsw i32 %168, 1
store i32 %169, ptr %81, align 16
%170 = load i32, ptr %78, align 16
%171 = icmp slt i32 %170, 6
br i1 %171, label %82, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %167
br label %172
172: ; preds = %._crit_edge6, %76
br label %173
173: ; preds = %172
%174 = load i32, ptr %75, align 4
%175 = add nsw i32 %174, 1
store i32 %175, ptr %75, align 4
%176 = load i32, ptr %72, align 4
%177 = icmp slt i32 %176, 3
br i1 %177, label %76, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %173
br label %178
178: ; preds = %._crit_edge9, %70
br label %179
179: ; preds = %178
%180 = load i32, ptr %69, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %69, align 4
%182 = load i32, ptr %66, align 4
%183 = icmp sle i32 %182, 3
br i1 %183, label %70, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %179
br label %184
184: ; preds = %._crit_edge12, %64
br label %185
185: ; preds = %184
%186 = load i32, ptr %63, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %63, align 4
%188 = load i32, ptr %60, align 4
%189 = icmp slt i32 %188, 3
br i1 %189, label %64, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %185
br label %190
190: ; preds = %._crit_edge15, %58
br label %191
191: ; preds = %190
%192 = load i32, ptr %57, align 8
%193 = add nsw i32 %192, 1
store i32 %193, ptr %57, align 8
%194 = load i32, ptr %54, align 8
%195 = icmp slt i32 %194, 6
br i1 %195, label %58, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %191
br label %196
196: ; preds = %._crit_edge18, %52
br label %197
197: ; preds = %196
%198 = load i32, ptr %51, align 8
%199 = add nsw i32 %198, 1
store i32 %199, ptr %51, align 8
%200 = load i32, ptr %48, align 8
%201 = icmp sle i32 %200, 6
br i1 %201, label %52, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %197
br label %202
202: ; preds = %._crit_edge21, %46
br label %203
203: ; preds = %202
%204 = load i32, ptr %45, align 8
%205 = add nsw i32 %204, 1
store i32 %205, ptr %45, align 8
%206 = load i32, ptr %42, align 8
%207 = icmp slt i32 %206, 6
br i1 %207, label %46, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %203
br label %208
208: ; preds = %._crit_edge24, %40
br label %209
209: ; preds = %208
%210 = load i32, ptr %39, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %39, align 4
%212 = load i32, ptr %36, align 4
%213 = icmp slt i32 %212, 7
br i1 %213, label %40, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %209
br label %214
214: ; preds = %._crit_edge27, %34
br label %215
215: ; preds = %214
%216 = load i32, ptr %33, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %33, align 4
%218 = load i32, ptr %30, align 4
%219 = icmp sle i32 %218, 7
br i1 %219, label %34, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %215
br label %220
220: ; preds = %._crit_edge30, %28
br label %221
221: ; preds = %220
%222 = load i32, ptr %27, align 4
%223 = add nsw i32 %222, 1
store i32 %223, ptr %27, align 4
%224 = load i32, ptr %24, align 4
%225 = icmp slt i32 %224, 7
br i1 %225, label %28, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %221
br label %226
226: ; preds = %._crit_edge33, %22
br label %227
227: ; preds = %226
%228 = load i32, ptr %21, align 16
%229 = add nsw i32 %228, 1
store i32 %229, ptr %21, align 16
%230 = load i32, ptr %18, align 16
%231 = icmp slt i32 %230, 6
br i1 %231, label %22, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %227
br label %232
232: ; preds = %._crit_edge36, %16
br label %233
233: ; preds = %232
%234 = load i32, ptr %15, align 16
%235 = add nsw i32 %234, 1
store i32 %235, ptr %15, align 16
%236 = load i32, ptr %12, align 16
%237 = icmp sle i32 %236, 6
br i1 %237, label %16, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %233
br label %238
238: ; preds = %._crit_edge39, %10
br label %239
239: ; preds = %238
%240 = load i32, ptr %9, align 16
%241 = add nsw i32 %240, 1
store i32 %241, ptr %9, align 16
%242 = load i32, ptr %6, align 16
%243 = icmp slt i32 %242, 6
br i1 %243, label %10, label %._crit_edge42, !llvm.loop !21
._crit_edge42: ; preds = %239
br label %244
244: ; preds = %._crit_edge42, %0
ret i32 0
}
declare i32 @test(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
!21 = distinct !{!21, !7}
|
; ModuleID = '/tmp/tmpbphf_eyj.c'
source_filename = "/tmp/tmpbphf_eyj.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Start time (%s):\09%d:%.2d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_start_time_to_stderr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call ptr @localtime(ptr noundef %4)
store ptr %6, ptr %5, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %11, i32 noundef %14)
ret void
}
declare ptr @localtime(ptr noundef) #1
declare i32 @fprintf(i32 noundef, 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/tmpbphf_eyj.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [26 x i8] c"Start time (%s):\09%d:%.2d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_start_time_to_stderr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call ptr @localtime(ptr noundef %4)
store ptr %6, ptr %5, align 8
%7 = load i32, ptr @stderr, align 4
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str, ptr noundef %8, i32 noundef %11, i32 noundef %14)
ret void
}
declare ptr @localtime(ptr noundef) #1
declare i32 @fprintf(i32 noundef, 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/tmpkjrbatso.c'
source_filename = "/tmp/tmpkjrbatso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_system_bam_set_disk_id(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @vdrive_bam_set_disk_id(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @vdrive_bam_set_disk_id(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/tmpkjrbatso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_system_bam_set_disk_id(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @vdrive_bam_set_disk_id(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @vdrive_bam_set_disk_id(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/tmptojs8jf6.c'
source_filename = "/tmp/tmptojs8jf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wcstod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [200 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
br label %10
10: ; preds = %24, %2
%11 = load i64, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = call i64 @wcslen(ptr noundef %12)
%14 = icmp ule i64 %11, %13
br i1 %14, label %15, label %27
15: ; preds = %10
%16 = load ptr, ptr %4, align 8
%17 = load i64, ptr %6, align 8
%18 = getelementptr inbounds i32, ptr %16, i64 %17
%19 = load i32, ptr %18, align 4
%20 = and i32 %19, 255
%21 = trunc i32 %20 to i8
%22 = load i64, ptr %6, align 8
%23 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 %22
store i8 %21, ptr %23, align 1
br label %24
24: ; preds = %15
%25 = load i64, ptr %6, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %6, align 8
br label %10, !llvm.loop !6
27: ; preds = %10
%28 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%29 = call double @strtod(ptr noundef %28, ptr noundef %8)
store double %29, ptr %9, align 8
%30 = load ptr, ptr %5, align 8
%31 = icmp eq ptr %30, null
br i1 %31, label %32, label %34
32: ; preds = %27
%33 = load double, ptr %9, align 8
store double %33, ptr %3, align 8
br label %45
34: ; preds = %27
%35 = load ptr, ptr %8, align 8
%36 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%37 = ptrtoint ptr %35 to i64
%38 = ptrtoint ptr %36 to i64
%39 = sub i64 %37, %38
store i64 %39, ptr %6, align 8
%40 = load ptr, ptr %4, align 8
%41 = load i64, ptr %6, align 8
%42 = getelementptr inbounds i32, ptr %40, i64 %41
%43 = load ptr, ptr %5, align 8
store ptr %42, ptr %43, align 8
%44 = load double, ptr %9, align 8
store double %44, ptr %3, align 8
br label %45
45: ; preds = %34, %32
%46 = load double, ptr %3, align 8
ret double %46
}
declare i64 @wcslen(ptr noundef) #1
declare double @strtod(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptojs8jf6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @wcstod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca [200 x i8], align 16
%8 = alloca ptr, align 8
%9 = alloca double, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 0, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @wcslen(ptr noundef %11)
%13 = icmp ule i64 %10, %12
br i1 %13, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %23
%15 = load ptr, ptr %4, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i32, ptr %15, i64 %16
%18 = load i32, ptr %17, align 4
%19 = and i32 %18, 255
%20 = trunc i32 %19 to i8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 %21
store i8 %20, ptr %22, align 1
br label %23
23: ; preds = %14
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %6, align 8
%26 = load i64, ptr %6, align 8
%27 = load ptr, ptr %4, align 8
%28 = call i64 @wcslen(ptr noundef %27)
%29 = icmp ule i64 %26, %28
br i1 %29, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %30
30: ; preds = %._crit_edge, %2
%31 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%32 = call double @strtod(ptr noundef %31, ptr noundef %8)
store double %32, ptr %9, align 8
%33 = load ptr, ptr %5, align 8
%34 = icmp eq ptr %33, null
br i1 %34, label %35, label %37
35: ; preds = %30
%36 = load double, ptr %9, align 8
store double %36, ptr %3, align 8
br label %48
37: ; preds = %30
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%40 = ptrtoint ptr %38 to i64
%41 = ptrtoint ptr %39 to i64
%42 = sub i64 %40, %41
store i64 %42, ptr %6, align 8
%43 = load ptr, ptr %4, align 8
%44 = load i64, ptr %6, align 8
%45 = getelementptr inbounds i32, ptr %43, i64 %44
%46 = load ptr, ptr %5, align 8
store ptr %45, ptr %46, align 8
%47 = load double, ptr %9, align 8
store double %47, ptr %3, align 8
br label %48
48: ; preds = %37, %35
%49 = load double, ptr %3, align 8
ret double %49
}
declare i64 @wcslen(ptr noundef) #1
declare double @strtod(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp59uo2rno.c'
source_filename = "/tmp/tmp59uo2rno.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @generate_random_indicies_in_cluster(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = alloca ptr, align 8
%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 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 i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
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
store i32 %8, ptr %18, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
br label %25
25: ; preds = %102, %9
%26 = load i32, ptr %22, align 4
%27 = load i32, ptr %14, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %103
29: ; preds = %25
store i32 0, ptr %21, align 4
store i32 1, ptr %23, align 4
store i32 -1, ptr %20, align 4
br label %30
30: ; preds = %83, %29
%31 = load i32, ptr %21, align 4
%32 = load i32, ptr %15, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %41
34: ; preds = %30
%35 = load i32, ptr %23, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %41
37: ; preds = %34
%38 = load i32, ptr %20, align 4
%39 = load i32, ptr %13, align 4
%40 = icmp ne i32 %38, %39
br label %41
41: ; preds = %37, %34, %30
%42 = phi i1 [ false, %34 ], [ false, %30 ], [ %40, %37 ]
br i1 %42, label %43, label %86
43: ; preds = %41
%44 = call double (...) @rand()
%45 = load i64, ptr @RAND_MAX, align 8
%46 = sitofp i64 %45 to double
%47 = fdiv double %44, %46
%48 = load i32, ptr %17, align 4
%49 = sitofp i32 %48 to double
%50 = fmul double %47, %49
%51 = fptosi double %50 to i32
store i32 %51, ptr %19, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
br label %52
52: ; preds = %66, %43
%53 = load i32, ptr %24, align 4
%54 = load i32, ptr %22, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %56, label %69
56: ; preds = %52
%57 = load i32, ptr %19, align 4
%58 = load ptr, ptr %12, align 8
%59 = load i32, ptr %24, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = icmp eq i32 %57, %62
br i1 %63, label %64, label %65
64: ; preds = %56
store i32 1, ptr %23, align 4
br label %69
65: ; preds = %56
br label %66
66: ; preds = %65
%67 = load i32, ptr %24, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %24, align 4
br label %52, !llvm.loop !6
69: ; preds = %64, %52
%70 = load i32, ptr %23, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %83, label %72
72: ; preds = %69
%73 = load ptr, ptr %10, align 8
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %18, align 4
%76 = mul nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %73, i64 %77
%79 = load ptr, ptr %11, align 8
%80 = load i32, ptr %16, align 4
%81 = load i32, ptr %18, align 4
%82 = call i32 @closest_centroid(ptr noundef %78, ptr noundef %79, i32 noundef %80, i32 noundef %81)
store i32 %82, ptr %20, align 4
br label %83
83: ; preds = %72, %69
%84 = load i32, ptr %21, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %21, align 4
br label %30, !llvm.loop !8
86: ; preds = %41
%87 = load i32, ptr %23, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %97, label %89
89: ; preds = %86
%90 = load i32, ptr %19, align 4
%91 = load ptr, ptr %12, align 8
%92 = load i32, ptr %22, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
store i32 %90, ptr %94, align 4
%95 = load i32, ptr %22, align 4
%96 = add nsw i32 %95, 1
store i32 %96, ptr %22, align 4
br label %97
97: ; preds = %89, %86
%98 = load i32, ptr %21, align 4
%99 = load i32, ptr %15, align 4
%100 = icmp sge i32 %98, %99
br i1 %100, label %101, label %102
101: ; preds = %97
br label %103
102: ; preds = %97
br label %25, !llvm.loop !9
103: ; preds = %101, %25
%104 = load i32, ptr %22, align 4
ret i32 %104
}
declare double @rand(...) #1
declare i32 @closest_centroid(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59uo2rno.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @generate_random_indicies_in_cluster(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #0 {
%10 = alloca ptr, align 8
%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 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 i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
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
store i32 %8, ptr %18, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
%25 = load i32, ptr %22, align 4
%26 = load i32, ptr %14, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph2, label %.loopexit1
.lr.ph2: ; preds = %9
br label %32
28: ; preds = %102
%29 = load i32, ptr %22, align 4
%30 = load i32, ptr %14, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %..loopexit1_crit_edge, !llvm.loop !6
32: ; preds = %.lr.ph2, %28
store i32 0, ptr %21, align 4
store i32 1, ptr %23, align 4
store i32 -1, ptr %20, align 4
br label %33
33: ; preds = %88, %32
%34 = load i32, ptr %21, align 4
%35 = load i32, ptr %15, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %44
37: ; preds = %33
%38 = load i32, ptr %23, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %37
%41 = load i32, ptr %20, align 4
%42 = load i32, ptr %13, align 4
%43 = icmp ne i32 %41, %42
br label %44
44: ; preds = %40, %37, %33
%45 = phi i1 [ false, %37 ], [ false, %33 ], [ %43, %40 ]
br i1 %45, label %46, label %91
46: ; preds = %44
%47 = call double (...) @rand()
%48 = load i64, ptr @RAND_MAX, align 8
%49 = sitofp i64 %48 to double
%50 = fdiv double %47, %49
%51 = load i32, ptr %17, align 4
%52 = sitofp i32 %51 to double
%53 = fmul double %50, %52
%54 = fptosi double %53 to i32
store i32 %54, ptr %19, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
%55 = load i32, ptr %24, align 4
%56 = load i32, ptr %22, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %46
br label %58
58: ; preds = %.lr.ph, %68
%59 = load i32, ptr %19, align 4
%60 = load ptr, ptr %12, align 8
%61 = load i32, ptr %24, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
%65 = icmp eq i32 %59, %64
br i1 %65, label %66, label %67
66: ; preds = %58
store i32 1, ptr %23, align 4
br label %74
67: ; preds = %58
br label %68
68: ; preds = %67
%69 = load i32, ptr %24, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %24, align 4
%71 = load i32, ptr %24, align 4
%72 = load i32, ptr %22, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %58, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %68
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %46
br label %74
74: ; preds = %.loopexit, %66
%75 = load i32, ptr %23, align 4
%76 = icmp ne i32 %75, 0
br i1 %76, label %88, label %77
77: ; preds = %74
%78 = load ptr, ptr %10, align 8
%79 = load i32, ptr %19, align 4
%80 = load i32, ptr %18, align 4
%81 = mul nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds double, ptr %78, i64 %82
%84 = load ptr, ptr %11, align 8
%85 = load i32, ptr %16, align 4
%86 = load i32, ptr %18, align 4
%87 = call i32 @closest_centroid(ptr noundef %83, ptr noundef %84, i32 noundef %85, i32 noundef %86)
store i32 %87, ptr %20, align 4
br label %88
88: ; preds = %77, %74
%89 = load i32, ptr %21, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %21, align 4
br label %33, !llvm.loop !9
91: ; preds = %44
%92 = load i32, ptr %23, align 4
%93 = icmp ne i32 %92, 0
br i1 %93, label %102, label %94
94: ; preds = %91
%95 = load i32, ptr %19, align 4
%96 = load ptr, ptr %12, align 8
%97 = load i32, ptr %22, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %96, i64 %98
store i32 %95, ptr %99, align 4
%100 = load i32, ptr %22, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %22, align 4
br label %102
102: ; preds = %94, %91
%103 = load i32, ptr %21, align 4
%104 = load i32, ptr %15, align 4
%105 = icmp sge i32 %103, %104
br i1 %105, label %106, label %28
106: ; preds = %102
br label %107
..loopexit1_crit_edge: ; preds = %28
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %9
br label %107
107: ; preds = %.loopexit1, %106
%108 = load i32, ptr %22, align 4
ret i32 %108
}
declare double @rand(...) #1
declare i32 @closest_centroid(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmph7qs_0ey.c'
source_filename = "/tmp/tmph7qs_0ey.c"
target datalayout = "e-m:e-p270: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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wins_wch(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph7qs_0ey.c"
target datalayout = "e-m:e-p270: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"UNSUPPORTED\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_wins_wch(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = call i32 @check_arg_count(i32 noundef %5, i32 noundef 1)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %2
br label %12
9: ; preds = %2
%10 = call i32 @report_count(i32 noundef 1)
%11 = call i32 @report_error(ptr noundef @.str)
br label %12
12: ; preds = %9, %8
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpys6232vx.c'
source_filename = "/tmp/tmpys6232vx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Bank read/write tests.\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"read bank 1\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"clear bank 1\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"set bank 1\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"read bank 2\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"clear bank 2\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"set bank 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr %2, align 4
%6 = call i32 @gpio_write(i32 noundef %5, i32 noundef 25, i32 noundef 0)
%7 = load i32, ptr %2, align 4
%8 = call i32 @read_bank_1(i32 noundef %7)
%9 = and i32 %8, 33554432
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @CHECK(i32 noundef 8, i32 noundef 1, i32 noundef %10, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1)
%12 = load i32, ptr %2, align 4
%13 = call i32 @gpio_write(i32 noundef %12, i32 noundef 25, i32 noundef 1)
%14 = load i32, ptr %2, align 4
%15 = call i32 @read_bank_1(i32 noundef %14)
%16 = and i32 %15, 33554432
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @CHECK(i32 noundef 8, i32 noundef 2, i32 noundef %17, i32 noundef 33554432, i32 noundef 0, ptr noundef @.str.1)
%19 = load i32, ptr %2, align 4
%20 = call i32 @clear_bank_1(i32 noundef %19, i32 noundef 33554432)
%21 = load i32, ptr %2, align 4
%22 = call i32 @gpio_read(i32 noundef %21, i32 noundef 25)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 @CHECK(i32 noundef 8, i32 noundef 3, i32 noundef %23, i32 noundef 0, i32 noundef 0, ptr noundef @.str.2)
%25 = load i32, ptr %2, align 4
%26 = call i32 @set_bank_1(i32 noundef %25, i32 noundef 33554432)
%27 = load i32, ptr %2, align 4
%28 = call i32 @gpio_read(i32 noundef %27, i32 noundef 25)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = call i32 @CHECK(i32 noundef 8, i32 noundef 4, i32 noundef %29, i32 noundef 1, i32 noundef 0, ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = call i32 @read_bank_2(i32 noundef %31)
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %1
store i32 0, ptr %3, align 4
br label %37
36: ; preds = %1
store i32 1, ptr %3, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %3, align 4
%39 = call i32 @CHECK(i32 noundef 8, i32 noundef 5, i32 noundef %38, i32 noundef 0, i32 noundef 0, ptr noundef @.str.4)
%40 = load i32, ptr %2, align 4
%41 = call i32 @clear_bank_2(i32 noundef %40, i32 noundef 0)
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = call i32 @CHECK(i32 noundef 8, i32 noundef 6, i32 noundef %42, i32 noundef 0, i32 noundef 0, ptr noundef @.str.5)
%44 = load i32, ptr %2, align 4
%45 = call i32 @clear_bank_2(i32 noundef %44, i32 noundef 16777215)
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @CHECK(i32 noundef 8, i32 noundef 7, i32 noundef %46, i32 noundef -42, i32 noundef 0, ptr noundef @.str.5)
%48 = load i32, ptr %2, align 4
%49 = call i32 @set_bank_2(i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = call i32 @CHECK(i32 noundef 8, i32 noundef 8, i32 noundef %50, i32 noundef 0, i32 noundef 0, ptr noundef @.str.6)
%52 = load i32, ptr %2, align 4
%53 = call i32 @set_bank_2(i32 noundef %52, i32 noundef 16777215)
store i32 %53, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = call i32 @CHECK(i32 noundef 8, i32 noundef 9, i32 noundef %54, i32 noundef -42, i32 noundef 0, ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gpio_write(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read_bank_1(i32 noundef) #1
declare i32 @CHECK(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @clear_bank_1(i32 noundef, i32 noundef) #1
declare i32 @gpio_read(i32 noundef, i32 noundef) #1
declare i32 @set_bank_1(i32 noundef, i32 noundef) #1
declare i32 @read_bank_2(i32 noundef) #1
declare i32 @clear_bank_2(i32 noundef, i32 noundef) #1
declare i32 @set_bank_2(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/tmpys6232vx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Bank read/write tests.\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"read bank 1\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"clear bank 1\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"set bank 1\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"read bank 2\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"clear bank 2\00", align 1
@.str.6 = private unnamed_addr constant [11 x i8] c"set bank 2\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t8(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr %2, align 4
%6 = call i32 @gpio_write(i32 noundef %5, i32 noundef 25, i32 noundef 0)
%7 = load i32, ptr %2, align 4
%8 = call i32 @read_bank_1(i32 noundef %7)
%9 = and i32 %8, 33554432
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @CHECK(i32 noundef 8, i32 noundef 1, i32 noundef %10, i32 noundef 0, i32 noundef 0, ptr noundef @.str.1)
%12 = load i32, ptr %2, align 4
%13 = call i32 @gpio_write(i32 noundef %12, i32 noundef 25, i32 noundef 1)
%14 = load i32, ptr %2, align 4
%15 = call i32 @read_bank_1(i32 noundef %14)
%16 = and i32 %15, 33554432
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = call i32 @CHECK(i32 noundef 8, i32 noundef 2, i32 noundef %17, i32 noundef 33554432, i32 noundef 0, ptr noundef @.str.1)
%19 = load i32, ptr %2, align 4
%20 = call i32 @clear_bank_1(i32 noundef %19, i32 noundef 33554432)
%21 = load i32, ptr %2, align 4
%22 = call i32 @gpio_read(i32 noundef %21, i32 noundef 25)
store i32 %22, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = call i32 @CHECK(i32 noundef 8, i32 noundef 3, i32 noundef %23, i32 noundef 0, i32 noundef 0, ptr noundef @.str.2)
%25 = load i32, ptr %2, align 4
%26 = call i32 @set_bank_1(i32 noundef %25, i32 noundef 33554432)
%27 = load i32, ptr %2, align 4
%28 = call i32 @gpio_read(i32 noundef %27, i32 noundef 25)
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = call i32 @CHECK(i32 noundef 8, i32 noundef 4, i32 noundef %29, i32 noundef 1, i32 noundef 0, ptr noundef @.str.3)
%31 = load i32, ptr %2, align 4
%32 = call i32 @read_bank_2(i32 noundef %31)
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %1
store i32 0, ptr %3, align 4
br label %37
36: ; preds = %1
store i32 1, ptr %3, align 4
br label %37
37: ; preds = %36, %35
%38 = load i32, ptr %3, align 4
%39 = call i32 @CHECK(i32 noundef 8, i32 noundef 5, i32 noundef %38, i32 noundef 0, i32 noundef 0, ptr noundef @.str.4)
%40 = load i32, ptr %2, align 4
%41 = call i32 @clear_bank_2(i32 noundef %40, i32 noundef 0)
store i32 %41, ptr %3, align 4
%42 = load i32, ptr %3, align 4
%43 = call i32 @CHECK(i32 noundef 8, i32 noundef 6, i32 noundef %42, i32 noundef 0, i32 noundef 0, ptr noundef @.str.5)
%44 = load i32, ptr %2, align 4
%45 = call i32 @clear_bank_2(i32 noundef %44, i32 noundef 16777215)
store i32 %45, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @CHECK(i32 noundef 8, i32 noundef 7, i32 noundef %46, i32 noundef -42, i32 noundef 0, ptr noundef @.str.5)
%48 = load i32, ptr %2, align 4
%49 = call i32 @set_bank_2(i32 noundef %48, i32 noundef 0)
store i32 %49, ptr %3, align 4
%50 = load i32, ptr %3, align 4
%51 = call i32 @CHECK(i32 noundef 8, i32 noundef 8, i32 noundef %50, i32 noundef 0, i32 noundef 0, ptr noundef @.str.6)
%52 = load i32, ptr %2, align 4
%53 = call i32 @set_bank_2(i32 noundef %52, i32 noundef 16777215)
store i32 %53, ptr %3, align 4
%54 = load i32, ptr %3, align 4
%55 = call i32 @CHECK(i32 noundef 8, i32 noundef 9, i32 noundef %54, i32 noundef -42, i32 noundef 0, ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @gpio_write(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @read_bank_1(i32 noundef) #1
declare i32 @CHECK(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @clear_bank_1(i32 noundef, i32 noundef) #1
declare i32 @gpio_read(i32 noundef, i32 noundef) #1
declare i32 @set_bank_1(i32 noundef, i32 noundef) #1
declare i32 @read_bank_2(i32 noundef) #1
declare i32 @clear_bank_2(i32 noundef, i32 noundef) #1
declare i32 @set_bank_2(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/tmpi6qunw39.c'
source_filename = "/tmp/tmpi6qunw39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2line_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @s2line(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13)
ret void
}
declare i32 @s2line(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi6qunw39.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2line_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = call i32 @s2line(i32 noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13)
ret void
}
declare i32 @s2line(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3az12d32.c'
source_filename = "/tmp/tmp3az12d32.c"
target datalayout = "e-m:e-p270: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"(null)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wprintf(ptr noundef %0, ptr noundef %1, ...) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [20 x i8], align 16
%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 i64, align 8
%14 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr %4, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i32 1
store ptr %16, ptr %5, align 8
br label %17
17: ; preds = %222, %2
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i8, ptr %18, align 1
%21 = sext i8 %20 to i32
store i32 %21, ptr %6, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %223
23: ; preds = %17
%24 = load i32, ptr %6, align 4
%25 = icmp ne i32 %24, 37
br i1 %25, label %26, label %30
26: ; preds = %23
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %6, align 4
%29 = call i32 @wputchar(ptr noundef %27, i32 noundef %28)
br label %222
30: ; preds = %23
store i32 32, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
%33 = load i8, ptr %31, align 1
%34 = sext i8 %33 to i32
store i32 %34, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 48
br i1 %36, label %37, label %42
37: ; preds = %30
store i32 48, ptr %9, align 4
%38 = load ptr, ptr %4, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %4, align 8
%40 = load i8, ptr %38, align 1
%41 = sext i8 %40 to i32
store i32 %41, ptr %6, align 4
br label %42
42: ; preds = %37, %30
%43 = load i32, ptr %6, align 4
%44 = icmp sge i32 %43, 48
br i1 %44, label %45, label %68
45: ; preds = %42
%46 = load i32, ptr %6, align 4
%47 = icmp sle i32 %46, 57
br i1 %47, label %48, label %68
48: ; preds = %45
br label %49
49: ; preds = %65, %48
%50 = load i32, ptr %10, align 4
%51 = mul nsw i32 10, %50
%52 = load i32, ptr %6, align 4
%53 = sub nsw i32 %52, 48
%54 = add nsw i32 %51, %53
store i32 %54, ptr %10, align 4
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %4, align 8
%57 = load i8, ptr %55, align 1
%58 = sext i8 %57 to i32
store i32 %58, ptr %6, align 4
br label %59
59: ; preds = %49
%60 = load i32, ptr %6, align 4
%61 = icmp sge i32 %60, 48
br i1 %61, label %62, label %65
62: ; preds = %59
%63 = load i32, ptr %6, align 4
%64 = icmp sle i32 %63, 57
br label %65
65: ; preds = %62, %59
%66 = phi i1 [ false, %59 ], [ %64, %62 ]
br i1 %66, label %49, label %67, !llvm.loop !6
67: ; preds = %65
br label %68
68: ; preds = %67, %45, %42
%69 = load i32, ptr %6, align 4
%70 = icmp eq i32 %69, 108
br i1 %70, label %71, label %76
71: ; preds = %68
store i32 1, ptr %11, align 4
%72 = load ptr, ptr %4, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %4, align 8
%74 = load i8, ptr %72, align 1
%75 = sext i8 %74 to i32
store i32 %75, ptr %6, align 4
br label %76
76: ; preds = %71, %68
%77 = load i32, ptr %6, align 4
%78 = icmp eq i32 %77, 122
br i1 %78, label %79, label %84
79: ; preds = %76
store i32 1, ptr %12, align 4
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds i8, ptr %80, i32 1
store ptr %81, ptr %4, align 8
%82 = load i8, ptr %80, align 1
%83 = sext i8 %82 to i32
store i32 %83, ptr %6, align 4
br label %84
84: ; preds = %79, %76
%85 = load i32, ptr %6, align 4
switch i32 %85, label %215 [
i32 100, label %86
i32 117, label %86
i32 120, label %86
i32 99, label %188
i32 115, label %195
]
86: ; preds = %84, %84, %84
%87 = load i32, ptr %11, align 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %86
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i32 1
store ptr %91, ptr %5, align 8
%92 = load i64, ptr %90, align 8
br label %98
93: ; preds = %86
%94 = load ptr, ptr %5, align 8
%95 = getelementptr inbounds ptr, ptr %94, i32 1
store ptr %95, ptr %5, align 8
%96 = load i32, ptr %94, align 4
%97 = sext i32 %96 to i64
br label %98
98: ; preds = %93, %89
%99 = phi i64 [ %92, %89 ], [ %97, %93 ]
store i64 %99, ptr %13, align 8
store i8 66, ptr %14, align 1
%100 = load i32, ptr %12, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %135
102: ; preds = %98
%103 = load i64, ptr %13, align 8
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %135
105: ; preds = %102
%106 = load i64, ptr %13, align 8
%107 = ashr i64 %106, 30
%108 = shl i64 %107, 30
%109 = load i64, ptr %13, align 8
%110 = icmp eq i64 %108, %109
br i1 %110, label %111, label %114
111: ; preds = %105
%112 = load i64, ptr %13, align 8
%113 = ashr i64 %112, 30
store i64 %113, ptr %13, align 8
store i8 71, ptr %14, align 1
br label %134
114: ; preds = %105
%115 = load i64, ptr %13, align 8
%116 = ashr i64 %115, 20
%117 = shl i64 %116, 20
%118 = load i64, ptr %13, align 8
%119 = icmp eq i64 %117, %118
br i1 %119, label %120, label %123
120: ; preds = %114
%121 = load i64, ptr %13, align 8
%122 = ashr i64 %121, 20
store i64 %122, ptr %13, align 8
store i8 77, ptr %14, align 1
br label %133
123: ; preds = %114
%124 = load i64, ptr %13, align 8
%125 = ashr i64 %124, 10
%126 = shl i64 %125, 10
%127 = load i64, ptr %13, align 8
%128 = icmp eq i64 %126, %127
br i1 %128, label %129, label %132
129: ; preds = %123
%130 = load i64, ptr %13, align 8
%131 = ashr i64 %130, 10
store i64 %131, ptr %13, align 8
store i8 75, ptr %14, align 1
br label %132
132: ; preds = %129, %123
br label %133
133: ; preds = %132, %120
br label %134
134: ; preds = %133, %111
br label %135
135: ; preds = %134, %102, %98
%136 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%137 = load i32, ptr %6, align 4
%138 = load i64, ptr %13, align 8
%139 = call i32 @itoa(ptr noundef %136, i32 noundef %137, i64 noundef %138)
%140 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
store ptr %140, ptr %8, align 8
br label %141
141: ; preds = %148, %135
%142 = load ptr, ptr %8, align 8
%143 = load i8, ptr %142, align 1
%144 = icmp ne i8 %143, 0
br i1 %144, label %145, label %151
145: ; preds = %141
%146 = load i32, ptr %10, align 4
%147 = add nsw i32 %146, -1
store i32 %147, ptr %10, align 4
br label %148
148: ; preds = %145
%149 = load ptr, ptr %8, align 8
%150 = getelementptr inbounds i8, ptr %149, i32 1
store ptr %150, ptr %8, align 8
br label %141, !llvm.loop !8
151: ; preds = %141
br label %152
152: ; preds = %156, %151
%153 = load i32, ptr %10, align 4
%154 = add nsw i32 %153, -1
store i32 %154, ptr %10, align 4
%155 = icmp slt i32 0, %153
br i1 %155, label %156, label %160
156: ; preds = %152
%157 = load ptr, ptr %3, align 8
%158 = load i32, ptr %9, align 4
%159 = call i32 @wputchar(ptr noundef %157, i32 noundef %158)
br label %152, !llvm.loop !9
160: ; preds = %152
%161 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
store ptr %161, ptr %8, align 8
br label %162
162: ; preds = %172, %160
%163 = load ptr, ptr %8, align 8
%164 = load i8, ptr %163, align 1
%165 = icmp ne i8 %164, 0
br i1 %165, label %166, label %175
166: ; preds = %162
%167 = load ptr, ptr %3, align 8
%168 = load ptr, ptr %8, align 8
%169 = load i8, ptr %168, align 1
%170 = sext i8 %169 to i32
%171 = call i32 @wputchar(ptr noundef %167, i32 noundef %170)
br label %172
172: ; preds = %166
%173 = load ptr, ptr %8, align 8
%174 = getelementptr inbounds i8, ptr %173, i32 1
store ptr %174, ptr %8, align 8
br label %162, !llvm.loop !10
175: ; preds = %162
%176 = load i32, ptr %12, align 4
%177 = icmp ne i32 %176, 0
br i1 %177, label %178, label %187
178: ; preds = %175
%179 = load i8, ptr %14, align 1
%180 = sext i8 %179 to i32
%181 = icmp ne i32 %180, 66
br i1 %181, label %182, label %187
182: ; preds = %178
%183 = load ptr, ptr %3, align 8
%184 = load i8, ptr %14, align 1
%185 = sext i8 %184 to i32
%186 = call i32 @wputchar(ptr noundef %183, i32 noundef %185)
br label %187
187: ; preds = %182, %178, %175
br label %221
188: ; preds = %84
%189 = load ptr, ptr %3, align 8
%190 = load ptr, ptr %5, align 8
%191 = getelementptr inbounds ptr, ptr %190, i32 1
store ptr %191, ptr %5, align 8
%192 = load i8, ptr %190, align 1
%193 = sext i8 %192 to i32
%194 = call i32 @wputchar(ptr noundef %189, i32 noundef %193)
br label %221
195: ; preds = %84
%196 = load ptr, ptr %5, align 8
%197 = getelementptr inbounds ptr, ptr %196, i32 1
store ptr %197, ptr %5, align 8
%198 = load ptr, ptr %196, align 8
store ptr %198, ptr %8, align 8
%199 = load ptr, ptr %8, align 8
%200 = icmp ne ptr %199, null
br i1 %200, label %202, label %201
201: ; preds = %195
store ptr @.str, ptr %8, align 8
br label %202
202: ; preds = %201, %195
br label %203
203: ; preds = %207, %202
%204 = load ptr, ptr %8, align 8
%205 = load i8, ptr %204, align 1
%206 = icmp ne i8 %205, 0
br i1 %206, label %207, label %214
207: ; preds = %203
%208 = load ptr, ptr %3, align 8
%209 = load ptr, ptr %8, align 8
%210 = getelementptr inbounds i8, ptr %209, i32 1
store ptr %210, ptr %8, align 8
%211 = load i8, ptr %209, align 1
%212 = sext i8 %211 to i32
%213 = call i32 @wputchar(ptr noundef %208, i32 noundef %212)
br label %203, !llvm.loop !11
214: ; preds = %203
br label %221
215: ; preds = %84
%216 = load ptr, ptr %3, align 8
%217 = load ptr, ptr %5, align 8
%218 = getelementptr inbounds ptr, ptr %217, i32 1
store ptr %218, ptr %5, align 8
%219 = load i32, ptr %217, align 4
%220 = call i32 @wputchar(ptr noundef %216, i32 noundef %219)
br label %221
221: ; preds = %215, %214, %188, %187
br label %222
222: ; preds = %221, %26
br label %17, !llvm.loop !12
223: ; preds = %17
ret void
}
declare i32 @wputchar(ptr noundef, i32 noundef) #1
declare i32 @itoa(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3az12d32.c"
target datalayout = "e-m:e-p270: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"(null)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wprintf(ptr noundef %0, ptr noundef %1, ...) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca [20 x i8], align 16
%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 i64, align 8
%14 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr %4, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i32 1
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
%19 = load i8, ptr %17, align 1
%20 = sext i8 %19 to i32
store i32 %20, ptr %6, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %.lr.ph11, label %235
.lr.ph11: ; preds = %2
br label %22
22: ; preds = %.lr.ph11, %229
%23 = load i32, ptr %6, align 4
%24 = icmp ne i32 %23, 37
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = load ptr, ptr %3, align 8
%27 = load i32, ptr %6, align 4
%28 = call i32 @wputchar(ptr noundef %26, i32 noundef %27)
br label %229
29: ; preds = %22
store i32 32, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %4, align 8
%32 = load i8, ptr %30, align 1
%33 = sext i8 %32 to i32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 48
br i1 %35, label %36, label %41
36: ; preds = %29
store i32 48, ptr %9, align 4
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %4, align 8
%39 = load i8, ptr %37, align 1
%40 = sext i8 %39 to i32
store i32 %40, ptr %6, align 4
br label %41
41: ; preds = %36, %29
%42 = load i32, ptr %6, align 4
%43 = icmp sge i32 %42, 48
br i1 %43, label %44, label %67
44: ; preds = %41
%45 = load i32, ptr %6, align 4
%46 = icmp sle i32 %45, 57
br i1 %46, label %47, label %67
47: ; preds = %44
br label %48
48: ; preds = %64, %47
%49 = load i32, ptr %10, align 4
%50 = mul nsw i32 10, %49
%51 = load i32, ptr %6, align 4
%52 = sub nsw i32 %51, 48
%53 = add nsw i32 %50, %52
store i32 %53, ptr %10, align 4
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %4, align 8
%56 = load i8, ptr %54, align 1
%57 = sext i8 %56 to i32
store i32 %57, ptr %6, align 4
br label %58
58: ; preds = %48
%59 = load i32, ptr %6, align 4
%60 = icmp sge i32 %59, 48
br i1 %60, label %61, label %64
61: ; preds = %58
%62 = load i32, ptr %6, align 4
%63 = icmp sle i32 %62, 57
br label %64
64: ; preds = %61, %58
%65 = phi i1 [ false, %58 ], [ %63, %61 ]
br i1 %65, label %48, label %66, !llvm.loop !6
66: ; preds = %64
br label %67
67: ; preds = %66, %44, %41
%68 = load i32, ptr %6, align 4
%69 = icmp eq i32 %68, 108
br i1 %69, label %70, label %75
70: ; preds = %67
store i32 1, ptr %11, align 4
%71 = load ptr, ptr %4, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %4, align 8
%73 = load i8, ptr %71, align 1
%74 = sext i8 %73 to i32
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %70, %67
%76 = load i32, ptr %6, align 4
%77 = icmp eq i32 %76, 122
br i1 %77, label %78, label %83
78: ; preds = %75
store i32 1, ptr %12, align 4
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %4, align 8
%81 = load i8, ptr %79, align 1
%82 = sext i8 %81 to i32
store i32 %82, ptr %6, align 4
br label %83
83: ; preds = %78, %75
%84 = load i32, ptr %6, align 4
switch i32 %84, label %222 [
i32 100, label %85
i32 117, label %85
i32 120, label %85
i32 99, label %193
i32 115, label %200
]
85: ; preds = %83, %83, %83
%86 = load i32, ptr %11, align 4
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %92
88: ; preds = %85
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds ptr, ptr %89, i32 1
store ptr %90, ptr %5, align 8
%91 = load i64, ptr %89, align 8
br label %97
92: ; preds = %85
%93 = load ptr, ptr %5, align 8
%94 = getelementptr inbounds ptr, ptr %93, i32 1
store ptr %94, ptr %5, align 8
%95 = load i32, ptr %93, align 4
%96 = sext i32 %95 to i64
br label %97
97: ; preds = %92, %88
%98 = phi i64 [ %91, %88 ], [ %96, %92 ]
store i64 %98, ptr %13, align 8
store i8 66, ptr %14, align 1
%99 = load i32, ptr %12, align 4
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %134
101: ; preds = %97
%102 = load i64, ptr %13, align 8
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %134
104: ; preds = %101
%105 = load i64, ptr %13, align 8
%106 = ashr i64 %105, 30
%107 = shl i64 %106, 30
%108 = load i64, ptr %13, align 8
%109 = icmp eq i64 %107, %108
br i1 %109, label %110, label %113
110: ; preds = %104
%111 = load i64, ptr %13, align 8
%112 = ashr i64 %111, 30
store i64 %112, ptr %13, align 8
store i8 71, ptr %14, align 1
br label %133
113: ; preds = %104
%114 = load i64, ptr %13, align 8
%115 = ashr i64 %114, 20
%116 = shl i64 %115, 20
%117 = load i64, ptr %13, align 8
%118 = icmp eq i64 %116, %117
br i1 %118, label %119, label %122
119: ; preds = %113
%120 = load i64, ptr %13, align 8
%121 = ashr i64 %120, 20
store i64 %121, ptr %13, align 8
store i8 77, ptr %14, align 1
br label %132
122: ; preds = %113
%123 = load i64, ptr %13, align 8
%124 = ashr i64 %123, 10
%125 = shl i64 %124, 10
%126 = load i64, ptr %13, align 8
%127 = icmp eq i64 %125, %126
br i1 %127, label %128, label %131
128: ; preds = %122
%129 = load i64, ptr %13, align 8
%130 = ashr i64 %129, 10
store i64 %130, ptr %13, align 8
store i8 75, ptr %14, align 1
br label %131
131: ; preds = %128, %122
br label %132
132: ; preds = %131, %119
br label %133
133: ; preds = %132, %110
br label %134
134: ; preds = %133, %101, %97
%135 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
%136 = load i32, ptr %6, align 4
%137 = load i64, ptr %13, align 8
%138 = call i32 @itoa(ptr noundef %135, i32 noundef %136, i64 noundef %137)
%139 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
store ptr %139, ptr %8, align 8
%140 = load ptr, ptr %8, align 8
%141 = load i8, ptr %140, align 1
%142 = icmp ne i8 %141, 0
br i1 %142, label %.lr.ph2, label %152
.lr.ph2: ; preds = %134
br label %143
143: ; preds = %.lr.ph2, %146
%144 = load i32, ptr %10, align 4
%145 = add nsw i32 %144, -1
store i32 %145, ptr %10, align 4
br label %146
146: ; preds = %143
%147 = load ptr, ptr %8, align 8
%148 = getelementptr inbounds i8, ptr %147, i32 1
store ptr %148, ptr %8, align 8
%149 = load ptr, ptr %8, align 8
%150 = load i8, ptr %149, align 1
%151 = icmp ne i8 %150, 0
br i1 %151, label %143, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %146
br label %152
152: ; preds = %._crit_edge3, %134
%153 = load i32, ptr %10, align 4
%154 = add nsw i32 %153, -1
store i32 %154, ptr %10, align 4
%155 = icmp slt i32 0, %153
br i1 %155, label %.lr.ph5, label %163
.lr.ph5: ; preds = %152
br label %156
156: ; preds = %.lr.ph5, %156
%157 = load ptr, ptr %3, align 8
%158 = load i32, ptr %9, align 4
%159 = call i32 @wputchar(ptr noundef %157, i32 noundef %158)
%160 = load i32, ptr %10, align 4
%161 = add nsw i32 %160, -1
store i32 %161, ptr %10, align 4
%162 = icmp slt i32 0, %160
br i1 %162, label %156, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %156
br label %163
163: ; preds = %._crit_edge6, %152
%164 = getelementptr inbounds [20 x i8], ptr %7, i64 0, i64 0
store ptr %164, ptr %8, align 8
%165 = load ptr, ptr %8, align 8
%166 = load i8, ptr %165, align 1
%167 = icmp ne i8 %166, 0
br i1 %167, label %.lr.ph8, label %180
.lr.ph8: ; preds = %163
br label %168
168: ; preds = %.lr.ph8, %174
%169 = load ptr, ptr %3, align 8
%170 = load ptr, ptr %8, align 8
%171 = load i8, ptr %170, align 1
%172 = sext i8 %171 to i32
%173 = call i32 @wputchar(ptr noundef %169, i32 noundef %172)
br label %174
174: ; preds = %168
%175 = load ptr, ptr %8, align 8
%176 = getelementptr inbounds i8, ptr %175, i32 1
store ptr %176, ptr %8, align 8
%177 = load ptr, ptr %8, align 8
%178 = load i8, ptr %177, align 1
%179 = icmp ne i8 %178, 0
br i1 %179, label %168, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %174
br label %180
180: ; preds = %._crit_edge9, %163
%181 = load i32, ptr %12, align 4
%182 = icmp ne i32 %181, 0
br i1 %182, label %183, label %192
183: ; preds = %180
%184 = load i8, ptr %14, align 1
%185 = sext i8 %184 to i32
%186 = icmp ne i32 %185, 66
br i1 %186, label %187, label %192
187: ; preds = %183
%188 = load ptr, ptr %3, align 8
%189 = load i8, ptr %14, align 1
%190 = sext i8 %189 to i32
%191 = call i32 @wputchar(ptr noundef %188, i32 noundef %190)
br label %192
192: ; preds = %187, %183, %180
br label %228
193: ; preds = %83
%194 = load ptr, ptr %3, align 8
%195 = load ptr, ptr %5, align 8
%196 = getelementptr inbounds ptr, ptr %195, i32 1
store ptr %196, ptr %5, align 8
%197 = load i8, ptr %195, align 1
%198 = sext i8 %197 to i32
%199 = call i32 @wputchar(ptr noundef %194, i32 noundef %198)
br label %228
200: ; preds = %83
%201 = load ptr, ptr %5, align 8
%202 = getelementptr inbounds ptr, ptr %201, i32 1
store ptr %202, ptr %5, align 8
%203 = load ptr, ptr %201, align 8
store ptr %203, ptr %8, align 8
%204 = load ptr, ptr %8, align 8
%205 = icmp ne ptr %204, null
br i1 %205, label %207, label %206
206: ; preds = %200
store ptr @.str, ptr %8, align 8
br label %207
207: ; preds = %206, %200
%208 = load ptr, ptr %8, align 8
%209 = load i8, ptr %208, align 1
%210 = icmp ne i8 %209, 0
br i1 %210, label %.lr.ph, label %221
.lr.ph: ; preds = %207
br label %211
211: ; preds = %.lr.ph, %211
%212 = load ptr, ptr %3, align 8
%213 = load ptr, ptr %8, align 8
%214 = getelementptr inbounds i8, ptr %213, i32 1
store ptr %214, ptr %8, align 8
%215 = load i8, ptr %213, align 1
%216 = sext i8 %215 to i32
%217 = call i32 @wputchar(ptr noundef %212, i32 noundef %216)
%218 = load ptr, ptr %8, align 8
%219 = load i8, ptr %218, align 1
%220 = icmp ne i8 %219, 0
br i1 %220, label %211, label %._crit_edge, !llvm.loop !11
._crit_edge: ; preds = %211
br label %221
221: ; preds = %._crit_edge, %207
br label %228
222: ; preds = %83
%223 = load ptr, ptr %3, align 8
%224 = load ptr, ptr %5, align 8
%225 = getelementptr inbounds ptr, ptr %224, i32 1
store ptr %225, ptr %5, align 8
%226 = load i32, ptr %224, align 4
%227 = call i32 @wputchar(ptr noundef %223, i32 noundef %226)
br label %228
228: ; preds = %222, %221, %193, %192
br label %229
229: ; preds = %228, %25
%230 = load ptr, ptr %4, align 8
%231 = getelementptr inbounds i8, ptr %230, i32 1
store ptr %231, ptr %4, align 8
%232 = load i8, ptr %230, align 1
%233 = sext i8 %232 to i32
store i32 %233, ptr %6, align 4
%234 = icmp ne i32 %233, 0
br i1 %234, label %22, label %._crit_edge12, !llvm.loop !12
._crit_edge12: ; preds = %229
br label %235
235: ; preds = %._crit_edge12, %2
ret void
}
declare i32 @wputchar(ptr noundef, i32 noundef) #1
declare i32 @itoa(ptr noundef, i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmptw79wb_q.c'
source_filename = "/tmp/tmptw79wb_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llio_fd_isset(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @FD_ISSET(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @FD_ISSET(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/tmptw79wb_q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llio_fd_isset(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @FD_ISSET(i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @FD_ISSET(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/tmpfewwj002.c'
source_filename = "/tmp/tmpfewwj002.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_G_LevelFree(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 i32 @G_Z_Free(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @G_Z_Free(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfewwj002.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_G_LevelFree(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 i32 @G_Z_Free(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret void
}
declare i32 @G_Z_Free(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcv6lljir.c'
source_filename = "/tmp/tmpcv6lljir.c"
target datalayout = "e-m:e-p270: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/tmpcv6lljir.c"
target datalayout = "e-m:e-p270: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/tmp5yjat_9n.c'
source_filename = "/tmp/tmp5yjat_9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strclr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @ft_strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
br label %7
7: ; preds = %11, %1
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %7
%12 = load ptr, ptr %2, align 8
store i8 0, ptr %12, align 1
%13 = load ptr, ptr %2, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
br label %7, !llvm.loop !6
17: ; preds = %7
ret void
}
declare i32 @ft_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5yjat_9n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strclr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = call i32 @ft_strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %2, align 8
store i8 0, ptr %11, align 1
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%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 = load i32, ptr %3, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %19
19: ; preds = %._crit_edge, %1
ret void
}
declare i32 @ft_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdv1uhwl2.c'
source_filename = "/tmp/tmpdv1uhwl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 200, i32 noundef %4)
%6 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @hash(ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @hash(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/tmpdv1uhwl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [4 x i8] c"%li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @fgets(ptr noundef %3, i32 noundef 200, i32 noundef %4)
%6 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @hash(ptr noundef %6)
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
ret i32 0
}
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @hash(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/tmpi3b9j9y3.c'
source_filename = "/tmp/tmpi3b9j9y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"libfoo.dylib\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"rpath-dlopen-leak\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [512 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %18, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 100
br i1 %8, label %9, label %21
9: ; preds = %6
%10 = load i32, ptr @RTLD_LAZY, align 4
%11 = call ptr @dlopen(ptr noundef @.str, i32 noundef %10)
store ptr %11, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call i32 @dlclose(ptr noundef %15)
br label %17
17: ; preds = %14, %9
br label %18
18: ; preds = %17
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %6, !llvm.loop !6
21: ; preds = %6
%22 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0
%23 = call i32 @system(ptr noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr @EXIT_SUCCESS, align 4
%26 = icmp eq i32 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @PASS(ptr noundef @.str.1)
br label %31
29: ; preds = %21
%30 = call i32 @FAIL(ptr noundef @.str.1)
br label %31
31: ; preds = %29, %27
%32 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %32
}
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @dlclose(ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @PASS(ptr noundef) #1
declare i32 @FAIL(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/tmpi3b9j9y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"libfoo.dylib\00", align 1
@RTLD_LAZY = dso_local global i32 0, align 4
@EXIT_SUCCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [18 x i8] c"rpath-dlopen-leak\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca [512 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %17
%9 = load i32, ptr @RTLD_LAZY, align 4
%10 = call ptr @dlopen(ptr noundef @.str, i32 noundef %9)
store ptr %10, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = call i32 @dlclose(ptr noundef %14)
br label %16
16: ; preds = %13, %8
br label %17
17: ; preds = %16
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 100
br i1 %21, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0
%24 = call i32 @system(ptr noundef %23)
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr @EXIT_SUCCESS, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = call i32 @PASS(ptr noundef @.str.1)
br label %32
30: ; preds = %22
%31 = call i32 @FAIL(ptr noundef @.str.1)
br label %32
32: ; preds = %30, %28
%33 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %33
}
declare ptr @dlopen(ptr noundef, i32 noundef) #1
declare i32 @dlclose(ptr noundef) #1
declare i32 @system(ptr noundef) #1
declare i32 @PASS(ptr noundef) #1
declare i32 @FAIL(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/tmpcmsqovfp.c'
source_filename = "/tmp/tmpcmsqovfp.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Could not parse pattern tree '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\0AError4\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ordered_pattern_tree2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @newick_scanner_set_string_input(ptr noundef %4)
%6 = call ptr (...) @parse_tree()
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %1
%17 = call i32 (...) @newick_scanner_clear_string_input()
%18 = load ptr, ptr %3, align 8
ret ptr %18
}
declare i32 @newick_scanner_set_string_input(ptr noundef) #1
declare ptr @parse_tree(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @newick_scanner_clear_string_input(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpcmsqovfp.c"
target datalayout = "e-m:e-p270: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 [35 x i8] c"Could not parse pattern tree '%s'\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"\0AError4\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ordered_pattern_tree2(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @newick_scanner_set_string_input(ptr noundef %4)
%6 = call ptr (...) @parse_tree()
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp eq ptr null, %7
br i1 %8, label %9, label %16
9: ; preds = %1
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = load i32, ptr @EXIT_FAILURE, align 4
%15 = call i32 @exit(i32 noundef %14) #3
unreachable
16: ; preds = %1
%17 = call i32 (...) @newick_scanner_clear_string_input()
%18 = load ptr, ptr %3, align 8
ret ptr %18
}
declare i32 @newick_scanner_set_string_input(ptr noundef) #1
declare ptr @parse_tree(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @newick_scanner_clear_string_input(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmply3mqscg.c'
source_filename = "/tmp/tmply3mqscg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert1() #0 {
%1 = call i32 @assert_perror(i32 noundef 1)
ret void
}
declare i32 @assert_perror(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/tmply3mqscg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @assert1() #0 {
%1 = call i32 @assert_perror(i32 noundef 1)
ret void
}
declare i32 @assert_perror(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/tmp0fhia30d.c'
source_filename = "/tmp/tmp0fhia30d.c"
target datalayout = "e-m:e-p270: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"Enter a word (up to 6 letters): \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Welcome to H A N G M A N\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @play_hangman(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @play_hangman(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/tmp0fhia30d.c"
target datalayout = "e-m:e-p270: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"Enter a word (up to 6 letters): \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Welcome to H A N G M A N\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [6 x i8], align 1
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @gets(ptr noundef %4)
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = getelementptr inbounds [6 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @play_hangman(ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @gets(ptr noundef) #1
declare i32 @play_hangman(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/tmpx4bcsoch.c'
source_filename = "/tmp/tmpx4bcsoch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @EDtan(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i32 @cos(double noundef %4)
%6 = sitofp i32 %5 to double
%7 = fdiv double 1.000000e+00, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fmul double %8, %9
ret double %10
}
declare i32 @cos(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/tmpx4bcsoch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @EDtan(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = call i32 @cos(double noundef %4)
%6 = sitofp i32 %5 to double
%7 = fdiv double 1.000000e+00, %6
store double %7, ptr %3, align 8
%8 = load double, ptr %3, align 8
%9 = load double, ptr %3, align 8
%10 = fmul double %8, %9
ret double %10
}
declare i32 @cos(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/tmpn3xo9ek0.c'
source_filename = "/tmp/tmpn3xo9ek0.c"
target datalayout = "e-m:e-p270: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/tmpn3xo9ek0.c"
target datalayout = "e-m:e-p270: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/tmpkxvovped.c'
source_filename = "/tmp/tmpkxvovped.c"
target datalayout = "e-m:e-p270: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"Algorithm stars... please wait.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Algorithm end.\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Total time: %f\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %8, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call double (...) @clock()
store double %13, ptr %6, align 8
store i32 1, ptr %9, align 4
br label %14
14: ; preds = %39, %2
%15 = load i32, ptr %9, align 4
%16 = icmp ule i32 %15, 1000
br i1 %16, label %17, label %42
17: ; preds = %14
%18 = load i32, ptr %9, align 4
%19 = zext i32 %18 to i64
store i64 %19, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %20
20: ; preds = %31, %17
%21 = load i32, ptr %11, align 4
%22 = load i32, ptr %9, align 4
%23 = sub i32 %22, 1
%24 = icmp ult i32 %21, %23
br i1 %24, label %25, label %34
25: ; preds = %20
%26 = load i64, ptr %10, align 8
%27 = load i32, ptr %9, align 4
%28 = zext i32 %27 to i64
%29 = mul i64 %26, %28
%30 = urem i64 %29, 10000000000
store i64 %30, ptr %10, align 8
br label %31
31: ; preds = %25
%32 = load i32, ptr %11, align 4
%33 = add i32 %32, 1
store i32 %33, ptr %11, align 4
br label %20, !llvm.loop !6
34: ; preds = %20
%35 = load i64, ptr %8, align 8
%36 = load i64, ptr %10, align 8
%37 = add i64 %35, %36
%38 = urem i64 %37, 10000000000
store i64 %38, ptr %8, align 8
br label %39
39: ; preds = %34
%40 = load i32, ptr %9, align 4
%41 = add i32 %40, 1
store i32 %41, ptr %9, align 4
br label %14, !llvm.loop !8
42: ; preds = %14
%43 = call double (...) @clock()
store double %43, ptr %7, align 8
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%45 = load double, ptr %7, align 8
%46 = load double, ptr %6, align 8
%47 = fsub double %45, %46
%48 = load double, ptr @CLOCKS_PER_SEC, align 8
%49 = fdiv double %47, %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkxvovped.c"
target datalayout = "e-m:e-p270: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"Algorithm stars... please wait.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Algorithm end.\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Total time: %f\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 0, ptr %8, align 8
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = call double (...) @clock()
store double %13, ptr %6, align 8
store i32 1, ptr %9, align 4
%14 = load i32, ptr %9, align 4
%15 = icmp ule i32 %14, 1000
br i1 %15, label %.lr.ph2, label %46
.lr.ph2: ; preds = %2
br label %16
16: ; preds = %.lr.ph2, %41
%17 = load i32, ptr %9, align 4
%18 = zext i32 %17 to i64
store i64 %18, ptr %10, align 8
store i32 0, ptr %11, align 4
%19 = load i32, ptr %11, align 4
%20 = load i32, ptr %9, align 4
%21 = sub i32 %20, 1
%22 = icmp ult i32 %19, %21
br i1 %22, label %.lr.ph, label %36
.lr.ph: ; preds = %16
br label %23
23: ; preds = %.lr.ph, %29
%24 = load i64, ptr %10, align 8
%25 = load i32, ptr %9, align 4
%26 = zext i32 %25 to i64
%27 = mul i64 %24, %26
%28 = urem i64 %27, 10000000000
store i64 %28, ptr %10, align 8
br label %29
29: ; preds = %23
%30 = load i32, ptr %11, align 4
%31 = add i32 %30, 1
store i32 %31, ptr %11, align 4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = sub i32 %33, 1
%35 = icmp ult i32 %32, %34
br i1 %35, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %16
%37 = load i64, ptr %8, align 8
%38 = load i64, ptr %10, align 8
%39 = add i64 %37, %38
%40 = urem i64 %39, 10000000000
store i64 %40, ptr %8, align 8
br label %41
41: ; preds = %36
%42 = load i32, ptr %9, align 4
%43 = add i32 %42, 1
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp ule i32 %44, 1000
br i1 %45, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %2
%47 = call double (...) @clock()
store double %47, ptr %7, align 8
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%49 = load double, ptr %7, align 8
%50 = load double, ptr %6, align 8
%51 = fsub double %49, %50
%52 = load double, ptr @CLOCKS_PER_SEC, align 8
%53 = fdiv double %51, %52
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %53)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare double @clock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp2b6gvoyc.c'
source_filename = "/tmp/tmp2b6gvoyc.c"
target datalayout = "e-m:e-p270: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"clear\00", align 1
@.str.1 = private unnamed_addr constant [137 x i8] c" %s\0A ------------------------\0A\0A S Start the game\0A\0A C Show credits\0A\0A I Info about playing\0A\0A Q Quit\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Mastermind\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.6 = private unnamed_addr constant [298 x i8] c"Name: %s\0AVersion: %s\0A\0ACopyright (C) 2013 %s <%s>\0A\0A%s is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 3 of the License, or\0A(at your option) any later version.\0A\0AWritten by %s.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"0.1.0\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"Ilias Stamatis\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"stamatis.iliass@gmail.com\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"[Press Enter.]\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.12 = private unnamed_addr constant [984 x i8] c"Info about playing\0A-------------------\0AAt the beginning of the game computer chooses a secret code consisting of\0A4 unique colors in random order. Your goal is to find this code and to do so\0Ayou have a specified number of tries. For each try computer gives you some\0Ainformation. For each color that exists in your code in exact the same position\0Aas in computer's secret code a red mark will be sown and for each color in your\0Acode that appears in secret code too but not in the correct position, a yellow\0Amark will be sown. If you find the secret code before the game is over, you win.\0A\0AOnly three commands are understood by the program:\0A - n color, Put color which should be a known color (a list of all colors\0A will be displayed) in column n (an integer from 1 to 4).\0A If null is given instead of a color the cell will become empty.\0A Examples: 1 red, 3 yellow, 1 null\0A - check, Check your code and set marks.\0A - exit, Quit program.\0A\0A Have fun!\0A\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"q\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_menu() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca [2 x ptr], align 16
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false)
br label %3
3: ; preds = %63, %21, %0
%4 = call i32 @system(ptr noundef @.str)
%5 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @fgets(ptr noundef %6, i32 noundef 256, i32 noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%10 = call i32 @s_tolower(ptr noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%12 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%13 = call i32 @s_tokenize(ptr noundef %11, ptr noundef %12, i32 noundef 2, ptr noundef @.str.3)
%14 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%15 = load ptr, ptr %14, align 16
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %3
%18 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 1
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %17, %3
br label %3
22: ; preds = %17
%23 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%24 = load ptr, ptr %23, align 16
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22
ret void
28: ; preds = %22
%29 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%30 = load ptr, ptr %29, align 16
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp ne i32 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %28
%34 = call i32 @system(ptr noundef @.str)
%35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef @.str.8)
%36 = call i32 @puts(ptr noundef @.str.10)
%37 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%38 = load i32, ptr @stdin, align 4
%39 = call i32 @fgets(ptr noundef %37, i32 noundef 256, i32 noundef %38)
br label %62
40: ; preds = %28
%41 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %41, align 16
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.11)
%44 = icmp ne i32 %43, 0
br i1 %44, label %52, label %45
45: ; preds = %40
%46 = call i32 @system(ptr noundef @.str)
%47 = call i32 @puts(ptr noundef @.str.12)
%48 = call i32 @puts(ptr noundef @.str.10)
%49 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 256, i32 noundef %50)
br label %61
52: ; preds = %40
%53 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%54 = load ptr, ptr %53, align 16
%55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.13)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %52
%58 = load i32, ptr @EXIT_SUCCESS, align 4
%59 = call i32 @exit(i32 noundef %58) #4
unreachable
60: ; preds = %52
br label %61
61: ; preds = %60, %45
br label %62
62: ; preds = %61, %33
br label %63
63: ; preds = %62
br label %3
}
; 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 @system(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @s_tolower(ptr noundef) #2
declare i32 @s_tokenize(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @puts(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2b6gvoyc.c"
target datalayout = "e-m:e-p270: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"clear\00", align 1
@.str.1 = private unnamed_addr constant [137 x i8] c" %s\0A ------------------------\0A\0A S Start the game\0A\0A C Show credits\0A\0A I Info about playing\0A\0A Q Quit\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Mastermind\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [3 x i8] c" \0A\00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"s\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.6 = private unnamed_addr constant [298 x i8] c"Name: %s\0AVersion: %s\0A\0ACopyright (C) 2013 %s <%s>\0A\0A%s is free software: you can redistribute it and/or modify\0Ait under the terms of the GNU General Public License as published by\0Athe Free Software Foundation, either version 3 of the License, or\0A(at your option) any later version.\0A\0AWritten by %s.\0A\0A\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"0.1.0\00", align 1
@.str.8 = private unnamed_addr constant [15 x i8] c"Ilias Stamatis\00", align 1
@.str.9 = private unnamed_addr constant [26 x i8] c"stamatis.iliass@gmail.com\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"[Press Enter.]\00", align 1
@.str.11 = private unnamed_addr constant [2 x i8] c"i\00", align 1
@.str.12 = private unnamed_addr constant [984 x i8] c"Info about playing\0A-------------------\0AAt the beginning of the game computer chooses a secret code consisting of\0A4 unique colors in random order. Your goal is to find this code and to do so\0Ayou have a specified number of tries. For each try computer gives you some\0Ainformation. For each color that exists in your code in exact the same position\0Aas in computer's secret code a red mark will be sown and for each color in your\0Acode that appears in secret code too but not in the correct position, a yellow\0Amark will be sown. If you find the secret code before the game is over, you win.\0A\0AOnly three commands are understood by the program:\0A - n color, Put color which should be a known color (a list of all colors\0A will be displayed) in column n (an integer from 1 to 4).\0A If null is given instead of a color the cell will become empty.\0A Examples: 1 red, 3 yellow, 1 null\0A - check, Check your code and set marks.\0A - exit, Quit program.\0A\0A Have fun!\0A\00", align 1
@.str.13 = private unnamed_addr constant [2 x i8] c"q\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @start_menu() #0 {
%1 = alloca [256 x i8], align 16
%2 = alloca [2 x ptr], align 16
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 16, i1 false)
br label %3
3: ; preds = %.backedge, %0
%4 = call i32 @system(ptr noundef @.str)
%5 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str.2)
%6 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%7 = load i32, ptr @stdin, align 4
%8 = call i32 @fgets(ptr noundef %6, i32 noundef 256, i32 noundef %7)
%9 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%10 = call i32 @s_tolower(ptr noundef %9)
%11 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%12 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%13 = call i32 @s_tokenize(ptr noundef %11, ptr noundef %12, i32 noundef 2, ptr noundef @.str.3)
%14 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%15 = load ptr, ptr %14, align 16
%16 = icmp eq ptr %15, null
br i1 %16, label %21, label %17
17: ; preds = %3
%18 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 1
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %22
21: ; preds = %17, %3
br label %.backedge
.backedge: ; preds = %21, %63
br label %3
22: ; preds = %17
%23 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%24 = load ptr, ptr %23, align 16
%25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.4)
%26 = icmp ne i32 %25, 0
br i1 %26, label %28, label %27
27: ; preds = %22
ret void
28: ; preds = %22
%29 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%30 = load ptr, ptr %29, align 16
%31 = call i32 @strcmp(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp ne i32 %31, 0
br i1 %32, label %40, label %33
33: ; preds = %28
%34 = call i32 @system(ptr noundef @.str)
%35 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.2, ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.9, ptr noundef @.str.2, ptr noundef @.str.8)
%36 = call i32 @puts(ptr noundef @.str.10)
%37 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%38 = load i32, ptr @stdin, align 4
%39 = call i32 @fgets(ptr noundef %37, i32 noundef 256, i32 noundef %38)
br label %62
40: ; preds = %28
%41 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%42 = load ptr, ptr %41, align 16
%43 = call i32 @strcmp(ptr noundef %42, ptr noundef @.str.11)
%44 = icmp ne i32 %43, 0
br i1 %44, label %52, label %45
45: ; preds = %40
%46 = call i32 @system(ptr noundef @.str)
%47 = call i32 @puts(ptr noundef @.str.12)
%48 = call i32 @puts(ptr noundef @.str.10)
%49 = getelementptr inbounds [256 x i8], ptr %1, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 256, i32 noundef %50)
br label %61
52: ; preds = %40
%53 = getelementptr inbounds [2 x ptr], ptr %2, i64 0, i64 0
%54 = load ptr, ptr %53, align 16
%55 = call i32 @strcmp(ptr noundef %54, ptr noundef @.str.13)
%56 = icmp ne i32 %55, 0
br i1 %56, label %60, label %57
57: ; preds = %52
%58 = load i32, ptr @EXIT_SUCCESS, align 4
%59 = call i32 @exit(i32 noundef %58) #4
unreachable
60: ; preds = %52
br label %61
61: ; preds = %60, %45
br label %62
62: ; preds = %61, %33
br label %63
63: ; preds = %62
br label %.backedge
}
; 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 @system(ptr noundef) #2
declare i32 @printf(ptr noundef, ptr noundef, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @s_tolower(ptr noundef) #2
declare i32 @s_tokenize(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @strcmp(ptr noundef, ptr noundef) #2
declare i32 @puts(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe9e5wggl.c'
source_filename = "/tmp/tmpe9e5wggl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_uninit() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe9e5wggl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ncurses_uninit() #0 {
%1 = call i32 (...) @endwin()
ret void
}
declare i32 @endwin(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3rjl837j.c'
source_filename = "/tmp/tmp3rjl837j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minus_one_Bad() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @unknown_uint()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sge i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i64, ptr %1, align 8
%8 = sub nsw i64 %7, 1
store i64 %8, ptr %2, align 8
br label %9
9: ; preds = %6, %0
ret void
}
declare i64 @unknown_uint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rjl837j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minus_one_Bad() #0 {
%1 = alloca i64, align 8
%2 = alloca i64, align 8
%3 = call i64 (...) @unknown_uint()
store i64 %3, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp sge i64 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i64, ptr %1, align 8
%8 = sub nsw i64 %7, 1
store i64 %8, ptr %2, align 8
br label %9
9: ; preds = %6, %0
ret void
}
declare i64 @unknown_uint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpws811e5v.c'
source_filename = "/tmp/tmpws811e5v.c"
target datalayout = "e-m:e-p270: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/tmpws811e5v.c"
target datalayout = "e-m:e-p270: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/tmpogl5rnon.c'
source_filename = "/tmp/tmpogl5rnon.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c" abc one cde %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"wonder\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c" abc a cde %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c" abc 2 cde %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.3, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogl5rnon.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c" abc one cde %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"wonder\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c" abc a cde %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c" abc 2 cde %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef @.str.1)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.2, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.3, ptr noundef @.str.1)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeqb4x4z2.c'
source_filename = "/tmp/tmpeqb4x4z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LoadToList(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %14, %2
%7 = load i32, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %7, %9
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = call i32 @InsertTail(ptr noundef %12)
br label %14
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
br label %6, !llvm.loop !6
17: ; preds = %6
ret void
}
declare i32 @InsertTail(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/tmpeqb4x4z2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LoadToList(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %6, %8
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %13
%11 = load ptr, ptr %4, align 8
%12 = call i32 @InsertTail(ptr noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %17, align 4
%19 = icmp ne i32 %16, %18
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %2
ret void
}
declare i32 @InsertTail(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/tmpxjthrl8q.c'
source_filename = "/tmp/tmpxjthrl8q.c"
target datalayout = "e-m:e-p270: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/tmpxjthrl8q.c"
target datalayout = "e-m:e-p270: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/tmpzdvp09_8.c'
source_filename = "/tmp/tmpzdvp09_8.c"
target datalayout = "e-m:e-p270: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/tmpzdvp09_8.c"
target datalayout = "e-m:e-p270: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/tmpt7s_rdey.c'
source_filename = "/tmp/tmpt7s_rdey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC18F27K40_periferic() #0 {
%1 = call i32 (...) @p18_pps_out()
%2 = call i32 (...) @p18_mssp_2()
%3 = call i32 (...) @p18_adc_3()
%4 = call i32 (...) @p18_int_pin_2()
%5 = call i32 (...) @p18_int_ports()
%6 = call i32 (...) @p18_tmr0_2()
%7 = call i32 (...) @p18_wdt_2()
%8 = call i32 (...) @p18_eeprom_2()
%9 = call i32 (...) @p18_tmr1_2()
%10 = call i32 (...) @p18_tmr2_2()
%11 = call i32 @serial(i32 noundef 0)
%12 = call i32 @serial(i32 noundef 1)
ret void
}
declare i32 @p18_pps_out(...) #1
declare i32 @p18_mssp_2(...) #1
declare i32 @p18_adc_3(...) #1
declare i32 @p18_int_pin_2(...) #1
declare i32 @p18_int_ports(...) #1
declare i32 @p18_tmr0_2(...) #1
declare i32 @p18_wdt_2(...) #1
declare i32 @p18_eeprom_2(...) #1
declare i32 @p18_tmr1_2(...) #1
declare i32 @p18_tmr2_2(...) #1
declare i32 @serial(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/tmpt7s_rdey.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PIC18F27K40_periferic() #0 {
%1 = call i32 (...) @p18_pps_out()
%2 = call i32 (...) @p18_mssp_2()
%3 = call i32 (...) @p18_adc_3()
%4 = call i32 (...) @p18_int_pin_2()
%5 = call i32 (...) @p18_int_ports()
%6 = call i32 (...) @p18_tmr0_2()
%7 = call i32 (...) @p18_wdt_2()
%8 = call i32 (...) @p18_eeprom_2()
%9 = call i32 (...) @p18_tmr1_2()
%10 = call i32 (...) @p18_tmr2_2()
%11 = call i32 @serial(i32 noundef 0)
%12 = call i32 @serial(i32 noundef 1)
ret void
}
declare i32 @p18_pps_out(...) #1
declare i32 @p18_mssp_2(...) #1
declare i32 @p18_adc_3(...) #1
declare i32 @p18_int_pin_2(...) #1
declare i32 @p18_int_ports(...) #1
declare i32 @p18_tmr0_2(...) #1
declare i32 @p18_wdt_2(...) #1
declare i32 @p18_eeprom_2(...) #1
declare i32 @p18_tmr1_2(...) #1
declare i32 @p18_tmr2_2(...) #1
declare i32 @serial(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/tmp5miq1g1d.c'
source_filename = "/tmp/tmp5miq1g1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MADV_SEQUENTIAL = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmp5miq1g1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MADV_SEQUENTIAL = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmp4gnnm615.c'
source_filename = "/tmp/tmp4gnnm615.c"
target datalayout = "e-m:e-p270: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/tmp4gnnm615.c"
target datalayout = "e-m:e-p270: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/tmp_d8nyj7d.c'
source_filename = "/tmp/tmp_d8nyj7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TKMM_PageAlloc(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 4095
%8 = ashr i32 %7, 12
%9 = call i32 @TKMM_AllocPages(i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = call ptr @TKMM_PageToPointer(i32 noundef %14)
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %13, %12
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @TKMM_AllocPages(i32 noundef) #1
declare ptr @TKMM_PageToPointer(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_d8nyj7d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TKMM_PageAlloc(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = add nsw i32 %6, 4095
%8 = ashr i32 %7, 12
%9 = call i32 @TKMM_AllocPages(i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %1
store ptr null, ptr %2, align 8
br label %17
13: ; preds = %1
%14 = load i32, ptr %5, align 4
%15 = call ptr @TKMM_PageToPointer(i32 noundef %14)
store ptr %15, ptr %4, align 8
%16 = load ptr, ptr %4, align 8
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %13, %12
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @TKMM_AllocPages(i32 noundef) #1
declare ptr @TKMM_PageToPointer(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/tmp7fa32r4i.c'
source_filename = "/tmp/tmp7fa32r4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glConvolutionParameterfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 130, label %5
i32 131, label %6
i32 128, label %6
i32 129, label %6
]
5: ; preds = %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1, %1, %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fa32r4i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__glConvolutionParameterfv_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
switch i32 %4, label %7 [
i32 130, label %5
i32 131, label %6
i32 128, label %6
i32 129, label %6
]
5: ; preds = %1
store i32 1, ptr %2, align 4
br label %8
6: ; preds = %1, %1, %1
store i32 4, ptr %2, align 4
br label %8
7: ; preds = %1
store i32 -1, ptr %2, align 4
br label %8
8: ; preds = %7, %6, %5
%9 = load i32, ptr %2, align 4
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7m0drd5o.c'
source_filename = "/tmp/tmp7m0drd5o.c"
target datalayout = "e-m:e-p270: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/tmp7m0drd5o.c"
target datalayout = "e-m:e-p270: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/tmprknzxwnf.c'
source_filename = "/tmp/tmprknzxwnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"TMP\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"TMPDIR\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"TEMP\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"TEMPDIR\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_tmp_dir() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %21
5: ; preds = %0
%6 = call ptr @getenv(ptr noundef @.str.1)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = call ptr @getenv(ptr noundef @.str.2)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = call ptr @getenv(ptr noundef @.str.3)
store ptr %14, ptr %1, align 8
%15 = load ptr, ptr %1, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.4, ptr %1, align 8
br label %18
18: ; preds = %17, %13
br label %19
19: ; preds = %18, %9
br label %20
20: ; preds = %19, %5
br label %21
21: ; preds = %20, %0
%22 = load ptr, ptr %1, align 8
%23 = call ptr @strdup(ptr noundef %22)
ret ptr %23
}
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprknzxwnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"TMP\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"TMPDIR\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"TEMP\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"TEMPDIR\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_tmp_dir() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @getenv(ptr noundef @.str)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
%4 = icmp eq ptr %3, null
br i1 %4, label %5, label %21
5: ; preds = %0
%6 = call ptr @getenv(ptr noundef @.str.1)
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %20
9: ; preds = %5
%10 = call ptr @getenv(ptr noundef @.str.2)
store ptr %10, ptr %1, align 8
%11 = load ptr, ptr %1, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %19
13: ; preds = %9
%14 = call ptr @getenv(ptr noundef @.str.3)
store ptr %14, ptr %1, align 8
%15 = load ptr, ptr %1, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
store ptr @.str.4, ptr %1, align 8
br label %18
18: ; preds = %17, %13
br label %19
19: ; preds = %18, %9
br label %20
20: ; preds = %19, %5
br label %21
21: ; preds = %20, %0
%22 = load ptr, ptr %1, align 8
%23 = call ptr @strdup(ptr noundef %22)
ret ptr %23
}
declare ptr @getenv(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx3z0oszo.c'
source_filename = "/tmp/tmpx3z0oszo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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/tmpx3z0oszo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.