llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmph1l7ek_i.c'
source_filename = "/tmp/tmph1l7ek_i.c"
target datalayout = "e-m:e-p270: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/tmph1l7ek_i.c"
target datalayout = "e-m:e-p270: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/tmpbfuham71.c'
source_filename = "/tmp/tmpbfuham71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @procfile_write(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr @O_RDWR, align 4
%11 = call i32 @open(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %41
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load i32, ptr %8, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr %4, align 4
br label %41
23: ; preds = %17
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr @SEEK_SET, align 4
%26 = call i64 @lseek(i32 noundef %24, i32 noundef 0, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 -1, ptr %4, align 4
br label %41
29: ; preds = %23
br label %30
30: ; preds = %29, %14
%31 = load i32, ptr %8, align 4
%32 = call i32 @write(i32 noundef %31, ptr noundef %7, i32 noundef 1)
%33 = icmp ne i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 -1, ptr %4, align 4
br label %41
35: ; preds = %30
%36 = load i32, ptr %8, align 4
%37 = call i64 @close(i32 noundef %36)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 -1, ptr %4, align 4
br label %41
40: ; preds = %35
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %39, %34, %28, %22, %13
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbfuham71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDWR = dso_local global i32 0, align 4
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @procfile_write(ptr noundef %0, ptr noundef %1, i8 noundef signext %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i8 %2, ptr %7, align 1
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr @O_RDWR, align 4
%11 = call i32 @open(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %3
store i32 -1, ptr %4, align 4
br label %41
14: ; preds = %3
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %30
17: ; preds = %14
%18 = load i32, ptr %8, align 4
%19 = load ptr, ptr %6, align 8
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
%21 = icmp ne i32 %20, 1
br i1 %21, label %22, label %23
22: ; preds = %17
store i32 -1, ptr %4, align 4
br label %41
23: ; preds = %17
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr @SEEK_SET, align 4
%26 = call i64 @lseek(i32 noundef %24, i32 noundef 0, i32 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %23
store i32 -1, ptr %4, align 4
br label %41
29: ; preds = %23
br label %30
30: ; preds = %29, %14
%31 = load i32, ptr %8, align 4
%32 = call i32 @write(i32 noundef %31, ptr noundef %7, i32 noundef 1)
%33 = icmp ne i32 %32, 1
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 -1, ptr %4, align 4
br label %41
35: ; preds = %30
%36 = load i32, ptr %8, align 4
%37 = call i64 @close(i32 noundef %36)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 -1, ptr %4, align 4
br label %41
40: ; preds = %35
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %39, %34, %28, %22, %13
%42 = load i32, ptr %4, align 4
ret i32 %42
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @lseek(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i64 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppff0cvt5.c'
source_filename = "/tmp/tmppff0cvt5.c"
target datalayout = "e-m:e-p270: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/tmppff0cvt5.c"
target datalayout = "e-m:e-p270: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/tmpcg7ul_mf.c'
source_filename = "/tmp/tmpcg7ul_mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortedArrayInsertNumber(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12, %3
store ptr null, ptr %4, align 8
br label %70
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %69
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
%22 = call i64 @calloc(i32 noundef %21, i32 noundef 4)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %8, align 8
br label %24
24: ; preds = %32, %19
%25 = load ptr, ptr %5, align 8
%26 = load i32, ptr %9, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32, ptr %25, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %44
32: ; preds = %24
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
%42 = load i32, ptr %9, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %9, align 4
br label %24, !llvm.loop !6
44: ; preds = %24
%45 = load i32, ptr %7, align 4
%46 = load ptr, ptr %8, align 8
%47 = load i32, ptr %9, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 %45, ptr %49, align 4
br label %50
50: ; preds = %54, %44
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %6, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %65
54: ; preds = %50
%55 = load ptr, ptr %5, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %8, align 8
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %60, i64 %63
store i32 %59, ptr %64, align 4
br label %50, !llvm.loop !8
65: ; preds = %50
%66 = load ptr, ptr %5, align 8
%67 = call i32 @free(ptr noundef %66)
%68 = load ptr, ptr %8, align 8
store ptr %68, ptr %4, align 8
br label %70
69: ; preds = %16
store ptr %7, ptr %4, align 8
br label %70
70: ; preds = %69, %65, %15
%71 = load ptr, ptr %4, align 8
ret ptr %71
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcg7ul_mf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortedArrayInsertNumber(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %5, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %15
12: ; preds = %3
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %12, %3
store ptr null, ptr %4, align 8
br label %78
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = icmp sgt i32 %17, 0
br i1 %18, label %19, label %77
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
%22 = call i64 @calloc(i32 noundef %21, i32 noundef 4)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %8, align 8
%24 = load ptr, ptr %5, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %.lr.ph, label %50
.lr.ph: ; preds = %19
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %36, ptr %40, align 4
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %7, align 4
%49 = icmp sle i32 %47, %48
br i1 %49, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %50
50: ; preds = %._crit_edge, %19
%51 = load i32, ptr %7, align 4
%52 = load ptr, ptr %8, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 %51, ptr %55, align 4
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %6, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %.lr.ph2, label %73
.lr.ph2: ; preds = %50
br label %59
59: ; preds = %.lr.ph2, %59
%60 = load ptr, ptr %5, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
%65 = load ptr, ptr %8, align 8
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds i32, ptr %65, i64 %68
store i32 %64, ptr %69, align 4
%70 = load i32, ptr %9, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %59, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %73
73: ; preds = %._crit_edge3, %50
%74 = load ptr, ptr %5, align 8
%75 = call i32 @free(ptr noundef %74)
%76 = load ptr, ptr %8, align 8
store ptr %76, ptr %4, align 8
br label %78
77: ; preds = %16
store ptr %7, ptr %4, align 8
br label %78
78: ; preds = %77, %73, %15
%79 = load ptr, ptr %4, align 8
ret ptr %79
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9k46d2mo.c'
source_filename = "/tmp/tmp9k46d2mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DEBUG_COVER = external global i32, align 4
@.str = private unnamed_addr constant [61 x i8] c"-> Entering bpcover, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpcover(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load i32, ptr @DEBUG_COVER, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %6
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 0
%30 = load i32, ptr %29, align 4
%31 = sub nsw i32 %27, %30
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20, i32 noundef %31)
br label %33
33: ; preds = %18, %6
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 4
%39 = trunc i64 %38 to i32
%40 = call ptr @smalloc(i32 noundef %39)
store ptr %40, ptr %13, align 8
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 4
%46 = trunc i64 %45 to i32
%47 = call ptr @smalloc(i32 noundef %46)
store ptr %47, ptr %14, align 8
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %9, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %14, align 8
%54 = call i32 @bpmatching(i32 noundef %48, i32 noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53)
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %8, align 4
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %13, align 8
%60 = load ptr, ptr %14, align 8
%61 = call i32 @reachability(i32 noundef %55, i32 noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = load ptr, ptr %11, align 8
store i32 0, ptr %62, align 4
store i32 0, ptr %15, align 4
br label %63
63: ; preds = %83, %33
%64 = load i32, ptr %15, align 4
%65 = load i32, ptr %7, align 4
%66 = icmp slt i32 %64, %65
br i1 %66, label %67, label %86
67: ; preds = %63
%68 = load ptr, ptr %14, align 8
%69 = load i32, ptr %15, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i32, ptr %68, i64 %70
%72 = load i32, ptr %71, align 4
%73 = icmp ne i32 %72, 0
br i1 %73, label %82, label %74
74: ; preds = %67
%75 = load i32, ptr %15, align 4
%76 = load ptr, ptr %12, align 8
%77 = load ptr, ptr %11, align 8
%78 = load i32, ptr %77, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %77, align 4
%80 = sext i32 %78 to i64
%81 = getelementptr inbounds i32, ptr %76, i64 %80
store i32 %75, ptr %81, align 4
br label %82
82: ; preds = %74, %67
br label %83
83: ; preds = %82
%84 = load i32, ptr %15, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %15, align 4
br label %63, !llvm.loop !6
86: ; preds = %63
%87 = load i32, ptr %7, align 4
store i32 %87, ptr %15, align 4
br label %88
88: ; preds = %110, %86
%89 = load i32, ptr %15, align 4
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %8, align 4
%92 = add nsw i32 %90, %91
%93 = icmp slt i32 %89, %92
br i1 %93, label %94, label %113
94: ; preds = %88
%95 = load ptr, ptr %14, align 8
%96 = load i32, ptr %15, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
%99 = load i32, ptr %98, align 4
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %109
101: ; preds = %94
%102 = load i32, ptr %15, align 4
%103 = load ptr, ptr %12, align 8
%104 = load ptr, ptr %11, align 8
%105 = load i32, ptr %104, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %104, align 4
%107 = sext i32 %105 to i64
%108 = getelementptr inbounds i32, ptr %103, i64 %107
store i32 %102, ptr %108, align 4
br label %109
109: ; preds = %101, %94
br label %110
110: ; preds = %109
%111 = load i32, ptr %15, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %15, align 4
br label %88, !llvm.loop !8
113: ; preds = %88
%114 = load ptr, ptr %12, align 8
%115 = load ptr, ptr %11, align 8
%116 = load i32, ptr %115, align 4
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, ptr %114, i64 %117
store i32 0, ptr %118, align 4
%119 = load i32, ptr @DEBUG_COVER, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %130
121: ; preds = %113
%122 = load i32, ptr %7, align 4
%123 = load i32, ptr %8, align 4
%124 = load ptr, ptr %9, align 8
%125 = load ptr, ptr %10, align 8
%126 = load ptr, ptr %13, align 8
%127 = load ptr, ptr %11, align 8
%128 = load i32, ptr %127, align 4
%129 = load ptr, ptr %12, align 8
call void (i32, i32, ptr, ptr, ptr, i32, ptr, ...) @confirm_match(i32 noundef %122, i32 noundef %123, ptr noundef %124, ptr noundef %125, ptr noundef %126, i32 noundef %128, ptr noundef %129)
br label %130
130: ; preds = %121, %113
%131 = load ptr, ptr %14, align 8
%132 = call i32 @sfree(ptr noundef %131)
%133 = load ptr, ptr %13, align 8
%134 = call i32 @sfree(ptr noundef %133)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @smalloc(i32 noundef) #1
declare i32 @bpmatching(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @reachability(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @confirm_match(...) #1
declare i32 @sfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp9k46d2mo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DEBUG_COVER = external global i32, align 4
@.str = private unnamed_addr constant [61 x i8] c"-> Entering bpcover, nleft = %d, nright = %d, 2*nedges = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bpcover(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%16 = load i32, ptr @DEBUG_COVER, align 4
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %33
18: ; preds = %6
%19 = load i32, ptr %7, align 4
%20 = load i32, ptr %8, align 4
%21 = load ptr, ptr %9, align 8
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %21, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %9, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 0
%30 = load i32, ptr %29, align 4
%31 = sub nsw i32 %27, %30
%32 = call i32 @printf(ptr noundef @.str, i32 noundef %19, i32 noundef %20, i32 noundef %31)
br label %33
33: ; preds = %18, %6
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = mul i64 %37, 4
%39 = trunc i64 %38 to i32
%40 = call ptr @smalloc(i32 noundef %39)
store ptr %40, ptr %13, align 8
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = add nsw i32 %41, %42
%44 = sext i32 %43 to i64
%45 = mul i64 %44, 4
%46 = trunc i64 %45 to i32
%47 = call ptr @smalloc(i32 noundef %46)
store ptr %47, ptr %14, align 8
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %8, align 4
%50 = load ptr, ptr %9, align 8
%51 = load ptr, ptr %10, align 8
%52 = load ptr, ptr %13, align 8
%53 = load ptr, ptr %14, align 8
%54 = call i32 @bpmatching(i32 noundef %48, i32 noundef %49, ptr noundef %50, ptr noundef %51, ptr noundef %52, ptr noundef %53)
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %8, align 4
%57 = load ptr, ptr %9, align 8
%58 = load ptr, ptr %10, align 8
%59 = load ptr, ptr %13, align 8
%60 = load ptr, ptr %14, align 8
%61 = call i32 @reachability(i32 noundef %55, i32 noundef %56, ptr noundef %57, ptr noundef %58, ptr noundef %59, ptr noundef %60)
%62 = load ptr, ptr %11, align 8
store i32 0, ptr %62, align 4
store i32 0, ptr %15, align 4
%63 = load i32, ptr %15, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph, label %88
.lr.ph: ; preds = %33
br label %66
66: ; preds = %.lr.ph, %82
%67 = load ptr, ptr %14, align 8
%68 = load i32, ptr %15, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %81, label %73
73: ; preds = %66
%74 = load i32, ptr %15, align 4
%75 = load ptr, ptr %12, align 8
%76 = load ptr, ptr %11, align 8
%77 = load i32, ptr %76, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %76, align 4
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i32, ptr %75, i64 %79
store i32 %74, ptr %80, align 4
br label %81
81: ; preds = %73, %66
br label %82
82: ; preds = %81
%83 = load i32, ptr %15, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %15, align 4
%85 = load i32, ptr %15, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %66, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %82
br label %88
88: ; preds = %._crit_edge, %33
%89 = load i32, ptr %7, align 4
store i32 %89, ptr %15, align 4
%90 = load i32, ptr %15, align 4
%91 = load i32, ptr %7, align 4
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %91, %92
%94 = icmp slt i32 %90, %93
br i1 %94, label %.lr.ph2, label %119
.lr.ph2: ; preds = %88
br label %95
95: ; preds = %.lr.ph2, %111
%96 = load ptr, ptr %14, align 8
%97 = load i32, ptr %15, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %96, i64 %98
%100 = load i32, ptr %99, align 4
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %110
102: ; preds = %95
%103 = load i32, ptr %15, align 4
%104 = load ptr, ptr %12, align 8
%105 = load ptr, ptr %11, align 8
%106 = load i32, ptr %105, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %105, align 4
%108 = sext i32 %106 to i64
%109 = getelementptr inbounds i32, ptr %104, i64 %108
store i32 %103, ptr %109, align 4
br label %110
110: ; preds = %102, %95
br label %111
111: ; preds = %110
%112 = load i32, ptr %15, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %15, align 4
%114 = load i32, ptr %15, align 4
%115 = load i32, ptr %7, align 4
%116 = load i32, ptr %8, align 4
%117 = add nsw i32 %115, %116
%118 = icmp slt i32 %114, %117
br i1 %118, label %95, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %111
br label %119
119: ; preds = %._crit_edge3, %88
%120 = load ptr, ptr %12, align 8
%121 = load ptr, ptr %11, align 8
%122 = load i32, ptr %121, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds i32, ptr %120, i64 %123
store i32 0, ptr %124, align 4
%125 = load i32, ptr @DEBUG_COVER, align 4
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %136
127: ; preds = %119
%128 = load i32, ptr %7, align 4
%129 = load i32, ptr %8, align 4
%130 = load ptr, ptr %9, align 8
%131 = load ptr, ptr %10, align 8
%132 = load ptr, ptr %13, align 8
%133 = load ptr, ptr %11, align 8
%134 = load i32, ptr %133, align 4
%135 = load ptr, ptr %12, align 8
call void (i32, i32, ptr, ptr, ptr, i32, ptr, ...) @confirm_match(i32 noundef %128, i32 noundef %129, ptr noundef %130, ptr noundef %131, ptr noundef %132, i32 noundef %134, ptr noundef %135)
br label %136
136: ; preds = %127, %119
%137 = load ptr, ptr %14, align 8
%138 = call i32 @sfree(ptr noundef %137)
%139 = load ptr, ptr %13, align 8
%140 = call i32 @sfree(ptr noundef %139)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @smalloc(i32 noundef) #1
declare i32 @bpmatching(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @reachability(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare void @confirm_match(...) #1
declare i32 @sfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpkb6lkx51.c'
source_filename = "/tmp/tmpkb6lkx51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"errors.err\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Excluido com sucesso!\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Falha na exclusao\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remover() #0 {
%1 = alloca i32, align 4
%2 = call i32 @remove(ptr noundef @.str)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str.1)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %9
9: ; preds = %7, %5
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i32 @remove(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/tmpkb6lkx51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"errors.err\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Excluido com sucesso!\0A\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Falha na exclusao\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remover() #0 {
%1 = alloca i32, align 4
%2 = call i32 @remove(ptr noundef @.str)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %7, label %5
5: ; preds = %0
%6 = call i32 @printf(ptr noundef @.str.1)
br label %9
7: ; preds = %0
%8 = call i32 @printf(ptr noundef @.str.2)
br label %9
9: ; preds = %7, %5
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i32 @remove(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/tmp85zw2ljc.c'
source_filename = "/tmp/tmp85zw2ljc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter a 24-hour time: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Closest departure time is %.2d:%.2d \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"a.m.\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"p.m\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c", arriving at %.2d:%.2d \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"a.m.\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"p.m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca 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
store i32 0, ptr %1, align 4
store i32 480, ptr %3, align 4
store i32 585, ptr %4, align 4
store i32 689, ptr %5, align 4
store i32 767, ptr %6, align 4
store i32 840, ptr %7, align 4
store i32 616, ptr %9, align 4
store i32 712, ptr %10, align 4
store i32 811, ptr %11, align 4
store i32 900, ptr %12, align 4
store i32 968, ptr %13, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %15)
%19 = load i32, ptr %14, align 4
%20 = mul nsw i32 60, %19
%21 = load i32, ptr %15, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %16, align 4
%23 = load i32, ptr %16, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %33, label %26
26: ; preds = %0
%27 = load i32, ptr %16, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %28, %29
%31 = sdiv i32 %30, 2
%32 = icmp slt i32 %27, %31
br i1 %32, label %33, label %36
33: ; preds = %26, %0
%34 = load i32, ptr %3, align 4
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %9, align 4
store i32 %35, ptr %8, align 4
br label %72
36: ; preds = %26
%37 = load i32, ptr %16, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %38, %39
%41 = sdiv i32 %40, 2
%42 = icmp slt i32 %37, %41
br i1 %42, label %43, label %46
43: ; preds = %36
%44 = load i32, ptr %4, align 4
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %10, align 4
store i32 %45, ptr %8, align 4
br label %71
46: ; preds = %36
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %48, %49
%51 = sdiv i32 %50, 2
%52 = icmp slt i32 %47, %51
br i1 %52, label %53, label %56
53: ; preds = %46
%54 = load i32, ptr %5, align 4
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %11, align 4
store i32 %55, ptr %8, align 4
br label %70
56: ; preds = %46
%57 = load i32, ptr %16, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %58, %59
%61 = sdiv i32 %60, 2
%62 = icmp slt i32 %57, %61
br i1 %62, label %63, label %66
63: ; preds = %56
%64 = load i32, ptr %6, align 4
store i32 %64, ptr %2, align 4
%65 = load i32, ptr %12, align 4
store i32 %65, ptr %8, align 4
br label %69
66: ; preds = %56
%67 = load i32, ptr %7, align 4
store i32 %67, ptr %2, align 4
%68 = load i32, ptr %13, align 4
store i32 %68, ptr %8, align 4
br label %69
69: ; preds = %66, %63
br label %70
70: ; preds = %69, %53
br label %71
71: ; preds = %70, %43
br label %72
72: ; preds = %71, %33
%73 = load i32, ptr %2, align 4
%74 = sdiv i32 %73, 60
%75 = load i32, ptr %2, align 4
%76 = srem i32 %75, 60
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i32 noundef %76)
%78 = load i32, ptr %2, align 4
%79 = sdiv i32 %78, 60
%80 = icmp slt i32 %79, 12
br i1 %80, label %81, label %83
81: ; preds = %72
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %85
83: ; preds = %72
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %85
85: ; preds = %83, %81
%86 = load i32, ptr %13, align 4
%87 = sdiv i32 %86, 60
%88 = load i32, ptr %13, align 4
%89 = srem i32 %88, 60
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %87, i32 noundef %89)
%91 = load i32, ptr %8, align 4
%92 = sdiv i32 %91, 60
%93 = icmp slt i32 %92, 12
br i1 %93, label %94, label %96
94: ; preds = %85
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %98
96: ; preds = %85
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %98
98: ; preds = %96, %94
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp85zw2ljc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"Enter a 24-hour time: \00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%d:%d\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"Closest departure time is %.2d:%.2d \00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"a.m.\00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"p.m\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c", arriving at %.2d:%.2d \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"a.m.\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"p.m\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca 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
store i32 0, ptr %1, align 4
store i32 480, ptr %3, align 4
store i32 585, ptr %4, align 4
store i32 689, ptr %5, align 4
store i32 767, ptr %6, align 4
store i32 840, ptr %7, align 4
store i32 616, ptr %9, align 4
store i32 712, ptr %10, align 4
store i32 811, ptr %11, align 4
store i32 900, ptr %12, align 4
store i32 968, ptr %13, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%18 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %14, ptr noundef %15)
%19 = load i32, ptr %14, align 4
%20 = mul nsw i32 60, %19
%21 = load i32, ptr %15, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %16, align 4
%23 = load i32, ptr %16, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %33, label %26
26: ; preds = %0
%27 = load i32, ptr %16, align 4
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %28, %29
%31 = sdiv i32 %30, 2
%32 = icmp slt i32 %27, %31
br i1 %32, label %33, label %36
33: ; preds = %26, %0
%34 = load i32, ptr %3, align 4
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %9, align 4
store i32 %35, ptr %8, align 4
br label %72
36: ; preds = %26
%37 = load i32, ptr %16, align 4
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %38, %39
%41 = sdiv i32 %40, 2
%42 = icmp slt i32 %37, %41
br i1 %42, label %43, label %46
43: ; preds = %36
%44 = load i32, ptr %4, align 4
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %10, align 4
store i32 %45, ptr %8, align 4
br label %71
46: ; preds = %36
%47 = load i32, ptr %16, align 4
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %48, %49
%51 = sdiv i32 %50, 2
%52 = icmp slt i32 %47, %51
br i1 %52, label %53, label %56
53: ; preds = %46
%54 = load i32, ptr %5, align 4
store i32 %54, ptr %2, align 4
%55 = load i32, ptr %11, align 4
store i32 %55, ptr %8, align 4
br label %70
56: ; preds = %46
%57 = load i32, ptr %16, align 4
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %58, %59
%61 = sdiv i32 %60, 2
%62 = icmp slt i32 %57, %61
br i1 %62, label %63, label %66
63: ; preds = %56
%64 = load i32, ptr %6, align 4
store i32 %64, ptr %2, align 4
%65 = load i32, ptr %12, align 4
store i32 %65, ptr %8, align 4
br label %69
66: ; preds = %56
%67 = load i32, ptr %7, align 4
store i32 %67, ptr %2, align 4
%68 = load i32, ptr %13, align 4
store i32 %68, ptr %8, align 4
br label %69
69: ; preds = %66, %63
br label %70
70: ; preds = %69, %53
br label %71
71: ; preds = %70, %43
br label %72
72: ; preds = %71, %33
%73 = load i32, ptr %2, align 4
%74 = sdiv i32 %73, 60
%75 = load i32, ptr %2, align 4
%76 = srem i32 %75, 60
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %74, i32 noundef %76)
%78 = load i32, ptr %2, align 4
%79 = sdiv i32 %78, 60
%80 = icmp slt i32 %79, 12
br i1 %80, label %81, label %83
81: ; preds = %72
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %85
83: ; preds = %72
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %85
85: ; preds = %83, %81
%86 = load i32, ptr %13, align 4
%87 = sdiv i32 %86, 60
%88 = load i32, ptr %13, align 4
%89 = srem i32 %88, 60
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %87, i32 noundef %89)
%91 = load i32, ptr %8, align 4
%92 = sdiv i32 %91, 60
%93 = icmp slt i32 %92, 12
br i1 %93, label %94, label %96
94: ; preds = %85
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %98
96: ; preds = %85
%97 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %98
98: ; preds = %96, %94
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp2exxlyr7.c'
source_filename = "/tmp/tmp2exxlyr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"%sinteger nprocs_compiled\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"%sparameter (nprocs_compiled = %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%sinteger nx_default, ny_default, nz_default\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"%sparameter (nx_default=%d, ny_default=%d, nz_default=%d)\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"%sinteger nit_default, lm, lt_default\0A\00", align 1
@.str.7 = private unnamed_addr constant [54 x i8] c"%sparameter (nit_default=%d, lm = %d, lt_default=%d)\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"%sinteger debug_default\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"%sparameter (debug_default=%d)\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"%sinteger ndim1, ndim2, ndim3\0A\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"%sparameter (ndim1 = %d, ndim2 = %d, ndim3 = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_mg_info(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
%16 = load i8, ptr %6, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 83
br i1 %18, label %19, label %20
19: ; preds = %3
store i32 32, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %60
20: ; preds = %3
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 87
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 128, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %59
25: ; preds = %20
%26 = load i8, ptr %6, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 65
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 256, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %58
30: ; preds = %25
%31 = load i8, ptr %6, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 66
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 256, ptr %7, align 4
store i32 20, ptr %8, align 4
br label %57
35: ; preds = %30
%36 = load i8, ptr %6, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 67
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 512, ptr %7, align 4
store i32 20, ptr %8, align 4
br label %56
40: ; preds = %35
%41 = load i8, ptr %6, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 68
br i1 %43, label %44, label %45
44: ; preds = %40
store i32 1024, ptr %7, align 4
store i32 50, ptr %8, align 4
br label %55
45: ; preds = %40
%46 = load i8, ptr %6, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 69
br i1 %48, label %49, label %50
49: ; preds = %45
store i32 2048, ptr %7, align 4
store i32 50, ptr %8, align 4
br label %54
50: ; preds = %45
%51 = load i8, ptr %6, align 1
%52 = call i32 @printf(ptr noundef @.str, i8 noundef signext %51)
%53 = call i32 @exit(i32 noundef 1) #3
unreachable
54: ; preds = %49
br label %55
55: ; preds = %54, %44
br label %56
56: ; preds = %55, %39
br label %57
57: ; preds = %56, %34
br label %58
58: ; preds = %57, %29
br label %59
59: ; preds = %58, %24
br label %60
60: ; preds = %59, %19
%61 = load i32, ptr %7, align 4
%62 = call i32 @ilog2(i32 noundef %61)
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %5, align 4
%64 = call i32 @ilog2(i32 noundef %63)
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %9, align 4
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %10, align 4
%68 = sdiv i32 %67, 3
%69 = sub nsw i32 %66, %68
store i32 %69, ptr %12, align 4
%70 = load i32, ptr %12, align 4
store i32 %70, ptr %13, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 2
%74 = sdiv i32 %73, 3
%75 = sub nsw i32 %71, %74
store i32 %75, ptr %15, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %77, 1
%79 = sdiv i32 %78, 3
%80 = sub nsw i32 %76, %79
store i32 %80, ptr %14, align 4
%81 = load ptr, ptr %4, align 8
%82 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.1, ptr noundef @.str.2)
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %5, align 4
%85 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef %84)
%86 = load ptr, ptr %4, align 8
%87 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.4, ptr noundef @.str.2)
%88 = load ptr, ptr %4, align 8
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef %89, i32 noundef %90, i32 noundef %91)
%93 = load ptr, ptr %4, align 8
%94 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.6, ptr noundef @.str.2)
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %8, align 4
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr %11, align 4
%99 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef %96, i32 noundef %97, i32 noundef %98)
%100 = load ptr, ptr %4, align 8
%101 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.8, ptr noundef @.str.2)
%102 = load ptr, ptr %4, align 8
%103 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 0)
%104 = load ptr, ptr %4, align 8
%105 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.10, ptr noundef @.str.2)
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr %14, align 4
%109 = load i32, ptr %15, align 4
%110 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef %107, i32 noundef %108, i32 noundef %109)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ilog2(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp2exxlyr7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"%sinteger nprocs_compiled\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"%sparameter (nprocs_compiled = %d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%sinteger nx_default, ny_default, nz_default\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"%sparameter (nx_default=%d, ny_default=%d, nz_default=%d)\0A\00", align 1
@.str.6 = private unnamed_addr constant [39 x i8] c"%sinteger nit_default, lm, lt_default\0A\00", align 1
@.str.7 = private unnamed_addr constant [54 x i8] c"%sparameter (nit_default=%d, lm = %d, lt_default=%d)\0A\00", align 1
@.str.8 = private unnamed_addr constant [25 x i8] c"%sinteger debug_default\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"%sparameter (debug_default=%d)\0A\00", align 1
@.str.10 = private unnamed_addr constant [31 x i8] c"%sinteger ndim1, ndim2, ndim3\0A\00", align 1
@.str.11 = private unnamed_addr constant [50 x i8] c"%sparameter (ndim1 = %d, ndim2 = %d, ndim3 = %d)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_mg_info(ptr noundef %0, i32 noundef %1, i8 noundef signext %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i8 %2, ptr %6, align 1
%16 = load i8, ptr %6, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 83
br i1 %18, label %19, label %20
19: ; preds = %3
store i32 32, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %60
20: ; preds = %3
%21 = load i8, ptr %6, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 87
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 128, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %59
25: ; preds = %20
%26 = load i8, ptr %6, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 65
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 256, ptr %7, align 4
store i32 4, ptr %8, align 4
br label %58
30: ; preds = %25
%31 = load i8, ptr %6, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 66
br i1 %33, label %34, label %35
34: ; preds = %30
store i32 256, ptr %7, align 4
store i32 20, ptr %8, align 4
br label %57
35: ; preds = %30
%36 = load i8, ptr %6, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 67
br i1 %38, label %39, label %40
39: ; preds = %35
store i32 512, ptr %7, align 4
store i32 20, ptr %8, align 4
br label %56
40: ; preds = %35
%41 = load i8, ptr %6, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 68
br i1 %43, label %44, label %45
44: ; preds = %40
store i32 1024, ptr %7, align 4
store i32 50, ptr %8, align 4
br label %55
45: ; preds = %40
%46 = load i8, ptr %6, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 69
br i1 %48, label %49, label %50
49: ; preds = %45
store i32 2048, ptr %7, align 4
store i32 50, ptr %8, align 4
br label %54
50: ; preds = %45
%51 = load i8, ptr %6, align 1
%52 = call i32 @printf(ptr noundef @.str, i8 noundef signext %51)
%53 = call i32 @exit(i32 noundef 1) #3
unreachable
54: ; preds = %49
br label %55
55: ; preds = %54, %44
br label %56
56: ; preds = %55, %39
br label %57
57: ; preds = %56, %34
br label %58
58: ; preds = %57, %29
br label %59
59: ; preds = %58, %24
br label %60
60: ; preds = %59, %19
%61 = load i32, ptr %7, align 4
%62 = call i32 @ilog2(i32 noundef %61)
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %5, align 4
%64 = call i32 @ilog2(i32 noundef %63)
store i32 %64, ptr %10, align 4
%65 = load i32, ptr %9, align 4
store i32 %65, ptr %11, align 4
%66 = load i32, ptr %9, align 4
%67 = load i32, ptr %10, align 4
%68 = sdiv i32 %67, 3
%69 = sub nsw i32 %66, %68
store i32 %69, ptr %12, align 4
%70 = load i32, ptr %12, align 4
store i32 %70, ptr %13, align 4
%71 = load i32, ptr %9, align 4
%72 = load i32, ptr %10, align 4
%73 = add nsw i32 %72, 2
%74 = sdiv i32 %73, 3
%75 = sub nsw i32 %71, %74
store i32 %75, ptr %15, align 4
%76 = load i32, ptr %9, align 4
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %77, 1
%79 = sdiv i32 %78, 3
%80 = sub nsw i32 %76, %79
store i32 %80, ptr %14, align 4
%81 = load ptr, ptr %4, align 8
%82 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.1, ptr noundef @.str.2)
%83 = load ptr, ptr %4, align 8
%84 = load i32, ptr %5, align 4
%85 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef %84)
%86 = load ptr, ptr %4, align 8
%87 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.4, ptr noundef @.str.2)
%88 = load ptr, ptr %4, align 8
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %7, align 4
%92 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.5, ptr noundef @.str.2, i32 noundef %89, i32 noundef %90, i32 noundef %91)
%93 = load ptr, ptr %4, align 8
%94 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %93, ptr noundef @.str.6, ptr noundef @.str.2)
%95 = load ptr, ptr %4, align 8
%96 = load i32, ptr %8, align 4
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr %11, align 4
%99 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %95, ptr noundef @.str.7, ptr noundef @.str.2, i32 noundef %96, i32 noundef %97, i32 noundef %98)
%100 = load ptr, ptr %4, align 8
%101 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.8, ptr noundef @.str.2)
%102 = load ptr, ptr %4, align 8
%103 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef @.str.9, ptr noundef @.str.2, i32 noundef 0)
%104 = load ptr, ptr %4, align 8
%105 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef @.str.10, ptr noundef @.str.2)
%106 = load ptr, ptr %4, align 8
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr %14, align 4
%109 = load i32, ptr %15, align 4
%110 = call i32 (ptr, ptr, ptr, ...) @fprintf(ptr noundef %106, ptr noundef @.str.11, ptr noundef @.str.2, i32 noundef %107, i32 noundef %108, i32 noundef %109)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ilog2(i32 noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp3pth6x61.c'
source_filename = "/tmp/tmp3pth6x61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_line(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @memchr(ptr noundef %6, i8 noundef signext 10, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = add nsw i64 %15, 1
br label %19
17: ; preds = %2
%18 = load i64, ptr %4, align 8
br label %19
19: ; preds = %17, %10
%20 = phi i64 [ %16, %10 ], [ %18, %17 ]
ret i64 %20
}
declare ptr @memchr(ptr noundef, i8 noundef signext, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pth6x61.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @next_line(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call ptr @memchr(ptr noundef %6, i8 noundef signext 10, i64 noundef %7)
store ptr %8, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = ptrtoint ptr %11 to i64
%14 = ptrtoint ptr %12 to i64
%15 = sub i64 %13, %14
%16 = add nsw i64 %15, 1
br label %19
17: ; preds = %2
%18 = load i64, ptr %4, align 8
br label %19
19: ; preds = %17, %10
%20 = phi i64 [ %16, %10 ], [ %18, %17 ]
ret i64 %20
}
declare ptr @memchr(ptr noundef, i8 noundef signext, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpawe4ehou.c'
source_filename = "/tmp/tmpawe4ehou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Normal usage: %s < infile > outfile\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"- \22%s\22: reads from stdin and writes to stdout.\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"- \22%s -i\22: prints compilation info.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"- \22%s -t\22: runs normally, but prints timing to stderr.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
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/tmpawe4ehou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [37 x i8] c"Normal usage: %s < infile > outfile\0A\00", align 1
@.str.1 = private unnamed_addr constant [48 x i8] c"- \22%s\22: reads from stdin and writes to stdout.\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"- \22%s -i\22: prints compilation info.\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"- \22%s -t\22: runs normally, but prints timing to stderr.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printUsage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stdout, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stdout, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stdout, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.2, ptr noundef %10)
%12 = load i32, ptr @stdout, align 4
%13 = load ptr, ptr %2, align 8
%14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str.3, ptr noundef %13)
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/tmpvfh0x6ty.c'
source_filename = "/tmp/tmpvfh0x6ty.c"
target datalayout = "e-m:e-p270: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/tmpvfh0x6ty.c"
target datalayout = "e-m:e-p270: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/tmpaoph0ylz.c'
source_filename = "/tmp/tmpaoph0ylz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @digitalWrite(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @WritePinValue(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @WritePinValue(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/tmpaoph0ylz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @digitalWrite(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @WritePinValue(i32 noundef %5, i32 noundef %6)
ret void
}
declare i32 @WritePinValue(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/tmpryvnit62.c'
source_filename = "/tmp/tmpryvnit62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"error in reading %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"file %s crc %lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getFileCrc(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen64(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %11, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%16 = load ptr, ptr %11, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 -1, ptr %10, align 4
br label %19
19: ; preds = %18, %4
%20 = load i32, ptr %10, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %19
br label %23
23: ; preds = %59, %22
store i32 0, ptr %10, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %11, align 8
%27 = call i64 @fread(ptr noundef %24, i32 noundef 1, i64 noundef %25, ptr noundef %26)
%28 = trunc i64 %27 to i32
%29 = sext i32 %28 to i64
store i64 %29, ptr %12, align 8
%30 = load i64, ptr %12, align 8
%31 = load i64, ptr %7, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %23
%34 = load ptr, ptr %11, align 8
%35 = call i64 @feof(ptr noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %38)
store i32 -1, ptr %10, align 4
br label %40
40: ; preds = %37, %33
br label %41
41: ; preds = %40, %23
%42 = load i64, ptr %12, align 8
%43 = icmp ugt i64 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i64, ptr %9, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i64, ptr %12, align 8
%48 = call i64 @crc32(i64 noundef %45, ptr noundef %46, i64 noundef %47)
store i64 %48, ptr %9, align 8
br label %49
49: ; preds = %44, %41
%50 = load i64, ptr %12, align 8
%51 = load i64, ptr %13, align 8
%52 = add i64 %51, %50
store i64 %52, ptr %13, align 8
br label %53
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i64, ptr %12, align 8
%58 = icmp ugt i64 %57, 0
br label %59
59: ; preds = %56, %53
%60 = phi i1 [ false, %53 ], [ %58, %56 ]
br i1 %60, label %23, label %61, !llvm.loop !6
61: ; preds = %59
br label %62
62: ; preds = %61, %19
%63 = load ptr, ptr %11, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %11, align 8
%67 = call i32 @fclose(ptr noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load i64, ptr %9, align 8
%70 = load ptr, ptr %8, align 8
store i64 %69, ptr %70, align 8
%71 = load ptr, ptr %5, align 8
%72 = load i64, ptr %9, align 8
%73 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %71, i64 noundef %72)
%74 = load i32, ptr %10, align 4
ret i32 %74
}
declare ptr @fopen64(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i64 @crc32(i64 noundef, ptr noundef, i64 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpryvnit62.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rb\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"error in reading %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"file %s crc %lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getFileCrc(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i64 0, ptr %9, align 8
store i32 0, ptr %10, align 4
%14 = load ptr, ptr %5, align 8
%15 = call ptr @fopen64(ptr noundef %14, ptr noundef @.str)
store ptr %15, ptr %11, align 8
store i64 0, ptr %12, align 8
store i64 0, ptr %13, align 8
%16 = load ptr, ptr %11, align 8
%17 = icmp eq ptr %16, null
br i1 %17, label %18, label %19
18: ; preds = %4
store i32 -1, ptr %10, align 4
br label %19
19: ; preds = %18, %4
%20 = load i32, ptr %10, align 4
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %62
22: ; preds = %19
br label %23
23: ; preds = %59, %22
store i32 0, ptr %10, align 4
%24 = load ptr, ptr %6, align 8
%25 = load i64, ptr %7, align 8
%26 = load ptr, ptr %11, align 8
%27 = call i64 @fread(ptr noundef %24, i32 noundef 1, i64 noundef %25, ptr noundef %26)
%28 = trunc i64 %27 to i32
%29 = sext i32 %28 to i64
store i64 %29, ptr %12, align 8
%30 = load i64, ptr %12, align 8
%31 = load i64, ptr %7, align 8
%32 = icmp ult i64 %30, %31
br i1 %32, label %33, label %41
33: ; preds = %23
%34 = load ptr, ptr %11, align 8
%35 = call i64 @feof(ptr noundef %34)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %33
%38 = load ptr, ptr %5, align 8
%39 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %38)
store i32 -1, ptr %10, align 4
br label %40
40: ; preds = %37, %33
br label %41
41: ; preds = %40, %23
%42 = load i64, ptr %12, align 8
%43 = icmp ugt i64 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %41
%45 = load i64, ptr %9, align 8
%46 = load ptr, ptr %6, align 8
%47 = load i64, ptr %12, align 8
%48 = call i64 @crc32(i64 noundef %45, ptr noundef %46, i64 noundef %47)
store i64 %48, ptr %9, align 8
br label %49
49: ; preds = %44, %41
%50 = load i64, ptr %12, align 8
%51 = load i64, ptr %13, align 8
%52 = add i64 %51, %50
store i64 %52, ptr %13, align 8
br label %53
53: ; preds = %49
%54 = load i32, ptr %10, align 4
%55 = icmp eq i32 %54, 0
br i1 %55, label %56, label %59
56: ; preds = %53
%57 = load i64, ptr %12, align 8
%58 = icmp ugt i64 %57, 0
br label %59
59: ; preds = %56, %53
%60 = phi i1 [ false, %53 ], [ %58, %56 ]
br i1 %60, label %23, label %61, !llvm.loop !6
61: ; preds = %59
br label %62
62: ; preds = %61, %19
%63 = load ptr, ptr %11, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %68
65: ; preds = %62
%66 = load ptr, ptr %11, align 8
%67 = call i32 @fclose(ptr noundef %66)
br label %68
68: ; preds = %65, %62
%69 = load i64, ptr %9, align 8
%70 = load ptr, ptr %8, align 8
store i64 %69, ptr %70, align 8
%71 = load ptr, ptr %5, align 8
%72 = load i64, ptr %9, align 8
%73 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %71, i64 noundef %72)
%74 = load i32, ptr %10, align 4
ret i32 %74
}
declare ptr @fopen64(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i64 @crc32(i64 noundef, ptr noundef, i64 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"}
|
; ModuleID = '/tmp/tmpz_lekner.c'
source_filename = "/tmp/tmpz_lekner.c"
target datalayout = "e-m:e-p270: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/tmpz_lekner.c"
target datalayout = "e-m:e-p270: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/tmp823j3m3s.c'
source_filename = "/tmp/tmp823j3m3s.c"
target datalayout = "e-m:e-p270: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/tmp823j3m3s.c"
target datalayout = "e-m:e-p270: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/tmpty8k3zbv.c'
source_filename = "/tmp/tmpty8k3zbv.c"
target datalayout = "e-m:e-p270: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/tmpty8k3zbv.c"
target datalayout = "e-m:e-p270: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/tmpd_t78zyl.c'
source_filename = "/tmp/tmpd_t78zyl.c"
target datalayout = "e-m:e-p270: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/tmpd_t78zyl.c"
target datalayout = "e-m:e-p270: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/tmp9kyxi5uy.c'
source_filename = "/tmp/tmp9kyxi5uy.c"
target datalayout = "e-m:e-p270: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/tmp9kyxi5uy.c"
target datalayout = "e-m:e-p270: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/tmp5bsojvh0.c'
source_filename = "/tmp/tmp5bsojvh0.c"
target datalayout = "e-m:e-p270: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/tmp5bsojvh0.c"
target datalayout = "e-m:e-p270: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/tmp5y2dua2d.c'
source_filename = "/tmp/tmp5y2dua2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"%sServer listening in port %d.\0A%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[37m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%sWrite \22exit\22 to quit.%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Error creating child process.\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"%sInvalid command%s\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [25 x i8] c"%sSocket closed. Bye!%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 [10 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @createInetStreamSocket()
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @listenAtPort(i32 noundef %10, i32 noundef 9999, i32 noundef 1)
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 9999, ptr noundef @.str.2)
%13 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, ptr noundef @.str.2)
%14 = call i32 (...) @fork()
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
switch i32 %15, label %22 [
i32 -1, label %16
i32 0, label %18
]
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str.4)
br label %37
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @listeningProcess(i32 noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %2
br label %23
23: ; preds = %32, %22
%24 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%25 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %24)
%26 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%27 = call i32 @strcmp(ptr noundef %26, ptr noundef @.str.6)
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %23
%30 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.2)
br label %31
31: ; preds = %29, %23
br label %32
32: ; preds = %31
%33 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%34 = call i32 @strcmp(ptr noundef %33, ptr noundef @.str.6)
%35 = icmp ne i32 %34, 0
br i1 %35, label %23, label %36, !llvm.loop !6
36: ; preds = %32
br label %37
37: ; preds = %36, %16
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr @SIGKILL, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
%41 = call i32 (...) @wait()
%42 = load i32, ptr %6, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.8, ptr noundef @.str.2)
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @createInetStreamSocket(...) #1
declare i32 @listenAtPort(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @listeningProcess(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @wait(...) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5y2dua2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"%sServer listening in port %d.\0A%s\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[37m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%sWrite \22exit\22 to quit.%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Error creating child process.\0A\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"exit\00", align 1
@.str.7 = private unnamed_addr constant [21 x i8] c"%sInvalid command%s\0A\00", align 1
@.str.8 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@SIGKILL = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [25 x i8] c"%sSocket closed. Bye!%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 [10 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%9 = call i32 (...) @createInetStreamSocket()
store i32 %9, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = call i32 @listenAtPort(i32 noundef %10, i32 noundef 9999, i32 noundef 1)
%12 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 9999, ptr noundef @.str.2)
%13 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef @.str.1, ptr noundef @.str.2)
%14 = call i32 (...) @fork()
store i32 %14, ptr %8, align 4
%15 = load i32, ptr %8, align 4
switch i32 %15, label %22 [
i32 -1, label %16
i32 0, label %18
]
16: ; preds = %2
%17 = call i32 @perror(ptr noundef @.str.4)
br label %37
18: ; preds = %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @listeningProcess(i32 noundef %19)
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
22: ; preds = %2
%23 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
br label %24
24: ; preds = %33, %22
%25 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%26 = call i32 @scanf(ptr noundef @.str.5, ptr noundef %25)
%27 = getelementptr inbounds [10 x i8], ptr %7, i64 0, i64 0
%28 = call i32 @strcmp(ptr noundef %27, ptr noundef @.str.6)
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8, ptr noundef @.str.2)
br label %32
32: ; preds = %30, %24
br label %33
33: ; preds = %32
%34 = call i32 @strcmp(ptr noundef %23, ptr noundef @.str.6)
%35 = icmp ne i32 %34, 0
br i1 %35, label %24, label %36, !llvm.loop !6
36: ; preds = %33
br label %37
37: ; preds = %36, %16
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr @SIGKILL, align 4
%40 = call i32 @kill(i32 noundef %38, i32 noundef %39)
%41 = call i32 (...) @wait()
%42 = load i32, ptr %6, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.9, ptr noundef @.str.8, ptr noundef @.str.2)
%45 = load i32, ptr %3, align 4
ret i32 %45
}
declare i32 @createInetStreamSocket(...) #1
declare i32 @listenAtPort(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare i32 @fork(...) #1
declare i32 @perror(ptr noundef) #1
declare i32 @listeningProcess(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @kill(i32 noundef, i32 noundef) #1
declare i32 @wait(...) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpi_tulul7.c'
source_filename = "/tmp/tmpi_tulul7.c"
target datalayout = "e-m:e-p270: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/tmpi_tulul7.c"
target datalayout = "e-m:e-p270: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/tmp2t6hxayd.c'
source_filename = "/tmp/tmp2t6hxayd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The time is %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
br label %8
8: ; preds = %16, %2
%9 = load i32, ptr %6, align 4
%10 = icmp sle i32 %9, 10
br i1 %10, label %11, label %19
11: ; preds = %8
%12 = call i32 @time(ptr noundef null)
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = call i32 @printf(ptr noundef @.str, i32 noundef %13)
%15 = call i32 @sleep(i32 noundef 2)
br label %16
16: ; preds = %11
%17 = load i32, ptr %6, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %6, align 4
br label %8, !llvm.loop !6
19: ; preds = %8
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2t6hxayd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"The time is %ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 1, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = icmp sle i32 %8, 10
br i1 %9, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %15
%11 = call i32 @time(ptr noundef null)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = call i32 @sleep(i32 noundef 2)
br label %15
15: ; preds = %10
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp sle i32 %18, 10
br i1 %19, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %20
20: ; preds = %._crit_edge, %2
%21 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @time(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpskdby1h6.c'
source_filename = "/tmp/tmpskdby1h6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"%s: Invalid file content\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int_from_file(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [32 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @read_file(ptr noundef %8, ptr noundef %9, i32 noundef 32)
%11 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strtol(ptr noundef %11, ptr noundef %6, i32 noundef 0)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %20, %22
br i1 %23, label %24, label %28
24: ; preds = %17
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = load ptr, ptr %3, align 8
%27 = call i32 @error(i32 noundef %25, i32 noundef 0, ptr noundef @.str, ptr noundef %26)
br label %28
28: ; preds = %24, %17, %2
%29 = load i32, ptr %7, align 4
ret i32 %29
}
declare i32 @read_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpskdby1h6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [25 x i8] c"%s: Invalid file content\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_int_from_file(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca [32 x i8], align 16
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%10 = call i32 @read_file(ptr noundef %8, ptr noundef %9, i32 noundef 32)
%11 = getelementptr inbounds [32 x i8], ptr %5, i64 0, i64 0
%12 = call i32 @strtol(ptr noundef %11, ptr noundef %6, i32 noundef 0)
store i32 %12, ptr %7, align 4
%13 = load ptr, ptr %6, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %2
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp ne i32 %20, %22
br i1 %23, label %24, label %28
24: ; preds = %17
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = load ptr, ptr %3, align 8
%27 = call i32 @error(i32 noundef %25, i32 noundef 0, ptr noundef @.str, ptr noundef %26)
br label %28
28: ; preds = %24, %17, %2
%29 = load i32, ptr %7, align 4
ret i32 %29
}
declare i32 @read_file(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @error(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfq0nr1mt.c'
source_filename = "/tmp/tmpfq0nr1mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"z\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @output(ptr noundef @.str)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @fput_float(i32 noundef 1, i32 noundef %3)
%5 = load i32, ptr %1, align 4
%6 = call i32 @fput_float(i32 noundef 2, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @fput_float(i32 noundef 3, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 @fput_float(i32 noundef 4, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = call i32 @fput_float(i32 noundef 5, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = call i32 @fput_float(i32 noundef 6, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = call i32 @fput_float(i32 noundef 7, i32 noundef %15)
%17 = load i32, ptr %1, align 4
%18 = call i32 @fput_float(i32 noundef 8, i32 noundef %17)
%19 = load i32, ptr %1, align 4
%20 = call i32 @fput_float(i32 noundef 9, i32 noundef %19)
%21 = load i32, ptr %1, align 4
%22 = call i32 @fput_float(i32 noundef 10, i32 noundef %21)
ret void
}
declare i32 @output(ptr noundef) #1
declare i32 @fput_float(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/tmpfq0nr1mt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"z\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @output(ptr noundef @.str)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @fput_float(i32 noundef 1, i32 noundef %3)
%5 = load i32, ptr %1, align 4
%6 = call i32 @fput_float(i32 noundef 2, i32 noundef %5)
%7 = load i32, ptr %1, align 4
%8 = call i32 @fput_float(i32 noundef 3, i32 noundef %7)
%9 = load i32, ptr %1, align 4
%10 = call i32 @fput_float(i32 noundef 4, i32 noundef %9)
%11 = load i32, ptr %1, align 4
%12 = call i32 @fput_float(i32 noundef 5, i32 noundef %11)
%13 = load i32, ptr %1, align 4
%14 = call i32 @fput_float(i32 noundef 6, i32 noundef %13)
%15 = load i32, ptr %1, align 4
%16 = call i32 @fput_float(i32 noundef 7, i32 noundef %15)
%17 = load i32, ptr %1, align 4
%18 = call i32 @fput_float(i32 noundef 8, i32 noundef %17)
%19 = load i32, ptr %1, align 4
%20 = call i32 @fput_float(i32 noundef 9, i32 noundef %19)
%21 = load i32, ptr %1, align 4
%22 = call i32 @fput_float(i32 noundef 10, i32 noundef %21)
ret void
}
declare i32 @output(ptr noundef) #1
declare i32 @fput_float(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/tmp4s_62m4c.c'
source_filename = "/tmp/tmp4s_62m4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moore_neighbors(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %5
br label %20
17: ; preds = %5
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
br label %20
20: ; preds = %17, %16
%21 = phi i32 [ 0, %16 ], [ %19, %17 ]
store i32 %21, ptr %12, align 4
br label %22
22: ; preds = %75, %20
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = load i32, ptr %9, align 4
br label %33
30: ; preds = %22
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 2
br label %33
33: ; preds = %30, %28
%34 = phi i32 [ %29, %28 ], [ %32, %30 ]
%35 = icmp slt i32 %23, %34
br i1 %35, label %36, label %78
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
br label %43
40: ; preds = %36
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
br label %43
43: ; preds = %40, %39
%44 = phi i32 [ 0, %39 ], [ %42, %40 ]
store i32 %44, ptr %13, align 4
br label %45
45: ; preds = %71, %43
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = load i32, ptr %10, align 4
br label %56
53: ; preds = %45
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 2
br label %56
56: ; preds = %53, %51
%57 = phi i32 [ %52, %51 ], [ %55, %53 ]
%58 = icmp slt i32 %46, %57
br i1 %58, label %59, label %74
59: ; preds = %56
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr %13, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %11, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %11, align 4
br label %71
71: ; preds = %59
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
br label %45, !llvm.loop !6
74: ; preds = %56
br label %75
75: ; preds = %74
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %12, align 4
br label %22, !llvm.loop !8
78: ; preds = %33
%79 = load i32, ptr %11, align 4
ret i32 %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp4s_62m4c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @moore_neighbors(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
store i32 0, ptr %11, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %5
br label %20
17: ; preds = %5
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
br label %20
20: ; preds = %17, %16
%21 = phi i32 [ 0, %16 ], [ %19, %17 ]
store i32 %21, ptr %12, align 4
br label %22
22: ; preds = %75, %20
%23 = load i32, ptr %12, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
%26 = load i32, ptr %9, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = load i32, ptr %9, align 4
br label %33
30: ; preds = %22
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 2
br label %33
33: ; preds = %30, %28
%34 = phi i32 [ %29, %28 ], [ %32, %30 ]
%35 = icmp slt i32 %23, %34
br i1 %35, label %36, label %78
36: ; preds = %33
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %36
br label %43
40: ; preds = %36
%41 = load i32, ptr %8, align 4
%42 = sub nsw i32 %41, 1
br label %43
43: ; preds = %40, %39
%44 = phi i32 [ 0, %39 ], [ %42, %40 ]
store i32 %44, ptr %13, align 4
br label %45
45: ; preds = %71, %43
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr %8, align 4
%48 = add nsw i32 %47, 1
%49 = load i32, ptr %10, align 4
%50 = icmp eq i32 %48, %49
br i1 %50, label %51, label %53
51: ; preds = %45
%52 = load i32, ptr %10, align 4
br label %56
53: ; preds = %45
%54 = load i32, ptr %8, align 4
%55 = add nsw i32 %54, 2
br label %56
56: ; preds = %53, %51
%57 = phi i32 [ %52, %51 ], [ %55, %53 ]
%58 = icmp slt i32 %46, %57
br i1 %58, label %59, label %74
59: ; preds = %56
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %12, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds ptr, ptr %60, i64 %62
%64 = load ptr, ptr %63, align 8
%65 = load i32, ptr %13, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = load i32, ptr %11, align 4
%70 = add nsw i32 %69, %68
store i32 %70, ptr %11, align 4
br label %71
71: ; preds = %59
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
br label %45, !llvm.loop !6
74: ; preds = %56
br label %75
75: ; preds = %74
%76 = load i32, ptr %12, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %12, align 4
br label %22, !llvm.loop !8
78: ; preds = %33
%79 = load i32, ptr %11, align 4
ret i32 %79
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpp2i2uwy4.c'
source_filename = "/tmp/tmpp2i2uwy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XStandardColormap_red_mult(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2i2uwy4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XStandardColormap_red_mult(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i64 %5, ptr %7, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdz769mw1.c'
source_filename = "/tmp/tmpdz769mw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"cmd (as relative path) and cwd is longer than %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"file %s not found\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Unable to get PATH env. variable\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"Unable to find file, %d path/file strings were too long\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Unable to find file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @search_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%18 = load i32, ptr @PATH_MAX, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %11, align 8
%21 = alloca i8, i64 %19, align 16
store i64 %19, ptr %12, align 8
%22 = load i32, ptr @PATH_MAX, align 4
%23 = zext i32 %22 to i64
%24 = alloca i8, i64 %23, align 16
store i64 %23, ptr %13, align 8
store i32 0, ptr %16, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 47
br i1 %29, label %34, label %30
30: ; preds = %3
%31 = load ptr, ptr %5, align 8
%32 = call ptr @strchr(ptr noundef %31, i8 noundef signext 47)
store ptr %32, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %79
34: ; preds = %30, %3
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %7, align 4
%37 = call i32 @access(ptr noundef %35, i32 noundef %36)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %75
39: ; preds = %34
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 0
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 47
br i1 %44, label %45, label %70
45: ; preds = %39
%46 = load i32, ptr @PATH_MAX, align 4
%47 = call ptr @getcwd(ptr noundef %24, i32 noundef %46)
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load ptr, ptr %6, align 8
%51 = call i32 @strcpy(ptr noundef %50, ptr noundef %24)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
52: ; preds = %45
%53 = call i32 @strlen(ptr noundef %24)
%54 = load ptr, ptr %5, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = add nsw i32 %53, %55
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = load i32, ptr @PATH_MAX, align 4
%60 = sext i32 %59 to i64
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %66
62: ; preds = %52
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr @PATH_MAX, align 4
%65 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %63, ptr noundef @.str, i32 noundef %64)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
66: ; preds = %52
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %5, align 8
%69 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %67, ptr noundef @.str.1, ptr noundef %24, ptr noundef %68)
br label %74
70: ; preds = %39
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72)
br label %74
74: ; preds = %70, %66
store i32 0, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
75: ; preds = %34
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr %5, align 8
%78 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %76, ptr noundef @.str.2, ptr noundef %77)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
79: ; preds = %30
%80 = call ptr @getenv(ptr noundef @.str.3)
store ptr %80, ptr %10, align 8
%81 = icmp eq ptr %80, null
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load ptr, ptr %6, align 8
%84 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %83, ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
85: ; preds = %79
%86 = getelementptr inbounds i8, ptr %24, i64 0
store i8 0, ptr %86, align 16
%87 = load ptr, ptr %10, align 8
store ptr %87, ptr %8, align 8
%88 = load ptr, ptr %10, align 8
store ptr %88, ptr %14, align 8
store i32 0, ptr %15, align 4
br label %89
89: ; preds = %159, %147, %85
%90 = load i32, ptr %15, align 4
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %93
92: ; preds = %89
br label %160
93: ; preds = %89
%94 = load ptr, ptr %8, align 8
%95 = load ptr, ptr %10, align 8
%96 = icmp ne ptr %94, %95
br i1 %96, label %97, label %100
97: ; preds = %93
%98 = load ptr, ptr %8, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %8, align 8
store ptr %99, ptr %14, align 8
br label %100
100: ; preds = %97, %93
br label %101
101: ; preds = %114, %100
%102 = load ptr, ptr %8, align 8
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = icmp ne i32 %104, 58
br i1 %105, label %106, label %111
106: ; preds = %101
%107 = load ptr, ptr %8, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp ne i32 %109, 0
br label %111
111: ; preds = %106, %101
%112 = phi i1 [ false, %101 ], [ %110, %106 ]
br i1 %112, label %113, label %117
113: ; preds = %111
br label %114
114: ; preds = %113
%115 = load ptr, ptr %8, align 8
%116 = getelementptr inbounds i8, ptr %115, i32 1
store ptr %116, ptr %8, align 8
br label %101, !llvm.loop !6
117: ; preds = %111
%118 = load ptr, ptr %14, align 8
%119 = load ptr, ptr %8, align 8
%120 = load ptr, ptr %14, align 8
%121 = ptrtoint ptr %119 to i64
%122 = ptrtoint ptr %120 to i64
%123 = sub i64 %121, %122
%124 = trunc i64 %123 to i32
%125 = call i32 @strncpy(ptr noundef %21, ptr noundef %118, i32 noundef %124)
%126 = load ptr, ptr %8, align 8
%127 = load ptr, ptr %14, align 8
%128 = ptrtoint ptr %126 to i64
%129 = ptrtoint ptr %127 to i64
%130 = sub i64 %128, %129
%131 = getelementptr inbounds i8, ptr %21, i64 %130
store i8 0, ptr %131, align 1
%132 = load ptr, ptr %8, align 8
%133 = load i8, ptr %132, align 1
%134 = sext i8 %133 to i32
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %137
136: ; preds = %117
store i32 1, ptr %15, align 4
br label %137
137: ; preds = %136, %117
%138 = call i32 @strlen(ptr noundef %21)
%139 = load ptr, ptr %5, align 8
%140 = call i32 @strlen(ptr noundef %139)
%141 = add nsw i32 %138, %140
%142 = add nsw i32 %141, 2
%143 = sext i32 %142 to i64
%144 = load i32, ptr @PATH_MAX, align 4
%145 = sext i32 %144 to i64
%146 = icmp ugt i64 %143, %145
br i1 %146, label %147, label %150
147: ; preds = %137
%148 = load i32, ptr %16, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %16, align 4
br label %89
150: ; preds = %137
%151 = load ptr, ptr %6, align 8
%152 = load ptr, ptr %5, align 8
%153 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %151, ptr noundef @.str.1, ptr noundef %21, ptr noundef %152)
%154 = load ptr, ptr %6, align 8
%155 = load i32, ptr %7, align 4
%156 = call i32 @access(ptr noundef %154, i32 noundef %155)
store i32 %156, ptr %9, align 4
%157 = icmp eq i32 %156, 0
br i1 %157, label %158, label %159
158: ; preds = %150
store i32 0, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
159: ; preds = %150
br label %89
160: ; preds = %92
%161 = load i32, ptr %16, align 4
%162 = icmp ne i32 %161, 0
br i1 %162, label %163, label %167
163: ; preds = %160
%164 = load ptr, ptr %6, align 8
%165 = load i32, ptr %16, align 4
%166 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %164, ptr noundef @.str.5, i32 noundef %165)
br label %170
167: ; preds = %160
%168 = load ptr, ptr %6, align 8
%169 = call i32 @strcpy(ptr noundef %168, ptr noundef @.str.6)
br label %170
170: ; preds = %167, %163
store i32 1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %171
171: ; preds = %170, %158, %82, %75, %74, %62, %49
%172 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %172)
%173 = load i32, ptr %4, align 4
ret i32 %173
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @access(ptr noundef, i32 noundef) #2
declare ptr @getcwd(ptr noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @strncpy(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpdz769mw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [49 x i8] c"cmd (as relative path) and cwd is longer than %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"file %s not found\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"PATH\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Unable to get PATH env. variable\00", align 1
@.str.5 = private unnamed_addr constant [56 x i8] c"Unable to find file, %d path/file strings were too long\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"Unable to find file\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @search_path(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%18 = load i32, ptr @PATH_MAX, align 4
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %11, align 8
%21 = alloca i8, i64 %19, align 16
store i64 %19, ptr %12, align 8
%22 = load i32, ptr @PATH_MAX, align 4
%23 = zext i32 %22 to i64
%24 = alloca i8, i64 %23, align 16
store i64 %23, ptr %13, align 8
store i32 0, ptr %16, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 47
br i1 %29, label %34, label %30
30: ; preds = %3
%31 = load ptr, ptr %5, align 8
%32 = call ptr @strchr(ptr noundef %31, i8 noundef signext 47)
store ptr %32, ptr %8, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %34, label %79
34: ; preds = %30, %3
%35 = load ptr, ptr %5, align 8
%36 = load i32, ptr %7, align 4
%37 = call i32 @access(ptr noundef %35, i32 noundef %36)
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %75
39: ; preds = %34
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 0
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 47
br i1 %44, label %45, label %70
45: ; preds = %39
%46 = load i32, ptr @PATH_MAX, align 4
%47 = call ptr @getcwd(ptr noundef %24, i32 noundef %46)
%48 = icmp eq ptr %47, null
br i1 %48, label %49, label %52
49: ; preds = %45
%50 = load ptr, ptr %6, align 8
%51 = call i32 @strcpy(ptr noundef %50, ptr noundef %24)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
52: ; preds = %45
%53 = call i32 @strlen(ptr noundef %24)
%54 = load ptr, ptr %5, align 8
%55 = call i32 @strlen(ptr noundef %54)
%56 = add nsw i32 %53, %55
%57 = add nsw i32 %56, 1
%58 = sext i32 %57 to i64
%59 = load i32, ptr @PATH_MAX, align 4
%60 = sext i32 %59 to i64
%61 = icmp ugt i64 %58, %60
br i1 %61, label %62, label %66
62: ; preds = %52
%63 = load ptr, ptr %6, align 8
%64 = load i32, ptr @PATH_MAX, align 4
%65 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %63, ptr noundef @.str, i32 noundef %64)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
66: ; preds = %52
%67 = load ptr, ptr %6, align 8
%68 = load ptr, ptr %5, align 8
%69 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %67, ptr noundef @.str.1, ptr noundef %24, ptr noundef %68)
br label %74
70: ; preds = %39
%71 = load ptr, ptr %6, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @strcpy(ptr noundef %71, ptr noundef %72)
br label %74
74: ; preds = %70, %66
store i32 0, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
75: ; preds = %34
%76 = load ptr, ptr %6, align 8
%77 = load ptr, ptr %5, align 8
%78 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %76, ptr noundef @.str.2, ptr noundef %77)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
79: ; preds = %30
%80 = call ptr @getenv(ptr noundef @.str.3)
store ptr %80, ptr %10, align 8
%81 = icmp eq ptr %80, null
br i1 %81, label %82, label %85
82: ; preds = %79
%83 = load ptr, ptr %6, align 8
%84 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %83, ptr noundef @.str.4)
store i32 -1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
85: ; preds = %79
%86 = getelementptr inbounds i8, ptr %24, i64 0
store i8 0, ptr %86, align 16
%87 = load ptr, ptr %10, align 8
store ptr %87, ptr %8, align 8
%88 = load ptr, ptr %10, align 8
store ptr %88, ptr %14, align 8
store i32 0, ptr %15, align 4
%89 = load i32, ptr %15, align 4
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %.lr.ph
.lr.ph: ; preds = %85
br label %92
._crit_edge: ; preds = %.backedge
br label %91
91: ; preds = %._crit_edge, %85
br label %161
92: ; preds = %.lr.ph, %.backedge
%93 = load ptr, ptr %8, align 8
%94 = load ptr, ptr %10, align 8
%95 = icmp ne ptr %93, %94
br i1 %95, label %96, label %99
96: ; preds = %92
%97 = load ptr, ptr %8, align 8
%98 = getelementptr inbounds i8, ptr %97, i32 1
store ptr %98, ptr %8, align 8
store ptr %98, ptr %14, align 8
br label %99
99: ; preds = %96, %92
br label %100
100: ; preds = %113, %99
%101 = load ptr, ptr %8, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp ne i32 %103, 58
br i1 %104, label %105, label %110
105: ; preds = %100
%106 = load ptr, ptr %8, align 8
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
%109 = icmp ne i32 %108, 0
br label %110
110: ; preds = %105, %100
%111 = phi i1 [ false, %100 ], [ %109, %105 ]
br i1 %111, label %112, label %116
112: ; preds = %110
br label %113
113: ; preds = %112
%114 = load ptr, ptr %8, align 8
%115 = getelementptr inbounds i8, ptr %114, i32 1
store ptr %115, ptr %8, align 8
br label %100, !llvm.loop !6
116: ; preds = %110
%117 = load ptr, ptr %14, align 8
%118 = load ptr, ptr %8, align 8
%119 = load ptr, ptr %14, align 8
%120 = ptrtoint ptr %118 to i64
%121 = ptrtoint ptr %119 to i64
%122 = sub i64 %120, %121
%123 = trunc i64 %122 to i32
%124 = call i32 @strncpy(ptr noundef %21, ptr noundef %117, i32 noundef %123)
%125 = load ptr, ptr %8, align 8
%126 = load ptr, ptr %14, align 8
%127 = ptrtoint ptr %125 to i64
%128 = ptrtoint ptr %126 to i64
%129 = sub i64 %127, %128
%130 = getelementptr inbounds i8, ptr %21, i64 %129
store i8 0, ptr %130, align 1
%131 = load ptr, ptr %8, align 8
%132 = load i8, ptr %131, align 1
%133 = sext i8 %132 to i32
%134 = icmp eq i32 %133, 0
br i1 %134, label %135, label %136
135: ; preds = %116
store i32 1, ptr %15, align 4
br label %136
136: ; preds = %135, %116
%137 = call i32 @strlen(ptr noundef %21)
%138 = load ptr, ptr %5, align 8
%139 = call i32 @strlen(ptr noundef %138)
%140 = add nsw i32 %137, %139
%141 = add nsw i32 %140, 2
%142 = sext i32 %141 to i64
%143 = load i32, ptr @PATH_MAX, align 4
%144 = sext i32 %143 to i64
%145 = icmp ugt i64 %142, %144
br i1 %145, label %146, label %151
146: ; preds = %136
%147 = load i32, ptr %16, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %16, align 4
br label %.backedge
.backedge: ; preds = %146, %160
%149 = load i32, ptr %15, align 4
%150 = icmp ne i32 %149, 0
br i1 %150, label %._crit_edge, label %92
151: ; preds = %136
%152 = load ptr, ptr %6, align 8
%153 = load ptr, ptr %5, align 8
%154 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %152, ptr noundef @.str.1, ptr noundef %21, ptr noundef %153)
%155 = load ptr, ptr %6, align 8
%156 = load i32, ptr %7, align 4
%157 = call i32 @access(ptr noundef %155, i32 noundef %156)
store i32 %157, ptr %9, align 4
%158 = icmp eq i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %151
store i32 0, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
160: ; preds = %151
br label %.backedge
161: ; preds = %91
%162 = load i32, ptr %16, align 4
%163 = icmp ne i32 %162, 0
br i1 %163, label %164, label %168
164: ; preds = %161
%165 = load ptr, ptr %6, align 8
%166 = load i32, ptr %16, align 4
%167 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %165, ptr noundef @.str.5, i32 noundef %166)
br label %171
168: ; preds = %161
%169 = load ptr, ptr %6, align 8
%170 = call i32 @strcpy(ptr noundef %169, ptr noundef @.str.6)
br label %171
171: ; preds = %168, %164
store i32 1, ptr %4, align 4
store i32 1, ptr %17, align 4
br label %172
172: ; preds = %171, %159, %82, %75, %74, %62, %49
%173 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %173)
%174 = load i32, ptr %4, align 4
ret i32 %174
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @strchr(ptr noundef, i8 noundef signext) #2
declare i32 @access(ptr noundef, i32 noundef) #2
declare ptr @getcwd(ptr noundef, i32 noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2
declare ptr @getenv(ptr noundef) #2
declare i32 @strncpy(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpy04xkp1s.c'
source_filename = "/tmp/tmpy04xkp1s.c"
target datalayout = "e-m:e-p270: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/tmpy04xkp1s.c"
target datalayout = "e-m:e-p270: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/tmpzaqzz_ow.c'
source_filename = "/tmp/tmpzaqzz_ow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEvent_xvisibility_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = inttoptr i64 %6 to ptr
ret ptr %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzaqzz_ow.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_XEvent_xvisibility_display(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = inttoptr i64 %6 to ptr
ret ptr %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_xim83f2.c'
source_filename = "/tmp/tmp_xim83f2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @mbrlen(ptr noundef %5, i64 noundef %6, ptr noundef null)
ret i32 %7
}
declare i32 @mbrlen(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/tmp_xim83f2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mblen(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call i32 @mbrlen(ptr noundef %5, i64 noundef %6, ptr noundef null)
ret i32 %7
}
declare i32 @mbrlen(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/tmp0jpaykkc.c'
source_filename = "/tmp/tmp0jpaykkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Philosoph %d gestartet\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Philosoph %d isst\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Philosoph %d ist fertig\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @phil(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %25, %1
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 5
br i1 %13, label %14, label %28
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = call i32 @gabeln_holen(i32 noundef %15)
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str.1, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sdiv i32 %19, 2
%21 = call i32 @sleep(i32 noundef %20)
%22 = load i32, ptr %4, align 4
%23 = call i32 @gabeln_abgeben(i32 noundef %22)
%24 = call i32 @sleep(i32 noundef 1)
br label %25
25: ; preds = %14
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %11, !llvm.loop !6
28: ; preds = %11
%29 = load i32, ptr %4, align 4
%30 = call i32 @printf(ptr noundef @.str.2, i32 noundef %29)
%31 = load ptr, ptr %3, align 8
%32 = call i32 @free(ptr noundef %31)
ret ptr null
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gabeln_holen(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @gabeln_abgeben(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0jpaykkc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Philosoph %d gestartet\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Philosoph %d isst\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Philosoph %d ist fertig\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @phil(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %7, align 4
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, i32 noundef %9)
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 5
br i1 %12, label %.lr.ph, label %29
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %24
%14 = load i32, ptr %4, align 4
%15 = call i32 @gabeln_holen(i32 noundef %14)
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = sdiv i32 %18, 2
%20 = call i32 @sleep(i32 noundef %19)
%21 = load i32, ptr %4, align 4
%22 = call i32 @gabeln_abgeben(i32 noundef %21)
%23 = call i32 @sleep(i32 noundef 1)
br label %24
24: ; preds = %13
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %27, 5
br i1 %28, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %1
%30 = load i32, ptr %4, align 4
%31 = call i32 @printf(ptr noundef @.str.2, i32 noundef %30)
%32 = load ptr, ptr %3, align 8
%33 = call i32 @free(ptr noundef %32)
ret ptr null
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @gabeln_holen(i32 noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @gabeln_abgeben(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpf49mztha.c'
source_filename = "/tmp/tmpf49mztha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Enter an Alphabet: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i8, align 1
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 98
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i8, ptr %1, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf49mztha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Enter an Alphabet: \00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%c \00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"error\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i8, align 1
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i8, ptr %1, align 1
%5 = sext i8 %4 to i32
%6 = icmp eq i32 %5, 98
br i1 %6, label %7, label %11
7: ; preds = %0
%8 = load i8, ptr %1, align 1
%9 = sext i8 %8 to i32
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %9)
br label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %13
13: ; preds = %11, %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplzy7frzj.c'
source_filename = "/tmp/tmplzy7frzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcp2515_reset() #0 {
%1 = call i32 (...) @mcp2515_spi_select()
%2 = call i32 @mcp2515_spi_transfer(i32 noundef 192, ptr noundef null)
%3 = call i32 (...) @mcp2515_spi_unselect()
ret void
}
declare i32 @mcp2515_spi_select(...) #1
declare i32 @mcp2515_spi_transfer(i32 noundef, ptr noundef) #1
declare i32 @mcp2515_spi_unselect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplzy7frzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mcp2515_reset() #0 {
%1 = call i32 (...) @mcp2515_spi_select()
%2 = call i32 @mcp2515_spi_transfer(i32 noundef 192, ptr noundef null)
%3 = call i32 (...) @mcp2515_spi_unselect()
ret void
}
declare i32 @mcp2515_spi_select(...) #1
declare i32 @mcp2515_spi_transfer(i32 noundef, ptr noundef) #1
declare i32 @mcp2515_spi_unselect(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpje2obips.c'
source_filename = "/tmp/tmpje2obips.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./lab2\00", align 1
@.str.1 = private unnamed_addr constant [66 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0, \D0\BD\D0\B5 \D1\83\D0\B4\D0\B0\D0\BB\D0\BE\D1\81\D1\8C \D0\B7\D0\B0\D0\BF\D1\83\D1\81\D1\82\D0\B8\D1\82\D1\8C 2 \D0\BB\D0\B0\D0\B1\D1\83.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i64 @execvp(ptr noundef @.str, ptr noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %3
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i64 @execvp(ptr noundef, ptr noundef) #1
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/tmpje2obips.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"./lab2\00", align 1
@.str.1 = private unnamed_addr constant [66 x i8] c"\D0\9E\D1\88\D0\B8\D0\B1\D0\BA\D0\B0, \D0\BD\D0\B5 \D1\83\D0\B4\D0\B0\D0\BB\D0\BE\D1\81\D1\8C \D0\B7\D0\B0\D0\BF\D1\83\D1\81\D1\82\D0\B8\D1\82\D1\8C 2 \D0\BB\D0\B0\D0\B1\D1\83.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = call i64 @execvp(ptr noundef @.str, ptr noundef %8)
%10 = icmp slt i64 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %3
%12 = call i32 @printf(ptr noundef @.str.1)
br label %13
13: ; preds = %11, %3
%14 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i64 @execvp(ptr noundef, ptr noundef) #1
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/tmpnuphq1j7.c'
source_filename = "/tmp/tmpnuphq1j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geta1() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 4)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
declare ptr @malloc(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/tmpnuphq1j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @geta1() #0 {
%1 = alloca ptr, align 8
%2 = call ptr @malloc(i32 noundef 4)
store ptr %2, ptr %1, align 8
%3 = load ptr, ptr %1, align 8
ret ptr %3
}
declare ptr @malloc(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/tmp940j5x2a.c'
source_filename = "/tmp/tmp940j5x2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child_signal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @EXIT_SUCCESS, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmp940j5x2a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child_signal(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @EXIT_SUCCESS, align 4
%4 = call i32 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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 #2 = { 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/tmpejbaar3n.c'
source_filename = "/tmp/tmpejbaar3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Fork failed. Not enough memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nofork() #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/tmpejbaar3n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"Fork failed. Not enough memory.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nofork() #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/tmp9fupwqh8.c'
source_filename = "/tmp/tmp9fupwqh8.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [32 x i8] c"Couldn't get system information\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"System name: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Node name: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Release: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Machine: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%3 = call i64 @uname(ptr noundef %2)
%4 = icmp slt i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = load i32, ptr @EXIT_FAILURE, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %0
%10 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%16 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str.3, ptr noundef %17)
%19 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @printf(ptr noundef @.str.4, ptr noundef %20)
%22 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 4
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str.5, ptr noundef %23)
ret i32 0
}
declare i64 @uname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmp9fupwqh8.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [32 x i8] c"Couldn't get system information\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [17 x i8] c"System name: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Node name: %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"Release: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"Version: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"Machine: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%3 = call i64 @uname(ptr noundef %2)
%4 = icmp slt i64 %3, 0
br i1 %4, label %5, label %9
5: ; preds = %0
%6 = call i32 @perror(ptr noundef @.str)
%7 = load i32, ptr @EXIT_FAILURE, align 4
%8 = call i32 @exit(i32 noundef %7) #3
unreachable
9: ; preds = %0
%10 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
%13 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14)
%16 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 2
%17 = load ptr, ptr %16, align 8
%18 = call i32 @printf(ptr noundef @.str.3, ptr noundef %17)
%19 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 3
%20 = load ptr, ptr %19, align 8
%21 = call i32 @printf(ptr noundef @.str.4, ptr noundef %20)
%22 = getelementptr inbounds %struct.utsname, ptr %2, i32 0, i32 4
%23 = load ptr, ptr %22, align 8
%24 = call i32 @printf(ptr noundef @.str.5, ptr noundef %23)
ret i32 0
}
declare i64 @uname(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
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" }
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/tmpfjai2ucx.c'
source_filename = "/tmp/tmpfjai2ucx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MultiplicaEZ(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
%6 = alloca [5 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strncpy(ptr noundef %9, ptr noundef %10, i32 noundef 4)
%12 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 4
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 4)
%16 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 4
store i8 0, ptr %16, align 1
%17 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = mul nsw i32 %21, %22
ret i32 %23
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjai2ucx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MultiplicaEZ(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
%6 = alloca [5 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strncpy(ptr noundef %9, ptr noundef %10, i32 noundef 4)
%12 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 4
store i8 0, ptr %12, align 1
%13 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%14 = load ptr, ptr %4, align 8
%15 = call i32 @strncpy(ptr noundef %13, ptr noundef %14, i32 noundef 4)
%16 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 4
store i8 0, ptr %16, align 1
%17 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%18 = call i32 @atoi(ptr noundef %17)
store i32 %18, ptr %7, align 4
%19 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%20 = call i32 @atoi(ptr noundef %19)
store i32 %20, ptr %8, align 4
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = mul nsw i32 %21, %22
ret i32 %23
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpo50feaao.c'
source_filename = "/tmp/tmpo50feaao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @eslib_string_toke(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %9, align 8
store i32 0, ptr %13, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %25, label %16
16: ; preds = %4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr @INT_MAX, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp uge i32 %17, %19
br i1 %20, label %25, label %21
21: ; preds = %16
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp ugt i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21, %16, %4
store ptr null, ptr %5, align 8
br label %93
26: ; preds = %21
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
store i32 1, ptr %31, align 4
store ptr null, ptr %5, align 8
br label %93
32: ; preds = %26
br label %33
33: ; preds = %32
br label %34
34: ; preds = %47, %33
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp ule i32 %35, %36
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %7, align 4
%41 = zext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %38
br label %50
47: ; preds = %38
%48 = load i32, ptr %7, align 4
%49 = add i32 %48, 1
store i32 %49, ptr %7, align 4
br label %34, !llvm.loop !6
50: ; preds = %46, %34
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr %8, align 4
%53 = icmp ugt i32 %51, %52
br i1 %53, label %54, label %59
54: ; preds = %50
%55 = load i32, ptr %7, align 4
%56 = load i32, ptr %10, align 4
%57 = sub i32 %55, %56
%58 = load ptr, ptr %9, align 8
store i32 %57, ptr %58, align 4
store ptr null, ptr %5, align 8
br label %93
59: ; preds = %50
%60 = load i32, ptr %7, align 4
store i32 %60, ptr %11, align 4
br label %61
61: ; preds = %75, %59
%62 = load i32, ptr %7, align 4
%63 = load i32, ptr %8, align 4
%64 = add i32 %63, 1
%65 = icmp ult i32 %62, %64
br i1 %65, label %66, label %78
66: ; preds = %61
%67 = load ptr, ptr %6, align 8
%68 = load i32, ptr %7, align 4
%69 = zext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
%71 = load i8, ptr %70, align 1
%72 = sext i8 %71 to i32
%73 = icmp eq i32 %72, 0
br i1 %73, label %74, label %75
74: ; preds = %66
br label %78
75: ; preds = %66
%76 = load i32, ptr %7, align 4
%77 = add i32 %76, 1
store i32 %77, ptr %7, align 4
br label %61, !llvm.loop !8
78: ; preds = %74, %61
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %8, align 4
%81 = icmp ugt i32 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %78
store ptr null, ptr %5, align 8
br label %93
83: ; preds = %78
%84 = load i32, ptr %7, align 4
%85 = add i32 %84, 1
store i32 %85, ptr %7, align 4
%86 = load i32, ptr %10, align 4
%87 = sub i32 %85, %86
%88 = load ptr, ptr %9, align 8
store i32 %87, ptr %88, align 4
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %11, align 4
%91 = zext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
store ptr %92, ptr %5, align 8
br label %93
93: ; preds = %83, %82, %54, %30, %25
%94 = load ptr, ptr %5, align 8
ret ptr %94
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo50feaao.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @eslib_string_toke(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
%12 = load i32, ptr %7, align 4
store i32 %12, ptr %10, align 4
%13 = load ptr, ptr %9, align 8
store i32 0, ptr %13, align 4
%14 = load i32, ptr %8, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %25, label %16
16: ; preds = %4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr @INT_MAX, align 4
%19 = sub nsw i32 %18, 1
%20 = icmp uge i32 %17, %19
br i1 %20, label %25, label %21
21: ; preds = %16
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp ugt i32 %22, %23
br i1 %24, label %25, label %26
25: ; preds = %21, %16, %4
store ptr null, ptr %5, align 8
br label %98
26: ; preds = %21
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp eq i32 %27, %28
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = load ptr, ptr %9, align 8
store i32 1, ptr %31, align 4
store ptr null, ptr %5, align 8
br label %98
32: ; preds = %26
br label %33
33: ; preds = %32
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp ule i32 %34, %35
br i1 %36, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %46
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = zext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %37
br label %52
46: ; preds = %37
%47 = load i32, ptr %7, align 4
%48 = add i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp ule i32 %49, %50
br i1 %51, label %37, label %..loopexit1_crit_edge, !llvm.loop !6
..loopexit1_crit_edge: ; preds = %46
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %33
br label %52
52: ; preds = %.loopexit1, %45
%53 = load i32, ptr %7, align 4
%54 = load i32, ptr %8, align 4
%55 = icmp ugt i32 %53, %54
br i1 %55, label %56, label %61
56: ; preds = %52
%57 = load i32, ptr %7, align 4
%58 = load i32, ptr %10, align 4
%59 = sub i32 %57, %58
%60 = load ptr, ptr %9, align 8
store i32 %59, ptr %60, align 4
store ptr null, ptr %5, align 8
br label %98
61: ; preds = %52
%62 = load i32, ptr %7, align 4
store i32 %62, ptr %11, align 4
%63 = load i32, ptr %7, align 4
%64 = load i32, ptr %8, align 4
%65 = add i32 %64, 1
%66 = icmp ult i32 %63, %65
br i1 %66, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %61
br label %67
67: ; preds = %.lr.ph2, %76
%68 = load ptr, ptr %6, align 8
%69 = load i32, ptr %7, align 4
%70 = zext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %76
75: ; preds = %67
br label %83
76: ; preds = %67
%77 = load i32, ptr %7, align 4
%78 = add i32 %77, 1
store i32 %78, ptr %7, align 4
%79 = load i32, ptr %7, align 4
%80 = load i32, ptr %8, align 4
%81 = add i32 %80, 1
%82 = icmp ult i32 %79, %81
br i1 %82, label %67, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %76
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %61
br label %83
83: ; preds = %.loopexit, %75
%84 = load i32, ptr %7, align 4
%85 = load i32, ptr %8, align 4
%86 = icmp ugt i32 %84, %85
br i1 %86, label %87, label %88
87: ; preds = %83
store ptr null, ptr %5, align 8
br label %98
88: ; preds = %83
%89 = load i32, ptr %7, align 4
%90 = add i32 %89, 1
store i32 %90, ptr %7, align 4
%91 = load i32, ptr %10, align 4
%92 = sub i32 %90, %91
%93 = load ptr, ptr %9, align 8
store i32 %92, ptr %93, align 4
%94 = load ptr, ptr %6, align 8
%95 = load i32, ptr %11, align 4
%96 = zext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
store ptr %97, ptr %5, align 8
br label %98
98: ; preds = %88, %87, %56, %30, %25
%99 = load ptr, ptr %5, align 8
ret ptr %99
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp72jddwg5.c'
source_filename = "/tmp/tmp72jddwg5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"NOT IMPLEMENTED:pa_random\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_random() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmp72jddwg5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"NOT IMPLEMENTED:pa_random\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_random() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpxmkefggm.c'
source_filename = "/tmp/tmpxmkefggm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_uint_capped(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%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
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = zext i8 %13 to i32
%15 = sub nsw i32 %14, 48
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %49
18: ; preds = %4
br label %19
19: ; preds = %18, %44
br label %20
20: ; preds = %64, %19
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = sub nsw i32 %24, 48
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp sge i32 %26, 10
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = load i32, ptr %10, align 4
%30 = load ptr, ptr %7, align 8
store i32 %29, ptr %30, align 4
store i32 0, ptr %5, align 4
br label %89
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %44
35: ; preds = %31
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %39, %35
store i32 1, ptr %5, align 4
br label %89
44: ; preds = %39, %31
%45 = load i32, ptr %10, align 4
%46 = mul nsw i32 %45, 10
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %46, %47
store i32 %48, ptr %10, align 4
br label %19
49: ; preds = %4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load i32, ptr %10, align 4
%53 = icmp ne i32 %52, -3
br i1 %53, label %54, label %67
54: ; preds = %49
%55 = load i32, ptr %10, align 4
%56 = icmp eq i32 %55, -5
br i1 %56, label %57, label %66
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = sub nsw i32 %60, 48
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %62, 10
br i1 %63, label %64, label %65
64: ; preds = %57
br label %20
65: ; preds = %57
br label %66
66: ; preds = %65, %54
store i32 1, ptr %5, align 4
br label %89
67: ; preds = %49
%68 = load ptr, ptr %6, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 48
br i1 %71, label %72, label %73
72: ; preds = %67
store i32 1, ptr %5, align 4
br label %89
73: ; preds = %67
br label %74
74: ; preds = %80, %73
%75 = load ptr, ptr %6, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %6, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 48
br i1 %79, label %80, label %81
80: ; preds = %74
br label %74, !llvm.loop !6
81: ; preds = %74
%82 = load ptr, ptr %7, align 8
store i32 0, ptr %82, align 4
%83 = load ptr, ptr %6, align 8
%84 = load i8, ptr %83, align 1
%85 = zext i8 %84 to i32
%86 = sub nsw i32 %85, 48
%87 = icmp slt i32 %86, 10
%88 = zext i1 %87 to i32
store i32 %88, ptr %5, align 4
br label %89
89: ; preds = %81, %72, %66, %43, %28
%90 = load i32, ptr %5, align 4
ret i32 %90
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpxmkefggm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scan_uint_capped(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%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
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%12 = load ptr, ptr %6, align 8
%13 = load i8, ptr %12, align 1
%14 = zext i8 %13 to i32
%15 = sub nsw i32 %14, 48
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %49
18: ; preds = %4
br label %19
19: ; preds = %44, %18
br label %20
20: ; preds = %64, %19
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = zext i8 %23 to i32
%25 = sub nsw i32 %24, 48
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp sge i32 %26, 10
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = load i32, ptr %10, align 4
%30 = load ptr, ptr %7, align 8
store i32 %29, ptr %30, align 4
store i32 0, ptr %5, align 4
br label %88
31: ; preds = %20
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp sge i32 %32, %33
br i1 %34, label %35, label %44
35: ; preds = %31
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %8, align 4
%38 = icmp sgt i32 %36, %37
br i1 %38, label %43, label %39
39: ; preds = %35
%40 = load i32, ptr %11, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %44
43: ; preds = %39, %35
store i32 1, ptr %5, align 4
br label %88
44: ; preds = %39, %31
%45 = load i32, ptr %10, align 4
%46 = mul nsw i32 %45, 10
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %46, %47
store i32 %48, ptr %10, align 4
br label %19
49: ; preds = %4
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %6, align 8
%52 = load i32, ptr %10, align 4
%53 = icmp ne i32 %52, -3
br i1 %53, label %54, label %67
54: ; preds = %49
%55 = load i32, ptr %10, align 4
%56 = icmp eq i32 %55, -5
br i1 %56, label %57, label %66
57: ; preds = %54
%58 = load ptr, ptr %6, align 8
%59 = load i8, ptr %58, align 1
%60 = zext i8 %59 to i32
%61 = sub nsw i32 %60, 48
store i32 %61, ptr %10, align 4
%62 = load i32, ptr %10, align 4
%63 = icmp slt i32 %62, 10
br i1 %63, label %64, label %65
64: ; preds = %57
br label %20
65: ; preds = %57
br label %66
66: ; preds = %65, %54
store i32 1, ptr %5, align 4
br label %88
67: ; preds = %49
%68 = load ptr, ptr %6, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 48
br i1 %71, label %72, label %73
72: ; preds = %67
store i32 1, ptr %5, align 4
br label %88
73: ; preds = %67
br label %74
74: ; preds = %74, %73
%75 = load ptr, ptr %6, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %6, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 48
br i1 %79, label %74, label %80, !llvm.loop !6
80: ; preds = %74
%81 = load ptr, ptr %7, align 8
store i32 0, ptr %81, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i8, ptr %82, align 1
%84 = zext i8 %83 to i32
%85 = sub nsw i32 %84, 48
%86 = icmp slt i32 %85, 10
%87 = zext i1 %86 to i32
store i32 %87, ptr %5, align 4
br label %88
88: ; preds = %80, %72, %66, %43, %28
%89 = load i32, ptr %5, align 4
ret i32 %89
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmppxihzaan.c'
source_filename = "/tmp/tmppxihzaan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IDE_nobusy() #0 {
br label %1
1: ; preds = %6, %0
%2 = call i32 @io_in8(i32 noundef 503)
%3 = and i32 %2, 136
%4 = icmp eq i32 %3, 8
br i1 %4, label %5, label %6
5: ; preds = %1
ret void
6: ; preds = %1
br label %1
}
declare i32 @io_in8(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/tmppxihzaan.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @IDE_nobusy() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 @io_in8(i32 noundef 503)
%3 = and i32 %2, 136
%4 = icmp eq i32 %3, 8
br i1 %4, label %5, label %1
5: ; preds = %1
ret void
}
declare i32 @io_in8(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/tmpf674qiz9.c'
source_filename = "/tmp/tmpf674qiz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Address of local variable is %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"stack grows down \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stack_down() #0 {
%1 = alloca i32, align 4
store i32 2, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf674qiz9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Address of local variable is %p\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"stack grows down \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stack_down() #0 {
%1 = alloca i32, align 4
store i32 2, ptr %1, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %1)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4b0zlm3v.c'
source_filename = "/tmp/tmp4b0zlm3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ebmb_lookup_longest(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @__ebmb_lookup_longest(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @__ebmb_lookup_longest(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/tmp4b0zlm3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ebmb_lookup_longest(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call ptr @__ebmb_lookup_longest(ptr noundef %5, ptr noundef %6)
ret ptr %7
}
declare ptr @__ebmb_lookup_longest(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/tmp5raz44i1.c'
source_filename = "/tmp/tmp5raz44i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64, i32, i32, i64, i64, i64, i64, i64, i64 }
@RIPEMD160_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RIPEMD160_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 8
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @ripemd160_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 2
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
store i32 %62, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 4
store ptr %65, ptr %5, align 8
%66 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%67 = load ptr, ptr %5, align 8
%68 = sext i32 %66 to i64
%69 = sub i64 0, %68
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store ptr %70, ptr %5, align 8
%71 = load ptr, ptr %4, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @ripemd160_block_data_order(ptr noundef %71, ptr noundef %72, i32 noundef 1)
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i32 0, i32 0
store i64 0, ptr %75, align 8
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%78 = call i32 @memset(ptr noundef %76, i32 noundef 0, i32 noundef %77)
br label %79
79: ; preds = %38
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 3
%82 = load i64, ptr %81, align 8
store i64 %82, ptr %7, align 8
%83 = load i64, ptr %7, align 8
%84 = trunc i64 %83 to i32
%85 = load ptr, ptr %3, align 8
store i32 %84, ptr %85, align 4
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 4
store ptr %87, ptr %3, align 8
%88 = load ptr, ptr %4, align 8
%89 = getelementptr inbounds %struct.TYPE_4__, ptr %88, i32 0, i32 4
%90 = load i64, ptr %89, align 8
store i64 %90, ptr %7, align 8
%91 = load i64, ptr %7, align 8
%92 = trunc i64 %91 to i32
%93 = load ptr, ptr %3, align 8
store i32 %92, ptr %93, align 4
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 4
store ptr %95, ptr %3, align 8
%96 = load ptr, ptr %4, align 8
%97 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i32 0, i32 5
%98 = load i64, ptr %97, align 8
store i64 %98, ptr %7, align 8
%99 = load i64, ptr %7, align 8
%100 = trunc i64 %99 to i32
%101 = load ptr, ptr %3, align 8
store i32 %100, ptr %101, align 4
%102 = load ptr, ptr %3, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 4
store ptr %103, ptr %3, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 6
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load ptr, ptr %4, align 8
%113 = getelementptr inbounds %struct.TYPE_4__, ptr %112, i32 0, i32 7
%114 = load i64, ptr %113, align 8
store i64 %114, ptr %7, align 8
%115 = load i64, ptr %7, align 8
%116 = trunc i64 %115 to i32
%117 = load ptr, ptr %3, align 8
store i32 %116, ptr %117, align 4
%118 = load ptr, ptr %3, align 8
%119 = getelementptr inbounds i8, ptr %118, i64 4
store ptr %119, ptr %3, align 8
br label %120
120: ; preds = %79
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ripemd160_block_data_order(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/tmp5raz44i1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { i64, i32, i32, i64, i64, i64, i64, i64, i64 }
@RIPEMD160_CBLOCK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @RIPEMD160_Final(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.TYPE_4__, ptr %8, i32 0, i32 8
%10 = load i64, ptr %9, align 8
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 0
%14 = load i64, ptr %13, align 8
store i64 %14, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %15, i64 %16
store i8 -128, ptr %17, align 1
%18 = load i64, ptr %6, align 8
%19 = add i64 %18, 1
store i64 %19, ptr %6, align 8
%20 = load i64, ptr %6, align 8
%21 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%22 = sub nsw i32 %21, 8
%23 = sext i32 %22 to i64
%24 = icmp ugt i64 %20, %23
br i1 %24, label %25, label %38
25: ; preds = %2
%26 = load ptr, ptr %5, align 8
%27 = load i64, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
%29 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %6, align 8
%32 = sub i64 %30, %31
%33 = trunc i64 %32 to i32
%34 = call i32 @memset(ptr noundef %28, i32 noundef 0, i32 noundef %33)
store i64 0, ptr %6, align 8
%35 = load ptr, ptr %4, align 8
%36 = load ptr, ptr %5, align 8
%37 = call i32 @ripemd160_block_data_order(ptr noundef %35, ptr noundef %36, i32 noundef 1)
br label %38
38: ; preds = %25, %2
%39 = load ptr, ptr %5, align 8
%40 = load i64, ptr %6, align 8
%41 = getelementptr inbounds i8, ptr %39, i64 %40
%42 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%43 = sub nsw i32 %42, 8
%44 = sext i32 %43 to i64
%45 = load i64, ptr %6, align 8
%46 = sub i64 %44, %45
%47 = trunc i64 %46 to i32
%48 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef %47)
%49 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%50 = sub nsw i32 %49, 8
%51 = load ptr, ptr %5, align 8
%52 = sext i32 %50 to i64
%53 = getelementptr inbounds i8, ptr %51, i64 %52
store ptr %53, ptr %5, align 8
%54 = load ptr, ptr %4, align 8
%55 = getelementptr inbounds %struct.TYPE_4__, ptr %54, i32 0, i32 1
%56 = load i32, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
store i32 %56, ptr %57, align 4
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 4
store ptr %59, ptr %5, align 8
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds %struct.TYPE_4__, ptr %60, i32 0, i32 2
%62 = load i32, ptr %61, align 4
%63 = load ptr, ptr %5, align 8
store i32 %62, ptr %63, align 4
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 4
store ptr %65, ptr %5, align 8
%66 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%67 = load ptr, ptr %5, align 8
%68 = sext i32 %66 to i64
%69 = sub i64 0, %68
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store ptr %70, ptr %5, align 8
%71 = load ptr, ptr %4, align 8
%72 = load ptr, ptr %5, align 8
%73 = call i32 @ripemd160_block_data_order(ptr noundef %71, ptr noundef %72, i32 noundef 1)
%74 = load ptr, ptr %4, align 8
%75 = getelementptr inbounds %struct.TYPE_4__, ptr %74, i32 0, i32 0
store i64 0, ptr %75, align 8
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr @RIPEMD160_CBLOCK, align 4
%78 = call i32 @memset(ptr noundef %76, i32 noundef 0, i32 noundef %77)
br label %79
79: ; preds = %38
%80 = load ptr, ptr %4, align 8
%81 = getelementptr inbounds %struct.TYPE_4__, ptr %80, i32 0, i32 3
%82 = load i64, ptr %81, align 8
store i64 %82, ptr %7, align 8
%83 = load i64, ptr %7, align 8
%84 = trunc i64 %83 to i32
%85 = load ptr, ptr %3, align 8
store i32 %84, ptr %85, align 4
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 4
store ptr %87, ptr %3, align 8
%88 = load ptr, ptr %4, align 8
%89 = getelementptr inbounds %struct.TYPE_4__, ptr %88, i32 0, i32 4
%90 = load i64, ptr %89, align 8
store i64 %90, ptr %7, align 8
%91 = load i64, ptr %7, align 8
%92 = trunc i64 %91 to i32
%93 = load ptr, ptr %3, align 8
store i32 %92, ptr %93, align 4
%94 = load ptr, ptr %3, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 4
store ptr %95, ptr %3, align 8
%96 = load ptr, ptr %4, align 8
%97 = getelementptr inbounds %struct.TYPE_4__, ptr %96, i32 0, i32 5
%98 = load i64, ptr %97, align 8
store i64 %98, ptr %7, align 8
%99 = load i64, ptr %7, align 8
%100 = trunc i64 %99 to i32
%101 = load ptr, ptr %3, align 8
store i32 %100, ptr %101, align 4
%102 = load ptr, ptr %3, align 8
%103 = getelementptr inbounds i8, ptr %102, i64 4
store ptr %103, ptr %3, align 8
%104 = load ptr, ptr %4, align 8
%105 = getelementptr inbounds %struct.TYPE_4__, ptr %104, i32 0, i32 6
%106 = load i64, ptr %105, align 8
store i64 %106, ptr %7, align 8
%107 = load i64, ptr %7, align 8
%108 = trunc i64 %107 to i32
%109 = load ptr, ptr %3, align 8
store i32 %108, ptr %109, align 4
%110 = load ptr, ptr %3, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 4
store ptr %111, ptr %3, align 8
%112 = load ptr, ptr %4, align 8
%113 = getelementptr inbounds %struct.TYPE_4__, ptr %112, i32 0, i32 7
%114 = load i64, ptr %113, align 8
store i64 %114, ptr %7, align 8
%115 = load i64, ptr %7, align 8
%116 = trunc i64 %115 to i32
%117 = load ptr, ptr %3, align 8
store i32 %116, ptr %117, align 4
%118 = load ptr, ptr %3, align 8
%119 = getelementptr inbounds i8, ptr %118, i64 4
store ptr %119, ptr %3, align 8
br label %120
120: ; preds = %79
ret i32 1
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @ripemd160_block_data_order(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/tmpvda0bp2m.c'
source_filename = "/tmp/tmpvda0bp2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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/tmpvda0bp2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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/tmp9x5d1nij.c'
source_filename = "/tmp/tmp9x5d1nij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"can't open trace file %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_trace_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %12)
br label %26
14: ; preds = %1
br label %15
15: ; preds = %20, %14
%16 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%17 = load ptr, ptr %4, align 8
%18 = call i64 @fgets(ptr noundef %16, i32 noundef 1024, ptr noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%22 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21)
br label %15, !llvm.loop !6
23: ; preds = %15
%24 = load ptr, ptr %4, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %23, %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9x5d1nij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"can't open trace file %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dump_trace_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [1024 x i8], align 16
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %14, label %9
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr @errno, align 4
%12 = call ptr @strerror(i32 noundef %11)
%13 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10, ptr noundef %12)
br label %28
14: ; preds = %1
%15 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%16 = load ptr, ptr %4, align 8
%17 = call i64 @fgets(ptr noundef %15, i32 noundef 1024, ptr noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %25
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %19
%20 = getelementptr inbounds [1024 x i8], ptr %3, i64 0, i64 0
%21 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = call i64 @fgets(ptr noundef %15, i32 noundef 1024, ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %14
%26 = load ptr, ptr %4, align 8
%27 = call i32 @fclose(ptr noundef %26)
br label %28
28: ; preds = %25, %9
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @fgets(ptr noundef, i32 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"}
|
; ModuleID = '/tmp/tmp3kxefgo5.c'
source_filename = "/tmp/tmp3kxefgo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"2362\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"000\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-00\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"678nsaf9n8\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"fsd23\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"-f32\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"7957\00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"-3467\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"string: %s, atoi: %i, ft_atoi: %i\0A\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"FAKE AND GAY\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 0
store ptr @.str, ptr %6, align 16
%7 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 1
store ptr @.str.1, ptr %7, align 8
%8 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 2
store ptr @.str.2, ptr %8, align 16
%9 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 3
store ptr @.str.3, ptr %9, align 8
%10 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 4
store ptr @.str.4, ptr %10, align 16
%11 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 5
store ptr @.str.5, ptr %11, align 8
%12 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 6
store ptr @.str.6, ptr %12, align 16
%13 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 7
store ptr @.str.7, ptr %13, align 8
%14 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 8
store ptr @.str.8, ptr %14, align 16
%15 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 9
store ptr @.str.9, ptr %15, align 8
%16 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 10
store ptr @.str.10, ptr %16, align 16
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %43, %0
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 11
br i1 %19, label %20, label %46
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = call i32 @atoi(ptr noundef %24)
store i32 %25, ptr %4, align 4
%26 = load i32, ptr %3, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %27
%29 = load ptr, ptr %28, align 8
%30 = call i32 @ft_atoi(ptr noundef %29)
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %34, i32 noundef %35, i32 noundef %36)
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp ne i32 %38, %39
br i1 %40, label %41, label %43
41: ; preds = %20
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %1, align 4
br label %48
43: ; preds = %20
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
br label %17, !llvm.loop !6
46: ; preds = %17
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %1, align 4
br label %48
48: ; preds = %46, %41
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ft_atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3kxefgo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"2362\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"000\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-00\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"678nsaf9n8\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"fsd23\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"-f32\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"7957\00", align 1
@.str.8 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"-\00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"-3467\00", align 1
@.str.11 = private unnamed_addr constant [35 x i8] c"string: %s, atoi: %i, ft_atoi: %i\0A\00", align 1
@.str.12 = private unnamed_addr constant [14 x i8] c"FAKE AND GAY\0A\00", align 1
@.str.13 = private unnamed_addr constant [9 x i8] c"CORRECT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [11 x ptr], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 0
store ptr @.str, ptr %6, align 16
%7 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 1
store ptr @.str.1, ptr %7, align 8
%8 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 2
store ptr @.str.2, ptr %8, align 16
%9 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 3
store ptr @.str.3, ptr %9, align 8
%10 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 4
store ptr @.str.4, ptr %10, align 16
%11 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 5
store ptr @.str.5, ptr %11, align 8
%12 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 6
store ptr @.str.6, ptr %12, align 16
%13 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 7
store ptr @.str.7, ptr %13, align 8
%14 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 8
store ptr @.str.8, ptr %14, align 16
%15 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 9
store ptr @.str.9, ptr %15, align 8
%16 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 10
store ptr @.str.10, ptr %16, align 16
store i32 0, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = icmp slt i32 %17, 11
br i1 %18, label %.lr.ph, label %47
.lr.ph: ; preds = %0
br label %19
19: ; preds = %.lr.ph, %42
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %4, align 4
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i32 @ft_atoi(ptr noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %3, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [11 x ptr], ptr %2, i64 0, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, ptr noundef %33, i32 noundef %34, i32 noundef %35)
%37 = load i32, ptr %4, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp ne i32 %37, %38
br i1 %39, label %40, label %42
40: ; preds = %19
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.12)
store i32 0, ptr %1, align 4
br label %49
42: ; preds = %19
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 11
br i1 %46, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %0
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
store i32 0, ptr %1, align 4
br label %49
49: ; preds = %47, %40
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @atoi(ptr noundef) #1
declare i32 @ft_atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ynfxwxe.c'
source_filename = "/tmp/tmp5ynfxwxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTSTP = dso_local global i32 0, align 4
@SIG_UNBLOCK = 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/tmp5ynfxwxe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGTSTP = dso_local global i32 0, align 4
@SIG_UNBLOCK = 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/tmpjjc0fy6w.c'
source_filename = "/tmp/tmpjjc0fy6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data=[\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%f, %f, %79[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"Invalid latitude : %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Invalid longitude : %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"{latitude: %f, longitude: %f, info: '%s'}\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 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 float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @puts(ptr noundef @.str)
br label %7
7: ; preds = %37, %0
%8 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %8)
%10 = icmp eq i32 %9, 3
br i1 %10, label %11, label %44
11: ; preds = %7
%12 = load i32, ptr %5, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %17
16: ; preds = %11
store i32 0, ptr %5, align 4
br label %17
17: ; preds = %16, %14
%18 = load float, ptr %2, align 4
%19 = fcmp olt float %18, -9.000000e+01
br i1 %19, label %23, label %20
20: ; preds = %17
%21 = load float, ptr %2, align 4
%22 = fcmp ogt float %21, 9.000000e+01
br i1 %22, label %23, label %27
23: ; preds = %20, %17
%24 = load i32, ptr @stderr, align 4
%25 = load float, ptr %2, align 4
%26 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.3, float noundef %25)
store i32 2, ptr %1, align 4
br label %46
27: ; preds = %20
%28 = load float, ptr %3, align 4
%29 = fcmp olt float %28, -1.800000e+02
br i1 %29, label %33, label %30
30: ; preds = %27
%31 = load float, ptr %3, align 4
%32 = fcmp ogt float %31, 1.800000e+02
br i1 %32, label %33, label %37
33: ; preds = %30, %27
%34 = load i32, ptr @stderr, align 4
%35 = load float, ptr %3, align 4
%36 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.4, float noundef %35)
store i32 2, ptr %1, align 4
br label %46
37: ; preds = %30
%38 = load float, ptr %2, align 4
%39 = fpext float %38 to double
%40 = load float, ptr %3, align 4
%41 = fpext float %40 to double
%42 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %39, double noundef %41, ptr noundef %42)
br label %7, !llvm.loop !6
44: ; preds = %7
%45 = call i32 @puts(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %44, %33, %23
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjc0fy6w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"data=[\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"%f, %f, %79[^\0A]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [23 x i8] c"Invalid latitude : %f\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Invalid longitude : %f\0A\00", align 1
@.str.5 = private unnamed_addr constant [43 x i8] c"{latitude: %f, longitude: %f, info: '%s'}\0A\00", align 1
@.str.6 = private unnamed_addr constant [3 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 float, align 4
%3 = alloca float, align 4
%4 = alloca [80 x i8], align 16
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %5, align 4
%6 = call i32 @puts(ptr noundef @.str)
%7 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %7)
%9 = icmp eq i32 %8, 3
br i1 %9, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %36
%11 = load i32, ptr %5, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %16
15: ; preds = %10
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %15, %13
%17 = load float, ptr %2, align 4
%18 = fcmp olt float %17, -9.000000e+01
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load float, ptr %2, align 4
%21 = fcmp ogt float %20, 9.000000e+01
br i1 %21, label %22, label %26
22: ; preds = %19, %16
%23 = load i32, ptr @stderr, align 4
%24 = load float, ptr %2, align 4
%25 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str.3, float noundef %24)
store i32 2, ptr %1, align 4
br label %47
26: ; preds = %19
%27 = load float, ptr %3, align 4
%28 = fcmp olt float %27, -1.800000e+02
br i1 %28, label %32, label %29
29: ; preds = %26
%30 = load float, ptr %3, align 4
%31 = fcmp ogt float %30, 1.800000e+02
br i1 %31, label %32, label %36
32: ; preds = %29, %26
%33 = load i32, ptr @stderr, align 4
%34 = load float, ptr %3, align 4
%35 = call i32 @fprintf(i32 noundef %33, ptr noundef @.str.4, float noundef %34)
store i32 2, ptr %1, align 4
br label %47
36: ; preds = %29
%37 = load float, ptr %2, align 4
%38 = fpext float %37 to double
%39 = load float, ptr %3, align 4
%40 = fpext float %39 to double
%41 = getelementptr inbounds [80 x i8], ptr %4, i64 0, i64 0
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %38, double noundef %40, ptr noundef %41)
%43 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %7)
%44 = icmp eq i32 %43, 3
br i1 %44, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %45
45: ; preds = %._crit_edge, %0
%46 = call i32 @puts(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %47
47: ; preds = %45, %32, %22
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @puts(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp6i34f0b3.c'
source_filename = "/tmp/tmp6i34f0b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @get_XFontSetExtents_max_ink_extent_x(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i16
ret i16 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6i34f0b3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @get_XFontSetExtents_max_ink_extent_x(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0
%5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = trunc i64 %6 to i16
ret i16 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmew5g0ji.c'
source_filename = "/tmp/tmpmew5g0ji.c"
target datalayout = "e-m:e-p270: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/tmpmew5g0ji.c"
target datalayout = "e-m:e-p270: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_iztv9m4.c'
source_filename = "/tmp/tmp_iztv9m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random() #0 {
%1 = call i64 (...) @rand()
ret i64 %1
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_iztv9m4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @random() #0 {
%1 = call i64 (...) @rand()
ret i64 %1
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfsqoobuh.c'
source_filename = "/tmp/tmpfsqoobuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcpy_literal_string_Good() #0 {
%1 = alloca [10 x i8], align 1
%2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfsqoobuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"test\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @strcpy_literal_string_Good() #0 {
%1 = alloca [10 x i8], align 1
%2 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%3 = call i32 @strcpy(ptr noundef %2, ptr noundef @.str)
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphxj4h0xh.c'
source_filename = "/tmp/tmphxj4h0xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"What is your last name?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Hello Mr./Mrs. %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (...) @getchar()
%7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphxj4h0xh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"What is your last name?\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"Hello Mr./Mrs. %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%6 = call i32 (...) @getchar()
%7 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %7)
%9 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy3rn8hur.c'
source_filename = "/tmp/tmpy3rn8hur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LUI_UnlinkWidgetFromWindow(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
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy3rn8hur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LUI_UnlinkWidgetFromWindow(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
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoirrtr8c.c'
source_filename = "/tmp/tmpoirrtr8c.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"NailGun v%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.0\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Usage: ng class [--nailgun-options] [args]\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" (to execute a class)\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" or: ng alias [--nailgun-options] [args]\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c" (to execute an aliased class)\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c" or: alias [--nailgun-options] [args]\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c" (to execute an aliased class, where \22alias\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c" is both the alias for the class and a symbolic\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c" link to the ng client)\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"where options include:\0A\00", align 1
@.str.11 = private unnamed_addr constant [75 x i8] c" --nailgun-D<name>=<value> set/override a client environment variable\0A\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c" --nailgun-version print product version and exit\0A\00", align 1
@.str.13 = private unnamed_addr constant [67 x i8] c" --nailgun-showversion print product version and continue\0A\00", align 1
@.str.14 = private unnamed_addr constant [77 x i8] c" --nailgun-server to specify the address of the nailgun server\0A\00", align 1
@.str.15 = private unnamed_addr constant [80 x i8] c" (default is NAILGUN_SERVER environment variable\0A\00", align 1
@.str.16 = private unnamed_addr constant [61 x i8] c" if set, otherwise localhost)\0A\00", align 1
@.str.17 = private unnamed_addr constant [74 x i8] c" --nailgun-port to specify the port of the nailgun server\0A\00", align 1
@.str.18 = private unnamed_addr constant [78 x i8] c" (default is NAILGUN_PORT environment variable\0A\00", align 1
@.str.19 = private unnamed_addr constant [56 x i8] c" if set, otherwise 2113)\0A\00", align 1
@.str.20 = private unnamed_addr constant [76 x i8] c" --nailgun-filearg FILE places the entire contents of FILE into the\0A\00", align 1
@.str.21 = private unnamed_addr constant [80 x i8] c" next argument, which is interpreted as a string\0A\00", align 1
@.str.22 = private unnamed_addr constant [82 x i8] c" using the server's default character set. May be\0A\00", align 1
@.str.23 = private unnamed_addr constant [58 x i8] c" specified more than once.\0A\00", align 1
@.str.24 = private unnamed_addr constant [60 x i8] c" --nailgun-help print this message and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.11)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.12)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.13)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.14)
%31 = load i32, ptr @stderr, align 4
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.15)
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.16)
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.17)
%37 = load i32, ptr @stderr, align 4
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.18)
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.19)
%41 = load i32, ptr @stderr, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.20)
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.21)
%45 = load i32, ptr @stderr, align 4
%46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.22)
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.23)
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.24)
%51 = load i32, ptr %2, align 4
%52 = call i32 @cleanUpAndExit(i32 noundef %51)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @cleanUpAndExit(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/tmpoirrtr8c.c"
target datalayout = "e-m:e-p270: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 [14 x i8] c"NailGun v%s\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.0\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"Usage: ng class [--nailgun-options] [args]\0A\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c" (to execute a class)\0A\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c" or: ng alias [--nailgun-options] [args]\0A\00", align 1
@.str.5 = private unnamed_addr constant [41 x i8] c" (to execute an aliased class)\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c" or: alias [--nailgun-options] [args]\0A\00", align 1
@.str.7 = private unnamed_addr constant [55 x i8] c" (to execute an aliased class, where \22alias\22\0A\00", align 1
@.str.8 = private unnamed_addr constant [59 x i8] c" is both the alias for the class and a symbolic\0A\00", align 1
@.str.9 = private unnamed_addr constant [36 x i8] c" link to the ng client)\0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [24 x i8] c"where options include:\0A\00", align 1
@.str.11 = private unnamed_addr constant [75 x i8] c" --nailgun-D<name>=<value> set/override a client environment variable\0A\00", align 1
@.str.12 = private unnamed_addr constant [63 x i8] c" --nailgun-version print product version and exit\0A\00", align 1
@.str.13 = private unnamed_addr constant [67 x i8] c" --nailgun-showversion print product version and continue\0A\00", align 1
@.str.14 = private unnamed_addr constant [77 x i8] c" --nailgun-server to specify the address of the nailgun server\0A\00", align 1
@.str.15 = private unnamed_addr constant [80 x i8] c" (default is NAILGUN_SERVER environment variable\0A\00", align 1
@.str.16 = private unnamed_addr constant [61 x i8] c" if set, otherwise localhost)\0A\00", align 1
@.str.17 = private unnamed_addr constant [74 x i8] c" --nailgun-port to specify the port of the nailgun server\0A\00", align 1
@.str.18 = private unnamed_addr constant [78 x i8] c" (default is NAILGUN_PORT environment variable\0A\00", align 1
@.str.19 = private unnamed_addr constant [56 x i8] c" if set, otherwise 2113)\0A\00", align 1
@.str.20 = private unnamed_addr constant [76 x i8] c" --nailgun-filearg FILE places the entire contents of FILE into the\0A\00", align 1
@.str.21 = private unnamed_addr constant [80 x i8] c" next argument, which is interpreted as a string\0A\00", align 1
@.str.22 = private unnamed_addr constant [82 x i8] c" using the server's default character set. May be\0A\00", align 1
@.str.23 = private unnamed_addr constant [58 x i8] c" specified more than once.\0A\00", align 1
@.str.24 = private unnamed_addr constant [60 x i8] c" --nailgun-help print this message and exit\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr @stderr, align 4
%4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.4)
%11 = load i32, ptr @stderr, align 4
%12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.5)
%13 = load i32, ptr @stderr, align 4
%14 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.6)
%15 = load i32, ptr @stderr, align 4
%16 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %15, ptr noundef @.str.7)
%17 = load i32, ptr @stderr, align 4
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %17, ptr noundef @.str.8)
%19 = load i32, ptr @stderr, align 4
%20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.9)
%21 = load i32, ptr @stderr, align 4
%22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str.10)
%23 = load i32, ptr @stderr, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %23, ptr noundef @.str.11)
%25 = load i32, ptr @stderr, align 4
%26 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.12)
%27 = load i32, ptr @stderr, align 4
%28 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %27, ptr noundef @.str.13)
%29 = load i32, ptr @stderr, align 4
%30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.14)
%31 = load i32, ptr @stderr, align 4
%32 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.15)
%33 = load i32, ptr @stderr, align 4
%34 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.16)
%35 = load i32, ptr @stderr, align 4
%36 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.17)
%37 = load i32, ptr @stderr, align 4
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %37, ptr noundef @.str.18)
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.19)
%41 = load i32, ptr @stderr, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.20)
%43 = load i32, ptr @stderr, align 4
%44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.21)
%45 = load i32, ptr @stderr, align 4
%46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.22)
%47 = load i32, ptr @stderr, align 4
%48 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %47, ptr noundef @.str.23)
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str.24)
%51 = load i32, ptr %2, align 4
%52 = call i32 @cleanUpAndExit(i32 noundef %51)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @cleanUpAndExit(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/tmpjrriuioq.c'
source_filename = "/tmp/tmpjrriuioq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createBranch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %2
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = srem i32 %10, 10
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9, %6
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str)
br label %19
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.1)
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %24, 1
%26 = mul nsw i32 %25, 10
%27 = add nsw i32 %26, 1
%28 = icmp slt i32 %23, %27
br i1 %28, label %6, label %29, !llvm.loop !6
29: ; preds = %22
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(ptr noundef %30, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmpjrriuioq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @createBranch(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %2
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %13, label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = srem i32 %10, 10
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %9, %6
%14 = load ptr, ptr %3, align 8
%15 = call i32 @fprintf(ptr noundef %14, ptr noundef @.str)
br label %19
16: ; preds = %9
%17 = load ptr, ptr %3, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.1)
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %5, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %19
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = sub nsw i32 %24, 1
%26 = mul nsw i32 %25, 10
%27 = add nsw i32 %26, 1
%28 = icmp slt i32 %23, %27
br i1 %28, label %6, label %29, !llvm.loop !6
29: ; preds = %22
%30 = load ptr, ptr %3, align 8
%31 = call i32 @fprintf(ptr noundef %30, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmp0h4kjoxp.c'
source_filename = "/tmp/tmp0h4kjoxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Function Example 6\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"bigger=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Larger of 20 and 15: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Larger of x, y, z: %d\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Larger of 1, 2, 6, and 4: %d\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"upper: %c %c %c\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 2, ptr %4, align 4
store i8 102, ptr %6, align 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @larger(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = call i32 @larger(i32 noundef 20, i32 noundef 15)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @larger(i32 noundef %18, i32 noundef %19)
%21 = call i32 @larger(i32 noundef %17, i32 noundef %20)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
%24 = call i32 @larger(i32 noundef 1, i32 noundef 2)
%25 = call i32 @larger(i32 noundef 6, i32 noundef 4)
%26 = call i32 @larger(i32 noundef %24, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26)
%28 = call i32 @upper(i8 noundef signext 97)
%29 = trunc i32 %28 to i8
store i8 %29, ptr %7, align 1
%30 = call i32 @upper(i8 noundef signext 100)
%31 = trunc i32 %30 to i8
store i8 %31, ptr %8, align 1
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = call i32 @upper(i8 noundef signext %34)
%36 = call i32 @upper(i8 noundef signext 64)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33, i32 noundef %35, i32 noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @larger(i32 noundef, i32 noundef) #1
declare i32 @upper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0h4kjoxp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Function Example 6\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"bigger=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"Larger of 20 and 15: %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"Larger of x, y, z: %d\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Larger of 1, 2, 6, and 4: %d\0A\0A\00", align 1
@.str.5 = private unnamed_addr constant [18 x i8] c"upper: %c %c %c\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i32 5, ptr %2, align 4
store i32 10, ptr %3, align 4
store i32 2, ptr %4, align 4
store i8 102, ptr %6, align 1
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 @larger(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = call i32 @larger(i32 noundef 20, i32 noundef 15)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @larger(i32 noundef %18, i32 noundef %19)
%21 = call i32 @larger(i32 noundef %17, i32 noundef %20)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22)
%24 = call i32 @larger(i32 noundef 1, i32 noundef 2)
%25 = call i32 @larger(i32 noundef 6, i32 noundef 4)
%26 = call i32 @larger(i32 noundef %24, i32 noundef %25)
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26)
%28 = call i32 @upper(i8 noundef signext 97)
%29 = trunc i32 %28 to i8
store i8 %29, ptr %7, align 1
%30 = call i32 @upper(i8 noundef signext 100)
%31 = trunc i32 %30 to i8
store i8 %31, ptr %8, align 1
%32 = load i8, ptr %8, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %6, align 1
%35 = call i32 @upper(i8 noundef signext %34)
%36 = call i32 @upper(i8 noundef signext 64)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %33, i32 noundef %35, i32 noundef %36)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @larger(i32 noundef, i32 noundef) #1
declare i32 @upper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpufz29loj.c'
source_filename = "/tmp/tmpufz29loj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_data(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3, ptr noundef %4) #0 {
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i8 %0, ptr %6, align 1
store i8 %1, ptr %7, align 1
store i8 %2, ptr %8, align 1
store i8 %3, ptr %9, align 1
store ptr %4, ptr %10, align 8
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 9
%15 = load i8, ptr %7, align 1
%16 = zext i8 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = lshr i32 %18, 8
%20 = or i32 %19, 64
%21 = and i32 %20, 127
%22 = trunc i32 %21 to i8
%23 = call i32 @smc_out(i32 noundef 2, i8 noundef zeroext %22)
%24 = load i32, ptr %11, align 4
%25 = trunc i32 %24 to i8
%26 = call i32 @smc_out(i32 noundef 3, i8 noundef zeroext %25)
br label %27
27: ; preds = %32, %5
%28 = load i8, ptr %8, align 1
%29 = add i8 %28, -1
store i8 %29, ptr %8, align 1
%30 = zext i8 %28 to i32
%31 = icmp ne i32 %30, 0
br i1 %31, label %32, label %37
32: ; preds = %27
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %10, align 8
%35 = load i8, ptr %33, align 1
%36 = call i32 @smc_out(i32 noundef 4, i8 noundef zeroext %35)
br label %27, !llvm.loop !6
37: ; preds = %27
%38 = load i8, ptr %9, align 1
%39 = zext i8 %38 to i32
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %55
41: ; preds = %37
store i8 0, ptr %8, align 1
br label %42
42: ; preds = %50, %41
%43 = load ptr, ptr %10, align 8
%44 = load i8, ptr %43, align 1
%45 = call i32 @smc_out(i32 noundef 4, i8 noundef zeroext %44)
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds i8, ptr %46, i32 1
store ptr %47, ptr %10, align 8
%48 = load i8, ptr %8, align 1
%49 = add i8 %48, -1
store i8 %49, ptr %8, align 1
br label %50
50: ; preds = %42
%51 = load i8, ptr %8, align 1
%52 = zext i8 %51 to i32
%53 = icmp ne i32 %52, 0
br i1 %53, label %42, label %54, !llvm.loop !8
54: ; preds = %50
br label %55
55: ; preds = %54, %37
ret void
}
declare i32 @smc_out(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpufz29loj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_data(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i8 noundef zeroext %3, ptr noundef %4) #0 {
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i8, align 1
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store i8 %0, ptr %6, align 1
store i8 %1, ptr %7, align 1
store i8 %2, ptr %8, align 1
store i8 %3, ptr %9, align 1
store ptr %4, ptr %10, align 8
%12 = load i8, ptr %6, align 1
%13 = zext i8 %12 to i32
%14 = shl i32 %13, 9
%15 = load i8, ptr %7, align 1
%16 = zext i8 %15 to i32
%17 = add nsw i32 %14, %16
store i32 %17, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = lshr i32 %18, 8
%20 = or i32 %19, 64
%21 = and i32 %20, 127
%22 = trunc i32 %21 to i8
%23 = call i32 @smc_out(i32 noundef 2, i8 noundef zeroext %22)
%24 = load i32, ptr %11, align 4
%25 = trunc i32 %24 to i8
%26 = call i32 @smc_out(i32 noundef 3, i8 noundef zeroext %25)
%27 = load i8, ptr %8, align 1
%28 = add i8 %27, -1
store i8 %28, ptr %8, align 1
%29 = zext i8 %27 to i32
%30 = icmp ne i32 %29, 0
br i1 %30, label %.lr.ph, label %40
.lr.ph: ; preds = %5
br label %31
31: ; preds = %.lr.ph, %31
%32 = load ptr, ptr %10, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %10, align 8
%34 = load i8, ptr %32, align 1
%35 = call i32 @smc_out(i32 noundef 4, i8 noundef zeroext %34)
%36 = load i8, ptr %8, align 1
%37 = add i8 %36, -1
store i8 %37, ptr %8, align 1
%38 = zext i8 %36 to i32
%39 = icmp ne i32 %38, 0
br i1 %39, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %40
40: ; preds = %._crit_edge, %5
%41 = load i8, ptr %9, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %58
44: ; preds = %40
store i8 0, ptr %8, align 1
br label %45
45: ; preds = %53, %44
%46 = load ptr, ptr %10, align 8
%47 = load i8, ptr %46, align 1
%48 = call i32 @smc_out(i32 noundef 4, i8 noundef zeroext %47)
%49 = load ptr, ptr %10, align 8
%50 = getelementptr inbounds i8, ptr %49, i32 1
store ptr %50, ptr %10, align 8
%51 = load i8, ptr %8, align 1
%52 = add i8 %51, -1
store i8 %52, ptr %8, align 1
br label %53
53: ; preds = %45
%54 = load i8, ptr %8, align 1
%55 = zext i8 %54 to i32
%56 = icmp ne i32 %55, 0
br i1 %56, label %45, label %57, !llvm.loop !8
57: ; preds = %53
br label %58
58: ; preds = %57, %40
ret void
}
declare i32 @smc_out(i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpz3hg12q_.c'
source_filename = "/tmp/tmpz3hg12q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 (...) @__halt()
unreachable
}
declare i32 @__halt(...) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz3hg12q_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline noreturn nounwind sspstrong uwtable
define dso_local void @abort() #0 {
%1 = call i32 (...) @__halt()
unreachable
}
declare i32 @__halt(...) #1
attributes #0 = { noinline noreturn nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps8gc7wpo.c'
source_filename = "/tmp/tmps8gc7wpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"\0AEnter the no. of elements\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"\0AEnter %d elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0AEntered values are :\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"\0AAfter Sorting :\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"\0AEnter the key element\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0AElement not found\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"\0AElement %d found at position %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %4, align 4
%12 = call i32 @fnReadArray(ptr noundef %10, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%14 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = call i32 @fnDispArray(ptr noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 @fnSortArray(ptr noundef %17, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = call i32 @fnDispArray(ptr noundef %21, i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%26 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 @fnSearchArray(ptr noundef %26, i32 noundef %27, i32 noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp eq i32 -1, %30
br i1 %31, label %32, label %34
32: ; preds = %0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %39
34: ; preds = %0
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %35, i32 noundef %37)
br label %39
39: ; preds = %34, %32
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fnReadArray(ptr noundef, i32 noundef) #1
declare i32 @fnDispArray(ptr noundef, i32 noundef) #1
declare i32 @fnSortArray(ptr noundef, i32 noundef) #1
declare i32 @fnSearchArray(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/tmps8gc7wpo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"\0AEnter the no. of elements\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"\0AEnter %d elements\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"\0AEntered values are :\0A\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"\0AAfter Sorting :\0A\00", align 1
@.str.5 = private unnamed_addr constant [24 x i8] c"\0AEnter the key element\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"\0AElement not found\0A\00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"\0AElement %d found at position %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%8 = load i32, ptr %4, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8)
%10 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%11 = load i32, ptr %4, align 4
%12 = call i32 @fnReadArray(ptr noundef %10, i32 noundef %11)
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%14 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%15 = load i32, ptr %4, align 4
%16 = call i32 @fnDispArray(ptr noundef %14, i32 noundef %15)
%17 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 @fnSortArray(ptr noundef %17, i32 noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%21 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%22 = load i32, ptr %4, align 4
%23 = call i32 @fnDispArray(ptr noundef %21, i32 noundef %22)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%25 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%26 = getelementptr inbounds [100 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = call i32 @fnSearchArray(ptr noundef %26, i32 noundef %27, i32 noundef %28)
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp eq i32 -1, %30
br i1 %31, label %32, label %34
32: ; preds = %0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %39
34: ; preds = %0
%35 = load i32, ptr %3, align 4
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %35, i32 noundef %37)
br label %39
39: ; preds = %34, %32
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @fnReadArray(ptr noundef, i32 noundef) #1
declare i32 @fnDispArray(ptr noundef, i32 noundef) #1
declare i32 @fnSortArray(ptr noundef, i32 noundef) #1
declare i32 @fnSearchArray(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/tmp7lday1k5.c'
source_filename = "/tmp/tmp7lday1k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%#0x\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 [42 x i8], align 16
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 42, i1 false)
br label %4
4: ; preds = %8, %0
%5 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %17
8: ; preds = %4
store i64 0, ptr %2, align 8
%9 = load i64, ptr %2, align 8
%10 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%11 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @strlen(ptr noundef %11)
%13 = call i32 @singletable_crc32c(i64 noundef %9, ptr noundef %10, i32 noundef %12)
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
%15 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%16 = call i32 @memset(ptr noundef %15, i32 noundef 0, i32 noundef 42)
br label %4, !llvm.loop !6
17: ; preds = %4
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 @printf(ptr noundef, i32 noundef) #2
declare i32 @singletable_crc32c(i64 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7lday1k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%#0x\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 [42 x i8], align 16
store i32 0, ptr %1, align 4
store i64 0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 42, i1 false)
%4 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%6 = icmp eq i32 %5, 1
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
store i64 0, ptr %2, align 8
%8 = load i64, ptr %2, align 8
%9 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%10 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i32 @singletable_crc32c(i64 noundef %8, ptr noundef %9, i32 noundef %11)
%13 = call i32 @printf(ptr noundef @.str.1, i32 noundef %12)
%14 = getelementptr inbounds [42 x i8], ptr %3, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 42)
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
%17 = icmp eq i32 %16, 1
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %18
18: ; preds = %._crit_edge, %0
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 @printf(ptr noundef, i32 noundef) #2
declare i32 @singletable_crc32c(i64 noundef, ptr noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx_ax0b7m.c'
source_filename = "/tmp/tmpx_ax0b7m.c"
target datalayout = "e-m:e-p270: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/tmpx_ax0b7m.c"
target datalayout = "e-m:e-p270: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/tmp2za5zezs.c'
source_filename = "/tmp/tmp2za5zezs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"@\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bib_entries(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %26
10: ; preds = %1
br label %11
11: ; preds = %24, %10
%12 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%13 = load ptr, ptr %5, align 8
%14 = call ptr @fgets(ptr noundef %12, i32 noundef 255, ptr noundef %13)
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %25
16: ; preds = %11
%17 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%18 = load i8, ptr %17, align 16
%19 = call i64 @strchr(ptr noundef @.str.1, i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %16
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %21, %16
br label %11, !llvm.loop !6
25: ; preds = %11
br label %26
26: ; preds = %25, %1
%27 = load ptr, ptr %5, align 8
%28 = call i32 @fclose(ptr noundef %27)
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2za5zezs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"@\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bib_entries(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca [255 x i8], align 16
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @fopen(ptr noundef %6, ptr noundef @.str)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %28
10: ; preds = %1
%11 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%12 = load ptr, ptr %5, align 8
%13 = call ptr @fgets(ptr noundef %11, i32 noundef 255, ptr noundef %12)
%14 = icmp ne ptr %13, null
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %10
br label %15
15: ; preds = %.lr.ph, %23
%16 = getelementptr inbounds [255 x i8], ptr %4, i64 0, i64 0
%17 = load i8, ptr %16, align 16
%18 = call i64 @strchr(ptr noundef @.str.1, i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %20, %15
%24 = load ptr, ptr %5, align 8
%25 = call ptr @fgets(ptr noundef %11, i32 noundef 255, ptr noundef %24)
%26 = icmp ne ptr %25, null
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %10
br label %28
28: ; preds = %27, %1
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
%31 = load i32, ptr %3, align 4
ret i32 %31
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strchr(ptr noundef, i8 noundef signext) #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"}
|
; ModuleID = '/tmp/tmpqzch72tn.c'
source_filename = "/tmp/tmpqzch72tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Type a number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The number %d of Fibonacci sequence is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @fibonacci(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @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/tmpqzch72tn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Type a number:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"The number %d of Fibonacci sequence is %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%5 = load i32, ptr %1, align 4
%6 = call i32 @fibonacci(i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %1, align 4
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7, i32 noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @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/tmpjbiq8ydb.c'
source_filename = "/tmp/tmpjbiq8ydb.c"
target datalayout = "e-m:e-p270: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/tmpjbiq8ydb.c"
target datalayout = "e-m:e-p270: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/tmpjcuvxyp1.c'
source_filename = "/tmp/tmpjcuvxyp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [111 x i8] c"%%TEST_FAILED%% time=0 testname=testStatutBoutonPlosible (Test_gestioncommandes) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testStatutBoutonPlosible() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @StatutBoutonPlosible(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @StatutBoutonPlosible(i32 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/tmpjcuvxyp1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [111 x i8] c"%%TEST_FAILED%% time=0 testname=testStatutBoutonPlosible (Test_gestioncommandes) message=error message sample\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testStatutBoutonPlosible() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = load i32, ptr %1, align 4
%4 = call i32 @StatutBoutonPlosible(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @StatutBoutonPlosible(i32 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/tmp8yxhbbz_.c'
source_filename = "/tmp/tmp8yxhbbz_.c"
target datalayout = "e-m:e-p270: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/tmp8yxhbbz_.c"
target datalayout = "e-m:e-p270: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/tmplpr316lu.c'
source_filename = "/tmp/tmplpr316lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pearson_raw(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
store float 0.000000e+00, ptr %9, align 4
store float 0.000000e+00, ptr %10, align 4
store i32 1, ptr %16, align 4
store float 0.000000e+00, ptr %11, align 4
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %17, align 4
br label %18
18: ; preds = %50, %3
%19 = load i32, ptr %17, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %53
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %17, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds float, ptr %23, i64 %25
%27 = load float, ptr %26, align 4
%28 = load float, ptr %12, align 4
%29 = fadd float %28, %27
store float %29, ptr %12, align 4
%30 = load ptr, ptr %6, align 8
%31 = load i32, ptr %17, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds float, ptr %30, i64 %32
%34 = load float, ptr %33, align 4
%35 = load float, ptr %11, align 4
%36 = fadd float %35, %34
store float %36, ptr %11, align 4
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %17, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds float, ptr %37, i64 %39
%41 = load float, ptr %40, align 4
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %17, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds float, ptr %42, i64 %44
%46 = load float, ptr %45, align 4
%47 = fcmp une float %41, %46
br i1 %47, label %48, label %49
48: ; preds = %22
store i32 0, ptr %16, align 4
br label %49
49: ; preds = %48, %22
br label %50
50: ; preds = %49
%51 = load i32, ptr %17, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %17, align 4
br label %18, !llvm.loop !6
53: ; preds = %18
%54 = load i32, ptr %16, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %53
store float 1.000000e+00, ptr %4, align 4
br label %115
57: ; preds = %53
%58 = load i32, ptr %7, align 4
%59 = sitofp i32 %58 to float
%60 = load float, ptr %12, align 4
%61 = fdiv float %60, %59
store float %61, ptr %12, align 4
%62 = load i32, ptr %7, align 4
%63 = sitofp i32 %62 to float
%64 = load float, ptr %11, align 4
%65 = fdiv float %64, %63
store float %65, ptr %11, align 4
store i32 0, ptr %17, align 4
br label %66
66: ; preds = %97, %57
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %7, align 4
%69 = icmp slt i32 %67, %68
br i1 %69, label %70, label %100
70: ; preds = %66
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %17, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds float, ptr %71, i64 %73
%75 = load float, ptr %74, align 4
%76 = load float, ptr %12, align 4
%77 = fsub float %75, %76
store float %77, ptr %14, align 4
%78 = load ptr, ptr %6, align 8
%79 = load i32, ptr %17, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %78, i64 %80
%82 = load float, ptr %81, align 4
%83 = load float, ptr %11, align 4
%84 = fsub float %82, %83
store float %84, ptr %15, align 4
%85 = load float, ptr %14, align 4
%86 = load float, ptr %14, align 4
%87 = load float, ptr %10, align 4
%88 = call float @llvm.fmuladd.f32(float %85, float %86, float %87)
store float %88, ptr %10, align 4
%89 = load float, ptr %15, align 4
%90 = load float, ptr %15, align 4
%91 = load float, ptr %8, align 4
%92 = call float @llvm.fmuladd.f32(float %89, float %90, float %91)
store float %92, ptr %8, align 4
%93 = load float, ptr %14, align 4
%94 = load float, ptr %15, align 4
%95 = load float, ptr %9, align 4
%96 = call float @llvm.fmuladd.f32(float %93, float %94, float %95)
store float %96, ptr %9, align 4
br label %97
97: ; preds = %70
%98 = load i32, ptr %17, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %17, align 4
br label %66, !llvm.loop !8
100: ; preds = %66
%101 = load float, ptr %10, align 4
%102 = fcmp oeq float %101, 0.000000e+00
br i1 %102, label %106, label %103
103: ; preds = %100
%104 = load float, ptr %8, align 4
%105 = fcmp oeq float %104, 0.000000e+00
br i1 %105, label %106, label %107
106: ; preds = %103, %100
store float 0.000000e+00, ptr %4, align 4
br label %115
107: ; preds = %103
%108 = load float, ptr %9, align 4
%109 = load float, ptr %10, align 4
%110 = load float, ptr %8, align 4
%111 = fmul float %109, %110
%112 = call float @sqrt(float noundef %111)
%113 = fdiv float %108, %112
store float %113, ptr %13, align 4
%114 = load float, ptr %13, align 4
store float %114, ptr %4, align 4
br label %115
115: ; preds = %107, %106, %56
%116 = load float, ptr %4, align 4
ret float %116
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplpr316lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pearson_raw(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store float 0.000000e+00, ptr %8, align 4
store float 0.000000e+00, ptr %9, align 4
store float 0.000000e+00, ptr %10, align 4
store i32 1, ptr %16, align 4
store float 0.000000e+00, ptr %11, align 4
store float 0.000000e+00, ptr %12, align 4
store i32 0, ptr %17, align 4
%18 = load i32, ptr %17, align 4
%19 = load i32, ptr %7, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %55
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %49
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %17, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds float, ptr %22, i64 %24
%26 = load float, ptr %25, align 4
%27 = load float, ptr %12, align 4
%28 = fadd float %27, %26
store float %28, ptr %12, align 4
%29 = load ptr, ptr %6, align 8
%30 = load i32, ptr %17, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds float, ptr %29, i64 %31
%33 = load float, ptr %32, align 4
%34 = load float, ptr %11, align 4
%35 = fadd float %34, %33
store float %35, ptr %11, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %17, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %17, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds float, ptr %41, i64 %43
%45 = load float, ptr %44, align 4
%46 = fcmp une float %40, %45
br i1 %46, label %47, label %48
47: ; preds = %21
store i32 0, ptr %16, align 4
br label %48
48: ; preds = %47, %21
br label %49
49: ; preds = %48
%50 = load i32, ptr %17, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %17, align 4
%52 = load i32, ptr %17, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %3
%56 = load i32, ptr %16, align 4
%57 = icmp ne i32 %56, 0
br i1 %57, label %58, label %59
58: ; preds = %55
store float 1.000000e+00, ptr %4, align 4
br label %119
59: ; preds = %55
%60 = load i32, ptr %7, align 4
%61 = sitofp i32 %60 to float
%62 = load float, ptr %12, align 4
%63 = fdiv float %62, %61
store float %63, ptr %12, align 4
%64 = load i32, ptr %7, align 4
%65 = sitofp i32 %64 to float
%66 = load float, ptr %11, align 4
%67 = fdiv float %66, %65
store float %67, ptr %11, align 4
store i32 0, ptr %17, align 4
%68 = load i32, ptr %17, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %.lr.ph2, label %104
.lr.ph2: ; preds = %59
br label %71
71: ; preds = %.lr.ph2, %98
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %17, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds float, ptr %72, i64 %74
%76 = load float, ptr %75, align 4
%77 = load float, ptr %12, align 4
%78 = fsub float %76, %77
store float %78, ptr %14, align 4
%79 = load ptr, ptr %6, align 8
%80 = load i32, ptr %17, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds float, ptr %79, i64 %81
%83 = load float, ptr %82, align 4
%84 = load float, ptr %11, align 4
%85 = fsub float %83, %84
store float %85, ptr %15, align 4
%86 = load float, ptr %14, align 4
%87 = load float, ptr %14, align 4
%88 = load float, ptr %10, align 4
%89 = call float @llvm.fmuladd.f32(float %86, float %87, float %88)
store float %89, ptr %10, align 4
%90 = load float, ptr %15, align 4
%91 = load float, ptr %15, align 4
%92 = load float, ptr %8, align 4
%93 = call float @llvm.fmuladd.f32(float %90, float %91, float %92)
store float %93, ptr %8, align 4
%94 = load float, ptr %14, align 4
%95 = load float, ptr %15, align 4
%96 = load float, ptr %9, align 4
%97 = call float @llvm.fmuladd.f32(float %94, float %95, float %96)
store float %97, ptr %9, align 4
br label %98
98: ; preds = %71
%99 = load i32, ptr %17, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %17, align 4
%101 = load i32, ptr %17, align 4
%102 = load i32, ptr %7, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %71, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %98
br label %104
104: ; preds = %._crit_edge3, %59
%105 = load float, ptr %10, align 4
%106 = fcmp oeq float %105, 0.000000e+00
br i1 %106, label %110, label %107
107: ; preds = %104
%108 = load float, ptr %8, align 4
%109 = fcmp oeq float %108, 0.000000e+00
br i1 %109, label %110, label %111
110: ; preds = %107, %104
store float 0.000000e+00, ptr %4, align 4
br label %119
111: ; preds = %107
%112 = load float, ptr %9, align 4
%113 = load float, ptr %10, align 4
%114 = load float, ptr %8, align 4
%115 = fmul float %113, %114
%116 = call float @sqrt(float noundef %115)
%117 = fdiv float %112, %116
store float %117, ptr %13, align 4
%118 = load float, ptr %13, align 4
store float %118, ptr %4, align 4
br label %119
119: ; preds = %111, %110, %58
%120 = load float, ptr %4, align 4
ret float %120
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare float @sqrt(float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5u984c49.c'
source_filename = "/tmp/tmp5u984c49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@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
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"%s not a file\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@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
@MAP_FAILED = dso_local global ptr null, align 8
@.str.6 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"close\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mmap_file_rw(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = load i32, ptr @O_CREAT, align 4
%13 = or i32 %11, %12
%14 = load i32, ptr @O_TRUNC, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @S_IRGRP, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @S_IROTH, align 4
%22 = or i32 %20, %21
%23 = call i32 @open(ptr noundef %10, i32 noundef %15, i32 noundef %22)
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %3
%27 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %90
28: ; preds = %3
%29 = load i32, ptr %8, align 4
%30 = call i32 @fstat(i32 noundef %29, ptr noundef %9)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = call i32 @perror(ptr noundef @.str.1)
%34 = load i32, ptr %8, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %4, align 4
br label %90
36: ; preds = %28
%37 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @S_ISREG(i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %47, label %41
41: ; preds = %36
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.2, ptr noundef %43)
%45 = load i32, ptr %8, align 4
%46 = call i32 @close(i32 noundef %45)
store i32 0, ptr %4, align 4
br label %90
47: ; preds = %36
%48 = load i32, ptr %8, align 4
%49 = load i64, ptr %7, align 8
%50 = sub i64 %49, 1
%51 = load i32, ptr @SEEK_SET, align 4
%52 = call i32 @lseek(i32 noundef %48, i64 noundef %50, i32 noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %58
54: ; preds = %47
%55 = call i32 @perror(ptr noundef @.str.3)
%56 = load i32, ptr %8, align 4
%57 = call i32 @close(i32 noundef %56)
store i32 0, ptr %4, align 4
br label %90
58: ; preds = %47
%59 = load i32, ptr %8, align 4
%60 = call i32 @write(i32 noundef %59, ptr noundef @.str.4, i32 noundef 1)
%61 = icmp ne i32 %60, 1
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.5)
%64 = load i32, ptr %8, align 4
%65 = call i32 @close(i32 noundef %64)
store i32 0, ptr %4, align 4
br label %90
66: ; preds = %58
%67 = load i64, ptr %7, align 8
%68 = load i32, ptr @PROT_READ, align 4
%69 = load i32, ptr @PROT_WRITE, align 4
%70 = or i32 %68, %69
%71 = load i32, ptr @MAP_SHARED, align 4
%72 = load i32, ptr %8, align 4
%73 = call ptr @mmap(i32 noundef 0, i64 noundef %67, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef 0)
%74 = load ptr, ptr %5, align 8
store ptr %73, ptr %74, align 8
%75 = load ptr, ptr %5, align 8
%76 = load ptr, ptr %75, align 8
%77 = load ptr, ptr @MAP_FAILED, align 8
%78 = icmp eq ptr %76, %77
br i1 %78, label %79, label %83
79: ; preds = %66
%80 = call i32 @perror(ptr noundef @.str.6)
%81 = load i32, ptr %8, align 4
%82 = call i32 @close(i32 noundef %81)
store i32 0, ptr %4, align 4
br label %90
83: ; preds = %66
%84 = load i32, ptr %8, align 4
%85 = call i32 @close(i32 noundef %84)
%86 = icmp eq i32 %85, -1
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 @perror(ptr noundef @.str.7)
store i32 0, ptr %4, align 4
br label %90
89: ; preds = %83
store i32 1, ptr %4, align 4
br label %90
90: ; preds = %89, %87, %79, %62, %54, %41, %32, %26
%91 = load i32, ptr %4, align 4
ret i32 %91
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5u984c49.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@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
@S_IRUSR = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [15 x i8] c"%s not a file\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [6 x i8] c"lseek\00", align 1
@.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.5 = private unnamed_addr constant [6 x i8] c"write\00", align 1
@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
@MAP_FAILED = dso_local global ptr null, align 8
@.str.6 = private unnamed_addr constant [5 x i8] c"mmap\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"close\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mmap_file_rw(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca %struct.stat, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr @O_RDWR, align 4
%12 = load i32, ptr @O_CREAT, align 4
%13 = or i32 %11, %12
%14 = load i32, ptr @O_TRUNC, align 4
%15 = or i32 %13, %14
%16 = load i32, ptr @S_IRUSR, align 4
%17 = load i32, ptr @S_IWUSR, align 4
%18 = or i32 %16, %17
%19 = load i32, ptr @S_IRGRP, align 4
%20 = or i32 %18, %19
%21 = load i32, ptr @S_IROTH, align 4
%22 = or i32 %20, %21
%23 = call i32 @open(ptr noundef %10, i32 noundef %15, i32 noundef %22)
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp eq i32 %24, -1
br i1 %25, label %26, label %28
26: ; preds = %3
%27 = call i32 @perror(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %90
28: ; preds = %3
%29 = load i32, ptr %8, align 4
%30 = call i32 @fstat(i32 noundef %29, ptr noundef %9)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %36
32: ; preds = %28
%33 = call i32 @perror(ptr noundef @.str.1)
%34 = load i32, ptr %8, align 4
%35 = call i32 @close(i32 noundef %34)
store i32 0, ptr %4, align 4
br label %90
36: ; preds = %28
%37 = getelementptr inbounds %struct.stat, ptr %9, i32 0, i32 0
%38 = load i32, ptr %37, align 4
%39 = call i32 @S_ISREG(i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %47, label %41
41: ; preds = %36
%42 = load i32, ptr @stderr, align 4
%43 = load ptr, ptr %6, align 8
%44 = call i32 @fprintf(i32 noundef %42, ptr noundef @.str.2, ptr noundef %43)
%45 = load i32, ptr %8, align 4
%46 = call i32 @close(i32 noundef %45)
store i32 0, ptr %4, align 4
br label %90
47: ; preds = %36
%48 = load i32, ptr %8, align 4
%49 = load i64, ptr %7, align 8
%50 = sub i64 %49, 1
%51 = load i32, ptr @SEEK_SET, align 4
%52 = call i32 @lseek(i32 noundef %48, i64 noundef %50, i32 noundef %51)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %58
54: ; preds = %47
%55 = call i32 @perror(ptr noundef @.str.3)
%56 = load i32, ptr %8, align 4
%57 = call i32 @close(i32 noundef %56)
store i32 0, ptr %4, align 4
br label %90
58: ; preds = %47
%59 = load i32, ptr %8, align 4
%60 = call i32 @write(i32 noundef %59, ptr noundef @.str.4, i32 noundef 1)
%61 = icmp ne i32 %60, 1
br i1 %61, label %62, label %66
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.5)
%64 = load i32, ptr %8, align 4
%65 = call i32 @close(i32 noundef %64)
store i32 0, ptr %4, align 4
br label %90
66: ; preds = %58
%67 = load i64, ptr %7, align 8
%68 = load i32, ptr @PROT_READ, align 4
%69 = load i32, ptr @PROT_WRITE, align 4
%70 = or i32 %68, %69
%71 = load i32, ptr @MAP_SHARED, align 4
%72 = load i32, ptr %8, align 4
%73 = call ptr @mmap(i32 noundef 0, i64 noundef %67, i32 noundef %70, i32 noundef %71, i32 noundef %72, i32 noundef 0)
%74 = load ptr, ptr %5, align 8
store ptr %73, ptr %74, align 8
%75 = load ptr, ptr %5, align 8
%76 = load ptr, ptr %75, align 8
%77 = load ptr, ptr @MAP_FAILED, align 8
%78 = icmp eq ptr %76, %77
br i1 %78, label %79, label %83
79: ; preds = %66
%80 = call i32 @perror(ptr noundef @.str.6)
%81 = load i32, ptr %8, align 4
%82 = call i32 @close(i32 noundef %81)
store i32 0, ptr %4, align 4
br label %90
83: ; preds = %66
%84 = load i32, ptr %8, align 4
%85 = call i32 @close(i32 noundef %84)
%86 = icmp eq i32 %85, -1
br i1 %86, label %87, label %89
87: ; preds = %83
%88 = call i32 @perror(ptr noundef @.str.7)
store i32 0, ptr %4, align 4
br label %90
89: ; preds = %83
store i32 1, ptr %4, align 4
br label %90
90: ; preds = %89, %87, %79, %62, %54, %41, %32, %26
%91 = load i32, ptr %4, align 4
ret i32 %91
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @S_ISREG(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @lseek(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @mmap(i32 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0qq389y3.c'
source_filename = "/tmp/tmp0qq389y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poRandSequence_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca [2 x i32], align 4
%12 = alloca [3 x i16], align 2
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = 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 i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @poMurmurHash(ptr noundef %18, i32 noundef 4, i32 noundef 843731505)
%20 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
%23 = call i32 @poMurmurHash(ptr noundef %22, i32 noundef 4, i32 noundef -215723469)
%24 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%26 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%27 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef 6)
%28 = load ptr, ptr %7, align 8
store ptr %28, ptr %14, align 8
%29 = load i64, ptr %9, align 8
%30 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%31 = call i64 @nrand48(ptr noundef %30)
%32 = load i64, ptr %10, align 8
%33 = load i64, ptr %9, align 8
%34 = sub i64 %32, %33
%35 = urem i64 %31, %34
%36 = add i64 %29, %35
%37 = trunc i64 %36 to i32
store i32 %37, ptr %13, align 4
%38 = load ptr, ptr %8, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %44
40: ; preds = %5
%41 = load i32, ptr %13, align 4
%42 = sext i32 %41 to i64
%43 = load ptr, ptr %8, align 8
store i64 %42, ptr %43, align 8
br label %44
44: ; preds = %40, %5
br label %45
45: ; preds = %81, %44
%46 = load i32, ptr %13, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %82
48: ; preds = %45
store i32 0, ptr %15, align 4
%49 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%50 = call i64 @nrand48(ptr noundef %49)
store i64 %50, ptr %16, align 8
store ptr %16, ptr %17, align 8
br label %51
51: ; preds = %59, %48
%52 = load i32, ptr %13, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load i32, ptr %15, align 4
%56 = icmp slt i32 %55, 6
br label %57
57: ; preds = %54, %51
%58 = phi i1 [ false, %51 ], [ %56, %54 ]
br i1 %58, label %59, label %81
59: ; preds = %57
%60 = load ptr, ptr %17, align 8
%61 = load i32, ptr %15, align 4
%62 = sdiv i32 %61, 2
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i8, ptr %60, i64 %63
%65 = load i8, ptr %64, align 1
%66 = zext i8 %65 to i32
%67 = load i32, ptr %15, align 4
%68 = srem i32 %67, 2
%69 = mul nsw i32 4, %68
%70 = ashr i32 %66, %69
%71 = and i32 %70, 15
%72 = trunc i32 %71 to i8
%73 = call signext i8 @_po_int2char(i8 noundef zeroext %72)
%74 = load ptr, ptr %7, align 8
store i8 %73, ptr %74, align 1
%75 = load ptr, ptr %7, align 8
%76 = getelementptr inbounds i8, ptr %75, i32 1
store ptr %76, ptr %7, align 8
%77 = load i32, ptr %13, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %13, align 4
%79 = load i32, ptr %15, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %15, align 4
br label %51, !llvm.loop !6
81: ; preds = %57
br label %45, !llvm.loop !8
82: ; preds = %45
%83 = load ptr, ptr %7, align 8
store i8 0, ptr %83, align 1
%84 = load ptr, ptr %14, align 8
ret ptr %84
}
declare i32 @poMurmurHash(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @nrand48(ptr noundef) #1
declare signext i8 @_po_int2char(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp0qq389y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @poRandSequence_string(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca [2 x i32], align 4
%12 = alloca [3 x i16], align 2
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i64, align 8
%17 = 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 i64 %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%18 = load ptr, ptr %6, align 8
%19 = call i32 @poMurmurHash(ptr noundef %18, i32 noundef 4, i32 noundef 843731505)
%20 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %6, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 4
%23 = call i32 @poMurmurHash(ptr noundef %22, i32 noundef 4, i32 noundef -215723469)
%24 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 1
store i32 %23, ptr %24, align 4
%25 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%26 = getelementptr inbounds [2 x i32], ptr %11, i64 0, i64 0
%27 = call i32 @memcpy(ptr noundef %25, ptr noundef %26, i32 noundef 6)
%28 = load ptr, ptr %7, align 8
store ptr %28, ptr %14, align 8
%29 = load i64, ptr %9, align 8
%30 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%31 = call i64 @nrand48(ptr noundef %30)
%32 = load i64, ptr %10, align 8
%33 = load i64, ptr %9, align 8
%34 = sub i64 %32, %33
%35 = urem i64 %31, %34
%36 = add i64 %29, %35
%37 = trunc i64 %36 to i32
store i32 %37, ptr %13, align 4
%38 = load ptr, ptr %8, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %44
40: ; preds = %5
%41 = load i32, ptr %13, align 4
%42 = sext i32 %41 to i64
%43 = load ptr, ptr %8, align 8
store i64 %42, ptr %43, align 8
br label %44
44: ; preds = %40, %5
%45 = load i32, ptr %13, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %.lr.ph, label %83
.lr.ph: ; preds = %44
br label %47
47: ; preds = %.lr.ph, %80
store i32 0, ptr %15, align 4
%48 = getelementptr inbounds [3 x i16], ptr %12, i64 0, i64 0
%49 = call i64 @nrand48(ptr noundef %48)
store i64 %49, ptr %16, align 8
store ptr %16, ptr %17, align 8
br label %50
50: ; preds = %58, %47
%51 = load i32, ptr %13, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, ptr %15, align 4
%55 = icmp slt i32 %54, 6
br label %56
56: ; preds = %53, %50
%57 = phi i1 [ false, %50 ], [ %55, %53 ]
br i1 %57, label %58, label %80
58: ; preds = %56
%59 = load ptr, ptr %17, align 8
%60 = load i32, ptr %15, align 4
%61 = sdiv i32 %60, 2
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %59, i64 %62
%64 = load i8, ptr %63, align 1
%65 = zext i8 %64 to i32
%66 = load i32, ptr %15, align 4
%67 = srem i32 %66, 2
%68 = mul nsw i32 4, %67
%69 = ashr i32 %65, %68
%70 = and i32 %69, 15
%71 = trunc i32 %70 to i8
%72 = call signext i8 @_po_int2char(i8 noundef zeroext %71)
%73 = load ptr, ptr %7, align 8
store i8 %72, ptr %73, align 1
%74 = load ptr, ptr %7, align 8
%75 = getelementptr inbounds i8, ptr %74, i32 1
store ptr %75, ptr %7, align 8
%76 = load i32, ptr %13, align 4
%77 = add nsw i32 %76, -1
store i32 %77, ptr %13, align 4
%78 = load i32, ptr %15, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %15, align 4
br label %50, !llvm.loop !6
80: ; preds = %56
%81 = load i32, ptr %13, align 4
%82 = icmp ne i32 %81, 0
br i1 %82, label %47, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %80
br label %83
83: ; preds = %._crit_edge, %44
%84 = load ptr, ptr %7, align 8
store i8 0, ptr %84, align 1
%85 = load ptr, ptr %14, align 8
ret ptr %85
}
declare i32 @poMurmurHash(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @nrand48(ptr noundef) #1
declare signext i8 @_po_int2char(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmphtmnwa19.c'
source_filename = "/tmp/tmphtmnwa19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_workspace(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
%15 = icmp sge i32 %12, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i32 1, ptr %4, align 4
br label %55
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = icmp sge i32 %18, 100
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 0, ptr %4, align 4
br label %55
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 5
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 8
%27 = trunc i64 %26 to i32
%28 = call ptr @whine_malloc(i32 noundef %27)
store ptr %28, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %21
store i32 0, ptr %4, align 4
br label %55
31: ; preds = %21
%32 = load i32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %50
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %43, 8
%45 = trunc i64 %44 to i32
%46 = call i32 @memcpy(ptr noundef %39, ptr noundef %41, i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %47, align 8
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %38, %34, %31
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %5, align 8
store ptr %51, ptr %52, align 8
%53 = load i32, ptr %7, align 4
%54 = load ptr, ptr %6, align 8
store i32 %53, ptr %54, align 4
store i32 1, ptr %4, align 4
br label %55
55: ; preds = %50, %30, %20, %16
%56 = load i32, ptr %4, align 4
ret i32 %56
}
declare ptr @whine_malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphtmnwa19.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_workspace(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %13, 1
%15 = icmp sge i32 %12, %14
br i1 %15, label %16, label %17
16: ; preds = %3
store i32 1, ptr %4, align 4
br label %55
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = icmp sge i32 %18, 100
br i1 %19, label %20, label %21
20: ; preds = %17
store i32 0, ptr %4, align 4
br label %55
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 5
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %7, align 4
%25 = sext i32 %24 to i64
%26 = mul i64 %25, 8
%27 = trunc i64 %26 to i32
%28 = call ptr @whine_malloc(i32 noundef %27)
store ptr %28, ptr %8, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %31, label %30
30: ; preds = %21
store i32 0, ptr %4, align 4
br label %55
31: ; preds = %21
%32 = load i32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %50
34: ; preds = %31
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %50
38: ; preds = %34
%39 = load ptr, ptr %8, align 8
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sext i32 %42 to i64
%44 = mul i64 %43, 8
%45 = trunc i64 %44 to i32
%46 = call i32 @memcpy(ptr noundef %39, ptr noundef %41, i32 noundef %45)
%47 = load ptr, ptr %5, align 8
%48 = load ptr, ptr %47, align 8
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %38, %34, %31
%51 = load ptr, ptr %8, align 8
%52 = load ptr, ptr %5, align 8
store ptr %51, ptr %52, align 8
%53 = load i32, ptr %7, align 4
%54 = load ptr, ptr %6, align 8
store i32 %53, ptr %54, align 4
store i32 1, ptr %4, align 4
br label %55
55: ; preds = %50, %30, %20, %16
%56 = load i32, ptr %4, align 4
ret i32 %56
}
declare ptr @whine_malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp164bh7x8.c'
source_filename = "/tmp/tmp164bh7x8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [2 x i32], align 4
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %3, align 4
%4 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
store i32 7, ptr %4, align 4
%5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @foo(ptr noundef %5)
%7 = icmp eq i32 %6, 7
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp164bh7x8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [2 x i32], align 4
store i32 0, ptr %1, align 4
%3 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
store i32 1, ptr %3, align 4
%4 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
store i32 7, ptr %4, align 4
%5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @foo(ptr noundef %5)
%7 = icmp eq i32 %6, 7
%8 = xor i1 %7, true
%9 = zext i1 %8 to i32
ret i32 %9
}
declare i32 @foo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8yh7o6vj.c'
source_filename = "/tmp/tmp8yh7o6vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum of %d natural numbers is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %14, %1
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %17
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = load i32, ptr %4, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %9
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %3, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %18, i32 noundef %19)
ret void
}
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8yh7o6vj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Sum of %d natural numbers is %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %13
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %11, %10
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %19
19: ; preds = %._crit_edge, %1
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @printf(ptr noundef @.str, i32 noundef %20, i32 noundef %21)
ret void
}
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmpy2cgmkdw.c'
source_filename = "/tmp/tmpy2cgmkdw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blockpack__pgwrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @pgwrite_little_endian(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %4, align 4
br label %18
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @pgwrite_big_endian(ptr noundef %15, ptr noundef %16)
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %14, %10
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @pgwrite_little_endian(ptr noundef, ptr noundef) #1
declare i32 @pgwrite_big_endian(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/tmpy2cgmkdw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @blockpack__pgwrite(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %6, align 8
%13 = call i32 @pgwrite_little_endian(ptr noundef %11, ptr noundef %12)
store i32 %13, ptr %4, align 4
br label %18
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %6, align 8
%17 = call i32 @pgwrite_big_endian(ptr noundef %15, ptr noundef %16)
store i32 %17, ptr %4, align 4
br label %18
18: ; preds = %14, %10
%19 = load i32, ptr %4, align 4
ret i32 %19
}
declare i32 @pgwrite_little_endian(ptr noundef, ptr noundef) #1
declare i32 @pgwrite_big_endian(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/tmp0av0ew9q.c'
source_filename = "/tmp/tmp0av0ew9q.c"
target datalayout = "e-m:e-p270: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/tmp0av0ew9q.c"
target datalayout = "e-m:e-p270: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/tmpuu7l56fc.c'
source_filename = "/tmp/tmpuu7l56fc.c"
target datalayout = "e-m:e-p270: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/tmpuu7l56fc.c"
target datalayout = "e-m:e-p270: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/tmpf3c2svtu.c'
source_filename = "/tmp/tmpf3c2svtu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_RECORD_ON = dso_local global i32 0, align 4
@CEC_OP_RECORD_SRC_EXT_PLUG = 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/tmpf3c2svtu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_RECORD_ON = dso_local global i32 0, align 4
@CEC_OP_RECORD_SRC_EXT_PLUG = 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/tmp11seef0s.c'
source_filename = "/tmp/tmp11seef0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_multiple_copies_of_longer_list.sizes = private unnamed_addr constant [10 x i32] [i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10], align 16
@__const.test_multiple_copies_of_longer_list.a0 = private unnamed_addr constant [10 x i32] [i32 3, i32 2, i32 0, i32 5, i32 8, i32 9, i32 6, i32 3, i32 2, i32 0], align 16
@__const.test_multiple_copies_of_longer_list.expected = private unnamed_addr constant [8 x i32] [i32 7, i32 0, i32 2, i32 3, i32 5, i32 6, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [34 x i8] c"arrays_match(8, result, expected)\00", align 1
@.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/array_merge/array_merge_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_multiple_copies_of_longer_list() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x ptr], align 16
%5 = alloca [8 x i32], align 16
%6 = alloca ptr, align 8
store i32 10, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_multiple_copies_of_longer_list.sizes, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_multiple_copies_of_longer_list.a0, i64 40, i1 false)
%7 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 0
%8 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %8, ptr %7, align 8
%9 = getelementptr inbounds ptr, ptr %7, i64 1
%10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %10, ptr %9, align 8
%11 = getelementptr inbounds ptr, ptr %9, i64 1
%12 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %12, ptr %11, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 1
%14 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %14, ptr %13, align 8
%15 = getelementptr inbounds ptr, ptr %13, i64 1
%16 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %16, ptr %15, align 8
%17 = getelementptr inbounds ptr, ptr %15, i64 1
%18 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %18, ptr %17, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 1
%20 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %20, ptr %19, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 1
%22 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %22, ptr %21, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 1
%24 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %24, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %23, i64 1
%26 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %26, ptr %25, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_multiple_copies_of_longer_list.expected, i64 32, i1 false)
%27 = load i32, ptr %1, align 4
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 0
%30 = call ptr @array_merge(i32 noundef %27, ptr noundef %28, ptr noundef %29)
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%33 = call i64 @arrays_match(i32 noundef 8, ptr noundef %31, ptr noundef %32)
%34 = trunc i64 %33 to i32
%35 = call i32 @_assert_true(i32 noundef %34, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 61)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @array_merge(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @arrays_match(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp11seef0s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test_multiple_copies_of_longer_list.sizes = private unnamed_addr constant [10 x i32] [i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10, i32 10], align 16
@__const.test_multiple_copies_of_longer_list.a0 = private unnamed_addr constant [10 x i32] [i32 3, i32 2, i32 0, i32 5, i32 8, i32 9, i32 6, i32 3, i32 2, i32 0], align 16
@__const.test_multiple_copies_of_longer_list.expected = private unnamed_addr constant [8 x i32] [i32 7, i32 0, i32 2, i32 3, i32 5, i32 6, i32 8, i32 9], align 16
@.str = private unnamed_addr constant [34 x i8] c"arrays_match(8, result, expected)\00", align 1
@.str.1 = private unnamed_addr constant [171 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/UMM-CSci-3401-F13/Lab_3_starter/refs/heads/master/array_merge/array_merge_test.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_multiple_copies_of_longer_list() #0 {
%1 = alloca i32, align 4
%2 = alloca [10 x i32], align 16
%3 = alloca [10 x i32], align 16
%4 = alloca [10 x ptr], align 16
%5 = alloca [8 x i32], align 16
%6 = alloca ptr, align 8
store i32 10, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_multiple_copies_of_longer_list.sizes, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_multiple_copies_of_longer_list.a0, i64 40, i1 false)
%7 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 0
%8 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %8, ptr %7, align 8
%9 = getelementptr inbounds ptr, ptr %7, i64 1
%10 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %10, ptr %9, align 8
%11 = getelementptr inbounds ptr, ptr %9, i64 1
%12 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %12, ptr %11, align 8
%13 = getelementptr inbounds ptr, ptr %11, i64 1
%14 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %14, ptr %13, align 8
%15 = getelementptr inbounds ptr, ptr %13, i64 1
%16 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %16, ptr %15, align 8
%17 = getelementptr inbounds ptr, ptr %15, i64 1
%18 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %18, ptr %17, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 1
%20 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %20, ptr %19, align 8
%21 = getelementptr inbounds ptr, ptr %19, i64 1
%22 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %22, ptr %21, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 1
%24 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %24, ptr %23, align 8
%25 = getelementptr inbounds ptr, ptr %23, i64 1
%26 = getelementptr inbounds [10 x i32], ptr %3, i64 0, i64 0
store ptr %26, ptr %25, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.test_multiple_copies_of_longer_list.expected, i64 32, i1 false)
%27 = load i32, ptr %1, align 4
%28 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 0
%29 = getelementptr inbounds [10 x ptr], ptr %4, i64 0, i64 0
%30 = call ptr @array_merge(i32 noundef %27, ptr noundef %28, ptr noundef %29)
store ptr %30, ptr %6, align 8
%31 = load ptr, ptr %6, align 8
%32 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 0
%33 = call i64 @arrays_match(i32 noundef 8, ptr noundef %31, ptr noundef %32)
%34 = trunc i64 %33 to i32
%35 = call i32 @_assert_true(i32 noundef %34, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 61)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare ptr @array_merge(i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @_assert_true(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @arrays_match(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm8t4dbys.c'
source_filename = "/tmp/tmpm8t4dbys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test.testline1 = private unnamed_addr constant [2 x i8] c"A\00", align 1
@__const.test.testline3 = private unnamed_addr constant [27 x i8] c"Typical line to be copied.\00", align 16
@__const.test.testline4 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str = private unnamed_addr constant [23 x i8] c"\0AExecuting unit tests\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Unit test for one character string\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Unit test for copying empty string\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Unit test for typical string\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Unit test for string with only newlines\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"\0ASummary of unit tests:\0A%d tests passed\0A%d tests failed\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test() #0 {
%1 = alloca [81 x i8], align 16
%2 = alloca [2 x i8], align 1
%3 = alloca [1 x i8], align 1
%4 = alloca [27 x i8], align 16
%5 = alloca [4 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 81, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.test.testline1, i64 2, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 1, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test.testline3, i64 27, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.test.testline4, i64 4, i1 false)
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%11 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @copy(ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%14 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @strcmp(ptr noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
%18 = zext i1 %17 to i32
%19 = call i64 @assert(i32 noundef %18, ptr noundef @.str.1)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %0
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %27
24: ; preds = %0
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %27
27: ; preds = %24, %21
%28 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%29 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @copy(ptr noundef %28, ptr noundef %29)
%31 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%32 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @strcmp(ptr noundef %31, ptr noundef %32)
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i64 @assert(i32 noundef %36, ptr noundef @.str.2)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %27
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %45
42: ; preds = %27
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %42, %39
%46 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%47 = getelementptr inbounds [27 x i8], ptr %4, i64 0, i64 0
%48 = call i32 @copy(ptr noundef %46, ptr noundef %47)
%49 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%50 = getelementptr inbounds [27 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp ne i32 %51, 0
%53 = xor i1 %52, true
%54 = zext i1 %53 to i32
%55 = call i64 @assert(i32 noundef %54, ptr noundef @.str.3)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %45
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %63
60: ; preds = %45
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %63
63: ; preds = %60, %57
%64 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%65 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%66 = call i32 @copy(ptr noundef %64, ptr noundef %65)
%67 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%68 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%69 = call i32 @strcmp(ptr noundef %67, ptr noundef %68)
%70 = icmp ne i32 %69, 0
%71 = xor i1 %70, true
%72 = zext i1 %71 to i32
%73 = call i64 @assert(i32 noundef %72, ptr noundef @.str.4)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %63
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %81
78: ; preds = %63
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %81
81: ; preds = %78, %75
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %7, align 4
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %82, i32 noundef %83)
%85 = load i32, ptr %7, align 4
ret i32 %85
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
declare i32 @printf(ptr noundef, ...) #3
declare i32 @copy(ptr noundef, ptr noundef) #3
declare i64 @assert(i32 noundef, ptr noundef) #3
declare i32 @strcmp(ptr noundef, ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm8t4dbys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.test.testline1 = private unnamed_addr constant [2 x i8] c"A\00", align 1
@__const.test.testline3 = private unnamed_addr constant [27 x i8] c"Typical line to be copied.\00", align 16
@__const.test.testline4 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str = private unnamed_addr constant [23 x i8] c"\0AExecuting unit tests\0A\00", align 1
@.str.1 = private unnamed_addr constant [35 x i8] c"Unit test for one character string\00", align 1
@.str.2 = private unnamed_addr constant [35 x i8] c"Unit test for copying empty string\00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Unit test for typical string\00", align 1
@.str.4 = private unnamed_addr constant [40 x i8] c"Unit test for string with only newlines\00", align 1
@.str.5 = private unnamed_addr constant [58 x i8] c"\0ASummary of unit tests:\0A%d tests passed\0A%d tests failed\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test() #0 {
%1 = alloca [81 x i8], align 16
%2 = alloca [2 x i8], align 1
%3 = alloca [1 x i8], align 1
%4 = alloca [27 x i8], align 16
%5 = alloca [4 x i8], align 1
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 81, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.test.testline1, i64 2, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 1, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.test.testline3, i64 27, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.test.testline4, i64 4, i1 false)
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%10 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%11 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @copy(ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%14 = getelementptr inbounds [2 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @strcmp(ptr noundef %13, ptr noundef %14)
%16 = icmp ne i32 %15, 0
%17 = xor i1 %16, true
%18 = zext i1 %17 to i32
%19 = call i64 @assert(i32 noundef %18, ptr noundef @.str.1)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %0
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %27
24: ; preds = %0
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
br label %27
27: ; preds = %24, %21
%28 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%29 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0
%30 = call i32 @copy(ptr noundef %28, ptr noundef %29)
%31 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%32 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0
%33 = call i32 @strcmp(ptr noundef %31, ptr noundef %32)
%34 = icmp ne i32 %33, 0
%35 = xor i1 %34, true
%36 = zext i1 %35 to i32
%37 = call i64 @assert(i32 noundef %36, ptr noundef @.str.2)
%38 = icmp ne i64 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %27
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
br label %45
42: ; preds = %27
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %45
45: ; preds = %42, %39
%46 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%47 = getelementptr inbounds [27 x i8], ptr %4, i64 0, i64 0
%48 = call i32 @copy(ptr noundef %46, ptr noundef %47)
%49 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%50 = getelementptr inbounds [27 x i8], ptr %4, i64 0, i64 0
%51 = call i32 @strcmp(ptr noundef %49, ptr noundef %50)
%52 = icmp ne i32 %51, 0
%53 = xor i1 %52, true
%54 = zext i1 %53 to i32
%55 = call i64 @assert(i32 noundef %54, ptr noundef @.str.3)
%56 = icmp ne i64 %55, 0
br i1 %56, label %57, label %60
57: ; preds = %45
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %63
60: ; preds = %45
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %63
63: ; preds = %60, %57
%64 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%65 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%66 = call i32 @copy(ptr noundef %64, ptr noundef %65)
%67 = getelementptr inbounds [81 x i8], ptr %1, i64 0, i64 0
%68 = getelementptr inbounds [4 x i8], ptr %5, i64 0, i64 0
%69 = call i32 @strcmp(ptr noundef %67, ptr noundef %68)
%70 = icmp ne i32 %69, 0
%71 = xor i1 %70, true
%72 = zext i1 %71 to i32
%73 = call i64 @assert(i32 noundef %72, ptr noundef @.str.4)
%74 = icmp ne i64 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %63
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %81
78: ; preds = %63
%79 = load i32, ptr %7, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %7, align 4
br label %81
81: ; preds = %78, %75
%82 = load i32, ptr %6, align 4
%83 = load i32, ptr %7, align 4
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %82, i32 noundef %83)
%85 = load i32, ptr %7, align 4
ret i32 %85
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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
declare i32 @printf(ptr noundef, ...) #3
declare i32 @copy(ptr noundef, ptr noundef) #3
declare i64 @assert(i32 noundef, ptr noundef) #3
declare i32 @strcmp(ptr noundef, ptr 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4vkrp2wf.c'
source_filename = "/tmp/tmp4vkrp2wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmp4vkrp2wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = 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/tmpefnjwidn.c'
source_filename = "/tmp/tmpefnjwidn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ju :\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_prime_factors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @primeFactor(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @primeFactor(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/tmpefnjwidn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ju :\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_prime_factors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @primeFactor(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @primeFactor(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/tmp6gvp352a.c'
source_filename = "/tmp/tmp6gvp352a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"/* a silly generated file */\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"int generated_value = 10;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 1, %7
br i1 %8, label %15, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %6, align 8
%14 = icmp eq ptr null, %13
br i1 %14, label %15, label %16
15: ; preds = %9, %2
store i32 1, ptr %3, align 4
br label %23
16: ; preds = %9
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.1)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.2)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %16, %15
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6gvp352a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"/* a silly generated file */\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"int generated_value = 10;\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp sgt i32 1, %7
br i1 %8, label %15, label %9
9: ; preds = %2
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str)
store ptr %13, ptr %6, align 8
%14 = icmp eq ptr null, %13
br i1 %14, label %15, label %16
15: ; preds = %9, %2
store i32 1, ptr %3, align 4
br label %23
16: ; preds = %9
%17 = load ptr, ptr %6, align 8
%18 = call i32 @fprintf(ptr noundef %17, ptr noundef @.str.1)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fprintf(ptr noundef %19, ptr noundef @.str.2)
%21 = load ptr, ptr %6, align 8
%22 = call i32 @fclose(ptr noundef %21)
store i32 0, ptr %3, align 4
br label %23
23: ; preds = %16, %15
%24 = load i32, ptr %3, align 4
ret i32 %24
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfr6iwxfo.c'
source_filename = "/tmp/tmpfr6iwxfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_ASYNCHRONOUS = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIG_IGN = 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/tmpfr6iwxfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_ASYNCHRONOUS = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIG_IGN = 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/tmp24xtk6sv.c'
source_filename = "/tmp/tmp24xtk6sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_nonce(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @random_int_()
store i32 %5, ptr %3, align 4
%6 = call ptr (...) @create_nonce()
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @network_send(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @item_free(ptr noundef %10)
ret void
}
declare i32 @random_int_(...) #1
declare ptr @create_nonce(...) #1
declare i32 @network_send(ptr noundef, ptr noundef) #1
declare i32 @item_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp24xtk6sv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_nonce(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 (...) @random_int_()
store i32 %5, ptr %3, align 4
%6 = call ptr (...) @create_nonce()
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @network_send(ptr noundef %7, ptr noundef %8)
%10 = load ptr, ptr %4, align 8
%11 = call i32 @item_free(ptr noundef %10)
ret void
}
declare i32 @random_int_(...) #1
declare ptr @create_nonce(...) #1
declare i32 @network_send(ptr noundef, ptr noundef) #1
declare i32 @item_free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ppr68cf.c'
source_filename = "/tmp/tmp0ppr68cf.c"
target datalayout = "e-m:e-p270: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/tmp0ppr68cf.c"
target datalayout = "e-m:e-p270: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/tmpzo9w67rz.c'
source_filename = "/tmp/tmpzo9w67rz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Alice\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Bob\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %11
11: ; preds = %67, %0
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %15, label %68
15: ; preds = %11
%16 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
store i32 0, ptr %4, align 4
br label %17
17: ; preds = %56, %15
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %59
21: ; preds = %17
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %7, align 8
%26 = alloca i32, i64 %24, align 16
store i64 %24, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %27
27: ; preds = %51, %21
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %54
31: ; preds = %27
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %26, i64 %33
%35 = call i32 @scanf(ptr noundef @.str, ptr noundef %34)
br label %36
36: ; preds = %42, %31
%37 = load i32, ptr %9, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %26, i64 %38
%40 = load i32, ptr %39, align 4
%41 = icmp sgt i32 %40, 1
br i1 %41, label %42, label %50
42: ; preds = %36
%43 = load i32, ptr %9, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %26, i64 %44
%46 = load i32, ptr %45, align 4
%47 = sub nsw i32 %46, 2
store i32 %47, ptr %45, align 4
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %5, align 4
br label %36, !llvm.loop !6
50: ; preds = %36
br label %51
51: ; preds = %50
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %27, !llvm.loop !8
54: ; preds = %27
%55 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %55)
br label %56
56: ; preds = %54
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %4, align 4
br label %17, !llvm.loop !9
59: ; preds = %17
%60 = load i32, ptr %5, align 4
%61 = srem i32 %60, 2
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = call i32 @printf(ptr noundef @.str.1)
br label %67
65: ; preds = %59
%66 = call i32 @printf(ptr noundef @.str.2)
br label %67
67: ; preds = %65, %63
br label %11, !llvm.loop !10
68: ; preds = %11
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
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" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzo9w67rz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Alice\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"Bob\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, -1
store i32 %12, ptr %2, align 4
%13 = icmp ne i32 %11, 0
br i1 %13, label %.lr.ph8, label %78
.lr.ph8: ; preds = %0
br label %14
14: ; preds = %.lr.ph8, %74
%15 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %5, align 4
store i32 0, 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 %.lr.ph5, label %66
.lr.ph5: ; preds = %14
br label %19
19: ; preds = %.lr.ph5, %60
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %6)
%21 = load i32, ptr %6, align 4
%22 = zext i32 %21 to i64
%23 = call ptr @llvm.stacksave()
store ptr %23, ptr %7, align 8
%24 = alloca i32, i64 %22, align 16
store i64 %22, ptr %8, align 8
store i32 0, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph2, label %58
.lr.ph2: ; preds = %19
br label %28
28: ; preds = %.lr.ph2, %52
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %24, i64 %30
%32 = call i32 @scanf(ptr noundef @.str, ptr noundef %31)
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %24, i64 %34
%36 = load i32, ptr %35, align 4
%37 = icmp sgt i32 %36, 1
br i1 %37, label %.lr.ph, label %51
.lr.ph: ; preds = %28
br label %38
38: ; preds = %.lr.ph, %38
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %24, i64 %40
%42 = load i32, ptr %41, align 4
%43 = sub nsw i32 %42, 2
store i32 %43, ptr %41, align 4
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %24, i64 %47
%49 = load i32, ptr %48, align 4
%50 = icmp sgt i32 %49, 1
br i1 %50, label %38, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %51
51: ; preds = %._crit_edge, %28
br label %52
52: ; preds = %51
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = load i32, ptr %9, align 4
%56 = load i32, ptr %6, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %28, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %58
58: ; preds = %._crit_edge3, %19
%59 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %59)
br label %60
60: ; preds = %58
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %19, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %60
br label %66
66: ; preds = %._crit_edge6, %14
%67 = load i32, ptr %5, align 4
%68 = srem i32 %67, 2
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %72
70: ; preds = %66
%71 = call i32 @printf(ptr noundef @.str.1)
br label %74
72: ; preds = %66
%73 = call i32 @printf(ptr noundef @.str.2)
br label %74
74: ; preds = %72, %70
%75 = load i32, ptr %2, align 4
%76 = add nsw i32 %75, -1
store i32 %76, ptr %2, align 4
%77 = icmp ne i32 %75, 0
br i1 %77, label %14, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %74
br label %78
78: ; preds = %._crit_edge9, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
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" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpebbb5ub6.c'
source_filename = "/tmp/tmpebbb5ub6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"k:-n:\00", align 1
@optarg = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"shmget succeeded: key = %d, id = %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 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 1, ptr %7, align 4
store i32 34952, ptr %8, align 4
br label %10
10: ; preds = %25, %2
%11 = load i32, ptr %4, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str)
store i32 %13, ptr %6, align 4
%14 = icmp ne i32 %13, -1
br i1 %14, label %15, label %26
15: ; preds = %10
%16 = load i32, ptr %6, align 4
%17 = trunc i32 %16 to i8
%18 = sext i8 %17 to i32
switch i32 %18, label %25 [
i32 107, label %19
i32 110, label %22
]
19: ; preds = %15
%20 = load i32, ptr @optarg, align 4
%21 = call i32 @atoi(i32 noundef %20)
store i32 %21, ptr %8, align 4
br label %25
22: ; preds = %15
%23 = load i32, ptr @optarg, align 4
%24 = call i32 @atoi(i32 noundef %23)
store i32 %24, ptr %7, align 4
br label %25
25: ; preds = %15, %22, %19
br label %10, !llvm.loop !6
26: ; preds = %10
%27 = load i32, ptr %8, align 4
%28 = load i32, ptr @IPC_CREAT, align 4
%29 = or i32 %28, 511
%30 = call i32 @shmget(i32 noundef %27, i32 noundef 2048, i32 noundef %29)
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %34
33: ; preds = %26
store i32 1, ptr %3, align 4
br label %38
34: ; preds = %26
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %9, align 4
%37 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %36)
store i32 0, ptr %3, align 4
br label %38
38: ; preds = %34, %33
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpebbb5ub6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"k:-n:\00", align 1
@optarg = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [37 x i8] c"shmget succeeded: key = %d, id = %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 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 1, ptr %7, align 4
store i32 34952, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str)
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %24
%15 = load i32, ptr %6, align 4
%16 = trunc i32 %15 to i8
%17 = sext i8 %16 to i32
switch i32 %17, label %24 [
i32 107, label %18
i32 110, label %21
]
18: ; preds = %14
%19 = load i32, ptr @optarg, align 4
%20 = call i32 @atoi(i32 noundef %19)
store i32 %20, ptr %8, align 4
br label %24
21: ; preds = %14
%22 = load i32, ptr @optarg, align 4
%23 = call i32 @atoi(i32 noundef %22)
store i32 %23, ptr %7, align 4
br label %24
24: ; preds = %21, %18, %14
%25 = load i32, ptr %4, align 4
%26 = load ptr, ptr %5, align 8
%27 = call i32 @getopt(i32 noundef %25, ptr noundef %26, ptr noundef @.str)
store i32 %27, ptr %6, align 4
%28 = icmp ne i32 %27, -1
br i1 %28, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i32, ptr %8, align 4
%31 = load i32, ptr @IPC_CREAT, align 4
%32 = or i32 %31, 511
%33 = call i32 @shmget(i32 noundef %30, i32 noundef 2048, i32 noundef %32)
store i32 %33, ptr %9, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %37
36: ; preds = %29
store i32 1, ptr %3, align 4
br label %41
37: ; preds = %29
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %9, align 4
%40 = call i32 @printf(ptr noundef @.str.1, i32 noundef %38, i32 noundef %39)
store i32 0, ptr %3, align 4
br label %41
41: ; preds = %37, %36
%42 = load i32, ptr %3, align 4
ret i32 %42
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmp3tbzzop4.c'
source_filename = "/tmp/tmp3tbzzop4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_s64_dec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [20 x i8], align 16
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = call i64 @fmt_s64_dec(ptr noundef %5, i32 noundef %6)
store i64 %7, ptr %4, align 8
%8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%9 = load i64, ptr %4, align 8
%10 = call i32 @print(ptr noundef %8, i64 noundef %9)
ret void
}
declare i64 @fmt_s64_dec(ptr noundef, i32 noundef) #1
declare i32 @print(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3tbzzop4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_s64_dec(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [20 x i8], align 16
%4 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%6 = load i32, ptr %2, align 4
%7 = call i64 @fmt_s64_dec(ptr noundef %5, i32 noundef %6)
store i64 %7, ptr %4, align 8
%8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0
%9 = load i64, ptr %4, align 8
%10 = call i32 @print(ptr noundef %8, i64 noundef %9)
ret void
}
declare i64 @fmt_s64_dec(ptr noundef, i32 noundef) #1
declare i32 @print(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmefo7a9s.c'
source_filename = "/tmp/tmpmefo7a9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_PKEY_set1_EC_KEY(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 @EVP_PKEY_assign_EC_KEY(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, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @EC_KEY_up_ref(ptr noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load i32, ptr %5, align 4
ret i32 %15
}
declare i32 @EVP_PKEY_assign_EC_KEY(ptr noundef, ptr noundef) #1
declare i32 @EC_KEY_up_ref(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmefo7a9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @EVP_PKEY_set1_EC_KEY(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 @EVP_PKEY_assign_EC_KEY(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, 0
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = call i32 @EC_KEY_up_ref(ptr noundef %12)
br label %14
14: ; preds = %11, %2
%15 = load i32, ptr %5, align 4
ret i32 %15
}
declare i32 @EVP_PKEY_assign_EC_KEY(ptr noundef, ptr noundef) #1
declare i32 @EC_KEY_up_ref(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpneuttfkp.c'
source_filename = "/tmp/tmpneuttfkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IPv4\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"IPv6\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ARP\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Unknown\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ether_type(i16 noundef zeroext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
store i16 %0, ptr %3, align 2
%4 = load i16, ptr %3, align 2
%5 = zext i16 %4 to i32
switch i32 %5, label %9 [
i32 129, label %6
i32 128, label %7
i32 130, label %8
]
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %10
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %10
8: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %10
10: ; preds = %9, %8, %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpneuttfkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"IPv4\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"IPv6\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"ARP\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Unknown\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_ether_type(i16 noundef zeroext %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i16, align 2
store i16 %0, ptr %3, align 2
%4 = load i16, ptr %3, align 2
%5 = zext i16 %4 to i32
switch i32 %5, label %9 [
i32 129, label %6
i32 128, label %7
i32 130, label %8
]
6: ; preds = %1
store ptr @.str, ptr %2, align 8
br label %10
7: ; preds = %1
store ptr @.str.1, ptr %2, align 8
br label %10
8: ; preds = %1
store ptr @.str.2, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr @.str.3, ptr %2, align 8
br label %10
10: ; preds = %9, %8, %7, %6
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp276qih9k.c'
source_filename = "/tmp/tmp276qih9k.c"
target datalayout = "e-m:e-p270: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/tmp276qih9k.c"
target datalayout = "e-m:e-p270: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/tmpry0xd4pd.c'
source_filename = "/tmp/tmpry0xd4pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FORMERR response\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"SERVFAIL response\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"NXDOMAIN response\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NOTIMP response\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"REFUSED response\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"unexpected return code\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resp_code_msg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %10 [
i32 132, label %5
i32 128, label %6
i32 130, label %7
i32 131, label %8
i32 129, label %9
]
5: ; preds = %1
store ptr @.str, ptr %3, align 8
br label %11
6: ; preds = %1
store ptr @.str.1, ptr %3, align 8
br label %11
7: ; preds = %1
store ptr @.str.2, ptr %3, align 8
br label %11
8: ; preds = %1
store ptr @.str.3, ptr %3, align 8
br label %11
9: ; preds = %1
store ptr @.str.4, ptr %3, align 8
br label %11
10: ; preds = %1
store ptr @.str.5, ptr %3, align 8
br label %11
11: ; preds = %10, %9, %8, %7, %6, %5
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpry0xd4pd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FORMERR response\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"SERVFAIL response\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"NXDOMAIN response\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NOTIMP response\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"REFUSED response\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"unexpected return code\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @resp_code_msg(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
switch i32 %4, label %10 [
i32 132, label %5
i32 128, label %6
i32 130, label %7
i32 131, label %8
i32 129, label %9
]
5: ; preds = %1
store ptr @.str, ptr %3, align 8
br label %11
6: ; preds = %1
store ptr @.str.1, ptr %3, align 8
br label %11
7: ; preds = %1
store ptr @.str.2, ptr %3, align 8
br label %11
8: ; preds = %1
store ptr @.str.3, ptr %3, align 8
br label %11
9: ; preds = %1
store ptr @.str.4, ptr %3, align 8
br label %11
10: ; preds = %1
store ptr @.str.5, ptr %3, align 8
br label %11
11: ; preds = %10, %9, %8, %7, %6, %5
%12 = load ptr, ptr %3, align 8
ret ptr %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbqu0meq1.c'
source_filename = "/tmp/tmpbqu0meq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEntre com num1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0AEntre com num2:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Asoma = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
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/tmpbqu0meq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0AEntre com num1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"\0AEntre com num2:\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"\0Asoma = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %9, %10
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %4, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12)
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/tmpj9d29t2n.c'
source_filename = "/tmp/tmpj9d29t2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_part_result__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %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
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @get_part_result(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @get_part_result(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9d29t2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_part_result__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %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
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load ptr, ptr %8, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @get_part_result(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18)
ret void
}
declare i32 @get_part_result(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzqq52l0t.c'
source_filename = "/tmp/tmpzqq52l0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"hello, world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HariMain() #0 {
%1 = call i32 @api_putstr0(ptr noundef @.str)
%2 = call i32 (...) @api_end()
ret void
}
declare i32 @api_putstr0(ptr noundef) #1
declare i32 @api_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzqq52l0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"hello, world.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HariMain() #0 {
%1 = call i32 @api_putstr0(ptr noundef @.str)
%2 = call i32 (...) @api_end()
ret void
}
declare i32 @api_putstr0(ptr noundef) #1
declare i32 @api_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp87vzone5.c'
source_filename = "/tmp/tmp87vzone5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Usage: hash filename\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Hash : %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 [1 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @errx(i32 noundef 1, ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr @O_RDONLY, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17, i32 noundef 436)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @err(i32 noundef 1, ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %21, %13
br label %27
27: ; preds = %33, %26
%28 = load i32, ptr %6, align 4
%29 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%30 = call i64 @read(i32 noundef %28, ptr noundef %29, i32 noundef 1)
%31 = icmp sle i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
br label %41
33: ; preds = %27
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 %34, 8
%36 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = add nsw i32 %35, %38
%40 = srem i32 %39, 104729
store i32 %40, ptr %8, align 4
br label %27
41: ; preds = %32
%42 = load i32, ptr %6, align 4
%43 = call i32 @close(i32 noundef %42)
%44 = load i32, ptr %8, align 4
%45 = call i32 @printf(ptr noundef @.str.2, i32 noundef %44)
ret i32 0
}
declare i32 @errx(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp87vzone5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [21 x i8] c"Usage: hash filename\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"Hash : %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 [1 x i8], align 1
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp ne i32 %9, 2
br i1 %10, label %11, label %13
11: ; preds = %2
%12 = call i32 @errx(i32 noundef 1, ptr noundef @.str)
br label %13
13: ; preds = %11, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = load i32, ptr @O_RDONLY, align 4
%18 = call i32 @open(ptr noundef %16, i32 noundef %17, i32 noundef 436)
store i32 %18, ptr %6, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %26
21: ; preds = %13
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
%25 = call i32 @err(i32 noundef 1, ptr noundef @.str.1, ptr noundef %24)
br label %26
26: ; preds = %21, %13
%27 = load i32, ptr %6, align 4
%28 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%29 = call i64 @read(i32 noundef %27, ptr noundef %28, i32 noundef 1)
%30 = icmp sle i64 %29, 0
br i1 %30, label %31, label %.lr.ph
.lr.ph: ; preds = %26
br label %32
._crit_edge: ; preds = %32
br label %31
31: ; preds = %._crit_edge, %26
br label %43
32: ; preds = %.lr.ph, %32
%33 = load i32, ptr %8, align 4
%34 = mul nsw i32 %33, 8
%35 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = add nsw i32 %34, %37
%39 = srem i32 %38, 104729
store i32 %39, ptr %8, align 4
%40 = load i32, ptr %6, align 4
%41 = call i64 @read(i32 noundef %40, ptr noundef %28, i32 noundef 1)
%42 = icmp sle i64 %41, 0
br i1 %42, label %._crit_edge, label %32
43: ; preds = %31
%44 = load i32, ptr %6, align 4
%45 = call i32 @close(i32 noundef %44)
%46 = load i32, ptr %8, align 4
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %46)
ret i32 0
}
declare i32 @errx(i32 noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(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"}
|
; ModuleID = '/tmp/tmpjlir3vfm.c'
source_filename = "/tmp/tmpjlir3vfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlen(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = call i64 @ft_strlen(ptr noundef %9)
%11 = add i64 1, %10
store i64 %11, ptr %2, align 8
br label %13
12: ; preds = %1
store i64 0, ptr %2, align 8
br label %13
13: ; preds = %12, %7
%14 = load i64, ptr %2, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjlir3vfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_strlen(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 1
%10 = call i64 @ft_strlen(ptr noundef %9)
%11 = add i64 1, %10
store i64 %11, ptr %2, align 8
br label %13
12: ; preds = %1
store i64 0, ptr %2, align 8
br label %13
13: ; preds = %12, %7
%14 = load i64, ptr %2, align 8
ret i64 %14
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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